2014-12-23 16:16:50

思路:那啥...技巧性的推导。把公式化到最后分别令wt+q和wt等于零即可。

 1 #include <cstdio>
 2 #include <iostream>
 3 #include <cmath>
 4 #include <iomanip>
 5 using namespace std;
 6 
 7 int main(){
 8     double vs,R,C,w;
 9     int n;
10     scanf("%lf%lf%lf%d",&vs,&R,&C,&n);
11     while(n--){
12         scanf("%lf",&w);
13         double ans;
14         ans = C*R*w*vs*sqrt(1.0/(C*C*R*R*w*w+1.0));
15         printf("%.3f\n",ans);
16     }
17     return 0;
18 }

 

相关文章:

  • 2021-04-18
  • 2021-05-29
  • 2022-01-12
  • 2022-12-23
  • 2021-09-27
  • 2021-08-21
  • 2021-08-18
猜你喜欢
  • 2021-06-20
  • 2021-08-05
  • 2022-12-23
  • 2021-12-04
  • 2021-05-14
  • 2021-08-03
相关资源
相似解决方案