[DM15] Aeronautical Calculations

Contributed software for the DM10, DM11, DM12, DM15 and DM16 goes here.

Please prefix the subject of your post with the model of the calculator that your program is for.
AlanW
Posts: 14
Joined: Sat Mar 07, 2020 6:35 pm
Location: UK

[DM15] Aeronautical Calculations

Post by AlanW »

Conversion between True Airspeed, (TAS), Calibrated Airspeed (CAS) and Mach Number (M) for a given Altitude in accordance with BS2G199:1984.

1. Enter Altitude in feet and press A. Static pressure is displayed in millibars (mbar). Static temperature is stored in R6
2. Enter Calibrated Airspeed in knots, True Airspeed in knots or Mach, then do one of:
2a. Press B to convert True Airspeed to Mach.
2b. Press C to convert Calibrated Airspeed to Mach.
2c. Press D to convert Mach to True Airspeed.
2d. Press E to convert Mach to Calibrated Airspeed.
2e. Press B then E to convert True Airspeed to Calibrated Airspeed.
2f. Press C then D to convert Calibrated Airspeed to True Airspeed.

Further speed conversions can be made at the same altitude starting from step 2.

Parameters are also stored in R0 to R6.

Copyright (C) 2020 by Alan Waddington

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.

Code: Select all

   000 {             } 
   001 {    42 21 11 } f LBL A
   002 {       44  0 } STO 0
   003 {           3 } 3
   004 {           6 } 6
   005 {           0 } 0
   006 {           8 } 8
   007 {           9 } 9
   008 {    43 30  8 } g TEST x<y
   009 {    22 48  0 } GTO .0
   010 {           2 } 2
   011 {           8 } 8
   012 {           8 } 8
   013 {          48 } .
   014 {           1 } 1
   015 {           5 } 5
   016 {       45  0 } RCL 0
   017 {           1 } 1
   018 {          48 } .
   019 {           9 } 9
   020 {           8 } 8
   021 {           1 } 1
   022 {           2 } 2
   023 {          26 } EEX
   024 {          16 } CHS
   025 {           3 } 3
   026 {          20 } ×
   027 {          30 } −
   028 {       44  6 } STO 6
   029 {           2 } 2
   030 {           8 } 8
   031 {           8 } 8
   032 {          48 } .
   033 {           1 } 1
   034 {           5 } 5
   035 {          34 } x↔y
   036 {          10 } ÷
   037 {           5 } 5
   038 {          48 } .
   039 {           2 } 2
   040 {           5 } 5
   041 {           5 } 5
   042 {           8 } 8
   043 {           7 } 7
   044 {           9 } 9
   045 {          16 } CHS
   046 {          14 } yˣ
   047 {           1 } 1
   048 {           0 } 0
   049 {           1 } 1
   050 {           3 } 3
   051 {          48 } .
   052 {           2 } 2
   053 {           5 } 5
   054 {          20 } ×
   055 {       44  4 } STO 4
   056 {       43 32 } g RTN
   057 { 42 21 48  0 } f LBL .0
   058 {       45  0 } RCL 0
   059 {           6 } 6
   060 {           5 } 5
   061 {           6 } 6
   062 {           1 } 1
   063 {           7 } 7
   064 {       43 10 } g x≤y
   065 {    22 48  1 } GTO .1
   066 {           2 } 2
   067 {           1 } 1
   068 {           6 } 6
   069 {          48 } .
   070 {           6 } 6
   071 {           5 } 5
   072 {       44  6 } STO 6
   073 {           2 } 2
   074 {          48 } .
   075 {           3 } 3
   076 {           5 } 5
   077 {           4 } 4
   078 {           7 } 7
   079 {           2 } 2
   080 {           9 } 9
   081 {       45  0 } RCL 0
   082 {           3 } 3
   083 {           6 } 6
   084 {           0 } 0
   085 {           8 } 8
   086 {           9 } 9
   087 {          30 } −
   088 {           2 } 2
   089 {          48 } .
   090 {           0 } 0
   091 {           8 } 8
   092 {           7 } 7
   093 {           3 } 3
   094 {           7 } 7
   095 {          26 } EEX
   096 {          16 } CHS
   097 {           5 } 5
   098 {          20 } ×
   099 {          30 } −
   100 {          13 } 10ˣ
   101 {       44  4 } STO 4
   102 {       43 32 } g RTN
   103 { 42 21 48  1 } f LBL .1
   104 {           2 } 2
   105 {           1 } 1
   106 {           6 } 6
   107 {          48 } .
   108 {           6 } 6
   109 {           5 } 5
   110 {       45  0 } RCL 0
   111 {           6 } 6
   112 {           5 } 5
   113 {           6 } 6
   114 {           1 } 1
   115 {           7 } 7
   116 {          30 } −
   117 {           0 } 0
   118 {          48 } .
   119 {           3 } 3
   120 {           0 } 0
   121 {           4 } 4
   122 {           8 } 8
   123 {          26 } EEX
   124 {          16 } CHS
   125 {           3 } 3
   126 {          20 } ×
   127 {          40 } +
   128 {       44  6 } STO 6
   129 {           2 } 2
   130 {           1 } 1
   131 {           6 } 6
   132 {          48 } .
   133 {           6 } 6
   134 {           5 } 5
   135 {          34 } x↔y
   136 {          10 } ÷
   137 {           3 } 3
   138 {           4 } 4
   139 {          48 } .
   140 {           1 } 1
   141 {           6 } 6
   142 {           3 } 3
   143 {           2 } 2
   144 {           1 } 1
   145 {           5 } 5
   146 {          14 } yˣ
   147 {           5 } 5
   148 {           4 } 4
   149 {          48 } .
   150 {           7 } 7
   151 {           4 } 4
   152 {           8 } 8
   153 {           2 } 2
   154 {          20 } ×
   155 {       44  4 } STO 4
   156 {       43 32 } g RTN
   157 {    42 21 12 } f LBL B
   158 {       44  1 } STO 1
   159 {       45  6 } RCL 6
   160 {          11 } √x̅
   161 {           3 } 3
   162 {           8 } 8
   163 {          48 } .
   164 {           9 } 9
   165 {           6 } 6
   166 {           7 } 7
   167 {           8 } 8
   168 {           5 } 5
   169 {           4 } 4
   170 {          20 } ×
   171 {          10 } ÷
   172 {       44  3 } STO 3
   173 {       43 32 } g RTN
   174 {    42 21 13 } f LBL C
   175 {       32  1 } GSB 1
   176 {       32  2 } GSB 2
   177 {       43 32 } g RTN
   178 {    42 21  1 } f LBL 1
   179 {       44  2 } STO 2
   180 {           6 } 6
   181 {           6 } 6
   182 {           1 } 1
   183 {          48 } .
   184 {           4 } 4
   185 {           7 } 7
   186 {           8 } 8
   187 {           6 } 6
   188 {    43 30  8 } g TEST x<y
   189 {    22 48  2 } GTO .2
   190 {          34 } x↔y
   191 {          36 } ENTER
   192 {          20 } ×
   193 {           4 } 4
   194 {          48 } .
   195 {           5 } 5
   196 {           7 } 7
   197 {           0 } 0
   198 {           8 } 8
   199 {           6 } 6
   200 {           5 } 5
   201 {          26 } EEX
   202 {           7 } 7
   203 {          16 } CHS
   204 {          20 } ×
   205 {           1 } 1
   206 {          40 } +
   207 {           3 } 3
   208 {          48 } .
   209 {           5 } 5
   210 {          14 } yˣ
   211 {           1 } 1
   212 {          30 } −
   213 {           1 } 1
   214 {           0 } 0
   215 {           1 } 1
   216 {           3 } 3
   217 {          48 } .
   218 {           2 } 2
   219 {           5 } 5
   220 {          20 } ×
   221 {       43 32 } g RTN
   222 { 42 21 48  2 } f LBL .2
   223 {          34 } x↔y
   224 {           7 } 7
   225 {          14 } yˣ
   226 {           3 } 3
   227 {          48 } .
   228 {           0 } 0
   229 {           1 } 1
   230 {           2 } 2
   231 {           3 } 3
   232 {           2 } 2
   233 {           5 } 5
   234 {           5 } 5
   235 {          26 } EEX
   236 {           1 } 1
   237 {           8 } 8
   238 {          16 } CHS
   239 {          20 } ×
   240 {       45  2 } RCL 2
   241 {          36 } ENTER
   242 {          20 } ×
   243 {           1 } 1
   244 {          48 } .
   245 {           5 } 5
   246 {           9 } 9
   247 {           9 } 9
   248 {           8 } 8
   249 {           0 } 0
   250 {           2 } 2
   251 {           8 } 8
   252 {          26 } EEX
   253 {           5 } 5
   254 {          16 } CHS
   255 {          20 } ×
   256 {           1 } 1
   257 {          30 } −
   258 {           2 } 2
   259 {          48 } .
   260 {           5 } 5
   261 {          14 } yˣ
   262 {          10 } ÷
   263 {           1 } 1
   264 {          30 } −
   265 {           1 } 1
   266 {           0 } 0
   267 {           1 } 1
   268 {           3 } 3
   269 {          48 } .
   270 {           2 } 2
   271 {           5 } 5
   272 {          20 } ×
   273 {       43 32 } g RTN
   274 {    42 21  2 } f LBL 2
   275 {       44  5 } STO 5
   276 {       45  4 } RCL 4
   277 {          10 } ÷
   278 {           1 } 1
   279 {          40 } +
   280 {           2 } 2
   281 {          36 } ENTER
   282 {           7 } 7
   283 {          10 } ÷
   284 {          14 } yˣ
   285 {           1 } 1
   286 {          30 } −
   287 {           5 } 5
   288 {          20 } ×
   289 {          11 } √x̅
   290 {       44  3 } STO 3
   291 {           1 } 1
   292 {          34 } x↔y
   293 {    43 30  8 } g TEST x<y
   294 {       43 32 } g RTN
   295 {          36 } ENTER
   296 {          36 } ENTER
   297 {           2 } 2
   298 {          40 } +
   299 {    42 10  3 } f SOLVE 3
   300 {       43 32 } g RTN
   301 {       22  0 } GTO 0
   302 {    42 21  3 } f LBL 3
   303 {       32  4 } GSB 4
   304 {       45  5 } RCL 5
   305 {          30 } −
   306 {       43 32 } g RTN
   307 {    42 21 14 } f LBL D
   308 {       44  3 } STO 3
   309 {       45  6 } RCL 6
   310 {          11 } √x̅
   311 {          20 } ×
   312 {           3 } 3
   313 {           8 } 8
   314 {          48 } .
   315 {           9 } 9
   316 {           6 } 6
   317 {           7 } 7
   318 {           8 } 8
   319 {           5 } 5
   320 {           4 } 4
   321 {          20 } ×
   322 {       43 32 } g RTN
   323 {    42 21 15 } f LBL E
   324 {       32  4 } GSB 4
   325 {       32  5 } GSB 5
   326 {       43 32 } g RTN
   327 {    42 21  4 } f LBL 4
   328 {       44  3 } STO 3
   329 {           1 } 1
   330 {    43 30  8 } g TEST x<y
   331 {    22 48  3 } GTO .3
   332 {          34 } x↔y
   333 {          36 } ENTER
   334 {          20 } ×
   335 {           0 } 0
   336 {          48 } .
   337 {           2 } 2
   338 {          20 } ×
   339 {           1 } 1
   340 {          40 } +
   341 {           3 } 3
   342 {          48 } .
   343 {           5 } 5
   344 {          14 } yˣ
   345 {           1 } 1
   346 {          30 } −
   347 {       45  4 } RCL 4
   348 {          20 } ×
   349 {       43 32 } g RTN
   350 { 42 21 48  3 } f LBL .3
   351 {          34 } x↔y
   352 {           7 } 7
   353 {          14 } yˣ
   354 {           1 } 1
   355 {           6 } 6
   356 {           6 } 6
   357 {          48 } .
   358 {           9 } 9
   359 {           2 } 2
   360 {           1 } 1
   361 {           5 } 5
   362 {           8 } 8
   363 {          20 } ×
   364 {       45  3 } RCL 3
   365 {          36 } ENTER
   366 {          20 } ×
   367 {           7 } 7
   368 {          20 } ×
   369 {           1 } 1
   370 {          30 } −
   371 {           2 } 2
   372 {          48 } .
   373 {           5 } 5
   374 {          14 } yˣ
   375 {          10 } ÷
   376 {           1 } 1
   377 {          30 } −
   378 {       45  4 } RCL 4
   379 {          20 } ×
   380 {       43 32 } g RTN
   381 {    42 21  5 } f LBL 5
   382 {       44  5 } STO 5
   383 {           1 } 1
   384 {           0 } 0
   385 {           1 } 1
   386 {           3 } 3
   387 {          48 } .
   388 {           2 } 2
   389 {           5 } 5
   390 {          10 } ÷
   391 {           1 } 1
   392 {          40 } +
   393 {           2 } 2
   394 {          36 } ENTER
   395 {           7 } 7
   396 {          10 } ÷
   397 {          14 } yˣ
   398 {           1 } 1
   399 {          30 } −
   400 {           4 } 4
   401 {          48 } .
   402 {           5 } 5
   403 {           7 } 7
   404 {           0 } 0
   405 {           8 } 8
   406 {           6 } 6
   407 {           5 } 5
   408 {          26 } EEX
   409 {           7 } 7
   410 {          16 } CHS
   411 {          10 } ÷
   412 {          11 } √x̅
   413 {       44  2 } STO 2
   414 {           6 } 6
   415 {           6 } 6
   416 {           1 } 1
   417 {          48 } .
   418 {           4 } 4
   419 {           7 } 7
   420 {           8 } 8
   421 {           6 } 6
   422 {          34 } x↔y
   423 {    43 30  8 } g TEST x<y
   424 {       43 32 } g RTN
   425 {          36 } ENTER
   426 {          36 } ENTER
   427 {           5 } 5
   428 {           0 } 0
   429 {          40 } +
   430 {    42 10  6 } f SOLVE 6
   431 {       43 32 } g RTN
   432 {       22  0 } GTO 0
   433 {    42 21  6 } f LBL 6
   434 {       32  1 } GSB 1
   435 {       45  5 } RCL 5
   436 {          30 } −
   437 {       43 32 } g RTN

