Calculation for Finding Principal Amount