Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Calculus
Reply
 
Thread Tools Display Modes
  #1  
Old February 7th, 2009, 11:20 AM
Newbie
 
Join Date: Oct 2008
Posts: 2
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
nick262 is on a distinguished road
Default ODE problem in MATLAB reali stuck :(

Hi guys i hope some one can help with this, it is essentialy an ODE/IVP so please bear with me while i explain

In MATLAB I have a function that outputs a value of acceleration(d2y/dt2) of a system for a given set of initial conditions and input torque.

e.g. At t=0 : y=0, dy/dt=0, d2y/dt2=0, torque=10N/m

It will output a value of the instantaneous acceleration d2y/dt2

And what i need to do is map the position of the system with time.

e.g.
If the torque is applied for time t what will be the final aceleration and position of the system (what will be the values of y and d2y/dt2)

I believe this is an ODE initial value problem?

-I state the intial conditions

-The function works out d2y/dt2

-I then use that value in an ode?? with time step h?? to give me new values of dy/dt and y

-sub y, dy/dt, d2y/dt2 back into the function and it gives me a new value of d2y/dt2 (i.e the acceleration of the system after the torque has been applied for time step h)

-repeat this process for time t

-plot y against t

I apologise if the explanation is confusing :S i am just unsure as to how i can do this

i have a good idea but what i dont get is the whole ode stuff i know it is essentially a simple problem but cant grasp exactly how to do the maths for it and how to code it in matlab??

Any help would be much appreciated thank you all for your time
Reply With Quote
Advertisement
 
Reply

Tags
ivp, matlab, ode

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 12:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.