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, 21.06.2019 20:20
Sometimes writers elaborate on the truth when recalling past events so they can enhance their narrative essay with more interesting descriptions. do you feel that published writers should or should not embellish real life events just to make their stories more interesting?
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
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
Mathematics, 09.08.2021 02:10
question
Mathematics, 09.08.2021 02:10
question
Chemistry, 09.08.2021 02:10
Questions on the website: 13722363