Code: Select all

# --------------------------------------------
# HEWLETT·PACKARD 15C Simulator program
# Created with version 4.1.00
# --------------------------------------------
#T:Aeronautical Calculations for dm15L
#D:Conversion between True Airspeed, (TAS), Calibrated Airspeed (CAS) and Mach Number (M) for a given Altitude in accordance with BS2G199:1984.
#D:
#D:1. Enter Altitude in feet and press <span class="HP15CfKeyLabel">A</span>.  Static pressure is displayed in millibars (mbar). Static temperature is stored in <span class="HP15CRegister">R6</span>
#D:2. Enter Calibrated Airspeed in knots, True Airspeed in knots or Mach, then do one of:
#D:2a. Press <span class="HP15CfKeyLabel">B</span> to convert True Airspeed to Mach.
#D:2b. Press <span class="HP15CfKeyLabel">C</span> to convert Calibrated Airspeed to Mach.
#D:2c. Press <span class="HP15CfKeyLabel">D</span> to convert Mach to True Airspeed.
#D:2d. Press <span class="HP15CfKeyLabel">E</span> to convert Mach to Calibrated Airspeed.
#D:2e. Press <span class="HP15CfKeyLabel">B</span> then <span class="HP15CfKeyLabel">E</span> to convert True Airspeed to Calibrated Airspeed.
#D:2f. Press <span class="HP15CfKeyLabel">C</span> then <span class="HP15CfKeyLabel">D</span> to convert Calibrated Airspeed to True Airspeed.
#D:
#D:Further speed conversions can be made at the same altitude starting from  step 2.
#D:
#D:Parameters are also stored in <span class="HP15CRegister">R0</span> to <span class="HP15CRegister">R6</span>.
#D:
#D:Copyright (C) 2020 by Alan Waddington
#D:
#D:Permission to use, copy, modify, and/or distribute this software for any purpose
#D:with or without fee is hereby granted.
#D:
#D:THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
#D:REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
#D:FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
#D:INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
#D:OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
#D:TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
#D:THIS SOFTWARE.
#L-1:Altitude to Static Pressure (Ps)
#L-2:True Airspeed (TAS) to Mach (M)
#L-3:Calibrated Airspeed (CAS) to Mach (M)
#L-4:Mach (M) to True Airspeed (TAS)
#L-5:Mach (M) to Calibrated Airspeed (CAS)
#L0:Generate Error 4 (Solve Failed)
#L1:Calibrated Airspeed (CAS) to Dynamic Pressure (Qc)
#L2:Dynamic Pressure (Qc) to Mach (M)
#L3:SOLVE Equation for supersonic Mach
#L4:Mach (M) to Dynamic Pressure (Qc)
#L5:Dynamic Pressure (Qc) to Calibrated Airspeed (CAS)
#L6:SOLVE Equation for supersonic Calibrated Airspeed
#L10:
#L11:
#L12:
#R0:Altitude (feet)
#R1:True Airspeed (TAS) (knots)
#R2:Calibrated Airspeed (CAS) (knots)
#R3:Mach Number
#R4:Static Pressure (Ps) (mbar)
#R5:Dynamic Pressure (Qc) (mbar)
#R6:Static Temperature (Ts) (K)
# --------------------------------------------

   000 {             } 
   001 {    42 21 11 } f LBL A
   002 {       44  0 } STO 0
   003 {           3 } 3
   004 {           6 } 6
   005 {           0 } 0
   006 {           8 } 8
   007 {           9 } 9
   008 {    43 30  8 } g TEST x<y
   009 {    22 48  0 } GTO .0
   010 {           2 } 2
   011 {           8 } 8
   012 {           8 } 8
   013 {          48 } .
   014 {           1 } 1
   015 {           5 } 5
   016 {       45  0 } RCL 0
   017 {           1 } 1
   018 {          48 } .
   019 {           9 } 9
   020 {           8 } 8
   021 {           1 } 1
   022 {           2 } 2
   023 {          26 } EEX
   024 {          16 } CHS
   025 {           3 } 3
   026 {          20 } ×
   027 {          30 } −
   028 {       44  6 } STO 6
   029 {           2 } 2
   030 {           8 } 8
   031 {           8 } 8
   032 {          48 } .
   033 {           1 } 1
   034 {           5 } 5
   035 {          34 } x↔y
   036 {          10 } ÷
   037 {           5 } 5
   038 {          48 } .
   039 {           2 } 2
   040 {           5 } 5
   041 {           5 } 5
   042 {           8 } 8
   043 {           7 } 7
   044 {           9 } 9
   045 {          16 } CHS
   046 {          14 } yˣ
   047 {           1 } 1
   048 {           0 } 0
   049 {           1 } 1
   050 {           3 } 3
   051 {          48 } .
   052 {           2 } 2
   053 {           5 } 5
   054 {          20 } ×
   055 {       44  4 } STO 4
   056 {       43 32 } g RTN
   057 { 42 21 48  0 } f LBL .0
   058 {       45  0 } RCL 0
   059 {           6 } 6
   060 {           5 } 5
   061 {           6 } 6
   062 {           1 } 1
   063 {           7 } 7
   064 {       43 10 } g x≤y
   065 {    22 48  1 } GTO .1
   066 {           2 } 2
   067 {           1 } 1
   068 {           6 } 6
   069 {          48 } .
   070 {           6 } 6
   071 {           5 } 5
   072 {       44  6 } STO 6
   073 {           2 } 2
   074 {          48 } .
   075 {           3 } 3
   076 {           5 } 5
   077 {           4 } 4
   078 {           7 } 7
   079 {           2 } 2
   080 {           9 } 9
   081 {       45  0 } RCL 0
   082 {           3 } 3
   083 {           6 } 6
   084 {           0 } 0
   085 {           8 } 8
   086 {           9 } 9
   087 {          30 } −
   088 {           2 } 2
   089 {          48 } .
   090 {           0 } 0
   091 {           8 } 8
   092 {           7 } 7
   093 {           3 } 3
   094 {           7 } 7
   095 {          26 } EEX
   096 {          16 } CHS
   097 {           5 } 5
   098 {          20 } ×
   099 {          30 } −
   100 {          13 } 10ˣ
   101 {       44  4 } STO 4
   102 {       43 32 } g RTN
   103 { 42 21 48  1 } f LBL .1
   104 {           2 } 2
   105 {           1 } 1
   106 {           6 } 6
   107 {          48 } .
   108 {           6 } 6
   109 {           5 } 5
   110 {       45  0 } RCL 0
   111 {           6 } 6
   112 {           5 } 5
   113 {           6 } 6
   114 {           1 } 1
   115 {           7 } 7
   116 {          30 } −
   117 {           0 } 0
   118 {          48 } .
   119 {           3 } 3
   120 {           0 } 0
   121 {           4 } 4
   122 {           8 } 8
   123 {          26 } EEX
   124 {          16 } CHS
   125 {           3 } 3
   126 {          20 } ×
   127 {          40 } +
   128 {       44  6 } STO 6
   129 {           2 } 2
   130 {           1 } 1
   131 {           6 } 6
   132 {          48 } .
   133 {           6 } 6
   134 {           5 } 5
   135 {          34 } x↔y
   136 {          10 } ÷
   137 {           3 } 3
   138 {           4 } 4
   139 {          48 } .
   140 {           1 } 1
   141 {           6 } 6
   142 {           3 } 3
   143 {           2 } 2
   144 {           1 } 1
   145 {           5 } 5
   146 {          14 } yˣ
   147 {           5 } 5
   148 {           4 } 4
   149 {          48 } .
   150 {           7 } 7
   151 {           4 } 4
   152 {           8 } 8
   153 {           2 } 2
   154 {          20 } ×
   155 {       44  4 } STO 4
   156 {       43 32 } g RTN
   157 {    42 21 12 } f LBL B
   158 {       44  1 } STO 1
   159 {       45  6 } RCL 6
   160 {          11 } √x̅
   161 {           3 } 3
   162 {           8 } 8
   163 {          48 } .
   164 {           9 } 9
   165 {           6 } 6
   166 {           7 } 7
   167 {           8 } 8
   168 {           5 } 5
   169 {           4 } 4
   170 {          20 } ×
   171 {          10 } ÷
   172 {       44  3 } STO 3
   173 {       43 32 } g RTN
   174 {    42 21 13 } f LBL C
   175 {       32  1 } GSB 1
   176 {       32  2 } GSB 2
   177 {       43 32 } g RTN
   178 {    42 21  1 } f LBL 1
   179 {       44  2 } STO 2
   180 {           6 } 6
   181 {           6 } 6
   182 {           1 } 1
   183 {          48 } .
   184 {           4 } 4
   185 {           7 } 7
   186 {           8 } 8
   187 {           6 } 6
   188 {    43 30  8 } g TEST x<y
   189 {    22 48  2 } GTO .2
   190 {          34 } x↔y
   191 {          36 } ENTER
   192 {          20 } ×
   193 {           4 } 4
   194 {          48 } .
   195 {           5 } 5
   196 {           7 } 7
   197 {           0 } 0
   198 {           8 } 8
   199 {           6 } 6
   200 {           5 } 5
   201 {          26 } EEX
   202 {           7 } 7
   203 {          16 } CHS
   204 {          20 } ×
   205 {           1 } 1
   206 {          40 } +
   207 {           3 } 3
   208 {          48 } .
   209 {           5 } 5
   210 {          14 } yˣ
   211 {           1 } 1
   212 {          30 } −
   213 {           1 } 1
   214 {           0 } 0
   215 {           1 } 1
   216 {           3 } 3
   217 {          48 } .
   218 {           2 } 2
   219 {           5 } 5
   220 {          20 } ×
   221 {       43 32 } g RTN
   222 { 42 21 48  2 } f LBL .2
   223 {          34 } x↔y
   224 {           7 } 7
   225 {          14 } yˣ
   226 {           3 } 3
   227 {          48 } .
   228 {           0 } 0
   229 {           1 } 1
   230 {           2 } 2
   231 {           3 } 3
   232 {           2 } 2
   233 {           5 } 5
   234 {           5 } 5
   235 {          26 } EEX
   236 {           1 } 1
   237 {           8 } 8
   238 {          16 } CHS
   239 {          20 } ×
   240 {       45  2 } RCL 2
   241 {          36 } ENTER
   242 {          20 } ×
   243 {           1 } 1
   244 {          48 } .
   245 {           5 } 5
   246 {           9 } 9
   247 {           9 } 9
   248 {           8 } 8
   249 {           0 } 0
   250 {           2 } 2
   251 {           8 } 8
   252 {          26 } EEX
   253 {           5 } 5
   254 {          16 } CHS
   255 {          20 } ×
   256 {           1 } 1
   257 {          30 } −
   258 {           2 } 2
   259 {          48 } .
   260 {           5 } 5
   261 {          14 } yˣ
   262 {          10 } ÷
   263 {           1 } 1
   264 {          30 } −
   265 {           1 } 1
   266 {           0 } 0
   267 {           1 } 1
   268 {           3 } 3
   269 {          48 } .
   270 {           2 } 2
   271 {           5 } 5
   272 {          20 } ×
   273 {       43 32 } g RTN
   274 {    42 21  2 } f LBL 2
   275 {       44  5 } STO 5
   276 {       45  4 } RCL 4
   277 {          10 } ÷
   278 {           1 } 1
   279 {          40 } +
   280 {           2 } 2
   281 {          36 } ENTER
   282 {           7 } 7
   283 {          10 } ÷
   284 {          14 } yˣ
   285 {           1 } 1
   286 {          30 } −
   287 {           5 } 5
   288 {          20 } ×
   289 {          11 } √x̅
   290 {       44  3 } STO 3
   291 {           1 } 1
   292 {          34 } x↔y
   293 {    43 30  8 } g TEST x<y
   294 {       43 32 } g RTN
   295 {          36 } ENTER
   296 {          36 } ENTER
   297 {           2 } 2
   298 {          40 } +
   299 {    42 10  3 } f SOLVE 3
   300 {       43 32 } g RTN
   301 {       22  0 } GTO 0
   302 {    42 21  3 } f LBL 3
   303 {       32  4 } GSB 4
   304 {       45  5 } RCL 5
   305 {          30 } −
   306 {       43 32 } g RTN
   307 {    42 21 14 } f LBL D
   308 {       44  3 } STO 3
   309 {       45  6 } RCL 6
   310 {          11 } √x̅
   311 {          20 } ×
   312 {           3 } 3
   313 {           8 } 8
   314 {          48 } .
   315 {           9 } 9
   316 {           6 } 6
   317 {           7 } 7
   318 {           8 } 8
   319 {           5 } 5
   320 {           4 } 4
   321 {          20 } ×
   322 {       43 32 } g RTN
   323 {    42 21 15 } f LBL E
   324 {       32  4 } GSB 4
   325 {       32  5 } GSB 5
   326 {       43 32 } g RTN
   327 {    42 21  4 } f LBL 4
   328 {       44  3 } STO 3
   329 {           1 } 1
   330 {    43 30  8 } g TEST x<y
   331 {    22 48  3 } GTO .3
   332 {          34 } x↔y
   333 {          36 } ENTER
   334 {          20 } ×
   335 {           0 } 0
   336 {          48 } .
   337 {           2 } 2
   338 {          20 } ×
   339 {           1 } 1
   340 {          40 } +
   341 {           3 } 3
   342 {          48 } .
   343 {           5 } 5
   344 {          14 } yˣ
   345 {           1 } 1
   346 {          30 } −
   347 {       45  4 } RCL 4
   348 {          20 } ×
   349 {       43 32 } g RTN
   350 { 42 21 48  3 } f LBL .3
   351 {          34 } x↔y
   352 {           7 } 7
   353 {          14 } yˣ
   354 {           1 } 1
   355 {           6 } 6
   356 {           6 } 6
   357 {          48 } .
   358 {           9 } 9
   359 {           2 } 2
   360 {           1 } 1
   361 {           5 } 5
   362 {           8 } 8
   363 {          20 } ×
   364 {       45  3 } RCL 3
   365 {          36 } ENTER
   366 {          20 } ×
   367 {           7 } 7
   368 {          20 } ×
   369 {           1 } 1
   370 {          30 } −
   371 {           2 } 2
   372 {          48 } .
   373 {           5 } 5
   374 {          14 } yˣ
   375 {          10 } ÷
   376 {           1 } 1
   377 {          30 } −
   378 {       45  4 } RCL 4
   379 {          20 } ×
   380 {       43 32 } g RTN
   381 {    42 21  5 } f LBL 5
   382 {       44  5 } STO 5
   383 {           1 } 1
   384 {           0 } 0
   385 {           1 } 1
   386 {           3 } 3
   387 {          48 } .
   388 {           2 } 2
   389 {           5 } 5
   390 {          10 } ÷
   391 {           1 } 1
   392 {          40 } +
   393 {           2 } 2
   394 {          36 } ENTER
   395 {           7 } 7
   396 {          10 } ÷
   397 {          14 } yˣ
   398 {           1 } 1
   399 {          30 } −
   400 {           4 } 4
   401 {          48 } .
   402 {           5 } 5
   403 {           7 } 7
   404 {           0 } 0
   405 {           8 } 8
   406 {           6 } 6
   407 {           5 } 5
   408 {          26 } EEX
   409 {           7 } 7
   410 {          16 } CHS
   411 {          10 } ÷
   412 {          11 } √x̅
   413 {       44  2 } STO 2
   414 {           6 } 6
   415 {           6 } 6
   416 {           1 } 1
   417 {          48 } .
   418 {           4 } 4
   419 {           7 } 7
   420 {           8 } 8
   421 {           6 } 6
   422 {          34 } x↔y
   423 {    43 30  8 } g TEST x<y
   424 {       43 32 } g RTN
   425 {          36 } ENTER
   426 {          36 } ENTER
   427 {           5 } 5
   428 {           0 } 0
   429 {          40 } +
   430 {    42 10  6 } f SOLVE 6
   431 {       43 32 } g RTN
   432 {       22  0 } GTO 0
   433 {    42 21  6 } f LBL 6
   434 {       32  1 } GSB 1
   435 {       45  5 } RCL 5
   436 {          30 } −
   437 {       43 32 } g RTN

