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 --- 617/CH16/EX16.4/Example16_4.sci | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 617/CH16/EX16.4/Example16_4.sci (limited to '617/CH16/EX16.4/Example16_4.sci') diff --git a/617/CH16/EX16.4/Example16_4.sci b/617/CH16/EX16.4/Example16_4.sci new file mode 100755 index 000000000..4ddfede85 --- /dev/null +++ b/617/CH16/EX16.4/Example16_4.sci @@ -0,0 +1,12 @@ +clc(); +clear; + +// To compute the hydrogen loss per unit pipe by diffusion + +ri=3/96; // Inner radius of pipe in ft +ro=1/24; // Outer radius of pipe in ft +Ca1=0.0003; // Concentration at the inner hose of pipe in lb-mol/ft^2 +Ca2=0; // Concentration at the outer surface +D=0.7*10^-5; // Diffusion coefficient of hydrogen in rubber in ft^2/hr +N=2*%pi*D*(Ca1-Ca2)/log(ro/ri); // Rate of diffusion in lb-mol/hr +printf("The rate of diffusion iof hydrogen in rubber is %.2f*10^-8 lb-mole/hr",N*10^8); \ No newline at end of file -- cgit