Equation not formatting properly
Afficher commentaires plus anciens
Hello,
I inputted this equation into MATLAB
Temp = (T - Te)/(Tb - Te) == (cosh(B*(L - x))) + (Hc)/((B*k)* ...
sinh(B*(L - x)))/(cosh(B*L) + (Hc)/((B*k)*sinh(B*L)));
but the equation seems to produce
/ Hc \
B k sinh(B L) | cosh(B (L - x)) + ------------------- |
T - Te \ B k sinh(B (L - x)) /
------- == -------------------------------------------------------
Tb - Te Hc + cosh(B L)
where B k sinh(B L) should be on the bottom as Hc/(B k sinh(B L) + cosh(B L).
I think all the parenthesis are orrect so I'm not quite sure why it isn't being formatted properly. Does anyone know why this is resulting in this format?
5 commentaires
How did you input the equation?
Looks fine to me this way -
syms T Te Tb B L x Hc k
Temp = (T - Te)/(Tb - Te) == (cosh(B*(L - x))) + (Hc)/((B*k)* ...
sinh(B*(L - x)))/(cosh(B*L) + (Hc)/((B*k)*sinh(B*L)))
Justin
le 15 Jan 2023
Justin
le 15 Jan 2023
Justin
le 15 Jan 2023
Justin
le 15 Jan 2023
Réponses (0)
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