# --------------------------------------------
This post was updated on 21st May 2020 to correct errata in the documentation.
This post was updated on 9th June 2020 to remove an unused function from the program.
Last edited by AlanW on Tue Jun 09, 2020 9:52 pm, edited 2 times in total.
AlanW
Posts: 14
Joined: Sat Mar 07, 2020 6:35 pm
Location: UK

Re: [DM15] Aeronautical Calculations

Post by AlanW »

Errata: It's BS2G199:1984 not BS2G100:1984.
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: [DM15] Aeronautical Calculations

Post by Walter »

AlanW wrote:
Tue May 19, 2020 11:18 pm
Copyright (C) 2020 by Alan Waddington

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.

...
#R0:Altitude (feet)
#R1:True Airspeed (TAS) (knots)
#R2:Computed Airspeed (CAS) (knots)
#R3:Mach Number
#R4:Static Pressure (Ps) (mb)
#R5:Dynamic Pressure (Qc) (mb)
#R6:Static Temperature (Ts) (K)
Wow! That's a disclaimer at its best. You come from the US of A, I presume?

While we're at it, please note the unit of pressure you wanted to use reads 'mbar'. Just FYI.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
AlanW
Posts: 14
Joined: Sat Mar 07, 2020 6:35 pm
Location: UK

