Ideas for a physics based c program?

  • Thread starter bigfoot100
  • Start date
I want to write a physics based c program but can't decide what to do it on any ideas?
 
104
0
How about accurately simulating/calculating the orbit of the earth around the sun based on newtons inverse square law, the mass of the earth and sun, and a starting location/speed/direction for both the earth and the sun. See if you can do a calculation once per hour and come back to about the same place in space (ie. a stable orbit to within one hour of the real one) after 24*365+6 calculations.

Sounds simple, contains a couple of hidden issues and opens up a lot of additional fun things to do.
 
Make an optical table with mirrors, beam splitters etc. guiding a laser beam or pulse.

Or have circle (or spheres if you want 3D) fall into a box. See if you can get them to settle without too many defects.
 

Related Threads for: Ideas for a physics based c program?

Replies
4
Views
4K
  • Last Post
Replies
2
Views
1K
Replies
2
Views
2K
Replies
17
Views
8K
  • Last Post
Replies
4
Views
2K
Replies
1
Views
8K
Replies
1
Views
5K
  • Last Post
Replies
11
Views
3K
Top