Ответ:
С++
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
setlocale(LC_ALL, "ru");
int a, b;
double B;
cout << "Введите число a:";
cin >> a;
cout << "Введите число b:";
cin >> b;
B = (sin(a - b)*sin(a - b))/(sin(2*a) * sin(2*b));
cout << "B = " << B << endl;
system("pause");
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
С++
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
setlocale(LC_ALL, "ru");
int a, b;
double B;
cout << "Введите число a:";
cin >> a;
cout << "Введите число b:";
cin >> b;
B = (sin(a - b)*sin(a - b))/(sin(2*a) * sin(2*b));
cout << "B = " << B << endl;
system("pause");
return 0;
}