Question: MATLAB The expression sinly)=x^2 +2*x*y is implicit for y cannot easily be rearrange to y=f(x)). a. Convert the implicit equation into a root problem and
The expression sinly)=x^2 +2*x*y is implicit for y cannot easily be rearrange to y=f(x)). a. Convert the implicit equation into a root problem and find y for x=5 (use bisect.m). b. Write a script that uses the same strategy as in a) to calculate y for x values from 1 to 20 (step size 1) and plot the result (y vs. X.plot the datapoints as circles) Chint for the bracket selection: y stays negative over this range) c. Write a function called C1_1.m for expression above that takes a value for x as its input and returns y. Use the same strategy and brackets and , as above). Use plot to plot qi_f.m between 1 and 20. (Hint when using a function on an m-file you will need to add an before the name of the function, in this case plot(81_, -1). d. Create vector x with values from 0 to 3 in a step size of 0.2 Create a y that contains values according to the following expression: yusin (x cox x(x2-3x+1))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
