summaryrefslogtreecommitdiff
path: root/1208/CH9/EX9.3/Exa3.sce
blob: f5ee125bed23b9e215cab833eda6f6a99ef5ae22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//Exa3
clc;
clear;
close;
//given data :
SQ=100;//in Kgs
actualoutput=240000;//in Kgs
stdoutput=80;//in Kgs
costofmaterial=346500;//in Rupees
SQa=(SQ*actualoutput)/stdoutput;//SQa is SQ for actual output
SP=1.20;//in Rupees per Kg
AQ=315000;// in Kg
AP=costofmaterial/AQ;//in Rupees per Kg
//(i) MUV
MUV=SP*(SQa-AQ);//in rupees
//(ii) MPV
MPV=AQ*(SP-AP);//in rupees
//(iii)  MCV
MCV=(SQa*SP)-(AQ*AP);//in rupees
disp(MUV,"MUV=");
disp(MPV,"MPV=");
disp(MCV,"MCV=");
disp("Note :  ")
disp("Negative variances indicate adverse value   ");
disp("Positive variances indicate favourable value   ")