diff options
Diffstat (limited to '1553/CH29')
-rw-r--r-- | 1553/CH29/EX29.1/29Ex1.sce | 23 | ||||
-rw-r--r-- | 1553/CH29/EX29.10/29Ex10.sce | 16 | ||||
-rw-r--r-- | 1553/CH29/EX29.2/29Ex2.sce | 12 | ||||
-rw-r--r-- | 1553/CH29/EX29.3/29Ex3.sce | 12 | ||||
-rw-r--r-- | 1553/CH29/EX29.4/29Ex4.sce | 12 | ||||
-rw-r--r-- | 1553/CH29/EX29.5/29Ex5.sce | 12 | ||||
-rw-r--r-- | 1553/CH29/EX29.6/29Ex6.sce | 28 | ||||
-rw-r--r-- | 1553/CH29/EX29.7/29Ex7.sce | 13 | ||||
-rw-r--r-- | 1553/CH29/EX29.8/29Ex8.sce | 21 | ||||
-rw-r--r-- | 1553/CH29/EX29.9/29Ex9.sce | 10 |
10 files changed, 159 insertions, 0 deletions
diff --git a/1553/CH29/EX29.1/29Ex1.sce b/1553/CH29/EX29.1/29Ex1.sce new file mode 100644 index 000000000..613876a3c --- /dev/null +++ b/1553/CH29/EX29.1/29Ex1.sce @@ -0,0 +1,23 @@ +//Chapter 29 Ex 1
+
+clc;
+clear;
+close;
+
+//(a)
+facevalue=90;
+marketvalue=100;
+cost1=7200*(facevalue/marketvalue);
+mprintf("Cost of Rs.7200 stock is Rs %d",cost1);
+
+//(b)
+marketvalue=100; premium=4;
+facevalue=marketvalue+premium;
+cost2=4500*(facevalue/marketvalue);
+mprintf("\n Cost of Rs.4500 stock is Rs %d",cost2);
+
+//(c)
+marketvalue=100; discount=15;
+facevalue=marketvalue-discount;
+cost3=6400*(facevalue/marketvalue);
+mprintf("\n Cost of Rs.6400 stock is Rs %d",cost3);
diff --git a/1553/CH29/EX29.10/29Ex10.sce b/1553/CH29/EX29.10/29Ex10.sce new file mode 100644 index 000000000..b82dd70c7 --- /dev/null +++ b/1553/CH29/EX29.10/29Ex10.sce @@ -0,0 +1,16 @@ +//Chapter 29 Ex10
+clc;
+clear;
+close;
+facevalue=100;
+sellAmt=5000;
+stock1=12/100;
+marketvalue1=156;
+stock2=8; stock3=9; //the 2 stocks at which the man invests
+marketvalue2=90; marketvalue3=108;
+increaseIncome=70;
+SPsellAmt=sellAmt*(marketvalue1/facevalue);
+income=(stock1*sellAmt);
+investStock2=(income+increaseIncome-(SPsellAmt*(stock3/marketvalue3)))/(stock2/marketvalue2-(stock3/marketvalue3));
+investStock3=SPsellAmt-investStock2;
+mprintf("The money invested at %.0f stock is Rs.%.0f\n and the money invested at %d stock is Rs.%.0f",stock2,investStock2,stock3,investStock3);
diff --git a/1553/CH29/EX29.2/29Ex2.sce b/1553/CH29/EX29.2/29Ex2.sce new file mode 100644 index 000000000..dbcf144b1 --- /dev/null +++ b/1553/CH29/EX29.2/29Ex2.sce @@ -0,0 +1,12 @@ +//Chapter 29 Ex2
+clc;
+clear;
+close;
+
+facevalue=100; //since the stock is calculated over 100
+marketvalue=107; //given
+brokerage=1/2; //value is in percentage
+purchaseAmt=3200;
+cashfacevalue=marketvalue+brokerage; //cash required to purchase Rs.100 stock
+cashpurchaseAmt= cashfacevalue*purchaseAmt/facevalue;
+mprintf("The cash required to purchase Rs.3200 stock is Rs.%.0f",cashpurchaseAmt);
diff --git a/1553/CH29/EX29.3/29Ex3.sce b/1553/CH29/EX29.3/29Ex3.sce new file mode 100644 index 000000000..b88c6f043 --- /dev/null +++ b/1553/CH29/EX29.3/29Ex3.sce @@ -0,0 +1,12 @@ +//Chapter 29 Ex3
+clc;
+clear;
+close;
+
+facevalue=100; //since the stock is calculated over 100
+discount=4;
+brokerage=1/4; //value is in percentage
+purchaseAmt=2400;
+cashfacevalue=facevalue-discount-brokerage; //cash required to purchase Rs.100 stock
+cashpurchaseAmt= cashfacevalue*purchaseAmt/facevalue;
+mprintf("The cash required to purchase Rs.2400 stock is Rs.%.0f",cashpurchaseAmt);
diff --git a/1553/CH29/EX29.4/29Ex4.sce b/1553/CH29/EX29.4/29Ex4.sce new file mode 100644 index 000000000..a1e10e1f2 --- /dev/null +++ b/1553/CH29/EX29.4/29Ex4.sce @@ -0,0 +1,12 @@ +//Chapter 29 Ex4
+clc;
+clear;
+close;
+
+facevalue=100; //since the stock is calculated over 100
+marketvalue=106; //given
+stock=8; //value is in percentage
+purchaseAmt=2500;
+incomefacevalue=stock; //since the income is directly calculated on stock
+incomepurchaseAmt= incomefacevalue*purchaseAmt/facevalue;
+mprintf("The cash required to purchase Rs.2500 stock is Rs.%.0f",incomepurchaseAmt);
diff --git a/1553/CH29/EX29.5/29Ex5.sce b/1553/CH29/EX29.5/29Ex5.sce new file mode 100644 index 000000000..1a83de248 --- /dev/null +++ b/1553/CH29/EX29.5/29Ex5.sce @@ -0,0 +1,12 @@ +//Chapter 29 Ex5
+clc;
+clear;
+close;
+
+facevalue=100; //since the stock is calculated over 100
+marketvalue=136; //given
+stock=10; //value is in percentage
+investAmt=6800;
+incomemarketvalue=stock; //since the income is directly calculated on stock
+incomeinvestAmt= incomemarketvalue*investAmt/marketvalue;
+mprintf("The income obtained by investing Rs.6800 is Rs.%.0f",incomeinvestAmt);
diff --git a/1553/CH29/EX29.6/29Ex6.sce b/1553/CH29/EX29.6/29Ex6.sce new file mode 100644 index 000000000..957da247a --- /dev/null +++ b/1553/CH29/EX29.6/29Ex6.sce @@ -0,0 +1,28 @@ +//Chapter 29 Ex5
+clc;
+clear;
+close;
+
+facevalue=100; //since the stock is calculated over 100
+marketvalue1=105; //given
+stock1=15/2; //value is in percentage
+
+marketvalue2=94; //given
+stock2=13/2; //value is in percentage
+
+investAmt=marketvalue1*marketvalue2;
+
+
+incomemarketvalue1=stock1; //since the income is directly calculated on stock
+incomeinvestAmt1= incomemarketvalue1*investAmt/marketvalue1;
+
+
+incomemarketvalue2=stock2; //since the income is directly calculated on stock
+incomeinvestAmt2= incomemarketvalue2*investAmt/marketvalue2;
+mprintf("The incomes are Rs.%.0f and Rs.%.2f",incomeinvestAmt1,incomeinvestAmt2);
+if (incomeinvestAmt1>incomeinvestAmt2) then
+ mprintf("\n Thus the income obtained from %.2f stock at %.0f is more",stock1,marketvalue1);
+else
+ mprintf("\n Thus the income obtained from %.2f stock at %.0f is more",stock2,marketvalue2);
+end
+
diff --git a/1553/CH29/EX29.7/29Ex7.sce b/1553/CH29/EX29.7/29Ex7.sce new file mode 100644 index 000000000..6762c97a7 --- /dev/null +++ b/1553/CH29/EX29.7/29Ex7.sce @@ -0,0 +1,13 @@ +//Chapter 29 Ex7
+clc;
+clear;
+close;
+
+facevalue=10; //since the stock is calculated over 100
+discount=3/4;
+brokerage=1/4;
+shares=96;
+
+cost1share=facevalue-discount+brokerage; //cash required to purchase Rs.100 stock
+costshares= cost1share*shares;
+mprintf("The cost of %.0f shares is Rs.%.0f",shares,costshares);
diff --git a/1553/CH29/EX29.8/29Ex8.sce b/1553/CH29/EX29.8/29Ex8.sce new file mode 100644 index 000000000..8a90d05fe --- /dev/null +++ b/1553/CH29/EX29.8/29Ex8.sce @@ -0,0 +1,21 @@ +//Chapter 29 Ex8
+clc;
+clear;
+close;
+
+facevalue=25;
+premium=5;
+brokerage=1/4;
+shares=88;
+rateDividend=(15/2)/100; //rate is in percentage hence divided by 100
+investment=2662;
+
+cost1share=facevalue+premium+brokerage; //cash required to purchase Rs.100 stock
+costshares= cost1share*shares;
+facevalueAllShares=shares*facevalue;
+dividendAllShares=facevalueAllShares*rateDividend;
+income=dividendAllShares;
+
+rateInterest=(income/investment)*100;
+
+mprintf("The rate of interest on investment is Rs.%.1f percent",rateInterest);
diff --git a/1553/CH29/EX29.9/29Ex9.sce b/1553/CH29/EX29.9/29Ex9.sce new file mode 100644 index 000000000..a8c49fdb6 --- /dev/null +++ b/1553/CH29/EX29.9/29Ex9.sce @@ -0,0 +1,10 @@ +//Chapter 29 Ex9
+clc;
+clear;
+close;
+
+shares=25;
+rateDividend=9/100;
+rateInterest=10/100;
+price1share=(shares*rateDividend)/rateInterest;
+mprintf("The price of each share is Rs.%.2f",price1share);
|