solve equation with integral with the unknown inside the integral in matlab

5 visualizaciones (últimos 30 días)
please, I am looking for a matlab code which makes it possible to find for what rate rate 'taux1' this equation is verified knowing that Bi and R1 and R2 and n are common
f1(taux1) is:
  23 comentarios
David Goodmanson
David Goodmanson el 19 de Mzo. de 2020
Hello Zoubair,
to get the velocity you can use, for example
r = R_lower:.001:R2; % use lots of points; R_lower might be R1
r = r - r(end) + R2;
G = (etaux*R1^2./r.^(n+2) - Bi./r.^n).^(1/n);
g1 = cumtrapz(r,G);
g1 = g1(end) - g1; % g1 = 0 at upper limit
V = r.*g1;
I used a convenient spacing for the r array and adusted it to hit R2 exactly, but possibly not R_lower. There are other choices, such as linspace(R_lower,R2,npoints), which might or might not have convenient spacing.
I'm curious about the units of the variables. Have all the variables been normalized from the beginning to be dimensionless?
Ignoring the presence of epsilon for the moment, from the f1 integral, taux and Bi have the same units. f1 and g1 definitely have the same units. But if V is velocity, then V_b (r) = r*g1 seems inconsistent with 1 =R1*f1 (unless all the variables were normalized to be dimensionless at the beginning). If dimensions were restored, f1 and g1 would have to have units of inverse time, and taux would have funny but possible units in terms of length and time.
ZOUBAIR DAOUMA
ZOUBAIR DAOUMA el 19 de Mzo. de 2020
really thank you very much for your help i will see is what the plot program of Vb it works, for all the variables are dimensionless

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by