Re: [DM15] Aeronautical Calculations

Post by AlanW »

Thanks for pointing out that it should be mbar rather than mb.
The licence is based on the BSD License which is from the US, while I'm from the UK.

Alan
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: [DM15] Aeronautical Calculations

Post by rprosperi »

Walter, you need to get that pointing finger calibrated, you missed by a few thousand miles...
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: [DM15] Aeronautical Calculations

Post by Walter »

rprosperi wrote:
Wed May 20, 2020 2:38 am
Walter, you need to get that pointing finger calibrated, you missed by a few thousand miles...
Almost, Bob, almost. But it's calibrated for texts, not men. It can't detect the latter since it can only read. Clairvoyance was never part of the spec.

And while we're at it: You might need recalibrating your instruments to km, you're 2 centuries late...
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: [DM15] Aeronautical Calculations

Post by rprosperi »

As English is the International language and used around the world, it's probably not the best basis for reaching conclusions on locale. Yours is excellent but just imagine if a reader concluded you were American based on that alone... 8-)

Miles work just fine here, and seems they will for another century or more, though I have to admit to preferring the simplicity and consistency of the Metric System. As for how long it's been standardized there, it appears 2 centuries is a bit exaggerated. Perhaps a calculator would help... ;)
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: [DM15] Aeronautical Calculations

