Re: How can I make the NSolve output the roots meeting the constraint
- To: mathgroup at smc.vnet.net
- Subject: [mg86452] Re: How can I make the NSolve output the roots meeting the constraint
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 11 Mar 2008 05:33:11 -0500 (EST)
- Organization: Uni Leipzig
- References: <fr5e83$od3$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, Select[NSolve[ z^6 == 1, z], Abs[Im[z /. #]] < $MachineEpsilon && Re[z /. #] > 0 &] Regards Jens Elements wrote: > Hi everyone, > I'm dealing with an equation with NSolve, and there are many roots > of this equation, but I only need the roots which a real and positive. > So which function or option should I choose? > Thanks! >