Write a user-defined MATLAB function for the following math function: r() = 4cos(4sin) The input to the

Question:

Write a user-defined MATLAB function for the following math function:
r(θ) = 4cos(4sinθ)
The input to the function is θ (in radians) and the output is r. Write the function such that e can be a vector.
(a) Use the function to calculate r(π/6) and r(5π/6).
(b) Use the function to plot (polar plot) r(θ) for 0 < θ < 2π.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: