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 --- 2126/CH8/EX8.1.39/8_1_39.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2126/CH8/EX8.1.39/8_1_39.sce (limited to '2126/CH8/EX8.1.39') diff --git a/2126/CH8/EX8.1.39/8_1_39.sce b/2126/CH8/EX8.1.39/8_1_39.sce new file mode 100755 index 000000000..5eaf14ead --- /dev/null +++ b/2126/CH8/EX8.1.39/8_1_39.sce @@ -0,0 +1,14 @@ +clc +clear + +//Input data +v1=8 //Intial volume in litres +P1=0.7 //Intial pressure in MPa +v2=7.8 //Final volume in litres +P2=2.7 //Final pressure in MPa + +//Calculation +k=(P2-P1)/(log(v1/v2)) //Bulk modulus of elasticity of a liquid in MPa + +//Output +printf('Bulk modulus of elasticity of a liquid is %3.3f MPa',k) -- cgit