# Re: [LON-CAPA-users] Algebra Expression Rendering in LON-CAPA

Hi,

It’s \sum

as in

\sum_{n=1}^{\infty}

- Gerd.

> On Jan 13, 2017, at 10:29 AM, Harding, Gene L <glhar...@purdue.edu> wrote:
>
> Hi,
>
> I am having trouble rendering an algebraic expression with a summation sign
> (capital Sigma). I want an expression that looks like this, using variables
> for the numeric portions of the expression:
> <image003.jpg>
> I am able to render the integration sign using this code:
> $function = "$numer/$denom [pi + int($sum_numer/($sum_denom_n_coeff n - >$sum_denom_const),1,3)*sin($w nt)]"; > …providing an expression that looks like this: > <image004.png> > > But when I try to render the summation sign using this code: >$function = "$numer/$denom  [pi + sum($sum_numer/($sum_denom_n_coeff n -
> $sum_denom_const),n,1,3)*sin($w nt)]";
> …I get the following:
> <image005.png>
>
> I have spent a couple of hours looking through the Maxima Manual and other
> references, as well as some examples I have found online, but have not been
> able to figure out the syntax for rendering the summation sign. Can anyone
> offer advice on how to do this?
>
> Also, although not so important, if someone can tell me how to replace the
> outer parentheses with square brackets, and/or how to display the numeric
> part of the sine argument with commas (e.g., 90,000 vs 90000), I would really
> appreciate it.
>
> Thanks,
>
> Gene L. Harding, PE
> Associate Professor of ECET
> 574-520-4190
> Purdue University-South Bend
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

--
Gerd Kortemeyer, Ph.D.
Associate Professor of Physics
Director, LON-CAPA Project
Michigan State University
http://www.msu.edu/user/kortemey/

_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users