Ideas for a physics based c program?

  • Context: High School 
  • Thread starter Thread starter bigfoot100
  • Start date Start date
  • Tags Tags
    Ideas Physics Program
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
bigfoot100
Messages
4
Reaction score
0
I want to write a physics based c program but can't decide what to do it on any ideas?
 
Physics news on Phys.org
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.