Lauren T.

asked • 06/04/20

How do you find the question mark for the part of the force exerted on the stone? The answer should include other variables


ball = sphere ( pos=vec(-2,1,0 ), m = 0.5 , alpha = 0*pi/180,#alpha = angle

radius=0.02, color=color.red, make_trail=True, trail_type='points') #,interval=50,retain=50)



ball.v = vec( 1, sin(ball.alpha), 0) #ball's velocity

ball.p = ball.m * ball.v #ball's momentum


stone = sphere ( pos=vec(-2,1.01,0 ), m = 0.5 , alpha = 0*pi/180,#

radius=0.02, color=color.blue, make_trail=True)


stone.v = vec( 1, sin(stone.alpha), 0)

stone.p = stone.m * stone.v


#x component of velocity vs time graph

vx = graph(title=' Velocity ', xtitle=' t ', ytitle=' v_x (t) ')


vx_b = gcurve(graph=vx, color=color.red) # a graphics curve

vx_s = gcurve(graph=vx, color=color.blue)


#y component of velocity vs time graph


vy = graph(title=' Velocity ', xtitle=' t ', ytitle=' v_y (t) ')


vy_b = gcurve(graph=vy, color=color.red) # a graphics curve

vy_s = gcurve(graph=vy, color=color.blue)



myrate = 1000


g = 0.2

mu = 0.05

t = 0

dt = 0.001


while ball.pos.x < 2 :


rate(myrate)


#force exerted on the ball

F_b = vec(500,0,0)



ball.p = ball.p + F_b*dt

ball.v = ball.p/ball.m

ball.pos = ball.pos + ball.v * dt


#force exerted on the stone

F_s = stone.m*vec(0,-g,0) - ? * stone.v.mag * stone.v.hat


stone.p = stone.p + F_s*dt

stone.v = stone.p/stone.m

stone.pos = stone.pos + stone.v * dt


vx_b.plot(pos=(t,ball.v.x))

vx_s.plot(pos=(t,stone.v.x))

vy_b.plot(pos=(t,ball.v.y))

vy_s.plot(pos=(t,stone.v.y))


t = t+dt

How do you find the question mark for the part of the force exerted on the stone? The answer should include other variables


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.