//一题物理题,公式是:VR = VS * R * C * W / sqrt(double (R * R * C * C * W * W + 1))
#include "iostream"
#include "cmath"
using namespace std;
int main()
{
double VS, R, C, W;
int TestCase;
while (cin >> VS >> R >> C >> TestCase)
{
for (int i = 0; i < TestCase; i++)
{
cin >> W;
cout.setf(ios_base::fixed);
cout.precision(3);
cout << VS * R * C * W / sqrt(double (R * R * C * C * W * W + 1)) << endl;
}
}
}
zoj 1070 Bode Plot
最新推荐文章于 2022-02-25 19:38:17 发布