Question: Assigned problem #2 Write a Matlab function, dotPathIntegral (P), which returns the result of the integral As in Assigned Problem #1 the path P is

 Assigned problem #2 Write a Matlab function, dotPathIntegral (P), which returns

Assigned problem #2 Write a Matlab function, dotPathIntegral (P), which returns the result of the integral As in Assigned Problem #1 the path P is expressed as a 3n array of points, where each column represents a single point along the path. The function returns a scalar. Calculate the integral analytically for the path (0,0,0)(n/2, /2,1), and compare the results with the output of your function. Show how the accuracy of the integration changes as the path step size changes. Provide other numerical examples of the output of your function, not necessarily accompanied by the exact analytical calculation. 1. 2. 3. Assigned problem #2 Write a Matlab function, dotPathIntegral (P), which returns the result of the integral As in Assigned Problem #1 the path P is expressed as a 3n array of points, where each column represents a single point along the path. The function returns a scalar. Calculate the integral analytically for the path (0,0,0)(n/2, /2,1), and compare the results with the output of your function. Show how the accuracy of the integration changes as the path step size changes. Provide other numerical examples of the output of your function, not necessarily accompanied by the exact analytical calculation. 1. 2. 3

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!