f(X) = p(1+ r/n) nt

The principal is 50,000
The time is 3years
the rate is 4%

cool. gotta question?

I have some.
How often compounded?
What the heck is X?

to evaluate f, just plug in the values.