美文网首页
poj1045 公式推导

poj1045 公式推导

作者: 暖昼氤氲 | 来源:发表于2019-11-02 16:26 被阅读0次
/*
Time:2019.11.2
Author: Goven
type:数学:公式推导 
err:
ref:不会https://blog.csdn.net/chenchaoflight/article/details/8722122 
*/
#include<iostream>
#include<cmath>
using namespace std;

int main()
{
    double Vs, Vr, R, C, n, w, tp;
    cin >> Vs >> R >> C >> n;
    while (n--) {
        cin >> w;
        tp = R * C * w;
        printf("%.3lf\n", tp * Vs / sqrt(tp * tp + 1));
    }  
    return 0;
}


相关文章

网友评论

      本文标题:poj1045 公式推导

      本文链接:https://www.haomeiwen.com/subject/woqhbctx.html