Solve the frictionless pendulum equation use Runge- kuta 4 or forward Euler ly'' = -g*sin(y) where g is...

90.2K

Verified Solution

Question

Advance Math

Solve the frictionless pendulum equation use Runge- kuta 4 orforward Euler

ly'' = -g*sin(y)

where g is gravitational acceleration and l is the length of thependulum. The function y(t) represents the angle of the pendulumwith respect to the vertial and y'(t0 the angular velocity. Youwill need to write the second-order equation as a system of twofirst-order equations, and you will need to write a function filethat will evaluate this system of equations. Plot the solutionsy1(t) and y2(t) on the same set of axes. Give an interpretation ofy2(t). Set the length to be 1m, and use as initial conditions aninitial displacement of pi/2 radians and a 0 rad/sec angularvelocity

Answer & Explanation Solved by verified expert
4.1 Ratings (720 Votes)
    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: Zin AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students

Q

HOUSEID TRAVDAY SAMPSTRAT HOMEOWN HHSIZE HHVEHCNT HHFAMINC PC SPHONE TAB WALK BIKE CAR TAXI BUS TRAIN PARA PRICE PLACE WALK2SAVE BIKE2SAVE PTRANS HHRELATD DRVRCNT CNTTDHH HHSTATE HHSTFIPS NUMADLT YOUNGCHILD WRKCOUNT TDAYDATE HHRESP LIF_CYC MSACAT MSASIZE RAIL URBAN URBANSIZE URBRUR SCRESP CENSUS_D CENSUS_R CDIVMSAR HH_RACE HH_HISP HH_CBSA RESP_CNT WEBUSE17 SMPLSRCE WTHHFIN HBHUR HTHTNRNT HTPPOPDN HTRESDN HTEEMPDN HBHTNRNT HBPPOPDN HBRESDN 30000007 2 3 1 3 5 7 2 1 2 5 5 1 5 4 5 5 1 2 4 4 4 1 3 6 NC 37 3 0 1 201608 1 10 3 1 2 1 1 1 1 5 3 53 2 2 XXXXX 3 1 2 187.3143 T 50 1500 750 750 20 750 300 30000008 5 2 1 2 4 8 1 1 2 4 4 1 5 5 5 5 5 2 4 4 5 1 2 2 WI 55 2 0 2 201608 2 2 2 5 2 4 6 2 1 3 2 32 1 2 33460 2 1 2 69.51303 R 5 300 300 150 5 300 300 30000012 5 3 1 1 2 10 1 1 3 2 5 1 5 4 4 5 2 1 2 3 5 2 1 9 NY 36 1 0 1 201607 1 1 3 3 2 1 3 1 1 2 1 23 1 2 XXXXX 1 1 2 79.41959 C 80 17000 17000 5000 60 17000 7000 30000019 5 3 1 2 2 3 1 5 5 2 5 1 5 5 5 5 2 3 2 3 3 1 2 4 MD 24 2 0 0 201605 1 2 3 2 2 1 1 1 1 5 3 53 1 2 XXXXX 2 1 2 279.1436 S 40 300 300 150 50 750 300 30000029 3 3 1 2 2 5 2 5 1 -9 -9 1 -9 -9 -9 -9 3 2 5 5 5 1 2 10 WI 55 2 0 0 201610 1 10 3 3 2 1 2 1 1 3 2 33 1 2 XXXXX 2 1 2 103.2403 S 40 1500 750 750 40 1500 750 30000039 5 3 1 2 2 10 1 3 5 5 5 1 5 5 5 5 5 3 5 5 5 1 2 11 PA 42 2 0 1 201609 1 2 3 3 2 1 3 1 1 2 1 23 1 2 XXXXX 2 1 1 2329.525 S 40 7000 1500 1500 5 3000 1500 30000041 4 3 1 2 2 11 1 1 1 1 4 1 3 4 4 5 5 5 5 5 5 1 2 6 CA 6 2 0 2 201606 1 2 3 3 1 1 2 1 1 9 4 93 1 2 XXXXX 2 1 2 788.6142 T 40 300 50 25 40 300 300 30000062 5 4 1 2 6 10 1 1 1 4 5 1 4 5 5 5 3 3 4 5 5 1 2 6 TX 48 2 0 1 201609 1 10 4 6 2 4 6 2 1 7 3 74 1 2 XXXXX 2 1 2 294.5018 R 20 50 50 25 5 50 50 30000082 3 3 2 4 2 8 1 1 5 -9 5 1 5 5 5 5 3 3 5 5 5 1 2 12 NY 36 2 2 2 201605 1 4 3 3 2 1 3 1 1 2 1 23 1 2 XXXXX 4 1 2 1148.809 T 20 1500 300 750 30 750 300 30000085 1 2 1 1 2 9 1 1 4 1 4 2 3 5 5 5 5 3 4 4 3 2 1 6 CA 6 1 0 1 201608 1 1 2 5 2 1 4 1 1 9 4 92 97 1 41740 1 1 2 190.669 U 50 17000 17000 5000 50 30000 17000 30000089 6 3 1 4 2 7 2 1 4 5 5 1 5 5 5 5 5 3 5 5 5 1 2 4 TX 48 2 2 2 201612 1 4 3 3 2 4 6 2 1 7 3 73 1 1 XXXXX 4 1 2 833.6213 T 20 1500 750 750 30 1500 300 30000094 3 3 2 1 1 4 1 1 5 4 4 1 4 5 5 5 2 2 2 2 3 2 1 4 CA 6 1 0 1 201610 1 1 3 1 2 1 1 1 1 9 4 93 1 1 XXXXX 1 1 2 163.3823 T 20 300 300 150 20 300 300 30000095 6 3 1 1 1 6 2 5 5 4 2 1 5 5 5 5 4 3 3 3 5 2 1 9 WI 55 1 0 0 201607 1 9 3 3 2 1 2 1 1 3 2 33 1 2 XXXXX 1 2 2 41.93445 S 5 7000 3000 3000 5 7000 3000 30000107 6 2 1 2 3 8 1 2 5 4 4 1 5 5 4 5 3 4 4 4 5 1 2 11 TX 48 2 0 0 201612 1 2 2 5 2 1 4 1 1 7 3 72 1 2 19100 2 1 2 60.00456 C 5 7000 1500 3000 20 7000 1500 30000128 1 3 2 2 2 1 1 1 5 3 5 1 5 5 4 5 4 4 4 4 4 2 2 2 ME 23 2 0 0 201605 1 2 3 1 2 1 1 1 1 1 1 13 1 2 XXXXX 2 1 1 7092.269 C 30 300 300 150 60 3000 1500 PROBLEM 1: Estimate the average number of trip generated by households in the study area by...

Basic Math