GlowScript 3.2 VPython bullet • (pos=vector(0, =True) ,0), radius ,color=color. ground- make * (pos m=0.5 • (0,0,0, size

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

GlowScript 3.2 VPython bullet • (pos=vector(0, =True) ,0), radius ,color=color. ground- make * (pos m=0.5 • (0,0,0, size

Post by answerhappygod »

Glowscript 3 2 Vpython Bullet Pos Vector 0 True 0 Radius Color Color Ground Make Pos M 0 5 0 0 0 Size 1
Glowscript 3 2 Vpython Bullet Pos Vector 0 True 0 Radius Color Color Ground Make Pos M 0 5 0 0 0 Size 1 (286.44 KiB) Viewed 49 times
Glowscript 3 2 Vpython Bullet Pos Vector 0 True 0 Radius Color Color Ground Make Pos M 0 5 0 0 0 Size 2
Glowscript 3 2 Vpython Bullet Pos Vector 0 True 0 Radius Color Color Ground Make Pos M 0 5 0 0 0 Size 2 (286.44 KiB) Viewed 49 times
Glowscript 3 2 Vpython Bullet Pos Vector 0 True 0 Radius Color Color Ground Make Pos M 0 5 0 0 0 Size 3
Glowscript 3 2 Vpython Bullet Pos Vector 0 True 0 Radius Color Color Ground Make Pos M 0 5 0 0 0 Size 3 (404.36 KiB) Viewed 49 times
GlowScript 3.2 VPython bullet • (pos=vector(0, =True) ,0), radius ,color=color. ground- make * (pos m=0.5 • (0,0,0, size= • (60,0.4,5), color-color.green) g=9.8 Fneta theta=60*pi/180 velocity= * (10*cos(theta), 10*sin(theta), 0) t=0 dt=0.01 while ( >=0); (100) velocity= bullet.pos ta print ('te', 's')

GlowScript 3.2 VPython bullet • (pos=vector(0, =True) ,0), radius ,color=color. ground- make * (pos m=0.5 • (0,0,0, size= • (60,0.4,5), color-color.green) g=9.8 Fneta theta=60*pi/180 velocity= * (10*cos(theta), 10*sin(theta), 0) t=0 dt=0.01 while ( >=0); (100) velocity= bullet.pos ta print ('te', 's')

Notes: Make sure that you pay attention to correct spelling, capital or small letter cases, commas, and points. Make sure that you don't use space when completing the code lines. A bullet with a mass of 0.5 kg is fired at an angle of 60° with an initial speed of 10 m/s. Initial position of the bullet is < 0,0.4,0 > Simulate the bullet's motion. Calculate its final position, its final velocity, and how long it takes for the bullet to hit the ground. 2. Define the bullet as a sphere. Make radius as 0.2, magenta color and make sure you see its trail. b. Define the ground as a box with position <0.0.0 s and size < 60.0.4,5 > Use green color for this vector. Use symbolic name ground. C Give mass property to the bullet ch Define the net force as the gravitational force. Present it as a vector (g-9.8 m/s2 and Fg=m.g) Define the initial velocity of the projectile as a vector based on a given speed and an angle Initialize the time (t=0) and the increment (dt=0.01). g. Define a while loop with the condition until the bullet's position in y-direction doesn't reach zero and set the rate to 100 h Apply equations of motions (you can find them in the Activity pdf file) to calculate the final position and the velocity of the bullet. i Update the velocity with the calculated value. Update the time increment. k. Print the final time needed for the bullet to hits the ground. e + GlowScript 3.2 VPython bullet • (pos=vector(0. 0), radius color=color. make =True) ground • (pos • 0,0,0), sizes • (60,0-4,5), color=color.green) m=0.5 g=9.8 Tnet 수 theta:60 pi/180 velocity • (10*cos(theta), 10 sin(theta), 0) ten dt0.01 while 2-0) (100) velocity bullet pos print it SO)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply