Question

Create a Matlab code to solve the two following equations for a pendulum:

F = 10

m = 1

ks = 1

(m+M)x'' - ml\Theta'' cos\Theta + ml\Theta'' sin\Theta = F

-x'' cos\Theta + l\Theta'' - g sin\Theta = 0







0 0
Add a comment Improve this question Transcribed image text
Answer #1

function T- pendulum(L, a0) %PENDULUM Summary of this function goes here % Detailed explanation goes here %initializing variaen %IF THE SOFTWARE SHOULD STOP IT IS NOW SET TO DO SO %SET OMEGALAST EQUAL TO OMEGA FOR CHECK IN NEXT TIME STEP omegalast-om

Add a comment
Know the answer?
Add Answer to:
Create a Matlab code to solve the two following equations for a pendulum: F = 10 m = 1 ks = 1 (m+M)x'' - ml'' cos + ml'' sin = F -x'' cos + l'' - g sin = 0 We w...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT