Skip to content

Commit

Permalink
added [I,T3]
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicarod7 committed Jun 28, 2018
1 parent 40d9a4a commit 9cba79b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 6 deletions.
37 changes: 36 additions & 1 deletion PHYSBBLE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ Input "INITIAL V.? (m/s) ",U
U→⌊PHVAR(2)
Input "TIME? (s) ",U
U→⌊PHVAR(3)
While 0
"=NEGATIVE BELOW="
End
round((­((2*(⌊PHVAR(1)-(⌊PHVAR(2)*⌊PHVAR(3))))/((⌊PHVAR(3))²))),6)→⌊PHVAR(4)
Output(8,1,"ACCEL. =")
Output(8,10,⌊PHVAR(4))
Expand All @@ -290,7 +293,39 @@ Output(2,22,"m/s²")
Goto SA

Lbl T3

Disp "FIND TIME, NO FINAL V."
Disp " "
Input "DIST.? (m) ",U
U→⌊PHVAR(1)
Input "FINAL V.? (m/s) ",U
U→⌊PHVAR(2)
Input "ACCEL.? (m/s²) ",U
U→⌊PHVAR(3)
While 0
"=NEGATIVE BELOW="
End
(­(0.5*⌊PHVAR(3)))→⌊PHVAR(3)
While 0
"=NEGATIVE BELOW="
End
(­(⌊PHVAR(2)))→⌊PHVAR(2)
While 0
"=NEGATIVE BELOW="
End
(­(⌊PHVAR(1)))→⌊PHVAR(1)
While 0
"=THIS EQUATION USES THE="
"=QUADRATIC FORMULA="
End
round(((⌊PHVAR(2)-(√(((⌊PHVAR(2))²)-(4*⌊PHVAR(1)*⌊PHVAR(3)))))/(2*⌊PHVAR(3))),6)→⌊PHVAR(4)
Output(8,1,"TIME =")
Output(8,8,⌊PHVAR(4))
Output(9,25,"s")
Wait 2
ClrHome
Output(1,1,"TIME =")
Output(1,8,⌊PHVAR(4))
Output(2,25,"s")
Goto SA

Lbl A
Expand Down
10 changes: 5 additions & 5 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is a fully-fledged list of the requirements for each section of the calcula
- [x] Request variables, and store as ⌊PHVAR(1-3)
- [x] Run calculation and store value as ⌊PHVAR(4)
- [x] Display result to user, delay, and return to main program
- [ ] **Initial Velocity**
- [x] **Initial Velocity**
- [x] *Distance* [I,D3]
- [x] Request variables, and store as ⌊PHVAR(1-3)
- [x] Run calculation and store value as ⌊PHVAR(4)
Expand All @@ -64,10 +64,10 @@ This is a fully-fledged list of the requirements for each section of the calcula
- [x] Request variables, and store as ⌊PHVAR(1-3)
- [x] Run calculation and store value as ⌊PHVAR(4)
- [x] Display result to user, delay, and return to main program
- [ ] *Time* [I,T3]
- [ ] Request variables, and store as ⌊PHVAR(1-3)
- [ ] Run calculation and store value as ⌊PHVAR(4)
- [ ] Display result to user, delay, and return to main program
- [x] *Time* [I,T3]
- [x] Request variables, and store as ⌊PHVAR(1-3)
- [x] Run calculation and store value as ⌊PHVAR(4)
- [x] Display result to user, delay, and return to main program
- [ ] **Acceleration**
- [ ] *Distance* [A,D4]
- [ ] Request variables, and store as ⌊PHVAR(1-3)
Expand Down

0 comments on commit 9cba79b

Please sign in to comment.