diff options
Diffstat (limited to '2471/CH1/EX1.7/Ex1_7.sce')
-rwxr-xr-x | 2471/CH1/EX1.7/Ex1_7.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2471/CH1/EX1.7/Ex1_7.sce b/2471/CH1/EX1.7/Ex1_7.sce new file mode 100755 index 000000000..1dc8ea9fe --- /dev/null +++ b/2471/CH1/EX1.7/Ex1_7.sce @@ -0,0 +1,17 @@ +close
+clear ;
+clc;
+// Example 1.7
+printf('Example 1.7\n\n');
+printf('Page No. 12\n\n');
+// Solution
+
+// Given
+O= 150*10^3;// energy consumption in office heating in Watts
+L= 120*10^3;// energy consumption in lighting in Watts
+B= 90*10^3;// energy consumption in boiler house in Watts
+P= 180*10^3;// energy consumption in process in Watts
+// Pie Chart Representation : one input argument x=[O L B P]
+pie([O L B P],["office heating" "lighting" "boiler heating" "process"]);// Please see the graphics window
+printf('The Pie chart is plotted in the figure');
+
|