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 /416/CH4/EX4.5/exp4_5c.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 '416/CH4/EX4.5/exp4_5c.sce')
-rwxr-xr-x | 416/CH4/EX4.5/exp4_5c.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/416/CH4/EX4.5/exp4_5c.sce b/416/CH4/EX4.5/exp4_5c.sce new file mode 100755 index 000000000..34be7b2ac --- /dev/null +++ b/416/CH4/EX4.5/exp4_5c.sce @@ -0,0 +1,7 @@ +clc
+clear
+disp('example 4 5')
+t1=3000;t11=0.9 //cost equation
+t2=3; //rate
+x=t1/(t2-t11)
+printf("if energy consumption per month is more than %.1fkWh,\ntariff is more suitable",x)
|