1045 Bode Plot
2015-10-17 09:56
267 查看
题目链接:http://poj.org/problem?id=1045
一道数学物理题, 推理公式:/article/4911946.html
代码:
一道数学物理题, 推理公式:/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; }
相关文章推荐
- HDU1035 Robot Motion(java)
- 客户端服务端交互
- Java字段初始化
- ios 为什么拖拽的控件为weak 手写的strong
- 懂得放弃,才会拥有!
- 浅析MySQL Replication(复制)原理
- Spring3系列10- Spring AOP——Pointcut,Advisor拦截指定方法
- 1690: [Usaco2007 Dec]奶牛的旅行
- Linux下安装ruby
- jquery-qrcode生成二维码
- 编写更好 Bash 脚本的 8 个建议
- 如何更改MFC对话框默认的窗口类名
- shell学习的点点滴滴―启动脚本
- C++中的RAII机制 http://www.jellythink.com/archives/101
- 【转】比较全面的gdb调试命令
- Cocos2d-x 3.2 Lua演示样本 ActionTest(操作测试)
- iOS之改变BarButtonItem中显示的字体大小
- 一
- 一
- Hash