id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

frew@mclean.com apcsunit1 > continuouslyCompound
prev  |  next  |  chance

Return the amount of interest, continuously compounded. Formula: A=Pe^(rt)


continuouslyCompound(1000, 0.05, 5) → 1284.03
continuouslyCompound(8000, 0.0685, 6) → 12066.6
continuouslyCompound(1000000, 0.12, 20) → 1.102317638E7

...Save, Compile, Run (ctrl-enter)

public double continuouslyCompound(double principal, double rate, double time) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 200 Post-solution available

Copyright Nick Parlante 2017 - privacy