3x4 sin(180x) + 4x3 cos(90x) + x2 sin(tan(45)) + 7x + 9cos(90x2 )
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
float x;
cout<<"\nEnter a number: ";
cin>>x;
float result=3*4*sin(180*x) + 4*3*cos(90*x) + x*x*sin(tan(45)) + 7*x + 9*cos(90*2);
cout<<"\nResult = "<<result<<endl;
return 0;
}
Comments
Leave a comment