Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem with Syntax in Mathematica Summation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84419] Re: Problem with Syntax in Mathematica Summation
  • From: magma <maderri2 at gmail.com>
  • Date: Sat, 22 Dec 2007 05:45:53 -0500 (EST)
  • References: <fkhq6b$2q4$1@smc.vnet.net>

There were a couple of syntax errors:
in the summation with ebitda and in kinv0
Below is the corrected code.

wacc = ((rf + \[Beta] ((1 + tax) (d/(d + e))) (rf - rm)) (e/(d +

        e))) ((rf + (1 - (NormalPValue[(Log[(d/(d + e))]/((d/(d +
                                      e)) - 1)) (1/
              stde)])) r) (d/(d + e)))
value = \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(t = 1\), \(\[Infinity]\)]
\*FractionBox[\((
\*SubscriptBox[\(ebitda\), \(t\)]\ \((1 - tax)\))\), \(\((1 + wacc)\)^
     t\)]\) + \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(t = 1\), \(\[Infinity]\)]
\*FractionBox[\(\((
\*SubscriptBox[\(dep\), \(t\)])\)\ tax\), \(\((1 + wacc)\)^
     t\)]\) - \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(t = 1\), \(n\)]
\*FractionBox[\(\((
\*SubscriptBox[\(d\), \(0\)] -
\*UnderoverscriptBox[\(\[Sum]\), \(t = 1\), \(n\)]
\*SubscriptBox[\(d\), \((t - 1)\)])\) \((rf + 1 - \((NormalPValue[\((
\*FractionBox[\(Log[\((d/\((d + e)\))\)]\), \(\((d/\((d + e)\))\) -
             1\)])\) \((
\*FractionBox[\(1\), \(stde\)])\)])\))\)
     r \((1 - tax)\)\), \(\((1 + wacc)\)^t\)]\) - \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(t = 1\), \(n\)]
\*FractionBox[\(
\*SubscriptBox[\(d\), \(0\)]/n\), \(\((1 + wacc)\)^t\)]\) - Subscript[
  kinv, 0]


  • Prev by Date: Re: Mathematica fonts
  • Next by Date: Re: Problem with Syntax in Mathematica Summation
  • Previous by thread: Problem with Syntax in Mathematica Summation
  • Next by thread: Re: Problem with Syntax in Mathematica Summation