From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 213/CH10/EX10.22/10_22.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 213/CH10/EX10.22/10_22.sce (limited to '213/CH10/EX10.22/10_22.sce') 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 -- cgit