Question: Put the following lines into a glowscript script and run them: theta = 5.8484 particle_position = vector(1.0,1.0,0) obslocation=vector(cos(theta), sin(theta), e) r=obslocation-particle_position rmag-sqrt(r.x**2+r.y**2+r.z**2) rhat=r/rmag Check all

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

Put the following lines into a glowscript script and run them: theta = 5.8484 particle_position = vector(1.0,1.0,0) obslocation=vector(cos(theta), sin(theta), e) r=obslocation-particle_position rmag-sqrt(r.x**2+r.y**2+r.z**2) rhat=r/rmag Check all of the variables that are vectors: True: obslocation True: r False: theta True: rhat True: particle_position False: rmag You are correct. Your receipt no. is 148-3681 Previous Tries (c.) What is the length of the vector r? Feel free to put a print statement in your code. Also note that length and magnitude are synonyr Submit Answer Incorrect. Tries 3/99 Previous Tries (d.) What is the length of the vector rhat? Look at the line of code where rhat is defined. Notice that rhat is r divided by its length. Submit Answer Incorrect. Tries 1/99 Previous Tries

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!