Cuko T.
asked 12/24/20firework py code
There are 3 fireworks. their weight and initial expulsion rate:
1) m = 250 grams and V = 6 meters / second
2) m = 400 grams and V = 8 meters / second
3) m = 650 grams and V = 8 meters / second
The desired outputs from us:
1) time to peak
2) Calculation of the max height at which the fireworks can go
3) The longest road it can take horizontally (let's not forget that it explodes when it reaches the peak)
1 Expert Answer
Patrick B. answered 12/24/20
Math and computer tutor/teacher
Not a physics buff....
Not sure what the weight has to do with it..
Height function is H(t) = -16t^2 + Bt + C
B is the initial velocity, C is the initial height which is zero in this case
tMax is the time to reach max height
tMax = -B/(2A) = N/32
--------------------------------------------------------------------------
# H(t) = -16t^2 + Bt where B is the initial velocity
B = input("Please input the initial velocity :>")
# max occurs at -B/(2a)
maxT = -float(B)/-32
maxHeight = -16*float(maxT)*float(maxT) + float(B)*float(maxT)
print(" max time = " + str(maxT))
print(" max height = " + str(maxHeight))
Cuko T.
thanks for your answer mr. Patrick. It was a very descriptive answer, but I could not see the answer to my third question. "3) The longest road it can take horizontally (let's not forget that it explodes when it reaches the peak)." how do i do this12/24/20
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Patrick B.
By the way, I am waiting on your email. I got the majority of the code working for the engine emulator. It is processing some commands but I need you to help me with it. My email is patrick dot baldwin dot 1 at wyzant dot com12/24/20