Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write Phython code for : follow Sample Run 1 How much do you weigh ( pounds ) ? 1 4 0 How far away is
Write Phython code for :
follow Sample Run
How much do you weigh pounds
How far away is your professor meters
Will you throw a rotten omato, banana cream ie
ight saber, or lawn g nome?
Nice throw! You're going to get an F
Velocity of skater:
My grandmother skates faster than you!
Sample Run
How much do you weigh pounds
How far away is your professor meters
Will you throw a rotten omato banana cream ie ock,
ight saber, or lawn g nome?
Nice throw! RIP professor.
Velocity of skater:
Look out for that railing!!!
mass "You're going to get an F
mass and "Make sure your professor is OK
mass :
if the distance thrown is less than meters "How far away is the hospital?"
if the distance is greater than or equal to meters "RIP professor."
After displaying the velocity of the skater, possibly display a comment based on the velocity:
velocity My grandmother skates faster than you!"
velocity and Don't display a comment
velocity "Look out for that railing!!!"
distance
gure out the velocity of the object in the horizontal direction of lake the problem easier the skater will always throw the object then the horizontal velocity of the object will be:
velocityObject
resulting velocity of the skater in the opposite direction, we Momentum. That is the mass velocity of the object is eq skater in the opposite direction. The resulting equation is:
velocitySkater
rite a program simulating the above problem.
the distance in meters between the skater and the prc
a character representing the object the skater chooses to of skater the weight in pounds of the skater
ment based on weight of the object and the distance of the
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started