Question #16903

e^x in java

Expert's answer

public class main
{
public static void main(String[] args)
{
int
x=2;
double res=Math.pow(Math.E,
x);
System.out.println(res);
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS