TroglodyteDerivations
commited on
Commit
•
2a56e07
1
Parent(s):
9988893
Updated lines 71-73 with: acceleration = 1/8 # "Acceleration of the first rhino (m/s^2)" speed = 15 # "Speed of the second rhino (m/s)" distance = 1600 # "Initial distance between the rhinos (m)"
Browse files
app.py
CHANGED
@@ -68,9 +68,9 @@ class DisplacementVisualization(RhinoDisplacementPlot):
|
|
68 |
def main():
|
69 |
st.title("Rhino Meeting Displacement Calculator")
|
70 |
st.image("rhinos_0.png", caption='Rhinos Charging Towards One Another 0')
|
71 |
-
acceleration =
|
72 |
-
speed =
|
73 |
-
distance =
|
74 |
|
75 |
if st.button("Generate Rhinos Charging Towards One Another Motion Graph Problem"):
|
76 |
st.write("Two rhinos initially 1600 m apart, begin running directly toward one another at the same time. One rhino uniformly accelerates from rest at 1/8 m.s^2, while the other rhino runs with a constant speed of 15 m/s. What is the net displacement of each rhino when they meet?")
|
|
|
68 |
def main():
|
69 |
st.title("Rhino Meeting Displacement Calculator")
|
70 |
st.image("rhinos_0.png", caption='Rhinos Charging Towards One Another 0')
|
71 |
+
acceleration = 1/8 # "Acceleration of the first rhino (m/s^2)"
|
72 |
+
speed = 15 # "Speed of the second rhino (m/s)"
|
73 |
+
distance = 1600 # "Initial distance between the rhinos (m)"
|
74 |
|
75 |
if st.button("Generate Rhinos Charging Towards One Another Motion Graph Problem"):
|
76 |
st.write("Two rhinos initially 1600 m apart, begin running directly toward one another at the same time. One rhino uniformly accelerates from rest at 1/8 m.s^2, while the other rhino runs with a constant speed of 15 m/s. What is the net displacement of each rhino when they meet?")
|