Help with the equation
Mostrar comentarios más antiguos
Hi, can anyone help me solve this one?

contents:
ρ=1.025
L=130.2608788
B=20.48
δ= 0.695904983
D BAL=9220.372163
T=8.348645215
solving for T BAL.
it should equal something around 4.5 from what my proffesor told me :)
Respuesta aceptada
Más respuestas (1)
Check whether the density input is correct or not to get a value of 4.5 forTBAL
syms T_BAL
Rho =1.225; % density ?? % standard air density
L=130.2608788;
B=20.48;
Delta = 0.695904983;
D_BAL=9220.372163;
T=8.348645215;
eqn = D_BAL == Rho*L*B*T_BAL*(Delta+0.1*log(T_BAL/T));
sol = solve(eqn,T_BAL)
vpa(sol)
1 comentario
See my corrected answer above, it is around 4.45 which is ~ 4.5 as what your professor told it. Another thing is if all the parameters have follow same unit system, the density of water is 1000 kg/m^3 and if i use your value to solve the equation it shows TBAL is around 0.027.
syms T_BAL
Rho =1025; % density ?? % standard air density
L=130.2608788;
B=20.48;
Delta = 0.695904983;
D_BAL=9220.372163;
T=8.348645215;
eqn = D_BAL == Rho*L*B*T_BAL*(Delta+0.1*log(T_BAL/T));
sol = solve(eqn,T_BAL)
vpa(sol)
Categorías
Más información sobre Get Started with Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

