Ответ:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
float x = 0;
while (x <= 10) {
cout << "sin(2*" << x << ") = " << sin(2 * x) << endl;
x += 0.5;
}
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
float x = 0;
while (x <= 10) {
cout << "sin(2*" << x << ") = " << sin(2 * x) << endl;
x += 0.5;
}
return 0;
}