+ public static double c_to_f(double c) {
+ return c * 9/5 + 32;
+ }
+
+ public static boolean imperial_units = false;
+
+ public static AltosDistance distance = new AltosDistance();
+
+ public static AltosHeight height = new AltosHeight();
+
+ public static AltosSpeed speed = new AltosSpeed();
+
+ public static AltosAccel accel = new AltosAccel();
+
+ public static AltosTemperature temperature = new AltosTemperature();
+
+ public static String show_gs(String format, double a) {
+ a = meters_to_g(a);
+ format = format.concat(" g");
+ return String.format(format, a);
+ }
+
+ public static String say_gs(double a) {
+ return String.format("%6.0 gees", meters_to_g(a));
+ }
+