nstructions: Ce perfect of the problems under, vision the R commands and the consequences of the R commands into the chill punches.
Show that the sober quantity e π i = -1 + 0i. Vision your R statement and consequence into the punch under. (Hint: the spurious number i can be created using (0+1i) in R. (1 summit)
You are asked to reckon e π i and you are hinted that i = (0+1i).
>exp in your jurisprudence stands ce e, pi stands ce π and (0+1i) for i. Plug those values into the original e π iequation & work-out it.
how do i invade the cemula into the R programming
Formula implementation in R Programming:
exp(1) is equiponderant to e which is 2.718282
π can be written in R as pi which is equiponderant to 3.14159
i can be represented in R as (0+1i).
When you reckon ce e π i which can be written i R langugae as
exp(1)*pi*(0+1i) which gives 0+8.539734i as output.