Orbiter-Forum Ti83 Calculator Programs useful for Orbiter
 Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

#1
Ti83 Calculator Programs useful for Orbiter
by Zatnikitelman 08-28-2008, 09:10 PM

I believe someone wanted a list of some calculator programs we use to help us do stuff in orbiter. Most are development related so that's why I'm posting here. If anyone has any other programs, just post below!

-> Means "store to" a variable the sto key on the calculator.

Code:
```//This is for calculating the total burntime of a rocket vehicle.
Disp "FUEL MASS?"
Input M
Disp "ISP?"
Inpus I
Disp "Thrust Force"
Input F
(M(9.80665I)/F->T
Disp T
Disp "Burntime"```
Code:
```//This calculates the total Delta V of a rocket
Disp "TOTAL MASS"
Input T
Disp "Dry Mass"
Input D
Disp "ISP"
Inpus I
(ln(T/D))->N
N*(9.80665*I)->V
Disp V```
Code:
```//This program calculates the eccentricity of an orbit.
Disp "INPUT PEG"
Input P
Disp "INPUT APG"
Input A
((A-P)/(A+P))->E
Disp E```
Code:
```//This program calculates the fuel mass required for a given dv.
Disp "ENTER DV"
Input D
Disp "ENTER ISP"
Input I
Disp "ENTER DRY MASS"
Inpus M
I*9.80665->I
Me^(D/I)->F
F-M->F
Disp F
Output(8,5,"FUEL MASS")```
Code:
```//This program calculates the fuel consumed over a given time
Disp "INPUT THRUST"
Input F
Disp "INPUT BURN TIME"
Input T
Disp "INPUT ISP"
Input I
I*9.80665->I
(TF)/I->M
Disp M
Disp "FUEL CONSUMED"```
Code:
```//This program calculates an unknown ISP given fuel mass and Dv
Disp "INPUT DV"
Input D
Disp "INPUT DRY MASS"
Input M
Disp "INPUT TOT MASS"
Input F
(D/ln(F/M))/9.80665->V
Disp "ISP"```
Code:
```//This program can be used to normalize x y and z vectors
Disp "INPUT X DISTANCE"
Input X
Disp "INPUT Y DISTANCE"
Input Y
Disp "INPUT Z DISTANCE"
Input Z
sqrt(x^2+y^2+z^2)->V
X/v->X
Y/v->Y
Z/v->Z
Disp "X NORMAL IS"
Disp X
Disp "Y NORMAL IS"
Disp Y
Disp "Z NORMAL IS"
Disp Z```
Code:
```//This program is used to calculate the required launch azimuth given your latitude, and the target orbit inclination.
Degree
Disp "ENTER ORBIT INC"
Input I
Disp "ENTER LATITUDE"
Input L
arcsin((cos(I)/cos(l))->A
Disp A```
Code:
```//This program calculates the orbital period on the Earth or the Moon
Disp "INPUT SMA"
Input S
Disp "Moon(2) OR EARTH(1)"
Input A
If A=1
Then
5.973E24->M
End
If A=2
Than
7.347E22->M
End
M(6.67E-11)->U
2pi(sqrt(S^3/U)->P
Disp P
Disp "PERIOD OF ORBIT"```
Code:
```//This program calculates the velocity at Periapsis in a Lunar Orbit
Disp "ENTER PER"
Input P
Disp "ENTER APA"
Input A
6.67428E-11->G
7.3477E22->M
(Sqrt((2GMA)/(P(A+P))))/100000->V
Disp V```

