I'm pretty new to this but i am making a program to simulate gravitationally interacting bodies. So i have 100 bodies all the same mass and i want to append it so that i have 100 bodies all the same mass and 3 bodies with 100xthe original mass i f you catch my drift? (they are to simulate dense regions such as black holes). my original code looks like this:
mass=2e30*N.one s((100,1))
and i want the new array to be 103 masses with 3 of them with mass 2e32! how do id this?
thanks!
mass=2e30*N.one s((100,1))
and i want the new array to be 103 masses with 3 of them with mass 2e32! how do id this?
thanks!
Comment