Compute the inflation-adjusted real return r_real = (1+r_nom)/(1+i) − 1 from the nominal return and the inflation rate.
輸入名義收益率 r_nom 與通貨膨脹率 i,求實際收益率。