Last edited by Tex; 11-06-2009 at 06:53 AM.
 Thanked by:

 08-28-2008, 10:58 PM #2 Eagle The Amazing Flying Tuna Can Nice! I've been wanting to use my 83+ to help me navigate.
 08-28-2008, 11:04 PM #3 James.Denholm Addon ponderer Hmmm... I wonder how easy this would be to "convert" for Casio Classpads... Would you mind if I did that, Zatnik?
 08-28-2008, 11:10 PM #4 Sherrif of Nottingham Orbinaut Hmm... I can see it now: "Houston, we have a problem" *pulls out Ti83* "Here's your answer!" Anyway, lovely, I'll have to add those in.
 08-28-2008, 11:21 PM #5 tl8 Addon Developer Sticked! A very good Idea Zat
 08-29-2008, 12:44 AM #6 Andy44 owner: Oil Creek Astronautix I have an old TI-85 which I've had since freshman year in college back in the early 90s. Although it's outdated, it's still very useful and I've written lots of programs for it. Unfortunately, they're not compatible with the other TI machines. I have the cable and software for connecting it to my PC, but it only supports up to Windows 2000, and TI doesn't support it at all anymore. I got it to work with XP, but if you leave it installed on the hard drive long enough it starts causing blue screens of death (BSDs) more and more pften until finally your hard drive crashes. This is what killed my PC about 2 years ago, and almost killed my laptop until I uninstalled it. So, I've determined that I can use it as long as I install it, do what I've got to do, and then uninstall it as soon as possible. Needless to say, I don't take that risk very often. But next time I do, I'll post my best programs on the forum.
 09-13-2008, 04:43 PM #7 RocketMan_Len Orbinaut I just got myself a TI-84+... now I have to get to transferring some of the functions programmed into my old calculator into this one. Lotsa fun... :D
 10-22-2008, 05:48 PM #8 Zatnikitelman Addon Developer UPDATE: I updated the normalize program so it will do x, y and z vectors now.
 10-22-2008, 07:41 PM #9 C3PO Donator I'm guessing that a similar thread for Hewlett Packard's HP 48GX would be pointless. I got mine just as they went out of production.
 10-25-2008, 11:33 AM #10 Lunar_Lander Orbinaut Do the programs also work on a TI Voyage 200? If not could you provide a modified version of them for that calculator?
 07-08-2009, 11:11 PM #11 Thomas Loe. Orbinaut Hy i have a TI 82 can i use this Calculations also ore not ?
 07-08-2009, 11:14 PM #12 tl8 Addon Developer Try it and find out
 07-08-2009, 11:27 PM #13 Hielor Defender of Truth Quote: Originally Posted by Thomas Loe.  Hy i have a TI 82 can i use this Calculations also ore not ? You should be able to use them with some modification--the TI-82's programming language is very similar to the 83's.
 12-09-2009, 03:28 AM #14 insanity Blastronaut Your azimuth program doesn't account for radians being entered as degrees, nor does it take into account the speed you gain from using the Earth's rotation.
 12-09-2009, 05:23 AM #15 Hielor Defender of Truth Quote: Originally Posted by insanity  Your azimuth program doesn't account for radians being entered as degrees, nor does it take into account the speed you gain from using the Earth's rotation. It will use whatever mode your calculator is currently in; if it's in degrees it will use that, if it's in radians it will use that.

 Orbiter-Forum

 Article Tools

 Posting Rules BB code is On Smilies are On [IMG] code is On HTML code is Off You may not post new threads You may not post replies You may not post attachments You may not edit your posts
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Orbiter-Forum.com     Announcements     Meets & Greets Orbiter Space Flight Simulator     Orbiter Web Forum         OFMM         Orbiter Forum Space Station         Simpit Forum     General Questions & Help     MFD Questions & Help     Hardware & Software Help     Tutorials & Challenges     Orbiter SDK     Orbiter Visualization Project     Orbiter Beta » Orbiter Project Orbiter Addons     OrbitHangar Addons & Comments     Addons     Addon Development     Addon Requests     Addon Support & Bugs         Addon Developer Forums Far Side of the Moon     Spaceflight News     Math & Physics     Astronomy & the Night Sky     Backyard Rocketry     Brighton Lounge     International Forum

All times are GMT. The time now is 03:56 AM.