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 --- 551/CH4/EX4.25/25.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 551/CH4/EX4.25/25.sce (limited to '551/CH4/EX4.25/25.sce') diff --git a/551/CH4/EX4.25/25.sce b/551/CH4/EX4.25/25.sce new file mode 100755 index 000000000..278dce86c --- /dev/null +++ b/551/CH4/EX4.25/25.sce @@ -0,0 +1,20 @@ +clc +d=0.15; //m +T=303; //K +p=3*10^5; //N/m^2 +l=0.085; //m +Q=-4000; //J + +disp("(i) Workdone by the system") +dv=%pi/4*d^2*l; +W=p*dv; +disp("W=") +disp(W/10^3) +disp("kJ") + + +disp("(ii) Decrease in internal energy of the system") +dU=(Q-W)/10^3; +disp("Decrease in internal energy = ") +disp(-dU) +disp("kJ") \ No newline at end of file -- cgit