write a java program to find sum = −1/+10 + a−2/+9 + a−3 /+8 + ⋯ … … … … … … … … … … … −10/ +1
Answers
Answered by
23
Answer:
✌
@❥╬٨ـﮩﮩ❤٨ـﮩﮩـ╬❥Rational number, in arithmetic, a number that can be represented as the quotient p/q of two integers such that q ≠ 0. In addition to all the fractions, the set of rational numbers includes all the integers, each of which can be written as a quotient with the integer as the numerator and 1 as the denominator
Answered by
0
Answer:
Given two integers
a and
n . The task is to find the sum of the series 1/a + 2/a2 + 3/a3 + … + n/an.
Examples:
Input: a = 3, n = 3
Output: 0.6666667
The series is 1/3 + 1/9 + 1/27 which is
equal to 0.6666667
Input: a = 5, n = 4
Output: 0.31039998
Similar questions
English,
19 days ago
Social Sciences,
19 days ago
Science,
1 month ago
World Languages,
1 month ago
Physics,
9 months ago
History,
9 months ago
English,
9 months ago