# IAPWS-17 Tab. 8
M <- 20.027508 # g/mol
tab <- heavy17_sat(c("p", "rho", "h", "s"), t = c(280, 450, 625))
format(tab, scientific = TRUE, digits = 9)
# \dontshow{
stopifnot(all.equal(tab[, "p", "gas", drop = FALSE],
array(c(0.823054058e-3, 0.921212105, 0.172118129e2),
c(3, 1, 1), dimnames = list(NULL, c("p"), c("gas"))),
tolerance = 2e-9))
# }
Run the code above in your browser using DataLab