Question: Complete the implementation of the plotFun function, which evaluates and plots the graphs of two functions. The function plots two curves, which must be plotted

Complete the implementation of the plotFun function, which evaluates and plots the graphs of two functions.

The function plots two curves, which must be plotted in the order stated below.

Graph the function y=ln|cos x| at 100 evenly spaced points spanning the interval from -3 to 3.

The curve should be displayed using a cyan dotted line with a thickness of 3.

On the same set of axes as the first curve, graph the function y=ln|cos(x/4)| at the same set of points as you used for the first curve.

The curve should be displayed using a blue dotted line with a thickness of 4.

Input variable: n/a this function has no input variables.

Output variable: n/a this function has no output variables.

This is a Matlab question

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!