cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Pendulum ODE

ValeryOchkov
24-Ruby IV

Pendulum ODE

Mathcad 15 - an error.

Prime 5 - a constant not function as an answer!

See the attach and help me please!

 

5 REPLIES 5

Two problems in your MC15 sheet:

1) wrong syntax of Odesolve (you don't have to provide the function name theta in MC15)

2) the expression on the right hand side of your ODE takes non-real values if theta goes above 45 degree
I coped boldly with the last situation by applying the Re() function 😉

 

Now you get a solution, but its constant 45°

 

Werner_E_1-1589211690048.png

 

 

Thanks!

But why I get a constants, not a function - angle of the pendulum as function of time?

Total energy is constant throughout, so the value under the square root sign of the numerator of the RHS of your ODE is always zero; hence theta goes nowhere (as you can see from Werner's graph)!!

 

Alan 

If you wish to get the equations of motion from conservation of energy Val, you need to do the following:

 

g0.jpg

Alan

 

Thanks Alan!

I see my bug!

See please Problem 3 in the Manuscript!

 

Top Tags