Question: 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
 Dr. Greco gave you a computer program to predict iteratively the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!