Lets say I have a second order ODE: mx''+kx+bx'=kz+bz' ( an EOM where m=3000, b=2000, k=50000, and...

50.1K

Verified Solution

Question

Mechanical Engineering

Lets say I have a second order ODE:mx''+kx+bx'=kz+bz' ( an EOM where m=3000,b=2000, k=50000, and finally z=.01sin(3.5t)).

In Matlab, how would I use theMatlab command ode23 to solve this ode assuming zero initialconditions, range :0-20 seconds.

Answer & Explanation Solved by verified expert
4.4 Ratings (602 Votes)
tx ode23odefuntspanx0 where tspan t0 tfintegrates the system of differential equationsxftx from t0 to tf withinitial conditions x0 Each row in    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students