summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.12/11Ex12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.12/11Ex12.sce')
-rw-r--r--1553/CH11/EX11.12/11Ex12.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1553/CH11/EX11.12/11Ex12.sce b/1553/CH11/EX11.12/11Ex12.sce
new file mode 100644
index 000000000..8ead84c61
--- /dev/null
+++ b/1553/CH11/EX11.12/11Ex12.sce
@@ -0,0 +1,12 @@
+//Ex 12
+
+clc;
+clear;
+close;
+n1=80;c1=13.50;
+n2=120;c2=16;
+profitPercent=16;
+cp_200=n1*c1+n2*c2;
+sp=(100+profitPercent)/100*cp_200;
+rate=sp/(n1+n2);
+printf("The rate of SP of mixture is %3.2f per kg",rate);