Answer to Question #255639 in C++ for Javaria

Question #255639

3x4 sin(180x) + 4x3 cos(90x) + x2 sin(tan(45)) + 7x + 9cos(90x2 )


1
Expert's answer
2021-10-23T14:11:28-0400
#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;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS