diff options
Diffstat (limited to '213/CH10/EX10.22')
-rwxr-xr-x | 213/CH10/EX10.22/10_22.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/213/CH10/EX10.22/10_22.sce b/213/CH10/EX10.22/10_22.sce new file mode 100755 index 000000000..0d10306f2 --- /dev/null +++ b/213/CH10/EX10.22/10_22.sce @@ -0,0 +1,16 @@ +//To find the pressure
+clc
+//Given:
+W=4*1000 //N
+r2=50,r1=100 //mm
+//Solution:
+//Calculating the maximum pressure
+pmax=W/(2*%pi*r2*(r1-r2)) //N/mm^2
+//Calculating the minimum pressure
+pmin=W/(2*%pi*r1*(r1-r2)) //N/mm^2
+//Calculating the average pressure
+pav=W/(%pi*(r1^2-r2^2)) //N/mm^2
+//Results:
+printf("\n\n Maximum pressure, pmax = %.4f N/mm^2.\n",pmax)
+printf(" Minimum pressure, pmin = %.4f N/mm^2.\n",pmin)
+printf(" Average pressure, pav = %.2f N/mm^2.\n\n",pav)
\ No newline at end of file |