Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
repository:charged_particles [2021/02/02 23:24] porcaro1 [Answer Key] |
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 146: | Line 144: | ||
| ===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 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. | + | - 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. | - Because Charge 1 is positive and the the Test Charge is negative, the force will be attractive. | ||
| - See previous | - See previous | ||
| Line 152: | Line 150: | ||
| ===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 | ||