Rework the program of given Problem giving the user the option of specifying the application of an external axial tensile load.
Problem
Write a program that will compute the tensile stresses in the wall of a thin-walled pressure vessel. User input should be type of vessel (cylindrical or spherical), internal diameter, wall thickness, and internal pressure.
The program should also verify that the pressure vessel is thin walled. The program can be used to check some of the preceding problems.