This code is to be written in Matlab.
Write a function that will plot cos(x) for x values ranging from
-pi to pi in steps of 0.1, using black *'s. It will do this three
times across in one Figure Window, with varying line widths. If no
arguments are passed to the function, the line widths will be 1, 2,
and 3. If on the other hand, an argument is passed to the function,
it is multiplier for these values....