Problem with mathematical operations
Mostrar comentarios más antiguos
I am having trouble putting this together on matlab
t=0:0.05:.35
v(t)=sqrt((0.0035*(1440)*9.81)/0.0018)*tanh(sqrt(0.0335*(1440)*9.81*0.0018)/(0.035*2700).*t)
all of that is times t and then tanh(t) I tried to work it out and the book says the result a t=0.35 is 0.5120m/s what am I doing wrong thanks for the help
Respuesta aceptada
Más respuestas (1)
francis
el 6 de Jul. de 2013
Editada: the cyclist
el 7 de Jul. de 2013
4 comentarios
the cyclist
el 6 de Jul. de 2013
"the matlab book" isn't very meaningful. (Amazon lists over 4,600 books when you search on MATLAB.)
Can you post a screen shot of the problem?
francis
el 6 de Jul. de 2013
the cyclist
el 7 de Jul. de 2013
Found it.
You have an error in your units. The radius of the sphere is 0.2 cm, not 0.2 m.
francis
el 7 de Jul. de 2013
Categorías
Más información sobre Surface and Mesh Plots 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!