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 --- 2510/CH17/EX17.11/Ex17_11.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2510/CH17/EX17.11/Ex17_11.sce (limited to '2510/CH17/EX17.11/Ex17_11.sce') diff --git a/2510/CH17/EX17.11/Ex17_11.sce b/2510/CH17/EX17.11/Ex17_11.sce new file mode 100755 index 000000000..66232cc78 --- /dev/null +++ b/2510/CH17/EX17.11/Ex17_11.sce @@ -0,0 +1,13 @@ +//Variable declaration: +//From example 17.10: +Qf = 64 //Fin heat transfer rate (W) +Q1 = 1.48 //Total heat transfer rate without the fin (W) + +//Calculation: +E = Qf/Q1 //Fin effectiveness + +//Result: +printf("The fin effectiveness is : %.1f",E) +if E>2 then + printf("Hence, the use of the fin is justified.") +end -- cgit