Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
float: kelvin;
|
||||
|
||||
var float: celsius;
|
||||
var float: fahrenheit;
|
||||
var float: rankine;
|
||||
|
||||
constraint celsius == kelvin - 273.15;
|
||||
constraint fahrenheit == celsius * 1.8 + 32;
|
||||
constraint rankine == fahrenheit + 459.67;
|
||||
solve satisfy;
|
||||
|
||||
output ["K \(kelvin)\n", "C \(celsius)\n", "F \(fahrenheit)\n", "R \(rankine)\n"];
|
||||
Loading…
Add table
Add a link
Reference in a new issue