Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dr . Greco gave you a computer program to predict iteratively the motion of a falling ball; however, you discover the program is missing a

Dr. Greco gave you a computer program to predict iteratively the motion of a falling ball; however, you discover the program is missing a few lines of code. In the space provided in the body of the script, add the statements necessary to complete the code. All numerical values are in SI units.Calculating the net force
Select the line of code that correctely describes the net force on the falling ball and could be inserted in position 1.
A. Fnet =mg
B. Fnet = vector (0,-mg,0)
C. Fnet = vector mball*g g,0
D. Fnet =-mball***g
E. Fnet =(:0,-mg,0:);
F. Fnet = vector (0,-g,0)
2. Calculating the momentum and position update
Which sets of statements could be added to position 2 to update the momentum and the position of the ball?
Approximate the average velocity using vec(v)avg~~vec(v)f. Check all that apply.
A. pball = pball+Fnet ?*** deltat ball.pos = ball.pos +(pball/mball)vball ball.pos = ball.pos+vballdeltat
D. vball = pball/mball , ball.pos = ball.pos+vballdeltat
G. pball = Fnet ** deltat , vball = pball ?mball ball.pos = ball.pos+vballdeltat
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions