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
In hunter-gather societies most hunting was done by
Tanya [424]

the answer to this was men

5 0
3 years ago
Read 2 more answers
What type of relational methods that allow you to insert or update records and extract information from records for viewing? com
eimsori [14]

Data Manipulation Language (DML) allows a user to insert or update records and extract information from records for viewing.

<h3>What is a relational database?</h3>

A relational database is a type of database designed and developed to store, structure and recognize relation which exist between data points and items of information.

In database management system (DBMS), a type of relational methods which allows an end user to insert or update records and extract information from records for viewing is known as Data Manipulation Language (DML).

Read more on database here: brainly.com/question/13179611

#SPJ12

7 0
2 years ago
even if we reach that state where an AI can behave as human does,how do we measure if AI is acting like a human?
xxTIMURxx [149]

A person can be able to measure if AI is acting like a human by the use of   Turing test.

<h3>How do we measure of artificial intelligence is acting like a human?</h3>

One can measure if AI is  Acting humanly via the use of a human who is said to interrogates the program and also the use of another person through the use of a terminal simultaneously.

Note that If after some amount of time or period, the interrogator is said to be unable to tell which is which, the program is said to have passed. To pass this test it is one that needs natural language processing.

Hence, A person can be able to measure if AI is acting like a human by the use of Turing test.

Learn more about AI from

brainly.com/question/25523571

#SPJ1

4 0
1 year ago
What is the job of a bootloader?
VladimirAG [237]

Answer:

A bootloader, also known as a boot program or bootstrap loader, is a special operating system software that loads into the working memory of a computer after start-up.

Explanation:

6 0
3 years ago
Read 2 more answers
State several reasons why a transistor amplifier circuit might show distortion in the output signal
FinnZ [79.3K]
<span>There are many reasons why a transistor amplifier circuit might show signal distortion:</span> <span><span>·    

</span>*Too much signal to be amplified leading to clipping</span> <span><span>·    
</span>*Amplification is not taking place due to incorrect biasing</span> <span><span>·    
</span>*The signal is on the frequency range is not linear</span>
5 0
3 years ago
Other questions:
  • Java - Given a String variable response that has already been declared, write some code that repeatedly reads a value from stand
    12·1 answer
  • Users of an extranet can access a company or organization’s entire intranet
    8·2 answers
  • Which layer of the osi model is mainly concerned with routing packets of data from one network card to another across a large ne
    9·1 answer
  • Que es lo que me recomiendan estudiar? :v
    10·1 answer
  • With landscape photography, which depth of field do you normally want? A) Small B)Small to Medium C)Large D)With landscapes it d
    7·2 answers
  • What determines how a system will work to meet the business needs defined during system investigation?
    13·1 answer
  • How should resumes and cover letters be written to help you obtain a job that meets your
    14·1 answer
  • An attacker has hidden an NFC reader behind an NFC-based kiosk in an airport. The attacker uses the device to capture NFC data i
    12·1 answer
  • Explain the working principal of computer system with suitable diagarm​
    9·1 answer
  • Why is the engineering design process important to the customer?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!