Question: how to calculate compound interest using javascript?
Answer: function calculateTotalCompoundInterest(principal, annual_rate, n_times, t_years) {
return principal*(Math. ... 
}