Question: python code help! ... Use either PYTHON or MatLAB and write a program that uses the Trapezoid Rule to integrate the erf(t) between -t and

python code help! ...

python code help! ... Use either PYTHON or MatLAB and write a

Use either PYTHON or MatLAB and write a program that uses the Trapezoid Rule to integrate the erf(t) between -t and t (where t is a number that you can select 0.00 through 6.00). Have the program sum N = 10, 20, 50, 100, and 500 terms in the sum. "dz" (i.e. delta-z) for the integral will be 2*t/N Your input variables will be t and N... this way you can change them to whatever value you want to calculate. Report you results as a % with 5 sig-figs for each N, dz, and t = 0.50, 1.00 2.22 (you'll probably want to make a table for this)

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 Databases Questions!