poj3299http://poj.org/problem?id=3299
#include <iostream> #include <fstream> #include <cmath> #define EXP 2.718281828 using namespace std; double funcE(double dewPoint) { return 6.11*pow(EXP,5417.7530*((1.0/273.16)-(1.0/(dewPoint+273.16)))); } double funcH(double t,double d) { return t+0.5555*(funcE(d)-10.0); } double funcT(double h,double d) { return h-0.5555*(funcE(d)-10.0); } double funcEToD(double e) { return 1.0/(1.0/273.16-log(e/6.11)/5417.7530)-273.16; } double funcD(double t,double h) { return funcEToD((h-t)/0.5555+10.0); } int main() { //ifstream cin("1.txt"); char ca,cb; double a,b; while(1) { cin>>ca; if(ca=='E') break; cin>>a>>cb>>b; if(ca=='T' && cb=='D') printf("T %.1f D %.1f H %.1f\n",a,b,funcH(a,b)); else if(ca=='D' && cb=='T') printf("T %.1f D %.1f H %.1f\n",b,a,funcH(b,a)); else if(ca=='T' && cb=='H') printf("T %.1f D %.1f H %.1f\n",a,funcD(a,b),b); else if(ca=='H' && cb=='T') printf("T %.1f D %.1f H %.1f\n",b,funcD(b,a),a); else if(ca=='H' && cb=='D') printf("T %.1f D %.1f H %.1f\n",funcT(a,b),b,a); else if(ca=='D' && cb=='H') printf("T %.1f D %.1f H %.1f\n",funcT(b,a),a,b); } return 0; }
发表评论
-
2011清华考研机试题2
2011-08-09 14:56 909http://ac.jobdu.com/problem.php ... -
2011清华考研机试题1
2011-08-09 14:40 642题目描述 http://ac.jobdu.com/proble ... -
考研清华2011复试机考第三题
2011-08-09 13:51 1492题目描述 在某条线路上有N个火车站,有三种距离的路程,L1, ... -
poj3259 spfa解法
2011-08-08 19:59 1357同上题,不过改的spfa算法,注意每个节点进入队列的次数至多为 ... -
poj3259 bellman水题
2011-08-08 17:04 970poj3259http://poj.org/problem?i ... -
acm题目常用的预处理
2011-08-08 15:26 1163#include<iostream> #in ... -
poj1860
2011-08-08 14:06 705poj1860http://poj.org/problem?i ... -
water~9
2011-08-06 18:01 418poj2109http://poj.org/problem?i ... -
water~8
2011-08-06 17:22 574poj2027http://poj.org/problem?i ... -
water~7
2011-08-06 17:15 568poj1328http://poj.org/problem?i ... -
water~6
2011-08-06 14:27 707poj1088http://poj.org/problem?i ... -
water~5
2011-08-06 14:24 581poj1003http://poj.org/problem?i ... -
water~4
2011-08-06 14:09 637poj1004http://poj.org/problem?i ... -
water~3
2011-08-06 13:59 522poj2159http://poj.org/problem?i ... -
water~1
2011-08-06 10:35 639poj1503http://poj.org/problem?i ... -
POJ3280 简单DP
2011-08-05 14:48 893poj3280:http://poj.org/problem? ... -
POJ3253
2011-08-04 13:36 780poj3253:http://poj.org/problem? ...
相关推荐
2. RenderTexture - the shader uses a texture rendered by a camera placed behind the water geometry. It can be optimised to give the best performance on mobile platforms. The package also features: +...
Unity2d 模拟东西掉入水中,水面波澜效果,波动幅度,范围有参数控制组件添加:BuoyancyEffector2D 支持物体掉入水中的浮力,2d游戏水插件
动态水物理2是一个水-物体相互作用模拟器,它使用网格数据来模拟浮力和流体动力学,使其适合任何形状或大小的物体,移动或静止。 DWP2是对先前版本的完全重写,以利用新的Unity特性并获得更好的性能。
An advanced water system for Unity. Water+ is very fast and it is optimized to run on almost any hardware possible while looking amazing. This is a lite version of the full Water+ plugin. It has most...
Water+2D+Tool Unity3D 实现2D水物理效果,水平面会根据物品的碰撞产生水平面曲线变化
The successor to the original Stylized Water Shader asset, widely adopted since 2016. Now re-imagined from the ground up for the Universal Render Pipeline. Rather than being PBR-based, a custom ...
Water+2D+Kit+v1.1 Unity3D实现2D水效果。通过shadow渲染水的动感
SUIMONO 2.1 - Interactive Water System brings advanced and deeply customizable ocean and water effects to Unity. Realistic Water Rendering - Uses advanced rendering techniques such as refraction, ...
Unity插件 Stylized Water 2 v1.5 Unity水资源插件,湖泊、海洋、河流 导入资源可直接运行查看效果,支持urp
UNITY Watertools 2D水波纹 https://assetstore.unity.com/packages/vfx/shaders/substances/water-2d-tool-35521
根据压力、温度、焓、熵、比容五个参数中的任意两个来计算去其他15个水蒸气参数,其软件主要用于水热力性能计算、蒸汽热力性质计算
Dynamic Water Physics 2是一种水-物体相互作用模拟器,它使用网格数据模拟浮力和流体动力学,使其适用于任何形状或大小的物体,无论是运动的还是静止的。 DWP2是对先前版本的完整重写,以利用Unity的新功能并获得...
这个是2D-Water.unitypackage的压缩包,解压后可以直接导入Unity。 这个2D-Water组件里提供了各种水的材质和Shader,还有一个预制好了的prefab,可以直接用,调整一下相关数值就是自己想要的2D水了
Water 曲谱
matlab seawater 基础程序包
camelotvfx advanced water fx camelotvfx advanced water fx
unity水特效Water FX Pack unity水特效Water FX Pack unity水特效Water FX Pack unity水特效Water FX Pack
matlab code for seawater calculation
MATLAB工具箱大全-海洋要素计算工具箱seawater
applications in water resources engineering. The book has been developed with two primary sections. For the first part of the book (Chapters 1–4), the emphasis is on developing an understanding of ...