Post Reply 
Algebraic Operation System (AOS)
04-19-2022, 01:27 PM (This post was last modified: 04-19-2022 01:47 PM by Ángel Martin.)
Post: #13
RE: Algebraic Operation System (AOS)
(04-18-2022 05:24 PM)Thomas Klemm Wrote:  At the risk of beating a dead horse, here's the infamous Mach number:

\[
\sqrt{5 \left( \left( \left( \left( \left(1 + 0.2 \left(\frac{350}{661.5} \right)^{2} \right)^{3.5} - 1 \right) \times \left(1-6.875 \times 10^{-6} \times 25500 \right)^{-5.2656} \right)+1 \right)^{0.286}-1 \right)}
\]

( 5 * ( ( ( ( ( 1 + .2 * ( 350 / 661.5 ) X^2 ) ^ 3.5 - 1 ) * ( 1 - 6.875E-6 * 25500 ) ^ -5.2656 ) + 1 ) ^ .286 - 1 ) ) SQRT

0.835724536

This is a good test case for the new Double-Length Stack ROM, just finished and ready to be released.. stay tuned

To whet your appetite here's the programmatic version of the sequence of steps, entering the formula strictly from left to right:

Code:

01  LBL "MACH"
02  5
03  ENTER^^
04  1
05  ENTER^^
06  .2
07  ENTER^^
08  350
09  ENTER^^
10  661.5
11  ^/
12  X^2
13  ^*
14  ^+
15  ENTER^^  - not needed in manual mode
16  3.5
17  ^Y^X
18  ENTER^^  - not needed in manual mode
19  1
20  ^-
21  ENTER^^  - not needed in manual mode
22  1
23  ENTER^^
24  6.875 E-6
25  ENTER^^
26  25500
27  ^*
28  ^-
29  ENTER^^  - not needed in manual mode
30  -5.2656
31  ^Y^X
32  ^*
33  ENTER^^  - not needed in manual mode
34  1
35  ^+
36  ENTER^^  - not needed in manual mode
37  .286
38  ^Y^X
39  ENTER^^  - not needed in manual mode
40  1
41  ^-
42  ^*
43  SQRT
44  END

Most of those ENTER^^ steps are not required in manual mode, by virtue of the I/O_SVC interrupt - which isn't "active" in a running program.

Cheers,
ÁM

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Algebraic Operation System (AOS) - Ángel Martin - 04-19-2022 01:27 PM



User(s) browsing this thread: 1 Guest(s)