find the principal which yields a simple interest of rs . 20 and compound interest of rs . 24 in two years , at the same percent rate per annum ?
"explanation : si in 2 years = rs . 20 , si in 1 year = rs . 10 ci in 2 years = rs . 24 % rate per annum = [ ( ci – si ) / ( si in 1 year ) ] * 100 = [ ( 24 – 20 ) / 20 ] * 100 = 20 % p . a . let the principal be rs . x time = t = 2 years % rate = 20 % p . a . si = ( prt / 100 ) 20 = ( x * 20 * 2 ) / 100 x = rs . 50 answer : a"
divide(multiply(subtract(24, 20), const_100), const_2)