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
AleksAgata [21]
3 years ago
7

(Geometry: area of a regular polygon)

Computers and Technology
1 answer:
nata0808 [166]3 years ago
8 0

Answer:

import math

n = int(input("Enter the number of sides: "))

s = float(input("Enter the length of a side: "))

area = (n * s**2) / (4 * math.tan(math.pi/n))

print("The area is: " + str(area))

Explanation:

*The code is in Python.

Import the <u>math</u> to be able to compute the <em>pi</em> and <em>tan</em>

Ask the user to enter the number of sides and the length of a side

Calculate the area using the given formula

Print the area

You might be interested in
Sharing a workbook helps to complete on time. Multiple people accessing the workbook help to build
BlackZzzverrR [31]
Collaboration skills
7 0
3 years ago
When a cells number format is “time” it will show a value in what format
Leokris [45]

The format of time shows a value of time day (what time it is).

When you choose the option of time you can have it displayed in a variety of formats, including military time and a time display that will change with regional time zones,

3 0
2 years ago
ICD-10-CM diagnosis codes are entered in Block 21 of the CMS-1500 claim. A maximum of __________ ICD-10- CM codes may be entered
SVETLANKA909090 [29]

Answer:

The answer to this question is 12.

Explanation:

You can enter a maximum of 12 ICD-10-CM codes on a single claim.Since we know that the codes entered in CMS-1500 claim are in the block of 21 in ICD-10-CM diagnosis.This should be kept in mind always in medical insurance.

So we conclude that the answer to this question is 12.

5 0
3 years ago
you are requsted to help a user who reports that he has no more local storage space. you go to his system and log in as user. Wh
Irina-Kira [14]

Answer:

DISKPART

Explanation:

type diskpart command at command prompt and allow access to this command to access your disk info. it will give the available disk space on all partions

7 0
3 years ago
What will display after the following code executes?password = 'ILOVEPYTHON'if password.isalpha(): print('Invalid, must contain
Lelu [443]

Answer:

Invalid, must contain one number

Explanation:

The program will assign ILOVEPYTHON to the password variable and start checking the cases stated below.

password.isalpha(): is true for the given password value and the code will execute, the display will show "Invalid, must contain one number." and it will bypass the elif and else statements.

I hope this answer helps.

4 0
3 years ago
Other questions:
  • Jackie is planning a birthday party for her little brother and is researching different trampoline parks. She receives a pop-up
    12·2 answers
  • Because log-on procedures may be cumbersome and tedious, users often store log-on sequences in their personal computers and invo
    6·1 answer
  • What are three requirements of information technology a. Accuracyb. _______________________________c. __________________________
    13·1 answer
  • Please help me answer this question
    14·1 answer
  • #Electrical Engineering
    13·1 answer
  • Explain what middleware is. Name a common middleware in two-tier client/server architecture for database applications.
    10·1 answer
  • In your own words, describe how a network administrator can use the OSI model to isolate a network problem.
    13·1 answer
  • If you want an app to reach the largest possible audience, which two platforms should you use?
    10·1 answer
  • When you are saving a file, what does word suggest by default as the name of the document?
    8·2 answers
  • Which option should Gina click to edit the text contained in a text box on a slide in her presentation?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!