0

find values for the eqn y=10.5sin(2π+x)*cos(3.5π+x) where x varies by 0-0.1radian. tabulate the above values and determine the rate of increase of y for every value of x.

19th Sep 2016, 4:55 PM
Meena
Meena - avatar
3 Réponses
0
idk
19th Sep 2016, 5:30 PM
progamer+
0
tell me also if got answer
19th Sep 2016, 5:30 PM
progamer+
0
Check it and tell if it works. #include <iostream> #include <cmath> using namespace std; int main() { double x, y, pi =3.141592654; cout << "Enter the value of x (0 to 0.1 radians): "; cin >> x; while (x<0 || x>0.1) { cout << "\nInvalid value, enter a value between 0 and 0.1: "; cin >> x; } y = (10.5*sin(2*pi + x))*(cos(3.5*pi + x)); cout << "\n\nValue of y = " << y << endl; return 0; }
19th Sep 2016, 7:55 PM
Mohammed Maaz
Mohammed Maaz - avatar