Menu

[Solved]5pts Plot Function F X 3x Sin X 2x 2 X 2x Compute Manually First Order Derivative Add Plot Q37261917

(5pts) Plot the function f(x)-3x sin(x)-2x for-2π < x < 2x. Compute (manually) the first-order derivative and add it to the s
Please write code using MATLAB(5pts) Plot the function f(x)-3x sin(x)-2x for-2π < x < 2x. Compute (manually) the first-order derivative and add it to the same plot. Use a solid line for the function, and a dashed line for the derivative. Label both axes and add a legend. Use the fzero function, initialized at-4, -2, 0, 2 and 4 to find all zeros of the derivative function within a specified range. Add these zeros to the plot as markers (7pts) Ship A travels South at a speed of 8 miles/hour, and a ship B travels East at a speed of 16 miles/hour. At 7AM the ships are positioned as shown in the figure: Ship A Ship B Plot the distance between the ships as a function of time for the next 4 hours. The horizontal axis should show the actual time of day starting at 7:00AM, while the vertical axis shows the distance Label the axes. Add a horizontal 8-mile visibility line on you graph. Compute a time window when people from two ships can see each other. Show it (as a text string) in your plot (3pts) A circular staircase can be modeled by the parametric equations where R is the radius of the staircase, h is the height of the floors, and n is the number of revolutions that the staircase makes in each floor. A building has 2 floors with h-3m (9ft). Make plots of two possible staircases: one with R-1.5m (4.5ft) and n-3, and the other with R-4m (12ft) and n-2. Plot two staircases on the same plot. Use different line styles and add a legend (Spts) Consider the following mode shape for a solid circular membrane clamped along its outer boundary (r=1): where (r.) are the polar coordinates of any point on the membrane, and J(x) is the Bessel function of the first kind of order 1 (its syntax is besselj (1,x)).(The value 3.8316 represents one of the natural frequency coefficients for this membrane.) First, create the hundred-element vectors re(0;1] and фЕ [0,2 ] and compute the values of function z on this grid. Then, compute the Cartesian coordinates of grid nodes as x-cos(p) and y r sin(9). Make those values of z that are less than-0.2 or greater than .2 equal to NaN. Finally, use the mesh function to show your “damaged membrane. Show transcribed image text (5pts) Plot the function f(x)-3x sin(x)-2x for-2π

Expert Answer


Answer to (5pts) Plot the function f(x)-3x sin(x)-2x for-2π < x < 2x. Compute (manually) the first-order derivative and add it to... . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *