题目链接: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 ;
}


-->

最新文章

  1. Spring Bean
  2. jsp网站服务器配置
  3. [转]Jexus的常用操作和基本配置
  4. Android——android相对布局(RelativeLayout)及属性
  5. input 데이터의 자판입력모드의 한글/영문 자동전환, 영문고정 하는 방법 웹프로그래밍 팁
  6. Android_EditText
  7. POJ 2777 Count Color(段树)
  8. Moon.Orm 5.0 (MQL版)
  9. Bootloader Project
  10. Groovy脚本检查html坏链接
  11. vue 调用摄像头拍照以及获取相片本地路径(实测有效)
  12. 清北学堂part1
  13. pyautogui 文档(三):键盘控制
  14. java 浅克隆 深克隆
  15. DBX error:Driver could not be properly initialized .... 解决办法
  16. 一条bash命令,清除指定的网络接口列表
  17. 【git 报错】Could not read from remote repository.Please make sure you have the correct access rights.
  18. 转:Ubuntu 10.10 安装后上不了网的原因
  19. AsynchronousFileChannel 使用的默认线程池的疑问
  20. substr和substring,slice和splice的区别,js字符串截取和数组截取

热门文章

  1. jmeter踩坑系列
  2. Java 打印一个心心
  3. 操作系统-服务器-百科:Nginx(engine X)
  4. Socket通讯介绍
  5. 运维平台cmdb开发-day3
  6. json data 解析demo
  7. 字体相关CSS属性介绍
  8. 为什么KVM计算机点无故重启?
  9. PHP错误日志记录文件位置确定
  10. Linux常用命令大全(全面)