114
edits
mNo edit summary |
|||
Line 3: | Line 3: | ||
#apt install octave | #apt install octave | ||
$ | $function calc() { echo $1 | octave -q; } | ||
$calc 4*6 | $calc 4*6 | ||
$ | $function dec2min() { echo $1*60 | octave -q; } | ||
$dec2min .5 | $dec2min .5 | ||
ans=30 | ans=30 | ||
$ | $function min2dec() { echo $1/60 | octave -q; } | ||
$min2dec 45 | $min2dec 45 | ||
ans=.75000 | ans=.75000 | ||
Source/Inspiration: [https://www.pro-linux.de/kurztipps/2/1367/komfortables-rechnen-in-der-shell.html https://www.pro-linux.de/kurztipps/2/1367/komfortables-rechnen-in-der-shell.html] | Source/Inspiration: [https://www.pro-linux.de/kurztipps/2/1367/komfortables-rechnen-in-der-shell.html https://www.pro-linux.de/kurztipps/2/1367/komfortables-rechnen-in-der-shell.html] | ||
== Adding a existing component to an existing aircraft == | == Adding a existing component to an existing aircraft == |
edits