I wish I could have a chat with my 17 year old self right now. He'd know how to do this...
So I have to implement an IRR (internal rate of return) calc for a system I'm working on. This is a sample problem I came up with from my stock portfolio
-3712/(1-r) + 256/(1-r)^2 + 286/(1-r)^3 + 298/(1-r)^4 + 6930/(1-r)^5 = 0
The gist is you want to find the discount rate at which the net present value of a cash flow from an investment is 0. The variable "r" is the discount rate we are looking for. So I sketch it all out and realize I have no clue how to solve for r, doh!
So... who loves math?
So I have to implement an IRR (internal rate of return) calc for a system I'm working on. This is a sample problem I came up with from my stock portfolio
-3712/(1-r) + 256/(1-r)^2 + 286/(1-r)^3 + 298/(1-r)^4 + 6930/(1-r)^5 = 0
The gist is you want to find the discount rate at which the net present value of a cash flow from an investment is 0. The variable "r" is the discount rate we are looking for. So I sketch it all out and realize I have no clue how to solve for r, doh!
So... who loves math?