Re: Symbolic Formula
- To: mathgroup at smc.vnet.net
- Subject: [mg106352] Re: Symbolic Formula
- From: magma <maderri2 at gmail.com>
- Date: Sun, 10 Jan 2010 03:29:09 -0500 (EST)
- References: <hi6t74$a7b$1@smc.vnet.net>
On Jan 8, 10:17 am, John <j... at lehigh.edu> wrote: > Mathematica 6, Windows XP > > The left-hand-side of the equality appearing below is shorthand > notation for the the probability that would be computed, if the right > hand side was evaluated for specified values of n and p. The > appearance of the equality is suitable for displaying in class on a > projector. > > Grid[{{"P(X=j|n,p)=", Binomial[n, j] // TraditionalForm , > "\!\(\*SuperscriptBox[\"p\", \ > \"j\"]\)(1-p\!\(\*SuperscriptBox[\")\", > RowBox[{\"n\", \"-\", \"j\"}]]\)"}}, Frame -> True, > Spacings -> {.5, 2}, > ItemStyle -> Directive[FontFamily -> "Tahoma", Bold, 24]] > > The cumulative distribution function includes a summation sign on the > right-hand-side of the equality, but the appearance of my attempts to > insert the summation sign are not acceptable. > > Appearance matters because the equality is displayed on a projector > and viewed by students in class. > > John Perhaps something like this? (mathematically it is not correct, I just show how to print the summation) Grid[{{"P(X=j|n,p)=", Style["\!\(\*UnderoverscriptBox[\"\[Sum]\", RowBox[{\"j\", \"=\", \"1\"}], \"n\"]\)", Italic, 32], Binomial[n, j], p^j (1 - p)^(n - j)}}, Frame -> True, Spacings -> {.5, 2}, ItemStyle -> Directive[FontFamily -> "Tahoma", Bold, 24]] // TraditionalForm