Question: ut the following lines into a glowscript script and run them: listofparticles = [] for i in linge(e,100) posx = 8 Candom()-0.5) posy - set

 ut the following lines into a glowscript script and run them:

ut the following lines into a glowscript script and run them: listofparticles = [] for i in linge(e,100) posx = 8 Candom()-0.5) posy - set (random()-0.5) posz = 80(random()-8.5) VX = 10e (random()-8.5) vy = 180* (random() -8.5) VZ = 100* (random()-0.5) newparticle - sphere(pos=vector (posx, posy, posz), radius=1) newparticle mass - 1 newparticle.velocity - vector(vx,vy, vz) listofparticles.append(newparticle) You may want to edit the program to answer the following questions. (a.) What does range(0,100) provide? A list of numbers from 0 to 99. You are correct. Previous Tries Your receipt no. is 148-5082 - (b.) What is the minimum value of random()? -0.4 I recommend reading about random in glowscripts/Vpython's documentation. Otherwise, you'll just be guessing- Submit Answer Incorrect. Tries 4/99 Previous Tries (c.) What is the minimum y-component of the velocity a particle in listofparticles may have? -0.5

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!