65,187
社区成员




/*
y=tan(x)
x=arctan(y)
则由10=atan2(1,x)
得出:1/x=tan10
*/
#include <iostream>
#include <complex>
using namespace std;
void main()
{
double y;
y = tan(10);
cout <<"x="<<1/y<< endl;
}
#include <iostream>
#include <complex>
using namespace std;
void main()
{
double x;
x = tan(10);
cout << x << endl;
cout << atan2(1, x) << endl;
}