
Neglecting gravity:

Therefore;

Apply Boundary Conditions:
If we make a cut at "A", as indicated in the problem specification, then the stress in A must be P/A.
Therefore, 
Open and start the simulation
See and rate the complete Learning Module
Go to all ANSYS Learning Modules