Join us on Discord!
You can help CodeWalrus stay online by donating here.
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Timmiez

#1
Program originally written on TI-83 Plus:

Apparently I found out I'm quite lazy when it comes to solving equations in my science classroom, so I kinda decided to make a program that solves the answer based on the input. Though being simple for a program I made with simple knowledge.


ClrHome
Disp "INPUT TYPE:","","VARS: (P,M,H)"
Prompt  0

If 0=P:Then
ClrHome
Disp "POTE CALC","","INPUT: (J)"
Prompt M,H
M(9.8)H→A
Disp A
Else
End

If 0=M:Then
ClrHome
Disp "POTE MASS CALC:","","INPUT: (KG)"
Prompt P,H
P/(9.8*H)→B
Disp B
Else
End

If 0=H:Then
ClrHome
Disp "POTE HEIG CALC:","","INPUT: (M)"
Prompt P,M
P/(9.8*M)→C
Disp C
Else
End


A lot of editing of the code has had made it functional as you see it know, if you were to own a graphing calculator yourself, don't hesitate to try it out yourself, you may appreciate it.

Although to a separate topic, for those know don't know me, I'm a Freshman at my local high school and planning in enrolling in graphic design and web development. I have a great passion for programming and would love to learn any language I could grasp and soon learn. But with little information shared 'bout myself, I may post here and talk on the Discord a little more often when I come around to it. Gotz to get used to the crowd n' all.
Powered by EzPortal