#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x, y;
cout << "y = 2x +sin2x\nenter x: ";
cin >> x;
y = 2 * x + sin(2*x)
cout << "y = " << y << endl;
}
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x, y;
cout << "y = 2x +sin2x\nenter x: ";
cin >> x;
y = 2 * x + sin(2*x)
cout << "y = " << y << endl;
}