Challenge

Week 3 - Solving second order ODEs

Title : To solve the second order ODE.

Explanation :

  • The code sarts with the inputs like gravity,length,mass,damping coefficient,initial condition ,and the time.
  • The Function is define in the other script which is given with the values like (b,g,l,m,theta,t)
  • The second order ode funtion is converted to first order ode function by making sone adjustments into the given second order function.
  • dtheta1_dt and dtheta2_dt valuesare assigned according to the ode function, both the values are assigned together in the seperate function called as dtheta_dt and the function command is put to end.
  • further the ode is solved by the inbuilt ode function of matlab and all the terms are recalled.
  • the graph is plotted according to the function.
  • The ode function was unable to recall and to solve it was seen that i was facing some unusual type of error even though the scripting of the program was acurate to my knowledge.
  • hence the program wasnt able to solved.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.