stocks and shares aptitude formulas