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
Vladimir79 [104]
3 years ago
6

Write an algorithm to find the sum of the following series:

Computers and Technology
1 answer:
natima [27]3 years ago
3 0

Answer:

The algorithm is as follows:

Input x

sum_a = 0

sum_b = 0

sum_c = 0

for i = 0 to 20

   sum_a = sum_a + x^i

   sum_b = sum_b + (-x)^i

   sum_c = sum_c + x^i/(i+1)

print sum_a, sum_b, sum_c

Explanation:

Required

An algorithm to solve (a), (b) and (c)

For Series (a):

This series is a geometric progression and the common ratio is x

i.e.

r = x/1 = x^2/x = ...... = x^{n+1}/x^n =x

So, the sum of the series is:

Sum = Previous Sums + x^i --- where i is between 0 and 20 (inclusive)

For Series (b):

This series is a geometric progression and the common ratio is -x

i.e.

r = -x/1 = -x^2/x = ...... = -(x^{n+1}/x^n) = -x

So, the sum of the series is:

Sum = Previous Sums + (-x^i) --- where i is between 0 and 20 (inclusive)

For Series (c):

This series is a neither arithmetic nor geometric progression.

It obeys the following rule:

\frac{x^i}{1+i}  --- where i is between 0 and 20 (inclusive)

So, the sum of the series is:

Sum = Previous Sums + \frac{x^i}{1+i}

You might be interested in
What is the primary language used to write web content and is the default format for Outlook messages?
Doss [256]

Answer:

I think its plain text but I might be wrong

7 0
3 years ago
What validation type would you use to check that numbers fell within a certain range? a) range check b)presence check c)check di
olga2289 [7]

Answer:

a) range check

Explanation:

Validation can be defined as an automatic computer check that is designed to ensure any data entered is sensible, consistent, feasible and reasonable.

Basically, there are five (5) main validation methods and these includes;

I. Presence check: checks that the user enters (inputs) data into the field. It ensures a field isn't accidentally left blank.

II. Length check: checks that the data entered isn't too short or too long. It ensures that the data meets the minimum characters.

III. Type check: checks that the data entered is in the right format. For example, string, integer, float, etc.

IV. Check digit: checks that the digit entered is acceptable and consistent with the rest of the digits.

V. Range check: checks that the data entered is between the accepted lower (minimum) and upper (maximum) level.

Hence, range check is a validation type you would use to check that numbers fell within a certain range.

For example, 0 < x > 1000 is a range check.

4 0
3 years ago
CAN SOMEONE PLEASE PLEASE HELP ME OUT !!!!
34kurt

Answer:the answer is A

Explanation: develop a test to see what kind of circuits it takes to power a oven

4 0
3 years ago
What name is used to denote a common field that exists between two tables, but is also the primary key for one of the tables??"
Diano4ka-milaya [45]

Answer:

b. foreign key

Explanation:

In the database world, a foreign key is a field on one table and a primary key for another table. The purpose of a foreign key is to provide linkages between two or more tables. Given two tables A and B, and making A the point of reference, a primary key is a field that is unique in A while a foreign key is unique in B.

On another hand, a composite primary key is a combination of two or more fields/columns on database table that can be used to uniquely identify each row in the table.

In the database lingua, what we have is a unique key not a distinct key, though the two words are similar in meaning.

A duplicate key is used when an information may be repeatedly entered on a table.

So the correct option is a foreign key.

4 0
4 years ago
Perform the following memory unit.
andrey2020 [161]

Answer:

............................

Explanation:

6 0
3 years ago
Other questions:
  • Navigational signs on the highway are often which colors?
    10·2 answers
  • Write a function called ReverseLetters that takes an input phrase consisting of a single word and reverses the sequence of lette
    15·1 answer
  • What is one way to process your thoughts about the information you are reading?
    14·2 answers
  • Which one of the following parts of a universal motor does not move? A. The armature B. The field coil C. The shaft D. The commu
    5·1 answer
  • What is network hardware?
    10·1 answer
  • Artificial intelligence seeks ways to improve a computer's capabilities in ____ and reasoning tasks. intellectual computational
    13·1 answer
  • Whats an MAR? lolz better not take my points #bonkers
    12·2 answers
  • Write down eight points on how modern technology have effected our life ?
    12·1 answer
  • Computer network reduces the cost. explain the statement with example.​
    8·1 answer
  • In Fantasy Football, participants compete against one another by choosing certain players from different NFL teams that they thi
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!