Situation
I am working on programming my own E6B while I learn more about aviation, but I have run into some confusion. Two pairs of the equations are very similar except for using true or indicated temps based on which equation. If anyone has a Sporty's E6B, it is listed as Planned Mach # and Actual Mach # as well as Planned TAS and Actual TAS.
Important Info
The inputs for the Mach # formulas are as follows: Temp, Mach #
While the output is: TAS
The inputs for the TAS formulas are as follows: Pressure Altitude, Temp, CAS
While the outputs are: TAS, Mach #, Density Altitude
"Planned" versions take "True Temp" according to the manual, while the "Actual" versions use "Indicated Temp". From what I can tell from research, True temp is known as SAT (Static) and Indicated would be RAT (Ram). I have also been told that there usually isn't a difference between the 2 unless you are over certain speeds... but I am thinking that maybe there is some form of temperature conversion that I need to do with the RAT/Indicated input. As you can see below, using the same inputs will provide slightly different outputs.
Examples
Planned Mach # with Indicated Temp of 22C and Mach # of 0.33 provides a True Airspeed output of 221
Actual Mach # with Indicated Temp of 22C and Mach # of 0.33 provides a True Airspeed output of 218.6
Where I'm at and have tried
I am able to calculate the correct answers when using True Temp but not Indicated. Currently, I've been trying to convert RAT to SAT with some math I found using a "recovery factor". I get quite close to the result that my Digital E6B but it is not the same result. I have used many different formulas from an AI I won't name... and overall I am just stumped. After a week of trying, I am going to ask this forum, which has helped me many times before.