diff options
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)
|