.

Friday, June 14, 2019

Mat lab Speech or Presentation Example | Topics and Well Written Essays - 1500 words

Mat lab - Speech or Presentation ExampleThe dots stage to each x and y coordinates defined. The next line defines y as a function of x. Next, we highlight the two vari equal to(p)s we select just defined in the workspace then click the button. The resulting graph is shown below2. Problem two is easier as we already have a bisection method program from our previous exercises. We only have to make the necessary changes on that program to answer question 2. The equation to be used isNotice that all terms on the right brass of the original equation was moved to the left so that the equation is now equal to zero (since we are looking for a point that lies in the x-axis). To exceed us an idea about the location of this point, we can plot it the same way we did in question 1 then choose an interval in the x-axis that encloses this point. Thus we input the following codes on the command window and click the plot buttonas this is the function that we need to integrate, then use the appri se of d computed from question 2. Since we need to compute for the percent relative error, we include a code in the program that calculates the exact answer to be able to compare it with the approximated

No comments:

Post a Comment