Re: Solving an equation
- To: mathgroup at smc.vnet.net
- Subject: [mg51364] Re: [mg51299] Solving an equation
- From: "David Park" <djmp at earthlink.net>
- Date: Fri, 15 Oct 2004 02:46:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Scott, Try FindRoot. As an example... FindRoot[Gamma[z] == 2 + 3*I, {z, 1}] {z -> -1.1423913504357908 + 0.2086374207214744*I} David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Scott [mailto:jujio77 at yahoo.com] To: mathgroup at smc.vnet.net I have an equation, Gamma[a+I b] = some complex number. I need to solve this equation for a and b. I can write a+I b as z, but it can't be solved through NSolve. What I have been doing is a double do loop for a and b and getting some number. Then I compare this to the number I have. Then I narrow down my possibilities for a and b, and go through the process again. Does anyone know of a better way to do this problem? Is there a way to have Mathematica compare each result of the do loop to a given value, and given certain conditions spit out an answer for a and b? Hope that makes sense.