Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

find the answer for y= sin(x), 0<x<pi/2 Pleas show me step by step, using matlab

ID: 2997616 • Letter: F

Question

find the answer for y= sin(x), 0<x<pi/2

Pleas show me step by step, using matlab

don't give me matlab code just for y=sin(x)

Figure PI0.12 illustrates a function- generator linkage in which the motion of rocker 2 corresponds to x and the motion of rocker 4 to the function y = f (x). Use four precision points with Chebychev spacing and synthesize a linkage to generate the functions illustrated in Table P10.12 through 10.31. Plot a curve of the desired function and a curve of the actual function that the linkage generates. Compute the maximum error between them in percent. Figure P10. 12

Explanation / Answer

x=0:0.001:pi; %this gives the range of x
y= sin(x); % this is the function given by you
plot(x,y); % plotting the function