Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Getting answer out of a ConditionalExpression[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132114] Getting answer out of a ConditionalExpression[]
  • From: Roger Bagula <roger.bagula at gmail.com>
  • Date: Thu, 12 Dec 2013 01:27:40 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

I'm interested in getting a plot-able array out of the following:
Clear[x]
Table[Solve[(1 + Exp[I*(n*Pi/6 + x)])*(1 + Exp[-I*(n*Pi/6 + x)]) == 
   1/((1 - Exp[I*n*Pi/6])*(1 - Exp[-I*n*Pi/6])), x], {n, 1, 11}]

There are two problems:
1) getting the answers out of the 
{x -> ConditionalExpression[
   1/6 (-\[Pi] + 6 I (-((I \[Pi])/6) + 2 I \[Pi] C[1])), 
   C[1] \[Element] Integers]}
and 
2) removing the C[1] terms

I'm particularly interested in plotting the phase angles with log expressions:
{x -> ConditionalExpression[
   1/2 (-\[Pi] + 2 I (2 I \[Pi] C[1] + Log[1/4 (-3 - I Sqrt[7])])), 
   C[1] \[Element] Integers]}, {x -> 
  ConditionalExpression[
   1/2 (-\[Pi] + 2 I (2 I \[Pi] C[1] + Log[1/4 (-3 + I Sqrt[7])])), 
   C[1] \[Element] Integers]}

Roger Bagula



  • Prev by Date: Re: gives 919.8359999999999?`
  • Next by Date: Re: delayed (numerical) matrix inversion in NDSolve?
  • Previous by thread: Re: Mathematica Patches or Incremental Updates
  • Next by thread: Re: Getting answer out of a ConditionalExpression[]