diff options
Diffstat (limited to '1553/CH11')
28 files changed, 325 insertions, 0 deletions
diff --git a/1553/CH11/EX11.1/11Ex1.sce b/1553/CH11/EX11.1/11Ex1.sce new file mode 100644 index 000000000..7a1bb1097 --- /dev/null +++ b/1553/CH11/EX11.1/11Ex1.sce @@ -0,0 +1,10 @@ +//Ex 1
+
+clc;
+clear;
+close;
+cp=27.50;
+sp=28.60;
+gain=sp-cp;
+gainPercent=(gain/cp)*100;
+printf("The gain is %d percent",gainPercent);
diff --git a/1553/CH11/EX11.10/11Ex10.sce b/1553/CH11/EX11.10/11Ex10.sce new file mode 100644 index 000000000..29047e6d9 --- /dev/null +++ b/1553/CH11/EX11.10/11Ex10.sce @@ -0,0 +1,12 @@ +//Ex 10
+
+clc;
+clear;
+close;
+n1=6;c=10;
+n2=4;s=6;
+n=double(lcm(int32([4,6]))); //Number of bananas
+cp=(c/n1)*n;
+sp=(s/n2)*n;
+lossPercent=(cp-sp)/cp*100;
+printf("The loss is %d percent",lossPercent);
diff --git a/1553/CH11/EX11.11/11Ex11.sce b/1553/CH11/EX11.11/11Ex11.sce new file mode 100644 index 000000000..1d95fad03 --- /dev/null +++ b/1553/CH11/EX11.11/11Ex11.sce @@ -0,0 +1,10 @@ +//Ex 11
+
+clc;
+clear;
+close;
+cp_3=1;
+sp_3=(150/100)*cp_3;
+t_sold=3;
+n=t_sold/sp_3; //Number of toffees sold
+printf("The number of toffees sold are %d",n);
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);
diff --git a/1553/CH11/EX11.14/11Ex14.sce b/1553/CH11/EX11.14/11Ex14.sce new file mode 100644 index 000000000..098aeb927 --- /dev/null +++ b/1553/CH11/EX11.14/11Ex14.sce @@ -0,0 +1,9 @@ +//Ex 12
+
+clc;
+clear;
+close;
+Error=40;
+true_value=1000;
+gainPercent=(Error/(true_value-Error))*100;
+printf("The gain is %3.2f percent",gainPercent);
diff --git a/1553/CH11/EX11.15/11Ex15.sce b/1553/CH11/EX11.15/11Ex15.sce new file mode 100644 index 000000000..8931fbed6 --- /dev/null +++ b/1553/CH11/EX11.15/11Ex15.sce @@ -0,0 +1,9 @@ +//Ex 15
+
+clc;
+clear;
+close;
+r=125;w=115;m=110;
+retail_price=1265;
+cost=retail_price/(r/100*m/100*w/100);
+printf("The production cost of table is Rs. %d",cost);
diff --git a/1553/CH11/EX11.16/11Ex16.sce b/1553/CH11/EX11.16/11Ex16.sce new file mode 100644 index 000000000..1c3ea2493 --- /dev/null +++ b/1553/CH11/EX11.16/11Ex16.sce @@ -0,0 +1,15 @@ +//Chapter 9 Ex 16
+
+clc;
+close;
+clear;
+x=poly(0,'x');
+inc=(8/100);
+SP1=x;
+CP=(9/10)*SP1;
+SP2=(1+inc)*SP1;
+gain=SP2-CP;
+gainper=(gain/CP)*100;
+mprintf("The gain percentage of Monika is");
+disp(gainper)
+mprintf("percent");
diff --git a/1553/CH11/EX11.17/11Ex17.sce b/1553/CH11/EX11.17/11Ex17.sce new file mode 100644 index 000000000..b6d985861 --- /dev/null +++ b/1553/CH11/EX11.17/11Ex17.sce @@ -0,0 +1,15 @@ +//Chapter 9 Ex 17
+
+clc;
+close;
+clear;
+x=poly(0,'x');
+loss=10;
+SP1=x;
+SP2=(2/3)*SP1; //given
+CP=(100/(100-loss))*SP2;
+gain=SP1-CP;
+gainper=(gain/CP)*100;
+mprintf("The gain percentage is");
+disp(gainper)
+mprintf("percent");
diff --git a/1553/CH11/EX11.18/11Ex18.sce b/1553/CH11/EX11.18/11Ex18.sce new file mode 100644 index 000000000..603162d48 --- /dev/null +++ b/1553/CH11/EX11.18/11Ex18.sce @@ -0,0 +1,10 @@ +//Ex 18
+
+clc;
+clear;
+close;
+lossPercent=20;
+gainPercent=5;
+spIncreased=100;
+cpnew=spIncreased/((100+gainPercent)-(100-lossPercent))*100;
+printf("The new cost price of article is Rs. %d",cpnew);
diff --git a/1553/CH11/EX11.19/11Ex19.sce b/1553/CH11/EX11.19/11Ex19.sce new file mode 100644 index 000000000..5e68ee0bf --- /dev/null +++ b/1553/CH11/EX11.19/11Ex19.sce @@ -0,0 +1,12 @@ +//Ex 19
+
+clc;
+clear;
+close;
+difference=10.5;
+profitPercent1=25;
+profitPercent2=30;
+lossPercent=20;
+
+cp=difference/((100+profitPercent1)*100-((100+profitPercent2)*(100-lossPercent)))*100*100;
+printf("The cost price of article is Rs. %d",cp);
diff --git a/1553/CH11/EX11.2/11Ex2.sce b/1553/CH11/EX11.2/11Ex2.sce new file mode 100644 index 000000000..5aa2e6ab1 --- /dev/null +++ b/1553/CH11/EX11.2/11Ex2.sce @@ -0,0 +1,10 @@ +//Ex 2
+
+clc;
+clear;
+close;
+cp=490;
+sp=465.50;
+loss=cp-sp;
+lossPercent=(loss/cp)*100;
+printf("The loss is %d percent",lossPercent);
diff --git a/1553/CH11/EX11.20/11Ex20.sce b/1553/CH11/EX11.20/11Ex20.sce new file mode 100644 index 000000000..77171527c --- /dev/null +++ b/1553/CH11/EX11.20/11Ex20.sce @@ -0,0 +1,12 @@ +//Ex 20
+
+clc;
+clear;
+close;
+profitPercent1=25;
+profitPercent2=20;
+totalProfitPercent=65;
+
+profit3=((100+totalProfitPercent)/100)/((100+profitPercent1)/100*(100+profitPercent2)/100);
+profitPercent3=(profit3*100-100);
+mprintf("The percentage profit earned by 3rd seller is %3.2f percent",profitPercent3);
diff --git a/1553/CH11/EX11.21/11Ex21.sce b/1553/CH11/EX11.21/11Ex21.sce new file mode 100644 index 000000000..7c1b47236 --- /dev/null +++ b/1553/CH11/EX11.21/11Ex21.sce @@ -0,0 +1,8 @@ +//Ex 21
+
+clc;
+clear;
+close;
+commonLossGain=16;
+lossPercent=(commonLossGain/10)^2;
+printf("The loss is %3.2f percent",lossPercent);
diff --git a/1553/CH11/EX11.22/11Ex22.sce b/1553/CH11/EX11.22/11Ex22.sce new file mode 100644 index 000000000..a5954427f --- /dev/null +++ b/1553/CH11/EX11.22/11Ex22.sce @@ -0,0 +1,16 @@ +//Chapter 9 Ex 22
+
+clc;
+close;
+clear;
+x=poly(0,'x');
+gain=(20/100);
+CP=x;
+CP1=(3/4)*CP;
+CP2=(1/4)*CP; //given
+SP=((1+gain)*CP1)+CP2;
+gain=SP-CP;
+gainper=(gain/CP)*100;
+mprintf("The gain percentage is");
+disp(gainper)
+mprintf("percent");
diff --git a/1553/CH11/EX11.23/11Ex23.sce b/1553/CH11/EX11.23/11Ex23.sce new file mode 100644 index 000000000..e5ff09a9b --- /dev/null +++ b/1553/CH11/EX11.23/11Ex23.sce @@ -0,0 +1,16 @@ +//Chapter 9 Ex 23
+
+clc;
+close;
+clear;
+x=poly(0,'x');
+tot=3000;
+CP=x;
+CPcarr=(tot-x);
+gainh=20/100; lossc=10/100; gaintot=2/100; //given
+for x=1:2000
+ if ((x/5)-((3000-x)/10))==60
+ break;
+ end
+end
+mprintf("The cost price of the horse is Rs.%d",x);
diff --git a/1553/CH11/EX11.24/11Ex24.sce b/1553/CH11/EX11.24/11Ex24.sce new file mode 100644 index 000000000..0e5c399cd --- /dev/null +++ b/1553/CH11/EX11.24/11Ex24.sce @@ -0,0 +1,10 @@ +//Ex 24
+
+clc;
+clear;
+close;
+MP=100;
+d1=20;d2=10;d3=5;
+NetSp=((100-d1)/100)*((100-d2)/100)*((100-d3)/100)*MP;
+NetDiscount=100-NetSp;
+printf("The required discount is %3.2f percent",NetDiscount);
diff --git a/1553/CH11/EX11.25/11Ex25.sce b/1553/CH11/EX11.25/11Ex25.sce new file mode 100644 index 000000000..a2c4dcd4c --- /dev/null +++ b/1553/CH11/EX11.25/11Ex25.sce @@ -0,0 +1,15 @@ +//Chapter 9 Ex 25
+
+clc;
+close;
+clear;
+x=poly(0,'x');
+dis2=12.5/100;
+dis1=x;
+LP=150; SP=105;
+for x=1:50
+ if (((1-dis2)*(100-x)*LP)/100)==SP
+ break;
+ end
+end
+mprintf("First Discount=%d percent",x);
diff --git a/1553/CH11/EX11.26/11Ex26.sce b/1553/CH11/EX11.26/11Ex26.sce new file mode 100644 index 000000000..a74567ac4 --- /dev/null +++ b/1553/CH11/EX11.26/11Ex26.sce @@ -0,0 +1,12 @@ +//Ex 26
+
+clc;
+clear;
+close;
+cp=100;
+discount=25;
+mPercent=50;
+mp=cp+mPercent;
+sp=((100-discount)*mp)/100;
+gainPercent=(sp-100);
+printf("The gain is %3.2f percent",gainPercent);
diff --git a/1553/CH11/EX11.27/11Ex27.sce b/1553/CH11/EX11.27/11Ex27.sce new file mode 100644 index 000000000..9ad055229 --- /dev/null +++ b/1553/CH11/EX11.27/11Ex27.sce @@ -0,0 +1,11 @@ +//Ex 27
+
+clc;
+clear;
+close;
+discount=1;
+cp_40=36;
+sp_40=40;
+sp_40=(100-discount)/100*sp_40;
+profitPercent=(sp_40-cp_40)/cp_40*100;
+printf("The profit is %d percent",profitPercent);
diff --git a/1553/CH11/EX11.28/11Ex28.sce b/1553/CH11/EX11.28/11Ex28.sce new file mode 100644 index 000000000..af5a4f0b6 --- /dev/null +++ b/1553/CH11/EX11.28/11Ex28.sce @@ -0,0 +1,12 @@ +//Ex 28
+
+clc;
+clear;
+close;
+cp=100;
+discount=5;
+gainPercent=33;
+sp=cp+gainPercent;
+mp=sp/((100-discount)/100);
+mPercent=mp-cp;
+printf("The marked price is %d percent above CP",mPercent);
diff --git a/1553/CH11/EX11.29/11Ex29.sce b/1553/CH11/EX11.29/11Ex29.sce new file mode 100644 index 000000000..b73d4b08f --- /dev/null +++ b/1553/CH11/EX11.29/11Ex29.sce @@ -0,0 +1,14 @@ +//Chapter 11 Ex 29
+
+clc;
+close;
+clear;
+retail=100; com=36; red=24/100;
+SP=retail-com;
+profit=(8.8/100);
+CP=(SP/(1+profit));
+ncom=12;
+SPn=retail-ncom;
+gain=SPn-CP;
+gainper=(gain/CP)*100;
+mprintf("The profit percent is %.2f percent",gainper);
diff --git a/1553/CH11/EX11.3/11Ex3.sce b/1553/CH11/EX11.3/11Ex3.sce new file mode 100644 index 000000000..f27289275 --- /dev/null +++ b/1553/CH11/EX11.3/11Ex3.sce @@ -0,0 +1,12 @@ +//Ex 3
+
+clc;
+clear;
+close;
+//(i)
+sp1=(120/100)*56.25;
+printf("(i)The SP is Rs. %3.2f",sp1);
+
+//(ii)
+sp2=(85/100)*80.4;
+printf("\n(ii) The SP is Rs. %3.2f",sp2);
diff --git a/1553/CH11/EX11.4/11Ex4.sce b/1553/CH11/EX11.4/11Ex4.sce new file mode 100644 index 000000000..a892f080c --- /dev/null +++ b/1553/CH11/EX11.4/11Ex4.sce @@ -0,0 +1,11 @@ +//Ex 4
+
+clc;
+clear;
+close;
+//(i)
+cp1=(100/116)*40.6;
+printf("(i) The CP is Rs. %d",cp1);
+//(ii)
+cp2=(100/88)*51.7;
+printf("\n(ii) The CP is Rs. %3.2f",cp2);
diff --git a/1553/CH11/EX11.5/11Ex5.sce b/1553/CH11/EX11.5/11Ex5.sce new file mode 100644 index 000000000..5ebef9c04 --- /dev/null +++ b/1553/CH11/EX11.5/11Ex5.sce @@ -0,0 +1,11 @@ +//Ex 5
+
+clc;
+clear;
+close;
+lossPercent=5;
+spOld=1140;
+gainPercent=5;
+
+spNew=(spOld/(100-lossPercent))*(100+gainPercent);
+printf("The new Selling Price is Rs. %d",spNew);
diff --git a/1553/CH11/EX11.6/11Ex6.sce b/1553/CH11/EX11.6/11Ex6.sce new file mode 100644 index 000000000..8294d9135 --- /dev/null +++ b/1553/CH11/EX11.6/11Ex6.sce @@ -0,0 +1,12 @@ +//Ex 6
+
+clc;
+clear;
+close;
+sp1=27.50;
+sp2=25.75;
+profit1=10;
+cp=(100/(100+profit1))*sp1;
+profit2=sp2-cp;
+profitPercent=profit2/cp*100;
+mprintf("The profit percent is %d percent",profitPercent);
diff --git a/1553/CH11/EX11.7/11Ex7.sce b/1553/CH11/EX11.7/11Ex7.sce new file mode 100644 index 000000000..db81b884e --- /dev/null +++ b/1553/CH11/EX11.7/11Ex7.sce @@ -0,0 +1,10 @@ +//Ex 7
+
+clc;
+clear;
+close;
+sp=100;
+cp=96;
+profit=sp-cp;
+profitPercent=(profit/cp)*100;
+printf("The profit is %3.2f percent",profitPercent);
diff --git a/1553/CH11/EX11.8/11Ex8.sce b/1553/CH11/EX11.8/11Ex8.sce new file mode 100644 index 000000000..014e8422f --- /dev/null +++ b/1553/CH11/EX11.8/11Ex8.sce @@ -0,0 +1,9 @@ +//Ex 8
+
+clc;
+clear;
+close;
+cp=1;
+cp_18=18; sp_18=21;
+gainPercent=(3/18)*100;
+mprintf("The profit percent is %3.2f percent",gainPercent);
diff --git a/1553/CH11/EX11.9/11Ex9.sce b/1553/CH11/EX11.9/11Ex9.sce new file mode 100644 index 000000000..2e36ed5e1 --- /dev/null +++ b/1553/CH11/EX11.9/11Ex9.sce @@ -0,0 +1,10 @@ +//Ex 9
+
+clc;
+clear;
+close;
+cp_33=33;cp_22=22; //let cp of each meter be Rs.1
+sp_22=cp_33; //given
+gain=11;
+gainPercent=(gain/cp_22)*100;
+mprintf("The profit percent is %d percent",gainPercent);
|