Dr Gulshan S. answered 06/13/20
PhD In Physics and experience of teaching IB Physics and Math High sc
Hello Lauren,
I am not able to understand what this question reads.
pl resend the contents and I will certainly solve it.
Lauren T.
asked 06/04/20ball = 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
Dr Gulshan S. answered 06/13/20
PhD In Physics and experience of teaching IB Physics and Math High sc
Hello Lauren,
I am not able to understand what this question reads.
pl resend the contents and I will certainly solve it.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.