1045 Bode Plot
2024-08-29 00:06:39
题目链接:http://poj.org/problem?id=1045
一道数学物理题, 推理公式:http://www.cnblogs.com/rainydays/archive/2013/01/08/2851741.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();
while(T--){
cin>>w;
cout<<(R*C*w*VS*sqrt(1.0/(R*R*C*C*w*w+)))<<endl;
}
return ;
}
-->
最新文章
- Spring Bean
- jsp网站服务器配置
- [转]Jexus的常用操作和基本配置
- Android——android相对布局(RelativeLayout)及属性
- input 데이터의 자판입력모드의 한글/영문 자동전환, 영문고정 하는 방법 웹프로그래밍 팁
- Android_EditText
- POJ 2777 Count Color(段树)
- Moon.Orm 5.0 (MQL版)
- Bootloader Project
- Groovy脚本检查html坏链接
- vue 调用摄像头拍照以及获取相片本地路径(实测有效)
- 清北学堂part1
- pyautogui 文档(三):键盘控制
- java 浅克隆 深克隆
- DBX error:Driver could not be properly initialized .... 解决办法
- 一条bash命令,清除指定的网络接口列表
- 【git 报错】Could not read from remote repository.Please make sure you have the correct access rights.
- 转:Ubuntu 10.10 安装后上不了网的原因
- AsynchronousFileChannel 使用的默认线程池的疑问
- substr和substring,slice和splice的区别,js字符串截取和数组截取