Question: a ) Find h ( 3 0 ) using the trapezoid rule ( the way it s taught in class ) , Simpson s rule,

a)Find h(30) using the trapezoid rule (the way its taught in class), Simpsons rule, and the Numpy built-in function numpy.trapz(using _0=30, obviously) and print on console/terminal. Compare the values you get from all three and write a comment about the differences.
b)Calculate the time period values for a range of _0 from 0 to 90 and write them on an Excel file along with the h(_0) values. The Excel file should have three columns, one with angles in degrees, one with the h(_0) values, and the third with time period in seconds, with headers indicating each.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!