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.