Post by grsbanks »

France adopted the metric system in 1795, so that's 225 years ago.

Germany, however, did so in 1872 according to Wikipedia, so that is only 148 years ago... Looks like Walter's clock has a drift of 52/148 years, so that's just over 350000 ppm.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: [DM15] Aeronautical Calculations

Post by toml_12953 »

rprosperi wrote:
Wed May 20, 2020 2:56 pm
As English is the International language and used around the world, it's probably not the best basis for reaching conclusions on locale. Yours is excellent but just imagine if a reader concluded you were American based on that alone... 8-)
Americans would never get the impression that he's American. His English is too good and his sense of humor is too German (which to most Americans includes Ireland, Austria, Switzerland, Poland, and Vichy France) Also, he probably knows that the capital of Australia is not Sydney, it's
Can o' beer or something like that.
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
User avatar
Guenter
Posts: 168
Joined: Wed May 24, 2017 6:26 pm
Location: Germany

Re: [DM15] Aeronautical Calculations

Post by Guenter »

AlanW wrote:
Tue May 19, 2020 11:18 pm
Conversion between True Airspeed, (TAS), Computed Airspeed (CAS) and Mach Number (M) for a given Altitude in ....
Although CAS is a computed airspeed, CAS denotes "Calibrated Airspeed". BTW TAS is a computed airspeed also.

Günter
Günter
DM42 SN:00004 and SN:00184 -- DM41X SN:00013 and SN:00955
Post Reply