Question: Problem 1 Develop an efficient program that creates a plot of the function f ( x ) = 1 2 + 1 2 0 x
Problem
Develop an efficient program that creates a plot of the function
for xin The integral should be approximated using
Q: the Trapezoidal Rule,
Q: the Simpson's Rule,
and use as few function evaluations of as possible.
Problem
Consider the function
for ranging from to and the derivative
where is a given input parameter.
Q: Develop a program that creates a plot of the derivative of based on a finite difference approximation using computational nodes. The program should also graph the exact derivative given by above.
Q: Test the program using and
Q: How large do you have to choose in order for the difference between these two functions to be less than
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
