summaryrefslogtreecommitdiff
path: root/1208/CH8/EX8.1/Exa1.sce
blob: c5345ca49f602d997f5a7fdf265b2dd3b1d39401 (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
//Exa1
clc;
clear;
close;
//given data :
Production=1000//units
CostOfProduction=1850;//in Rs.
NormalLoss=10//in %
ActualLoss=150;//in Units
ScrapValue=50;//in Paise/unit
NLoss=Production*NormalLoss/100;//in Units
UnitsProduced=Production-NLoss;//in Units
CostPerUnit=(CostOfProduction-50*10^-2*NLoss)/UnitsProduced;//in Rs.
AbnormalLoss=ActualLoss-NLoss;//in Units
CostOfAbnormalLoss=AbnormalLoss*CostPerUnit;//in Rs.
disp("Process account : ");
disp("Production in Units = "+string(Production)+"   Amount in Rs. "+string(CostOfProduction));
disp("By Normal Loss = "+string(NLoss)+"         Amount in Rs. "+string(NLoss*ScrapValue*10^-2));
disp("By Finished Goods = "+string(Production-ActualLoss)+"      Amount in Rs. "+string(CostPerUnit*(Production-ActualLoss)));
disp("");
disp("Abnormal Loss Account : ");
disp("To Process Account in Units = "+string(AbnormalLoss)+"   Amount in Rs. "+string(CostPerUnit*AbnormalLoss));
disp("By Scrap Value = "+string(AbnormalLoss)+"                Amount in Rs. "+string(AbnormalLoss*ScrapValue*10^-2));
disp("By Costing Profit and Loss A/c "+"    Amount in Rs. "+string(AbnormalLoss*ScrapValue*10^-2+NLoss*ScrapValue*10^-2));
disp("Total Amount in Rs."+string(25+75));