Re: Problem with Syntax in Mathematica Summation
- To: mathgroup at smc.vnet.net
- Subject: [mg84415] Re: Problem with Syntax in Mathematica Summation
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sat, 22 Dec 2007 05:43:45 -0500 (EST)
- References: <fkhq6b$2q4$1@smc.vnet.net>
Manuel Salazar wrote: > I have a complex summation equation that I'm trying to simplify. However, I keep getting a number of error messages that I can't figure out. > the formula is as follows: > > 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[\((ebitda \\_ t\ \((1 - tax)\))\), \(\((1 + wacc)\)^ > t\)]\) + \!\( > \*UnderoverscriptBox[\(\[Sum]\), \(t = 1\), \(\[Infinity]\)] > \*FractionBox[\(\((dep \\_ t)\)\ tax\), \(\((1 + wacc)\)^ > t\)]\) - \!\( > \*UnderoverscriptBox[\(\[Sum]\), \(t = 1\), \(n\)] > \*FractionBox[\(\((d \\_ 0 - > \*UnderoverscriptBox[\(\[Sum]\), \(t = > 1\), \(n\)]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[\(d \\_ 0/n\), \(\((1 + wacc)\)^t\)]\) - kinv \_ 0 > > and I get the following error messages: > > Syntax::sntxb: Expression cannot begin with "[ebitda \_t](1-tax)". > Syntax::sntxi: Incomplete expression; more input is needed. > > I need help with this errors to be able to simplify this formula. > Please post something human readable. Convert the expression to input form using ctrl+shift+I before posting. The expression in this message cannot be pasted to Mathematica to get a valid expression. -- Szabolcs