1/a+1/a^1+1/a^2+1/a^3+1/a^4+1/a^5 . java programing Loop
solved step by step
Answers
Answered by
0
Explanation:
Input : a = 2 and n = 5
Output : 6.26667
We get result by adding
2^1/1! + 2^2/2! + 2^3/3! + 2^4/4! +
2^5/5!
= 2/1 + 4/2 + 8/6 + 16/24 + 32/120
= 6.26667
Similar questions
Math,
1 day ago
Sociology,
1 day ago
Math,
3 days ago
Math,
8 months ago
Environmental Sciences,
8 months ago