# Homework Solution: nstructions: For all of the problems below, copy the R commands and the results of the R commands into the green boxes….

nstructions: For all of the problems below, copy the R commands and the results of the R commands into the green boxes. Show that the mathematical quantity e π i = -1 + 0i. Copy your R statement and result into the box below. (Hint: the imaginary number i can be created using (0+1i) in R. (1 point) You are asked to calculate e π i  and you are hinted that i = (0+1i). >exp in your code stands for e, pi stands for π   and (0+1i) for i. Plug those values into the original e π iequation & solve it. how do i enter the formula into the R programming

Formula implementation in R Programming: R-Code:

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

## Expert Counter-argument

Formula implementation in R Programming:

R-Code:

exp(1)*pi*(0+1i)

Output Screenshot:

Explanation:

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.