Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
repository:charged_particles [2021/02/02 23:11]
porcaro1 [Activity]
repository:charged_particles [2021/02/02 23:29] (current)
porcaro1 [Answer Key]
Line 34: Line 34:
 GlowScript 2.7 VPython GlowScript 2.7 VPython
 #Created by Meagan Brasseur, Sofia Villanueva, and John Plough on August 9,2019 #Created by Meagan Brasseur, Sofia Villanueva, and John Plough on August 9,2019
-#Debugged by Dan Weller August 17,2019 
-#Code is still INCOMPLETE 
  
 ##Objects## ##Objects##
Line 145: Line 143:
 ====Answer Key==== ====Answer Key====
 ===Handout=== ===Handout===
 +  - Charge 1 is at the origin (0,0,0), Charge 2 is at (5,0,0), and the Test Charge is at (2.5,2.5,0)
 +  - Charge 1 and Charge 2 are both $6.0*10^{-19}$ C, and the Test Charge is $-1.6*10^{-19}$ C.
 +  - Because Charge 1 is positive and the the Test Charge is negative, the force will be attractive.
 +  - See previous
 +  - The Test Charge is located exactly halfway between Charge 1 and Charge 2 and slightly above both. Because the sign and magnitude of Charge 1 and Charge 2 are the same, the force they exert on the test particle will also be the same.
 +
 ===Code=== ===Code===
-<code Python [enable_line_numbers="​true",​ highlight_lines_extra=""​]>​+<code Python [enable_line_numbers="​true",​ highlight_lines_extra="​42,​45,​47,​50,​52,​55,​63,​66,​68,​71,​73,​76,​82,​83,​84,​86,​90,​92"]>
 GlowScript 2.7 VPython GlowScript 2.7 VPython
 #Created by Meagan Brasseur, Sofia Villanueva, and John Plough on August 9,2019 #Created by Meagan Brasseur, Sofia Villanueva, and John Plough on August 9,2019
-#Debugged by Dan Weller August 17,2019 
-#Code is still INCOMPLETE 
  
 ##Objects## ##Objects##
  • repository/charged_particles.1612307508.txt.gz
  • Last modified: 2021/02/02 23:11
  • by porcaro1