diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2471/CH1/EX1.7/Ex1_7.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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');
+
|