Re: Solve for positive, real-valued solutions
- To: mathgroup@smc.vnet.net
- Subject: [mg12466] Re: [mg12415] Solve for positive, real-valued solutions
- From: Bob Hanlon <BobHanlon@aol.com>
- Date: Tue, 19 May 1998 13:31:34 -0400
Try something along this line: TableForm[Table[{c, Select[Solve[P[c, a] == 0.02, a], Head[a /. #1] === Real && (a /. #1) > 0 & ]}, {c, 10}]] Bob Hanlon In a message dated 5/14/98 6:30:29 PM, walterj@omega.uta.edu wrote: >How can I tell Solve[] to give me only positive, real-valued solutions? > >Long Version: > >I am trying to build a table of values for use in a database. The >expression is > >P[c_,a_]:=(a^c/c!)/Sum[a^i/i!,{i,0,c}].