Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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! ...
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started