an investor can sell her microtron stock for 36 $ per share and her dynaco stock for 56 $ per share , if she sells 300 shares altogether , some of each stock , at an average price per share of 40 $ , how many shares of dynaco stock has she sold ?
"w 1 / w 2 = ( a 2 - aavg ) / ( aavg - a 1 ) = ( 56 - 40 ) / ( 40 - 36 ) = 16 / 4 = 4 / 1 = number of microtron stocks / number of dynaco stocks so for every 4 microtron stock , she sold 1 dynaco stock . so out of 300 total stocks , ( 1 / 5 ) th i . e . 300 / 5 = 60 must be dynaco stock . answer ( c )"
divide(multiply(300, divide(40, subtract(56, 36))), divide(add(36, 56), subtract(56, 36)))