From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 555/CH3/EX3.1/1.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 555/CH3/EX3.1/1.sce (limited to '555/CH3/EX3.1/1.sce') diff --git a/555/CH3/EX3.1/1.sce b/555/CH3/EX3.1/1.sce new file mode 100644 index 000000000..c6e5a51b2 --- /dev/null +++ b/555/CH3/EX3.1/1.sce @@ -0,0 +1,17 @@ +// Implementation of example 3.1 +// Basic and Applied Thermodynamics by P.K.Nag +// page 54 + +clc +clear + +P=760 //(mm Hg) +dv=0.5 //(m^3) +// since P is in mm Hg and change in volume(dv) is in m^3,so we'll change the unit of pressure +p=101.325 //(kN/m^2) + +Wd=(p*dv); +disp("work done by system =") +disp(Wd) +disp("kJ") +// in this work is done by the system,so it is positive -- cgit