Appendix for Section 2 - Purdue University

The following codes calculate the external torques based on gravity, magnetic field, solar radiaton and aerodynamic drag. The max torque is then used to calculate the … ................
................