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 --- 23/CH5/EX5.1/Example_5_1.pdf | Bin 0 -> 4641 bytes 23/CH5/EX5.1/Example_5_1.sce | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100755 23/CH5/EX5.1/Example_5_1.pdf create mode 100755 23/CH5/EX5.1/Example_5_1.sce (limited to '23/CH5/EX5.1') diff --git a/23/CH5/EX5.1/Example_5_1.pdf b/23/CH5/EX5.1/Example_5_1.pdf new file mode 100755 index 000000000..216abb8a6 Binary files /dev/null and b/23/CH5/EX5.1/Example_5_1.pdf differ diff --git a/23/CH5/EX5.1/Example_5_1.sce b/23/CH5/EX5.1/Example_5_1.sce new file mode 100755 index 000000000..55cf4b678 --- /dev/null +++ b/23/CH5/EX5.1/Example_5_1.sce @@ -0,0 +1,22 @@ +clear; +clc; + +//To find Approx Value +function[A]=approx(V,n) + A=round(V*10^n)/10^n;//V-Value n-To what place + funcprot(0) +endfunction + +//Example 5.1 +//Caption : Program To Find the Heat discarded to the River + +//Given Values +Tc=295;//K +Th=585;//K +W=800000;//KW +n_max=1-(Tc/Th); +n=approx(0.7*n_max,3) +Qc=approx(((1-n)/n)*W,-2); +disp('KW',Qc,'Heat required'); + +//End \ No newline at end of file -- cgit