Function if97::hx

source ·
pub fn hx(h: f64, x: f64, o_id: i32) -> f64
Expand description

hx(h,x,o_id) - the propertry of o_id(thermodynamic)

Examples

  use if97::*;

  let h: f64 =1094.690434;
  let x: f64 = 0.3;
  let p: f64 = hx(h, x, OP);
  let t: f64 = hx(h, x, OT);
  println!("hx: h={p:.6} x={x:.6} p={p:.6} t={t:.6}");