how do i write the formula in c++
y= xpower2 - sin power 4 * 3x in c++
and
slope = 2x - 12 sinpower3 * 3x cos 3x
1 2 3 4 5 6 7 8 9 10 11 12 13
#include <iostream>
#include <cmath>
usingnamespace std;
int main ()
{
double x, y, slope;
cout << " Please enter the x in radian: ";
cin >> x;
y = x * x - pow(sin,4) * x * x * x;
cout << slope;
system ("pause");
return 0;
}