This program requires three inputs: the ultimate strength Su in tension and compression and principal stresses sigma_1 and sigma_2. Safety factor is then calculated. The input values can be modified to re-plot.