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
Alina [70]
3 years ago
14

How to write the algorithm to calculate the square of five numbers

Computers and Technology
2 answers:
ioda3 years ago
6 0

Answer:

1. A = 7 and B = 12 here...

2. A^2 = 49 thus final answer will have 9 at units place and 4 is carried to add later.

3. Given number multiplied by 'B' => 127*12 = 1524

4. A*B => 12*7 = 84

5. 1524+84 = 1608 ..... ( step 3 + step 4 )

6. 1608+4 =1612 .... (4 is carried as stated in step 2)

7. Now, 16129 is the answer... (From step 2 and 6)

Explanation:

Divide the number in two parts with one part containing only the number at unit's place say part 'A', and other part say 'B', containing the remaining number.

Now square the number at unit's place. The square will be one of these; {0,1,4,9,16,25,36,49,64,81}. The unit's place digit in this square is the unit's place digit in actual final answer.Write it in the answer. If the square of digit at unit's place is a two digit no like from 16 to 81 in above set; write only the digit at unit's place from this square in the final answer and carry the remaining digit.

Multiply the actual number to be squared by part 'B'(the remaining part than the number at unit's place as described in step 1 ).

Multiply the parts 'A' and 'B'.

Add results of step 3 with results of step 4.

Add the carried digit from step 2 to the sum in prior step, that is step 5.

Now write this sum before the number we wrote at unit's place of final answer in step 2.

This number we now obtain from step 7, is the square of our number.

Scilla [17]3 years ago
6 0

Answer:

1.Start Algorithm

2.Enter first number

3.Enter second number

4.Enter third number

5.Enter fourth number

6.Enter fifth number

7.Add five number

8.display five number / 2

9.Display result

10.End Algorithm

Explanation:

You might be interested in
Which term accurately describes agile and devops
Elza [17]

Answer:

Answer: Agile is refers to an interative approuch which focuses on collaboration, costumer feedback,and small rapid releases,DevOps is considered a practice bringing development and operations teams together

Hope this is helpful for you

7 0
3 years ago
In fixed-width files, each record is on a separate line and the fields are separated by a special character.
Vesnalui [34]

Answer:

B. False.

Explanation:

Microsoft Access is a database application used to create and query existing database.

A fixed-width file in access is a file in which each record appears on a separate line and the width of each fields are consistent across records. This means a seven character field remains a seven character field from record one to the nth record.

So the field is a fixed-width file is not separated by a special character.

3 0
3 years ago
WILL THUMBS UP!!!!!ALL COMMENTS!!!!!!
Mariulka [41]
True

the Articles of Confederation are finally ratified. The Articles were signed by Congress and sent to the individual states for ratification on November 15, 1777, after 16 months of debate. Bickering over land claims between Virginia and Maryland delayed final ratification for almost four more years. Maryland finally approved the Articles on March 1, 1781, affirming the Articles as the outline of the official government of the United States. The nation was guided by the Articles of Confederation until the implementation of the current U.S. Constitution in 1789.
4 0
3 years ago
When testing a game, why might you consider throttling the game’s “frames per second”?
Ivenika [448]

Answer:

because if you throttle it then

you can make sure it's okay

4 0
3 years ago
Many networks are set up using a hierarchical architecture to create a "backbone" network. In this system, several connected rou
34kurt

Answer:

Explanation:

For example with the hierarchical network design of Cisco (three-layer) it is worth mentioning the following benefits:

- This type of infrastructure is highly reliable

- The complex problem regarding network design is broken into smaller and manageable areas.

- Improved access, access, core layers and distribution

-  The hierarchy provides specific functions important in defining its role within the whole network.

Regarding the access layers in the hierarchy the following are core benefits:

- Layer 2 switching

- Virtual access control lists (VACLs)

- Power over Ethernet (PoE) and auxiliary VLANs for VoIP

- Spanning tree

- High availability

- Port security

- Address Resolution Protocol (ARP) inspection

5 0
4 years ago
Other questions:
  • What OS is most commonly used by businesses? Linux Macintosh Microsoft Windows
    11·1 answer
  • State three differences between a hard drive and a pen drive​
    6·1 answer
  • 5. Write a function that takes two lists of integers and returns a list containing tuples with corresponding elements from both
    8·1 answer
  • Which of the following is considered technology?
    12·1 answer
  • Which view is easiest and most recommended for changing the order of the slides? A. Slideshow View B. Slide Sorter View C. Readi
    5·2 answers
  • The ELECTRONIC COMMUNICATIONS PRIVACY ACT prohibits unauthorized eavesdropping by all persons, businesses, and the government.
    5·1 answer
  • FREE BRAINLIEST!!!!
    7·2 answers
  • What connections do you see between variables and the Input-Output-Store-Process model of a computer?
    5·1 answer
  • Marcus creates a HTML webpage on his favourite game, football. On clicking the word “football” another website containing the in
    14·1 answer
  • It displays the contents of the active cell. It allows you to enter and edit data, such as formulas.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!