Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 184_notes:examples:week3_plotting_potential [2017/08/28 17:06] – dmcpadden | 184_notes:examples:week3_plotting_potential [2018/05/29 14:28] (current) – curdemma | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | [[184_notes: | ||
| + | |||
| ===== Plotting Potential for Multiple Charges ===== | ===== Plotting Potential for Multiple Charges ===== | ||
| To make the 3D plots in Wolfram Alpha, first you need to create a free notebook with the Wolfram Cloud just like we did before. [[https:// | To make the 3D plots in Wolfram Alpha, first you need to create a free notebook with the Wolfram Cloud just like we did before. [[https:// | ||
| + | |||
| + | Note that if you end up with an error that say "too much memory required" | ||
| This is where we will enter in the code that we want. At the top of the notebook, you will see a faint grey line (this is kind of like a cursor). | This is where we will enter in the code that we want. At the top of the notebook, you will see a faint grey line (this is kind of like a cursor). | ||
| Line 8: | Line 12: | ||
| ContourPlot3D[V == 5/((x - 2)^2 + y^2)^(1/2) - 5/((x - 8)^2 + y^2)^(1/2), {x, 0, 10}, {y, -5, 5}, {V, -10, 10}] | ContourPlot3D[V == 5/((x - 2)^2 + y^2)^(1/2) - 5/((x - 8)^2 + y^2)^(1/2), {x, 0, 10}, {y, -5, 5}, {V, -10, 10}] | ||
| - | Then press " | + | Then press " |
| Try to answer the following questions, based on what you read in the notes and the 3D plot: | Try to answer the following questions, based on what you read in the notes and the 3D plot: | ||