Skip to main content
16-Pearl
March 1, 2026
StickyQuestion

Mathcad Community Challenge March 2026 - The Two Body Problem!

  • March 1, 2026
  • 5 replies
  • 1058 views

Sir Isaac NewtonSir Isaac Newton

 

This month’s challenge is inspired by one of the great unsolvable challenges of physics, the Three Body Problem.  Of course, we won’t be asking you to perform the impossible in Mathcad Prime. Your challenge, should you choose to accept it, is the Two Body Problem for orbital mechanics.

Earth-satellite two body problemEarth-satellite two body problem

 

Challenge 1: Create the math functions and programs that can calculate the position, velocity, and acceleration of a Mazda Miata-sized satellite in orbit around the earth. (Why a Mazda Miata? It was my first and only car. Feel free to substitute a car of your choice.)

Choose your orbital parameters for altitude (e.g., medium-earth, geosynchronous, high-earth), inclination, eccentricity, and any other factors.

 

Challenge 2 (optional): Incorporate advanced input controls to change the orbital parameters.

 

Challenge 3: Graph the x-, y-, and z-values for acceleration versus time. Create additional graphs for velocity and position. Bonus points for using the Chart Component.

 

Challenge 4: Create a 3D plot of the orbit of the satellite around the earth.

 

Challenge 5 (optional solvable Three Body Problem variant) : Take on any special case or simplified version of the Three-Body Problem. For example, use a system consisting of the sun, earth, and Miata; or a sun-earth-Miata system with circular orbits; or a Lagrange Equilateral Triangle.

 

Assumptions:

  • The earth and the satellite are the only two bodies in this system. You can consider the two bodies as point objects, spherical, with the center of mass at the geometric center.
  • Assume Newtonian mechanics (Newton’s Law of Universal Gravitation).
  • You can ignore the gravitational effects of the smaller body on the larger body.
  • The reference frame is inertial (non-accelerating) and centered on the earth in the two-body problem.
  • As a catch-all, feel free to include any other assumptions to help you build your worksheet.

Also, if you want to make the problem more fun, you can use two objects of the same mass (or any other variation of masses) and consider the effects of both bodies on each other!

 

Note: due to PTC Community moving to a new platform, the site will be in a read-only state from March 23rd to April 6th! Therefore, this community challenge will conclude… at some point after April 6th.

 

As always, have fun with this! Find the Mathcad Community Challenge guidelines here!

5 replies

12-Amethyst
March 1, 2026

It's just a joke.

 

0.gif

DJNewman
18-Opal
March 17, 2026

Note for everyone: PTC Community is going into read-only mode next week.

We plan for the challenge to be available for a bit after the migration is complete, but you should think about submitting before the read-only anyway.

PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
19-Tanzanite
March 18, 2026

Ok. I guess somebody has to start, so here's an Express version of the first part.

 

 

ttokoro
21-Topaz I
21-Topaz I
March 21, 2026

Microsoft Copilot returns the Python code. Transtrate it to Mathcad Prime 11 and get the same results.

 

image.pngimage.png

t.t.
ttokoro
21-Topaz I
21-Topaz I
March 22, 2026

Ver. 2 can change the altitude, alt, of the MZD satellite in orbit and the Velocity booster factor, Vplus, of orbit.
3D graph also shows the v(0) by red arrow.

 

image.png

t.t.
ttokoro
21-Topaz I
21-Topaz I
March 22, 2026

Ver. 3 can change the Initial velocity direction of orbit.

 

image.png

t.t.
ttokoro
21-Topaz I
21-Topaz I
April 17, 2026

Ver.4. Prime 12. Fix the crash point on the Earth. Mathcad file *.mcdx can not attach here.

t.t.
16-Pearl
April 14, 2026

I wanted to provide a little input to this month’s challenge, so that there would be something on the special cases for the Three Body Challenge. I haven’t figured out how to use Mathcad’s Runge-Kutta to plot the orbits of three bodies. So I took the easy path of calculating the Lagrange positions for the Earth and Sun (easy stuff for Mathcad) as well as using some sliders so people can see the effect of playing with mass and distance.

 

DJNewman
18-Opal
April 15, 2026

Nice worksheet, Dave!

Let’s keep this up for submissions for 6 to 7 more days (end-of-day April 21) now that PTC Community is back up.

PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.