114
edits
mNo edit summary |
|||
Line 1: | Line 1: | ||
== Using the (Linux) console for calculation e.g. *60 or /60 of decimal/nautical minutes for parking coordinates == | |||
#apt install octave | |||
$func calc() { echo $1 | octave -q; } | |||
$calc 4*6 | |||
$func dec2min() { echo $1*60 | octave -q; } | |||
$dec2min .5 | |||
ans=30 | |||
$func min2dec() { echo $1/60 | octave -q; } | |||
$min2dec 45 | |||
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] | |||
== Adding a existing component to an existing aircraft == | == Adding a existing component to an existing aircraft == | ||
edits