MathGroup Archive 1997

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

Search the Archive

Re: ComplexExpand and FontSize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9159] Re: ComplexExpand and FontSize
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Thu, 16 Oct 1997 03:38:00 -0400
  • Organization: University of Western Australia
  • Sender: owner-wri-mathgroup at wolfram.com

YLEFFLER at UCIS.VILL.EDU wrote:

>         After seeing some of the questions in the news group I have one about
> the Simplify command.  It doesn't seem to know DeMoivre's theorem.  For example
> in trying to work with Spherical Harmonics you often want the Sin and Cos
> combinations of a +/- pair but you cannot get this without typing it in.

I think you are looking for ComplexExpand, e.g.,

In[1]:= SphericalHarmonicY[2, -1, t, p]

Out[1]=
		1                 15
		- Exp[-I p] Sqrt[----] Cos[t] Sin[t]
		2                2 Pi

In[2]:= ComplexExpand[%]

Out[2]=
		1       15
		- Sqrt[----] Cos[p] Cos[t] Sin[t] - 
		2      2 Pi
 
		  1         15
		  - I Sqrt[----] Cos[t] Sin[p] Sin[t]
		  2        2 Pi

>         I have a second question about the Notebook font size.  I would like to
> change it but dont know the file.  I have looked in 3.0 book and in the 2.2
> Front End manual but neither seems to mention it.

There are many ways.  To change all cells in a Notebook, it is best to
edit the StyleSheet (under the Format menu).  Alternatively, you might
change the screen magnification or use Format/Screen Style
Environment/Presentation.

Cheers,
	Paul 

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907       
mailto:paul at physics.uwa.edu.au  AUSTRALIA                            
http://www.pd.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________


  • Prev by Date: Re: Mathematica <-> fortran
  • Next by Date: Re: Elliptic and Theta functions
  • Previous by thread: Re: Mathematica <-> fortran
  • Next by thread: Q: residual standard deviation