Re: Electrical Power Systems
- To: mathgroup at smc.vnet.net
- Subject: [mg64037] Re: [mg64018] Electrical Power Systems
- From: "Carl K. Woll" <carlw at wolfram.com>
- Date: Sat, 28 Jan 2006 02:23:58 -0500 (EST)
- References: <200601271013.FAA19058@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
mibelair at hotmail.com wrote:
> Dear group,
> I am running Mathematica 5.2 and I would like to find a package to
> operate with exponential expresions and numerical values for Electrical
> Power Systems.
>
> For example,
> 220 E^(Pi/2)+220 E^(5 Pi/6) yields 380 E^(2 Pi/3)
I think you forgot to include I in your exponentials. At any rate, if
you want to convert expressions to polar form, you can try:
toPolarForm[z_]:=Abs[z]Exp[I Arg[z]]
Then, for your example we have:
In[30]:=
toPolarForm[220Exp[I Pi/2]+220Exp[5I Pi/6]]//OutputForm
Out[30]//OutputForm=
(2 I)/3 Pi
220 Sqrt[3] E
Carl Woll
Wolfram Research
- References:
- Electrical Power Systems
- From: mibelair@hotmail.com
- Electrical Power Systems