summaryrefslogtreecommitdiff
path: root/1208/CH9
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /1208/CH9
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '1208/CH9')
-rwxr-xr-x1208/CH9/EX9.7.e/Exa7_e.sce57
1 files changed, 30 insertions, 27 deletions
diff --git a/1208/CH9/EX9.7.e/Exa7_e.sce b/1208/CH9/EX9.7.e/Exa7_e.sce
index f59b11273..6b996a338 100755
--- a/1208/CH9/EX9.7.e/Exa7_e.sce
+++ b/1208/CH9/EX9.7.e/Exa7_e.sce
@@ -1,28 +1,31 @@
-//Exa 7(v)
-clc;
-clear;
-close;
-// given data :
-//mix ratio is not same
-SQa=10//in Kgs
-AQa=10//in Kgs
-SPa=8//in rupees per Kgs
-APa=7//in rupees per Kgs
-SQb=8//in kg
-AQb=9//in Kg
-SPb=6//in rupees per Kg
-APb=7//in rupees per Kg
-SQc=4//in kg
-AQc=5//in Kg
-SPc=12//in rupees per Kg
-APc=11//in rupees per Kg
-//(5) Material sub usage variance
-MSUVa=SPa*(SQa-RSQa);
-MSUVb=SPb*(SQb-RSQb);
-MSUVc=SPc*(SQc-RSQc);
-disp(MSUVa,"MSUV=");
-disp(MSUVb,"MSUV=");
-disp(MSUVc,"MSUV=");
-disp("Note : ")
-disp("Negative variances indicate adverse value ");
+//Exa 7(v)
+clc;
+clear;
+close;
+// given data :
+//mix ratio is not same
+SQa=10//in Kgs
+AQa=10//in Kgs
+SPa=8//in rupees per Kgs
+APa=7//in rupees per Kgs
+SQb=8//in kg
+AQb=9//in Kg
+SPb=6//in rupees per Kg
+APb=7//in rupees per Kg
+SQc=4//in kg
+AQc=5//in Kg
+SPc=12//in rupees per Kg
+APc=11//in rupees per Kg
+RSQa=(SQa*24)/(22);
+RSQb=(SQb*24)/(22);
+RSQc=(SQc*24)/(22);
+//(5) Material sub usage variance
+MSUVa=SPa*(SQa-RSQa);
+MSUVb=SPb*(SQb-RSQb);
+MSUVc=SPc*(SQc-RSQc);
+disp(MSUVa,"MSUV=");
+disp(MSUVb,"MSUV=");
+disp(MSUVc,"MSUV=");
+disp("Note : ")
+disp("Negative variances indicate adverse value ");
disp("Positive variances indicate favourable value "); \ No newline at end of file