title: how to solve y = |Sin(x^x)/2^(((x^x)-pi/2)/pi)| in MATLAB
body: <p>how to solve this question in MATLAB?</p>
  
  <p>Create an array for x from 0 to 2π with 1000 elements and graph the following equation:
  y = |Sin(x^x)/2^(((x^x)-pi/2)/pi)|</p>
  
  <p>I have tried but it didn't work:</p>
  
  <pre><code>x = linspace(0, 2*pi, 1000);
  
  y = abs(sin(x.^x)/(2.^(((x.^x) - pi / 2)/ pi)));
  
  plot(x,y)
  </code></pre>