follow me on Twitter

    Subscribe to
    Posts [Atom]


    Compounding Interest Formula

    Sunday, April 29, 2007

    M = P( 1 + i )n

    M is the final amount including the principal.
    P is the principal amount.
    i is the rate of interest per year.
    n is the number of years invested.

    Labels:


    Two Battleships Anecdote

    Saturday, April 21, 2007

    Two battleships assigned to the training squadron had been at sea on maneuvers in heavy weather for several days. I was serving on the lead battleship and was on watch on the bridge as night fell. The visibility was poor with patchy fog, so the captain remained on the bridge keeping an eye on all activities. Shortly after dark, the lookout on the wing of the bridge reported, "Light, bearing on the starboard bow." "Is it steady or moving astern?" the captain called out. Lookout replied, "Steady, captain," which meant we were on a dangerous collision course with that ship. The captain then called to the signalman, "Signal that ship: We are on a collision course, advise you change course 20 degrees." Back came the signal, "Advisable for you to change course 20 degrees." The captain said, "Send, I'm a captain, change course 20 degrees." "I'm a seaman second class," came the reply. "You had better change course 20 degrees." By that time the captain was furious. He spat out, "Send, I'm a battleship. Change course 20 degrees." Back came the flashing light, "I'm a lighthouse." We changed course.

    Labels: ,


    JDBC Display Blank Value

    Friday, April 20, 2007

    In jdbc you indicate a blank or space by using: /

    Labels:


    Losing My Session

    Tuesday, April 10, 2007

    When switching from a secure to nonsecure environmement (http/https) there are seperate sessions and one will not remain when transitioning into the other. If you are in the same environment you can pass the parameters to the servlet with a hidden id value.

    Labels:


    Buffetology Book Outline

    Tuesday, April 03, 2007

    The market undervalues a litigated claim as an asset and overvalues it as a liability.

    look at the companies financial documents.


    buffetology page 63

    buying a business based on the present value

    you buy a pinball machine that makes 8$ a day for a year = 2920
    interest rate is at 8%
    in 10 years you will have 45516.86$

    you need to sell based on the present value

    in calculator input:
    n: 10 years
    i=8%
    future value = $45516.86

    present value = $20619.92

    buffetology page 58

    Labels: ,