# IAPWS-95 Tab. 8
tab <- iapws95_sat(c("p", "rho", "h", "s"), t = c(275, 450, 625))
format(tab, scientific = TRUE, digits = 9)
# \dontshow{
stopifnot(all.equal(tab[, "p", "gas", drop = FALSE],
array(c(0.698451167e-3, 0.932203564e0, 0.169082693e2),
c(3, 1, 1), dimnames = list(NULL, c("p"), c("gas"))),
tolerance = 2e-9))
# }
Run the code above in your browser using DataLab