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 --- 2135/CH1/EX1.41/Exa_1_41.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 2135/CH1/EX1.41/Exa_1_41.sce (limited to '2135/CH1/EX1.41') diff --git a/2135/CH1/EX1.41/Exa_1_41.sce b/2135/CH1/EX1.41/Exa_1_41.sce new file mode 100755 index 000000000..85b03ab2a --- /dev/null +++ b/2135/CH1/EX1.41/Exa_1_41.sce @@ -0,0 +1,26 @@ +//Exa 1.41 +clc; +clear; +close; +format('v',7); + +//Given Data : +ma=0.4;//Kg +mb=0.8;//Kg +Ma=44; +Mb=29; +V=0.4;//m^3 +T=300;//K +Rdash=8314.3;//J/Kgk +Ra=Rdash/Ma;//Nm/KgK +Rb=Rdash/Mb;//Nm/KgK +na=ma/Ma;//moles +nb=mb/Mb;//moles +//p*V=n*R*T +pa=na*Rdash/1000*T/V;//bar +pb=nb*Rdash/1000*T/V;//bar +disp(pa,"Pressure of container A in KPa : "); +disp(pb,"Pressure of container B in KPa : "); +p=pa+pb;//Kpa +disp(p,"Pressure of mixture in KPa : "); +//Ans of Pb is wrong in the book. -- cgit