We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Mathematics
- Geometry
- Spheres
- Discussions
Spheres
Spheres
Sort by
recency
|
25 Discussions
|
Please Login in order to post a comment
How to move both the soheres in same directions ? online taweez for love
was a bit annoying, that the code template didn't follow the input specification (4 lines pos1/acc1/pos2/acc2), however solution then was easy and straightforward...
I don't know what I do without you. ya wadoodo to attract someone
The problem states that the two spheres are initially not in contact, but: For the first case, we can ignore the 0-valued Y and Z components of position and acceleration so that we have a 1-D problem where X1=0 and x2=-1. So, at time=0, the distance dc between the centers of the two spheres is 1. However, the distance between the two sphere's outer surfaces is dc MINUS (r1+r2), or -2. Thus, the two spheres initially overlap (in fact, sphere 2 contains sphere 1). This contradicts the problem statement. Am I missing something?
Pyhthon code worked, just had to take sqrt of discriminant as well. Not sure why it didn't worked in java