Function if97::sx

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

sx(s,x,o_id) - the propertry of o_id(thermodynamic)

Examples

  use if97::*;

  let s: f64 =3.119434;
  let x: f64 = 0.3;
  let p: f64 = sx(s, x, OP);
  let t: f64 = sx(s, x, OT);
  println!("sx: s={p:.6} x={x:.6} p={p:.6} t={t:.6}");