vpython

How to depict small charges on a spherical object using vpython library?

How to depict small charges on a spherical object using vpython library? Question: I am working on a project related to charge distribution on the sphere and I decided to simulate the problem using vpython and Coulomb’s law. I ran into an issue when I created a sphere because I am trying to evenly place …

Total answers: 2

Creating multiple vectors

Creating multiple vectors Question: So lets say I have a list of numbers and I want to create a vector out of all of them in the form (x, 0, 0). How would I do this? hello = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] So when I access, say, hello[2] I …

Total answers: 3