subject

Find the sum of Geometric progression Given three integers N1 and N2 and N3, find the sum of a Geometric Progression. Input: 5 2 where: • First line represents the value of N1 which is the first term of G. P. • Second line represents the value of N2 which is the number of terms in the G. P. • Third line represents the value of N3 which is the common ratio of G. P. Output: 93.000000
Explanation:
A geometric sequence is a sequence such that an element is obtained by multiplying the previous term by the common ratio r. The common ratio r is obtained by dividing any term by the preceding term.
Here N1 represents the first term, N2 is number of elements in G. P. and N3 represents the common ratio of G. P.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 23:30
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
question
Computers and Technology, 24.06.2019 20:20
3. write assignment statements that perform the following operations with the variables a, b, and c: a. adds 2 to a and assigns the result to b b. multiplies b times 4 and assigns the result to a c. divides a by 3.14 and assigns the result to b
Answers: 2
question
Computers and Technology, 24.06.2019 22:10
Function name: poly parameters: int returns: int description: a polynomial of degree n with coefficients a0,a1,a2,a3, . . ,an is the function p(x) = a0+a1x+a2x2+a3 ∗ x3+ . . +an ∗ xn this function can be evaluated at different values of x. for example, if: p(x) = 1+2x+ x2, then p(2) = 1+2 ∗ 2+22 = 9. if p(x) = 1+x2+x4, then p(2) = 21 and p(3) = 91. write a function poly() that takes as input a list of coefficients a0, a1, a2, a3, . . , an of a polynomial p(x) and a value x. the function will return poly(x), which is the value of the polynomial when evaluated at x.
Answers: 3
question
Computers and Technology, 25.06.2019 01:30
What was the advantage of using transistors instead of vacuum tubes in the second-generation computers? a. computers were drastically reduced in size. b. computers no longer produced errors. c. computers became affordable. d. computers could run on electricity.
Answers: 1
You know the right answer?
Find the sum of Geometric progression Given three integers N1 and N2 and N3, find the sum of a Geome...
Questions
question
English, 21.05.2020 21:01
Questions on the website: 13722367