Question: solve it using MATLAB Question 2 a. Find all solution of the equation 151 i ii. Figure 1: Plot of xand 3x - 2x. The

Question 2 a. Find all solution of the equation 151 i ii. Figure 1: Plot of xand 3x - 2x. The solutions to the equation r = 3x2 - 2x are the x values of the intersection points. Using MatLAB, show how you can code to plot the graphs as in figure 1 and give comment for every line of the code Using MatLAB, find the solution that satisfy = 3x - 2x By using MatLAB, find the value of y when: -0.6 -0.17 0.5 1.5 2.4 2.8 iii. y i. [2.5 marks/markah] b. Find all solution of the equation of f(x) = x+2x2 30x - 5 Using MatLAB, show how you can code to plot the function f(x)=x +Zx? 30x - 5. your graph should label for x-axis, y-axis, title of graph and label the curve of the graph Find the largest root method starting at x = 4, It should be clear that the largest root has a value between 4 and 5 from your graph. [2.5 marks/ markah] c. Use MATLAB to plot the graphs of each of the following. Then determine what interval for t is needed in order to trace the entire graph only once. (Use subplot (2.2.1) through subplot(2.2,3) to get the three graphs onto one window.) interval fort in order to trace r = 4 cos (21) only once: interval fort in order to trace r = cos (5t) only once: interval fort in order to trace r=sin (12) only once i. Get all the three graphs into one figure only. Your graph should label for x-axis, y-axis, and title of graph and label the curve of the graph. Explain you code using comment for every line of the code. iii [2.5 marks/markah] d. Plot the characteristic for the "Big-O characteristics of Algorithms for 05 n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
