您的位置:首页 > 其它

1045 Bode Plot

2015-10-17 09:56 267 查看
题目链接:http://poj.org/problem?id=1045

一道数学物理题, 推理公式:/article/4911946.html

代码:

#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;

int main(){
double VS,R,C,w;
cin>>VS>>R>>C;
int T;
cin>>T;
// 设置输出定点小数3位
cout<<fixed<<setprecision(3);
while(T--){
cin>>w;
cout<<(R*C*w*VS*sqrt(1.0/(R*R*C*C*w*w+1)))<<endl;
}
return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: