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 --- 2471/CH8/EX8.6/Ex8_6.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2471/CH8/EX8.6/Ex8_6.sce (limited to '2471/CH8/EX8.6') diff --git a/2471/CH8/EX8.6/Ex8_6.sce b/2471/CH8/EX8.6/Ex8_6.sce new file mode 100755 index 000000000..109a92b22 --- /dev/null +++ b/2471/CH8/EX8.6/Ex8_6.sce @@ -0,0 +1,14 @@ +clear ; +clc; +// Example 8.6 +printf('Example 8.6\n\n'); +printf('Page No. 234\n\n'); + +//given +T_lamp = 12*10^3;// Output for the tungsten filament lamp in lm per 10^3 W +F_tube = 63*10^3;// Output for the fluorescent tubes in lm per 10^3 W +Save = F_tube - T_lamp;// in W +printf('Energy saving is %.0f lm per 10^3 W \n',Save) + +Save_pcent = (Save/F_tube)*100; +printf('Energy saving per cent is %.0f ',floor(Save_pcent)) -- cgit