LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 354 users online 184799 members 268 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
3 online / 26 MPM
Fresh Topics
  LiveWire / Teen Forums / School & Homework Connection / Viewing Topic

Programming TI-83Plus Calculator
Replies: 5Last Post Sep. 8 5:36pm by sLyDeWaIzE
Single page for this topic Email Print Favorite
( sLyDeWaIzE )


Technician
Reply
Can anyone help me with programming my calculator....I am trying to write a program for solving the equation H=(V^2 sin^2theta)/2g for each variable...anyone familiar with writing programs plz help


-------
"I swear to God I'm going to pistol-whip the next man that says shenanigans"

3:26 pm on Sep. 7, 2008 | Joined Aug. 2008 | 21 Days Active
Join to learn more about sLyDeWaIzE Indiana, United States | Straight Male | 140 Posts | 373 Points
Post from this position was omitted due to content violations
matto


Visionary

Patron
Tech Support Leader
Reply
Read your manual and look at online tutorials.  I'm not familiar with the 83 at all... I took AP Stats and got hooked on this 89...every time i touch a 83 it's so so so so difficult to do anything

-------
"Don't bail; the best of the gold is at the bottom of the barrels of crap."
-- Randy Pausch

3:30 pm on Sep. 7, 2008 | Joined Aug. 2007 | 266 Days Active
Join to learn more about matto California, United States | Straight Male | 4745 Posts | 9110 Points
Bobman21


Dairy Product Addict
Reply
Ugh ok well youre obviously gonna have to know the other two variables and be solving for the third. That's a given I think. Next, you're basically gonna have to write three programs in one. One for each variable.

The all-encompasing code that binds the four programs goes a little something like this:

Lbl 1
Disp "Which variable? H, V, or T?
Imput A
If A=H
Goto L
If A=V
Goto M
If A=T
Goto N

*Note: you may have to insert 'Else' in between Goto and If lines.  That way the program doesnt flip out when A=/=H.  But I dont remember.  And I dont have my calculator in front of me.

L, M, and N are the labels for each individual program. So to solve for H, the program is L.
Program L looks something like this:

Lbl L
Disp "Imput V"
Imput V
Disp "Imput T"
Imput Q
(V^2 sin^2Q)/2g) -> P
Disp P
Stop
Goto 1

Everything has to have its own label, otherwise youre going to screw things up for the program.  To be safe, even all of the H's, V's and T's for each separate subprogram should have different labels.  All alphanumerical characters are fair game as labels.  Rember that you CANNOT have a name as a label.  If you have V1, V2, and V3, youre going to end up with V*1 as an argument, V*2 as an argument, and V*3 as an argument and your calculator will be very unhappy with you and probably give you an error message.  So keep your labels to one character in length.

Hope this helps.

Post edited at 10:57 pm on Sep. 7, 2008 by Bobman21

-------
As I walk through the valley of death, I fear no one, for I am the meanest mother fu*ker in the valley. -Gen. Patton


10:53 pm on Sep. 7, 2008 | Joined Oct. 2002 | 512 Days Active
Join to learn more about Bobman21 Canada | Male | 855 Posts | 6089 Points
Bobman21


Dairy Product Addict
Reply
Oh also, when I say main program and subprogram, you know I'm not saying to make distinct programs, correct?  All this code goes into a single program.  You could theoretically separate them and then have a fourth program to play with each of the other three programs, but you'd be getting ahead of yoruself.

-------
As I walk through the valley of death, I fear no one, for I am the meanest mother fu*ker in the valley. -Gen. Patton

11:00 pm on Sep. 7, 2008 | Joined Oct. 2002 | 512 Days Active
Join to learn more about Bobman21 Canada | Male | 855 Posts | 6089 Points
( sLyDeWaIzE )


Technician
Reply
Thanks.....for the most part... I took a Digital Electronics class last year and learned how to program microprocessors, and this is sort of the same thing....I understand how to write the program, i just wanted someone more familiar with the TI-83Plus to help me figure out why my program is giving me the wrong answer....so far i have:

:Disp "MAX HEIGHT="
:Input H
:Disp "INIT. V="
:Input V
:Disp "ANGLE="
:Input A
:Disp "GRAVITY="
:Input G
:If H=X
:Then
:(V^2(sin(A)^2))/2G->Y
:Disp "MAX HEIGHT="
:Disp Y
:End
:If V=X
:Then
:sqrt.(2GH/(sin(A)^2))->Y
:Disp "INIT. V="
:Disp Y
:End
:If A=X
:Then
:sqrt.(2GH/V^2)->Y
:Disp "ANGLE="
:Disp Y
:End
:If G=X
:Then
:(V^2(sin(A)^2)/H)/2->Y
:Disp "GRAVITY="
:Disp Y
:End

-------
"I swear to God I'm going to pistol-whip the next man that says shenanigans"


5:36 pm on Sep. 8, 2008 | Joined Aug. 2008 | 21 Days Active
Join to learn more about sLyDeWaIzE Indiana, United States | Straight Male | 140 Posts | 373 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Teen Forums / School & Homework Connection / Viewing Topic