1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
asambeis [7]
3 years ago
9

Write a function file that accepts the values of r, a and n as arguments and uses a for loop to return the sum of the first n te

rms of the geometric series. test your function for a = 3, r = 1/2 and n = 10.
Computers and Technology
1 answer:
Murrr4er [49]3 years ago
7 0

Given, a = 3, r = 1/2, n = 10

%r is common ratio

%n is number of terms

%a is the first term of the series

Sum = 0;

a = 3;

r = 1/2;

for i = 0 : 1 :  10;

Sum = Sum + a * r ^ i;

end

Sum


You might be interested in
What is the full form of EPROM (CLASS-6)
vodomira [7]

Answer:

earth planet rest orbit moon

4 0
3 years ago
Read 2 more answers
Thegroup of technologies concerned with the capturing, processing and transmissionof information in the digital electronic form
lorasvet [3.4K]

Answer: Telecom engineering

Explanation:

As, the telecom engineering is the process of capturing, processing and transmission of information in the digital form. Basically, it is responsible for transmission of data by converting the analog signal into the digital form by using various optical fiber tools and electronic service system. It is the type electronic data exchanger by which information is transmitted by using cables or wires.

6 0
3 years ago
Had you guys go to prom by yourself or someone in your senior class
Bess [88]

Answer: I didn’t have a “date”, I went with friends.

4 0
3 years ago
Read 2 more answers
The question "How is traffic affected by fans leaving the stadium?" is related to which of the following?
Vsevolod [243]
This question is a bit ambiguous. However, this is what I found.

This question is related to Egress and Ingress. The answer in this case is Egress.

Basically, Egress is another name for exit and is used in very many situations to mean leave. Thus, in this example, Egress may mean flow of fans out of a stadium. Typically, it is an opening or a path for an exit. On the other hand, Ingress means flow of fans into the stadium and the roads that lead to the stadium.






8 0
3 years ago
Which value for the display property is useful when configuring horizontal navigation within an unordered list?
ikadub [295]
The Block:Inline is the value for the display property which is very useful when configuring horizontal navigation within an unordered list.The element will be still supplied as an inline element even in actual it is really a block element.
6 0
3 years ago
Other questions:
  • Tomi is testing all of the links on her web page by clicking on each one in a browser. What type of testing is this considered?
    6·2 answers
  • _____ rows indicate that there is different formatting for odd and even rows.
    14·1 answer
  • Which of these automotive repair areas helps the vehicle change speeds to operate efficiently under all conditions?
    5·1 answer
  • Select the recommended design practice that applies to a web site using images for main site navigation.
    7·1 answer
  • What is an advantage and disadvantage to file compression
    8·1 answer
  • What word describes a violation of copyright laws? What rights do copyright holders have over their work of art
    5·2 answers
  • Label provides the code that executes if no case label is matched ​
    6·1 answer
  • WAFL (write-anywhere file layout) Select one: a. is a distributed file system b. is a file system dedicated to single user opera
    6·1 answer
  • Hey does anyone know the name of that movie where like this teenage girl is chilling at her house then there is an outbreak of s
    6·1 answer
  • In ip address 202.54.15.178, 15.178 is ______ address.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!