[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: 12
Joined: Sat Mar 07, 2020 5:35 pm
Location: UK

[DM15] Aeronautical Calculations

Post by AlanW » Tue May 19, 2020 9:18 pm

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 11 } f LBL A
   158 {           2 } 2
   159 {          20 } ×
   160 {       43 32 } g RTN
   161 {    42 21 12 } f LBL B
   162 {       44  1 } STO 1
   163 {       45  6 } RCL 6
   164 {          11 } √x̅
   165 {           3 } 3
   166 {           8 } 8
   167 {          48 } .
   168 {           9 } 9
   169 {           6 } 6
   170 {           7 } 7
   171 {           8 } 8
   172 {           5 } 5
   173 {           4 } 4
   174 {          20 } ×
   175 {          10 } ÷
   176 {       44  3 } STO 3
   177 {       43 32 } g RTN
   178 {    42 21 13 } f LBL C
   179 {       32  1 } GSB 1
   180 {       32  2 } GSB 2
   181 {       43 32 } g RTN
   182 {    42 21  1 } f LBL 1
   183 {       44  2 } STO 2
   184 {           6 } 6
   185 {           6 } 6
   186 {           1 } 1
   187 {          48 } .
   188 {           4 } 4
   189 {           7 } 7
   190 {           8 } 8
   191 {           6 } 6
   192 {    43 30  8 } g TEST x<y
   193 {    22 48  2 } GTO .2
   194 {          34 } x↔y
   195 {          36 } ENTER
   196 {          20 } ×
   197 {           4 } 4
   198 {          48 } .
   199 {           5 } 5
   200 {           7 } 7
   201 {           0 } 0
   202 {           8 } 8
   203 {           6 } 6
   204 {           5 } 5
   205 {          26 } EEX
   206 {           7 } 7
   207 {          16 } CHS
   208 {          20 } ×
   209 {           1 } 1
   210 {          40 } +
   211 {           3 } 3
   212 {          48 } .
   213 {           5 } 5
   214 {          14 } yˣ
   215 {           1 } 1
   216 {          30 } −
   217 {           1 } 1
   218 {           0 } 0
   219 {           1 } 1
   220 {           3 } 3
   221 {          48 } .
   222 {           2 } 2
   223 {           5 } 5
   224 {          20 } ×
   225 {       43 32 } g RTN
   226 { 42 21 48  2 } f LBL .2
   227 {          34 } x↔y
   228 {           7 } 7
   229 {          14 } yˣ
   230 {           3 } 3
   231 {          48 } .
   232 {           0 } 0
   233 {           1 } 1
   234 {           2 } 2
   235 {           3 } 3
   236 {           2 } 2
   237 {           5 } 5
   238 {           5 } 5
   239 {          26 } EEX
   240 {           1 } 1
   241 {           8 } 8
   242 {          16 } CHS
   243 {          20 } ×
   244 {       45  2 } RCL 2
   245 {          36 } ENTER
   246 {          20 } ×
   247 {           1 } 1
   248 {          48 } .
   249 {           5 } 5
   250 {           9 } 9
   251 {           9 } 9
   252 {           8 } 8
   253 {           0 } 0
   254 {           2 } 2
   255 {           8 } 8
   256 {          26 } EEX
   257 {           5 } 5
   258 {          16 } CHS
   259 {          20 } ×
   260 {           1 } 1
   261 {          30 } −
   262 {           2 } 2
   263 {          48 } .
   264 {           5 } 5
   265 {          14 } yˣ
   266 {          10 } ÷
   267 {           1 } 1
   268 {          30 } −
   269 {           1 } 1
   270 {           0 } 0
   271 {           1 } 1
   272 {           3 } 3
   273 {          48 } .
   274 {           2 } 2
   275 {           5 } 5
   276 {          20 } ×
   277 {       43 32 } g RTN
   278 {    42 21  2 } f LBL 2
   279 {       44  5 } STO 5
   280 {       45  4 } RCL 4
   281 {          10 } ÷
   282 {           1 } 1
   283 {          40 } +
   284 {           2 } 2
   285 {          36 } ENTER
   286 {           7 } 7
   287 {          10 } ÷
   288 {          14 } yˣ
   289 {           1 } 1
   290 {          30 } −
   291 {           5 } 5
   292 {          20 } ×
   293 {          11 } √x̅
   294 {       44  3 } STO 3
   295 {           1 } 1
   296 {          34 } x↔y
   297 {    43 30  8 } g TEST x<y
   298 {       43 32 } g RTN
   299 {          36 } ENTER
   300 {          36 } ENTER
   301 {           2 } 2
   302 {          40 } +
   303 {    42 10  3 } f SOLVE 3
   304 {       43 32 } g RTN
   305 {       22  0 } GTO 0
   306 {    42 21  3 } f LBL 3
   307 {       32  4 } GSB 4
   308 {       45  5 } RCL 5
   309 {          30 } −
   310 {       43 32 } g RTN
   311 {    42 21 14 } f LBL D
   312 {       44  3 } STO 3
   313 {       45  6 } RCL 6
   314 {          11 } √x̅
   315 {          20 } ×
   316 {           3 } 3
   317 {           8 } 8
   318 {          48 } .
   319 {           9 } 9
   320 {           6 } 6
   321 {           7 } 7
   322 {           8 } 8
   323 {           5 } 5
   324 {           4 } 4
   325 {          20 } ×
   326 {       43 32 } g RTN
   327 {    42 21 15 } f LBL E
   328 {       32  4 } GSB 4
   329 {       32  5 } GSB 5
   330 {       43 32 } g RTN
   331 {    42 21  4 } f LBL 4
   332 {       44  3 } STO 3
   333 {           1 } 1
   334 {    43 30  8 } g TEST x<y
   335 {    22 48  3 } GTO .3
   336 {          34 } x↔y
   337 {          36 } ENTER
   338 {          20 } ×
   339 {           0 } 0
   340 {          48 } .
   341 {           2 } 2
   342 {          20 } ×
   343 {           1 } 1
   344 {          40 } +
   345 {           3 } 3
   346 {          48 } .
   347 {           5 } 5
   348 {          14 } yˣ
   349 {           1 } 1
   350 {          30 } −
   351 {       45  4 } RCL 4
   352 {          20 } ×
   353 {       43 32 } g RTN
   354 { 42 21 48  3 } f LBL .3
   355 {          34 } x↔y
   356 {           7 } 7
   357 {          14 } yˣ
   358 {           1 } 1
   359 {           6 } 6
   360 {           6 } 6
   361 {          48 } .
   362 {           9 } 9
   363 {           2 } 2
   364 {           1 } 1
   365 {           5 } 5
   366 {           8 } 8
   367 {          20 } ×
   368 {       45  3 } RCL 3
   369 {          36 } ENTER
   370 {          20 } ×
   371 {           7 } 7
   372 {          20 } ×
   373 {           1 } 1
   374 {          30 } −
   375 {           2 } 2
   376 {          48 } .
   377 {           5 } 5
   378 {          14 } yˣ
   379 {          10 } ÷
   380 {           1 } 1
   381 {          30 } −
   382 {       45  4 } RCL 4
   383 {          20 } ×
   384 {       43 32 } g RTN
   385 {    42 21  5 } f LBL 5
   386 {       44  5 } STO 5
   387 {           1 } 1
   388 {           0 } 0
   389 {           1 } 1
   390 {           3 } 3
   391 {          48 } .
   392 {           2 } 2
   393 {           5 } 5
   394 {          10 } ÷
   395 {           1 } 1
   396 {          40 } +
   397 {           2 } 2
   398 {          36 } ENTER
   399 {           7 } 7
   400 {          10 } ÷
   401 {          14 } yˣ
   402 {           1 } 1
   403 {          30 } −
   404 {           4 } 4
   405 {          48 } .
   406 {           5 } 5
   407 {           7 } 7
   408 {           0 } 0
   409 {           8 } 8
   410 {           6 } 6
   411 {           5 } 5
   412 {          26 } EEX
   413 {           7 } 7
   414 {          16 } CHS
   415 {          10 } ÷
   416 {          11 } √x̅
   417 {       44  2 } STO 2
   418 {           6 } 6
   419 {           6 } 6
   420 {           1 } 1
   421 {          48 } .
   422 {           4 } 4
   423 {           7 } 7
   424 {           8 } 8
   425 {           6 } 6
   426 {          34 } x↔y
   427 {    43 30  8 } g TEST x<y
   428 {       43 32 } g RTN
   429 {          36 } ENTER
   430 {          36 } ENTER
   431 {           5 } 5
   432 {           0 } 0
   433 {          40 } +
   434 {    42 10  6 } f SOLVE 6
   435 {       43 32 } g RTN
   436 {       22  0 } GTO 0
   437 {    42 21  6 } f LBL 6
   438 {       32  1 } GSB 1
   439 {       45  5 } RCL 5
   440 {          30 } −
   441 {       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 11 } f LBL A
   158 {           2 } 2
   159 {          20 } ×
   160 {       43 32 } g RTN
   161 {    42 21 12 } f LBL B
   162 {       44  1 } STO 1
   163 {       45  6 } RCL 6
   164 {          11 } √x̅
   165 {           3 } 3
   166 {           8 } 8
   167 {          48 } .
   168 {           9 } 9
   169 {           6 } 6
   170 {           7 } 7
   171 {           8 } 8
   172 {           5 } 5
   173 {           4 } 4
   174 {          20 } ×
   175 {          10 } ÷
   176 {       44  3 } STO 3
   177 {       43 32 } g RTN
   178 {    42 21 13 } f LBL C
   179 {       32  1 } GSB 1
   180 {       32  2 } GSB 2
   181 {       43 32 } g RTN
   182 {    42 21  1 } f LBL 1
   183 {       44  2 } STO 2
   184 {           6 } 6
   185 {           6 } 6
   186 {           1 } 1
   187 {          48 } .
   188 {           4 } 4
   189 {           7 } 7
   190 {           8 } 8
   191 {           6 } 6
   192 {    43 30  8 } g TEST x<y
   193 {    22 48  2 } GTO .2
   194 {          34 } x↔y
   195 {          36 } ENTER
   196 {          20 } ×
   197 {           4 } 4
   198 {          48 } .
   199 {           5 } 5
   200 {           7 } 7
   201 {           0 } 0
   202 {           8 } 8
   203 {           6 } 6
   204 {           5 } 5
   205 {          26 } EEX
   206 {           7 } 7
   207 {          16 } CHS
   208 {          20 } ×
   209 {           1 } 1
   210 {          40 } +
   211 {           3 } 3
   212 {          48 } .
   213 {           5 } 5
   214 {          14 } yˣ
   215 {           1 } 1
   216 {          30 } −
   217 {           1 } 1
   218 {           0 } 0
   219 {           1 } 1
   220 {           3 } 3
   221 {          48 } .
   222 {           2 } 2
   223 {           5 } 5
   224 {          20 } ×
   225 {       43 32 } g RTN
   226 { 42 21 48  2 } f LBL .2
   227 {          34 } x↔y
   228 {           7 } 7
   229 {          14 } yˣ
   230 {           3 } 3
   231 {          48 } .
   232 {           0 } 0
   233 {           1 } 1
   234 {           2 } 2
   235 {           3 } 3
   236 {           2 } 2
   237 {           5 } 5
   238 {           5 } 5
   239 {          26 } EEX
   240 {           1 } 1
   241 {           8 } 8
   242 {          16 } CHS
   243 {          20 } ×
   244 {       45  2 } RCL 2
   245 {          36 } ENTER
   246 {          20 } ×
   247 {           1 } 1
   248 {          48 } .
   249 {           5 } 5
   250 {           9 } 9
   251 {           9 } 9
   252 {           8 } 8
   253 {           0 } 0
   254 {           2 } 2
   255 {           8 } 8
   256 {          26 } EEX
   257 {           5 } 5
   258 {          16 } CHS
   259 {          20 } ×
   260 {           1 } 1
   261 {          30 } −
   262 {           2 } 2
   263 {          48 } .
   264 {           5 } 5
   265 {          14 } yˣ
   266 {          10 } ÷
   267 {           1 } 1
   268 {          30 } −
   269 {           1 } 1
   270 {           0 } 0
   271 {           1 } 1
   272 {           3 } 3
   273 {          48 } .
   274 {           2 } 2
   275 {           5 } 5
   276 {          20 } ×
   277 {       43 32 } g RTN
   278 {    42 21  2 } f LBL 2
   279 {       44  5 } STO 5
   280 {       45  4 } RCL 4
   281 {          10 } ÷
   282 {           1 } 1
   283 {          40 } +
   284 {           2 } 2
   285 {          36 } ENTER
   286 {           7 } 7
   287 {          10 } ÷
   288 {          14 } yˣ
   289 {           1 } 1
   290 {          30 } −
   291 {           5 } 5
   292 {          20 } ×
   293 {          11 } √x̅
   294 {       44  3 } STO 3
   295 {           1 } 1
   296 {          34 } x↔y
   297 {    43 30  8 } g TEST x<y
   298 {       43 32 } g RTN
   299 {          36 } ENTER
   300 {          36 } ENTER
   301 {           2 } 2
   302 {          40 } +
   303 {    42 10  3 } f SOLVE 3
   304 {       43 32 } g RTN
   305 {       22  0 } GTO 0
   306 {    42 21  3 } f LBL 3
   307 {       32  4 } GSB 4
   308 {       45  5 } RCL 5
   309 {          30 } −
   310 {       43 32 } g RTN
   311 {    42 21 14 } f LBL D
   312 {       44  3 } STO 3
   313 {       45  6 } RCL 6
   314 {          11 } √x̅
   315 {          20 } ×
   316 {           3 } 3
   317 {           8 } 8
   318 {          48 } .
   319 {           9 } 9
   320 {           6 } 6
   321 {           7 } 7
   322 {           8 } 8
   323 {           5 } 5
   324 {           4 } 4
   325 {          20 } ×
   326 {       43 32 } g RTN
   327 {    42 21 15 } f LBL E
   328 {       32  4 } GSB 4
   329 {       32  5 } GSB 5
   330 {       43 32 } g RTN
   331 {    42 21  4 } f LBL 4
   332 {       44  3 } STO 3
   333 {           1 } 1
   334 {    43 30  8 } g TEST x<y
   335 {    22 48  3 } GTO .3
   336 {          34 } x↔y
   337 {          36 } ENTER
   338 {          20 } ×
   339 {           0 } 0
   340 {          48 } .
   341 {           2 } 2
   342 {          20 } ×
   343 {           1 } 1
   344 {          40 } +
   345 {           3 } 3
   346 {          48 } .
   347 {           5 } 5
   348 {          14 } yˣ
   349 {           1 } 1
   350 {          30 } −
   351 {       45  4 } RCL 4
   352 {          20 } ×
   353 {       43 32 } g RTN
   354 { 42 21 48  3 } f LBL .3
   355 {          34 } x↔y
   356 {           7 } 7
   357 {          14 } yˣ
   358 {           1 } 1
   359 {           6 } 6
   360 {           6 } 6
   361 {          48 } .
   362 {           9 } 9
   363 {           2 } 2
   364 {           1 } 1
   365 {           5 } 5
   366 {           8 } 8
   367 {          20 } ×
   368 {       45  3 } RCL 3
   369 {          36 } ENTER
   370 {          20 } ×
   371 {           7 } 7
   372 {          20 } ×
   373 {           1 } 1
   374 {          30 } −
   375 {           2 } 2
   376 {          48 } .
   377 {           5 } 5
   378 {          14 } yˣ
   379 {          10 } ÷
   380 {           1 } 1
   381 {          30 } −
   382 {       45  4 } RCL 4
   383 {          20 } ×
   384 {       43 32 } g RTN
   385 {    42 21  5 } f LBL 5
   386 {       44  5 } STO 5
   387 {           1 } 1
   388 {           0 } 0
   389 {           1 } 1
   390 {           3 } 3
   391 {          48 } .
   392 {           2 } 2
   393 {           5 } 5
   394 {          10 } ÷
   395 {           1 } 1
   396 {          40 } +
   397 {           2 } 2
   398 {          36 } ENTER
   399 {           7 } 7
   400 {          10 } ÷
   401 {          14 } yˣ
   402 {           1 } 1
   403 {          30 } −
   404 {           4 } 4
   405 {          48 } .
   406 {           5 } 5
   407 {           7 } 7
   408 {           0 } 0
   409 {           8 } 8
   410 {           6 } 6
   411 {           5 } 5
   412 {          26 } EEX
   413 {           7 } 7
   414 {          16 } CHS
   415 {          10 } ÷
   416 {          11 } √x̅
   417 {       44  2 } STO 2
   418 {           6 } 6
   419 {           6 } 6
   420 {           1 } 1
   421 {          48 } .
   422 {           4 } 4
   423 {           7 } 7
   424 {           8 } 8
   425 {           6 } 6
   426 {          34 } x↔y
   427 {    43 30  8 } g TEST x<y
   428 {       43 32 } g RTN
   429 {          36 } ENTER
   430 {          36 } ENTER
   431 {           5 } 5
   432 {           0 } 0
   433 {          40 } +
   434 {    42 10  6 } f SOLVE 6
   435 {       43 32 } g RTN
   436 {       22  0 } GTO 0
   437 {    42 21  6 } f LBL 6
   438 {       32  1 } GSB 1
   439 {       45  5 } RCL 5
   440 {          30 } −
   441 {       43 32 } g RTN

