Question: MATLAB EXERCISE only part b,c Exercise 1 For the function f(x) = xex2 + 5x -5 a) Use Matlab to plot the function for values
Exercise 1 For the function f(x) = xex2 + 5x -5 a) Use Matlab to plot the function for values of x in the range -25x52 Important Notes: i. Include a copy of your Matlab code in your solution. ii. Include the plot of the function in your solution. ii. Upload your .m file on Moodle. b) Find the root of the above function in the range of values of x provided using the following five (5) methods by hand: i. Bisection Method ii. Linear Interpolation Method iii. Newton's Method iv. Secant Method v. Fixed Point Iteration Method 2 Important Notes for part (b): i. Show all your hand calculations in detail. ii. Use a simple calculator to perform your calculations. iii. Perform 4 (four) iterations for each method. c) Write a Matlab program to find the numerical solution of f(x) using the Bisection Method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
