JMCAD is an program for the modeling and simulation of complex dynamic systems. This includes the ability to construct and…