# --------------------------------------------
This post was updated on 21st May 2020 to correct errata in the documentation.
Last edited by AlanW on Thu May 21, 2020 11:08 am, edited 1 time in total.

AlanW
Posts: 12
Joined: Sat Mar 07, 2020 5:35 pm
Location: UK

Re: [DM15] Aeronautical Calculations

Post by AlanW » Tue May 19, 2020 9:27 pm

Errata: It's BS2G199:1984 not BS2G100:1984.

User avatar
Walter
Posts: 1472
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: [DM15] Aeronautical Calculations

Post by Walter » Tue May 19, 2020 9:35 pm

AlanW wrote:
Tue May 19, 2020 9: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.
DM42 SN: 00041 Beta
WP 43S running on this device

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

AlanW
Posts: 12
Joined: Sat Mar 07, 2020 5:35 pm
Location: UK

Re: [DM15] Aeronautical Calculations

Post by AlanW » Tue May 19, 2020 9:46 pm

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: 822
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: [DM15] Aeronautical Calculations

Post by rprosperi » Wed May 20, 2020 12:38 am

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

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

User avatar
Walter
Posts: 1472
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: [DM15] Aeronautical Calculations

Post by Walter » Wed May 20, 2020 8:54 am

rprosperi wrote:
Wed May 20, 2020 12: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...
DM42 SN: 00041 Beta
WP 43S running on this device

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

rprosperi
Posts: 822
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: [DM15] Aeronautical Calculations

Post by rprosperi » Wed May 20, 2020 12: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-)

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, DM10L: 071/100

grsbanks
Posts: 902
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: [DM15] Aeronautical Calculations

Post by grsbanks » Wed May 20, 2020 3:17 pm

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.
Not SwissMicros staff, just an enthusiast.

toml_12953
Posts: 624
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Re: [DM15] Aeronautical Calculations

Post by toml_12953 » Wed May 20, 2020 3:32 pm

rprosperi wrote:
Wed May 20, 2020 12: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

I bought a moving blanket but it just sits there.

DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)

User avatar
Guenter
Posts: 152
Joined: Wed May 24, 2017 4:26 pm
Location: Germany

Re: [DM15] Aeronautical Calculations

Post by Guenter » Wed May 20, 2020 7:24 pm

AlanW wrote:
Tue May 19, 2020 9: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

Post Reply