title: Plotting in matlab with cosine and sine
body: <p>Considering a function f(x)=sin(x)+cos(4x)-0.3 am supposed to</p>
  
  <p>Write a Matlab script file that plots f(x) for 0 ≤ x ≤ 2π.
  I have tried</p>
  
  <pre><code>x = [0 : x: 2pi];
  pi = 3.14;
  y = sin(x);
  g = cos(4x)-0.3;
  plot(x, y, x, g);
  </code></pre>