[R] How to solve this complex equation

Rolf Turner
2015-02-10T08:29:38Z

On 10/02/15 14:04, Ssuhanchen wrote:
> Hi!
>
> I want to use R to calculate the variable x which is in a complex equation
> in below:
>
>   2
>   ?[exp(-x/2)*(x^k)/(2^k*k!)]=0.05
> k=0
>
> how to solve this equation to get the exact x in R?

Is this homework?  Sure looks like it.  Talk to your prof.  Or do a bit
of work on learning how to use R --- which is presumably the point of
the exercise.

cheers,

Rolf Turner

--
Rolf Turner
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
Home phone: +64-9-480-4619