For this lab, you will find the area of an irregularly shaped room with the shape as shown above.

Ask the user to enter the values for sides A, B, C, D, and E and print out the total room area.

Remember the formula for finding the area of a rectangle is length * width and the area of a right triangle is 0.5 * the base * height.

Please note the final area should be in decimal format.

Sample Run
Enter side A: 11
Enter side B: 2
Enter side C: 4
Enter side D: 7
Enter side E: 1
Sample Output
Room Area: 53.5

For This Lab, You Will Find The Area Of An Irregularly Shaped Room With The Shape As Shown Above.Ask

Answers

Answer 1

The python program code is written to find the area of the shape.

What is meant by area?

The size of a region on a planar or curved surface is expressed mathematically as area. The term "surface area" refers to the area of an open surface or the perimeter of a three-dimensional object, whereas "plane area" refers to the area of a shape or planar lamina.

The program is given as:

print('Please, enter sides lengths:')

# Getting sides lengths

a, b, c, d, e = map(float, (input('A = '), input('B = '), input('C = '), input('D = '), input('E = ')))

# Finding a rectangle area

rect_area = a * b

# Finding a triangle area

triang_height = (c**2 - (a / 2)**2)**0.5

triang_area = 0.5 * a * triang_height

# Sum area

area = rect_area + triang_area

print('Total room area: %f' % area)

To know more about rectangles, visit:

https://brainly.com/question/29085356

#SPJ1


Related Questions

Rugged cabin co. provides pre-made materials to build cabins. to ensure materials are in supply and ready for quick delivery, the company offers cabins in only three sizes. each cabin has rectangular floor plan where the length is equal to 5 feet more than twice the width. which expression represents the area, in square feet, for each cabin size?A. 2w^2 + 5w, where w is the widthB. 2w^2 + 5, where w is the widthC. 2w^2, where w is the widthD. 10w^2 + 5 w, where w is the width

Answers

The expression that represent the area of the cabin for rectangular floor plan is 2w² + 5w.

What is the area of rectangular shape?

In essence, the area of a rectangle is equal to the sum of its length and breadth. In contrast, the circumference of a rectangle is equal to the product of its four sides. Consequently, we can say that the area of a rectangle equals the space enclosed by its perimeter.

Given that the length of a cabin is equal to 5 feet more than twice the width.

Assume that the width of the cabin be w.

Then the mathematical expression of twice the width is 2w.

Then the mathematical expression of 5 feet more than twice the width is 2w + 5.The length of the cabin is 2w + 5 feet.

The area of rectangular shape is product of length and width.

The area of the cabin is (2w + 5)w

Apply distributive property:

= 2w × w + 5 × w

= 2w² + 5w

To learn more about expression click on below link:

https://brainly.com/question/11516438

#SPJ1

the correlation between cost and distance is 0.791. describe the relationship between cost of damage and distance from the nearest fire station.

Answers

According to the question,

Given data,

The correlation between cost and distance is 0.791.

The farther the house is from a first station, the higher cost of damage tends to be.

the correlation between cost and distance

The largest single cost of liver transplantation is the cost of organ acquisition, with the variable portion of that amount being associated travel costs. We assessed the proportion of donors using ground, air, and jet transport and compared the transport costs of these three types of transport and their impact on organ procurement costs for transplant centers.

How is correlation measured?

The sample correlation coefficient r quantifies the strength of the relationship. Correlations are also tested for statistical significance.

To know more about correlation measured visit

https://brainly.com/question/22921782

#SPJ4

There are 30 students in Mrs. Woodward's class and 1/5 of the class has their own cell phone. Of the students that have cell phones, 1/2 of them are allowed to use social media. How many of the students have a cell phone and can use social media?

Answers

Answer: 3 people

Step-by-step explanation:

1/5 of 30 will give us the number of students.

6

1/2 of 6, will give us the number of people who can use social media.

3 people.

Can you please give me the answer you don’t have to solve all but please!!!!!!

Answers

Answer: Reduction: 1/3

Step-by-step explanation:

Remember that if you are dilating it to be larger, it will be a whole number. If it is less than one, then it is dilating to be smaller.

Answer: Reduction 1/3.

Step-by-step explanation: When a shape is transformed into a smaller version of the original, it's a reduction. Reductions are less than 1 so the answer I provided above is what you're looking for.

Have a great day! :)

If you vertically compress the absolute value parent function, F(x) = |x|, by multiplying by 3/4, what is the equation of the new function?

A. G(x) = | 3/4 x |
B. G(x) = |x| - 3/4
C. G(x) = 3/4 |x|
D. G(x) = | x + 3/4 |

Answers

Answer:G(x) = 3/4 |x|, nevertheless that is the same that G(x) = |3/4x|.

Step-by-step explanation:

Note that given that 3/4 is less than 1 the original function is compressed.

- Take care <3

A map of an amusement park is shown on the coordinate plane with the approximate location of several rides.


Determine the distance between the Trolley Train and the Silly Slide.

25 units
7 units
5 units
3 units

Answers

The distance between the Trolley Train and the Silly Slide is 5 units. The  3rd option is the answer

How to determine the distance between the Trolley Train and the Silly Slide?

From the map, the coordinate of the Trolley Train is (-2, -6) and the coordinate of the Silly Slide is (2, -3)

The formula for finding the distance between the two points is given as:

d=√(x₂ – x₁)² + (y₂ – y₁))²).

where

x₁ = -2,

y₁ = -6 (Trolley Train)

x₂ = 2

y₂ = -3 (Silly Slide)

d = √((2 – (-2))² + (-3 – (-6))²)

d = √((4)² + (3)²)

d = √25

d = 5 units

Learn more about the distance between two points on:

brainly.com/question/17704491

#SPJ1

10. Open-Ended Complete the addends so you need to regroup to add. Then find the sum. 4, _ 37 + 1,28_​

Answers

The addends 4, _ 37 + 1,28_ is completed so there will be need to regroup to add.

the addends. 4, 837 + 1,287

the sum is 6124

What is regrouping?

Regrouping refers to rearranging numbers into groups according to place value to assist kids in handling greater numbers.

When performing operations like addition and subtraction on two-digit integers or bigger, regrouping is the process of forming groups of tens. Regrouping refers to the process of performing an operation by rearranging groups in place value.

Using regrouping for the addition problem

addend 4 8 3 7

addend  1 2 8 7

sum                 4

                    1      regrouped to tens column

addend 4 8 3 7

addend  1 2 8 7

sum              2 4

                1         regrouped to hundreds column

addend 4 8 3 7

addend  1 2 8 7

sum           1 2 4

             1              regrouped to thousands column

addend 4 8 3 7

addend  1 2 8 7

sum        6 1 2 4

the sum is 6124

Learn more on regrouping at:

https://brainly.com/question/29637833

#SPJ1

[140,166,132,165,152,168,181,158,173,180,182,163,177,180,142,147,149,178]

Answers

Answer: Mode: 180

Quartiles:

Q1 --> 149

Q2 --> 165.5

Q3 --> 178

Mean: 162.944....

Median: 165.5

Step-by-step explanation:

make g the subject of 3e+4g=7+9eg

Answers

Answer:

the answer is g = (7 - 3e) / (4 - 9e)

Step-by-step explanation:

The subject of an equation is the value or values being solved for. An equation typically consists of two parts: an expression on the left side of an equal sign and an expression on the right side of the equal sign.

The given equation subject of equation is 3e + 4g = 7 + 9eg

Subtraction of 9eg from both sides of the equation

3e + 4g - 9eg = 7 + 9eg - 9eg

3e + 4g - 9eg = 7

Subtract 3e on both sides of the equation

3e + 4g - 9eg - 3e = 7 - 3e

4g - 9eg = 7 - 3e

Factorize g on left side of the equation,

g (4 - 9e) = 7 - 3e

Then divide (4 - 9e) on both sides of the equation,

g = (7 - 3e) / (4 - 9e)

To learn more about equation refer to:

https://brainly.com/question/22688504

#SPJ1

Help me aspp please before 11:59 pm

Answers

(5,0) and (0,10)
(0,10) is the y intercept

Match each theorem with its description.

Answers

(3) Isosceles triangle Theorem

(8) Same side Interior angle Theorem

(2) Triangle sum Theorem

(1) Vertical angle Theorem

(7) Alternate exterior angle Theorem

(5)Corresponding angle Postulate

(6)Alternate exterior angle Theorem

(4) Triangle midsegment Theorem

What is isosceles triangle?

An isosceles triangle in geometry is a triangle with two equal-length sides. It can be stated as having exactly two equal-length sides or at least two equal-length sides, with the latter definition containing the equilateral triangle as an exception.

Isosceles triangle Theorem: A triangle's opposite angles are also congruent if its two sides are.

Same side Interior angle Theorem:

The same side interior angles are additional when two parallel lines are cut by a transversal.

Triangle sum Theorem:

According to the triangle's "angle sum property," a triangle's interior angles add up to 180°.

Vertical angle Theorem:

When two straight lines collide, two sets of linear pairs with identical angles are created.

Alternate exterior angle Theorem:

The alternate interior angles or alternate exterior angles that emerge from cutting two parallel lines by a transversal are congruent.

Corresponding angle Postulate:

The related angles are equivalent if a transversal cuts two parallel lines.

Alternate exterior angle Theorem:

The alternate interior angles or alternate exterior angles that emerge from cutting two parallel lines by a transversal are congruent.

Triangle midsegment Theorem:

The section connecting a triangle's two sides at their midpoints is parallel to and only half as long as the third side.

To learn more about theorem and postulate, click on below link:

https://brainly.com/question/26142429

#SPJ1

Consider the function
What is
f(x) = -2/3x + 5.
ƒ ( − 1/2 )
?

Answers

Answer:

Step-by-step explanation:

0

Answer:

f(1/2) = 5 1/3

Step-by-step explanation

All you need to do is replace each x in the function with -1/2, and you have your answer!

Hope this helps :)

Chang and Carlotta solve this problem in two different ways.
You have $50 in your bank account.
You make $8 per hour mowing lawns.
How many hours must you mow lawns to have a total of $130 in your account?
Use the drop-down menus to complete the sentences below.

Answers

What are variables ?

There are certain things in real life that never change, like your birthday. However, other factors, such as temperature, age, height, etc., change with place and time. These amounts might be referred to as variables because they are changeable.

A symbol (often a letter) used in mathematics to represent an unknowable numerical value in an equation or algebraic statement. A variable can be defined as a quantity that is changeable and not fixed. Variables are crucial since they make up a significant portion of algebra.

Typically, "x" and "y" are used to denote unknowable integers. However, it is not required; any letter will do.

If I have $50 in my bank account and i have to make it $130 by mowing a lawn that means i need to earn on $80 by mowing the lawn

($130 - $50 =$80)  

I can earn $8 per hour by mowing the lawn which means in only need to work for 10 hours to earn $80  ($8 per hour x 10 hours= $80 )

Chang and Carlotta method use different operations to simplify the expression in same order

Chang's method uses variable but Carlotta doesn't

Learn more about Variable from the link below

https://brainly.com/question/17344045

#SPJ1

Eva bought seven and one-half pounds of chocolate chips. She used three and three-fourths pounds in some cookies and two and five-sixths pounds in some muffins. How many pounds of chocolate chips were left?

A three-twelfths pounds
B eleven-twelfths pounds
C one and two-twelfths pounds
D one and seven-twelfths pounds

Answers

Answer:

B

Step-by-step explanation:

[tex]7\frac{1}{2} - 3\frac{3}{4} - 2\frac{5}{6} \\= \frac{15}{2} - \frac{15}{4} - \frac{17}{6} \\(common denominate is 12)\\=\frac{90}{12} -\frac{45}{12} -\frac{34}{12} \\\\=\frac{11}{12}[/tex]

Your answer is B eleven twelfths pounds

12.10p +5.25
11.75p+7.50

Is this no solution

Answers

Answer:

I can't see a solution from what you have given us

in a poll, respondents were asked whether they were planning to vote in the local election. 315 respondents indicated that they were planning to vote and 217 said that they were not. what is the probability that the next respondent questioned will indicate that they are planning to vote?

Answers

The probability that the next respondent questioned would say they plan to vote is 0.59.

What is probability?

The ratio of the number of favorable outcomes to the total number of outcomes of an event is defined as probability.

We know that the probability of an occurrence =the number of favorable outcomes divided by the total number of events.

Given that, 315 respondents stated they planned to vote, while 217 said they did not.

Now, the probability of voting is:

P(voting)=315(315+217)

= 315/532

= 0.59

As a result, the likelihood that the next respondent questioned would say they plan to vote is 0.59.

The probability that the next respondent questioned would say they plan to vote is 0.59.

To learn more about the Probability, go to:

brainly.com/question/11234923.

#SPJ4

at a certain gas station, 35% of the customers use regular unleaded gas, 35% use extra unleaded gas, and the remainder use premium unleaded gas. of those using regular gas, only 50% fill their tanks. of those customers using extra unleaded, 30% fill their tanks, whereas of those using premium unleaded, 30% fill their tanks. if the next customer fills the tank, what is the probability that extra unleaded gas was requested? (give your answer in percentage terms with one decimal point of precision.)

Answers

The probability that extra unleaded gas was requested is 35%.

To find the probability that the next customer requested extra unleaded gas, we need to first find the total probability that any customer requests extra unleaded gas.

Since 35% of customers request extra unleaded gas, the probability that a customer requests it is 35%. Of those customers, 30% fill their tanks, so the probability that a customer requesting extra unleaded gas fills their tank is 30%.

Therefore, the probability that a customer requesting extra unleaded gas fills their tank is (35%) * (30%) = 0.105, or about 10.5%.

This is the probability that the next customer requested extra unleaded gas and fills their tank. To find the probability that the next customer simply requested extra unleaded gas, regardless of whether they fill their tank or not, we need to add the probabilities of them requesting extra unleaded gas and either filling or not filling their tank.

The probability that the next customer requested extra unleaded gas and filled their tank is 0.105, as we calculated above. The probability that the next customer requested extra unleaded gas and did not fill their tank is (35%) * (70%) = 0.245, or about 24.5%.

To find the total probability that the next customer requested extra unleaded gas, we need to add these two probabilities: 0.105 + 0.245 = 0.35, or 35%. This is the probability that the next customer requested extra unleaded gas.

To learn more about probability,

visit; brainly.com/question/29381779

#SPJ4

Solve
e + 0.05 = 9.21

Answers

Answer: e = 9.16

Step-by-step explanation: Although it's not necessary, I would first get rid of the decimals by multiplying both sides of the equation by 100.

That gives is 100e + 5 = 921 which has no decimals.

Now just subtract 5 from each side to get 100e = 916 and

dividing both sides by 100 from here, e = 9.16.


Sometimes business partners do not share the ownership of a
business equally. Instead, they own a percentage of the
business, and each receives that percent of the profits.
Alvarez, Brown, and Chow are partners in a business that
earned $500,000. Alvarez owns 40% of the business. Chow
received $175,000. How much money did Alvarez make?

Answers

Alvarez received $200,000 which is 40% of the profit.

Define percentage.

A value or ratio that may be stated as a fraction of 100 is referred to as a percentage in mathematics. If we need to calculate a percentage of a number, we should divide it by its entirety and then multiply it by 100. The proportion therefore refers to a component per hundred. Per 100 is what the word percent means. The letter "%" stands for it. Rather than being expressed as a fraction, a percentage is a piece of a whole expressed as a number between 0 and 100. Nothing is zero percent; everything is 100 percent; half of something is 50 percent; and nothing is zero percent. You divide the part of the whole by the whole and multiply the result by 100 to get the percentage.

Given

Profit $500000

Alvarez owns 40% of the business.

Percentage

500000 × 40%

200000

Alvarez received $200,000 which is 40% of the profit.

To learn more about percentage, visit:

https://brainly.com/question/28269290

#SPJ1

each student at william elementary can only participate in one fall activity. there are 65 students on the football team and twice that number in band. there are 61 students on each of the two soccer teams. how many students participate in fall activities

Answers

Answer:191

Step-by-step explanation:

65x2=130

130+61=191

9. Solve for x.
12x + 3
11x +9
a. x = 9
b. x = 12
C. X = 6
d. x = 23

Answers

12x+3=11x+9
Subtract 11x from 12
x+3=9
Subtract 3 from 9
x=6
The answer is C

The r in the simple interest formula stands for rate which best describes how to use rate in formula

Answers

The best option is to Convert it to a decimal and multiply is the best way to describe rate in simple interest formula. The correct option is A.

What is simple Interest?

Simple interest is a quick and simple formula for figuring out how much interest will be charged on a loan. The daily interest rate, the principal, and the number of days between payments are multiplied to calculate simple interest.

Simple Interest (S.I.) is a method for figuring out how much interest will accrue on a specific principal sum of money at a certain rate of interest. For instance, if someone borrows Rs. 5000 at a rate of 10 p.a. for two years, they will pay S.I. on the borrowed money for those two years.

Therefore, if you are a borrower, the interest rate is the sum you pay for borrowing money and is expressed as a percentage of the overall loan amount. The correct option is A.

Learn more about interest on:

https://brainly.com/question/25793394

#SPJ1

In a school Auditorium, there are three types of rows arrangement
possible for watching programs: rows of 20 students per row, or rows
of 25 students ver row, or rows of 40 students per row. Find the least
number of students required for any one of these arrangements so
that all the students can be accommodated in each of these
arrangements.

Answers

I think

it should be 200 as it's the first common multiple of 20 40 and 25

in 12 years a man will be twice as old as he was 12 years ago . find his present age

Answers

His present age is 36 years.

Let his present age = x

Given,

2(x − 12) = x +12

2x - 24 = x + 12

2x - x =  12 + 24

x = 36

Therefore, his present age is 36 years.

To know more about the Calculation of ages, please refer to the link below:

brainly.com/question/24338087

Solve the inequality.

$-12

Answers

This answer is 33$. Yeahhhhhh

Stanley had a poster made from a picture of
his dog Tasha. The poster image is eight
times the size of the picture. If the poster
image is 120 cm. in height, what was the
height of Stanley's original picture of Tasha
(in centimeters)?

Answers

Answer:

15 c m.

Step-by-step explanation:

120 divided by 8 =15

james is painting an L- shaped piece of wood that is made up of two rectangular prisms
6 in
5 in
1 in
7 in
11 in
How many square inches does he need to paint?

Answers

Applying the surface area of a rectangular prism, the number of square inches hat will be painted is, 346 in.².

How to Find the Surface Area of a Rectangular Prism?

The surface area of a rectangular prism = 2(wl + hl + hw), where:

length - lwidth = wheight = h

The L-shaped piece of wood is composed of two rectangular prisms, therefore:

The square inches of paint needed = surface area of prism 1 + surface are of prism 2 - 2(area where both prism meet).

Prism 1 surface area:

l = 7 in.

w = 6 in.

h = 5 + 1 = 6 in.

Surface area = 2·(6·7+7·7+7·6) = 266 in.²

Prism 2 surface area:

l = 7 in.

w = 11 - 6 = 5 in.

h = 1 in.

Surface area = 2·(5·7+1·7+1·5) = 94 in.²

Area where both prism meet = (l)(w) = (7)(1) = 7 in.²

Number of square inches that needs to be painted = 266 + 94 - 2(7)

= 346 in.²

Learn more about rectangular prism on:

https://brainly.com/question/1015291

#SPJ1

Jeremy spent a total of $79.16 on a shirt and one pair of jeans. He knows the jeans cost $49.95 but he does not know the cost of the shirt, s. He created the model shown to find the cost of the shirt.

Answers

The model to show the cost of the shirt is x+49.95=79.16. Therefore, the cost of shirt is $29.21.

What is an equation?

In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign =.

Given that, Jeremy spent a total of $79.16 on a shirt and one pair of jeans.

Let the cost of shirt be x.

The jeans cost is $49.95

Now, the cost of shirt + the cost of jeans = Total cost

⇒ x+49.95=79.16

⇒ x=79.16-49.95

⇒ x=$29.21

Therefore, the cost of shirt is $29.21.

To learn more about an equation visit:

https://brainly.com/question/14686792.

#SPJ1

find f(20) if f(x)=[tex]\frac{1}{4}x+5[/tex]

Answers

Answer:

f(20) = 10

Step-by-step explanation:

what is the probability that a randomly selected group of 5 females have a mean shoe size bigger than 10.5

Answers

The probability that a randomly selected group of 5 females has a mean shoe bigger than 10.5 is 2.1.

What is probability?

Probability is the likelihood that something will occur. When we don't know how an event will turn out, we might discuss the likelihood or likelihood of several outcomes. Statistics is the study of occurrences that follow a probability distribution.

Calculation:

Mean = 10.5 and Total no. of females = 5 = random variable

Now, the Probability that a randomly selected group of 5 females have a mean shoe size bigger than 10.5:
P(x > 10.5)

Z = ( x- μ )

=  (σ / [tex]\sqrt{n}[/tex])

=  10.5 / 5

=  2.1

The probability that a randomly selected group of 5 females has a mean shoe bigger than 10.5 is 2.1.

To know more about Probability and Statistics, check out:

https://brainly.com/question/10734660

#SPJ1

Other Questions
according to quality and safety education for nurses (qsen), what intervention will best help reduce the risk of medication errors? If you were writing a Haiku journal what would you write. Instructions:write 10 Haikus about a corresponding picture.A haiku is a 3-line poem with 5 syllables in the 1st and 3rd lines, and 7 syllables in the 2nd line.Image is an example TRUE/FALSE. the master production schedule is a detailed schedule that indicates the quantity of each item to be produced, the planned delivery dates for those items, and the time by which each step of the production process must be completed to meet those delivery dates. in this lab, your task is to: configure windows update to: install updates for other microsoft products when windows is updated. allow the installation of feature updates to be deferred 60 days. allow quality updates to be deferred 30 days. configure windows to automatically download manufacturers' apps and custom icons for devices. d. the marketplace guiding the self-interests of market participants into promoting general economic well-being. when hadley jones wanted to buy a truck so he could get to and from his job in a nearby community, his credit rating was poor. jones found that the only place he could get a loan was from a(n) finance company. Which is the best example of the authors feeling regarding the changes in Grassy Lake? A.SatisfiedB.AnxietyC.ThrilledD.Sadness which artist was a major figure in the abstract expressionist movement? andy warhol salvador dal paul czanne jackson pollock Which is an expression for the derivative P(x) = f(x) / f(x) the population of a city was 250,000 in 1980, and it was 310,000 in 2000. what was the average rate of growth over this period? A pound of coffee beans is __________.intangible public propertytangible fungible private propertyintangible private propertyfungible public property It takes 47 pounds of seed to completely plant a 5 -acre field. How many acres can be planted per pound of seed? (b) how did federal government respond to the georgia assemblys expulsion of its african american members during reconstruction? which statement accurately summarizes the reasons president truman decided to use the atomic bomb against japan? Fortunately, there are ways that Chinwe can reduce her taxes while carefully planning how to pay what she owes over time. As a business owner, Chinwe can deduct expenses that are related to her dog walking needs and reduce what she owes in taxes. N What items could Chinwe possibly deduct as a business expense? Select all that apply. Gas mileage Leashes and waste bags Clothing Doggie treats and toys Advertisements Coffee machine suppose barbara, a self-employed graphic artist, buys a new color copier that she uses to produce pamphlets for her clients. the ink cartridges barbara uses in the printer The Democratic National Committee (DNC) and Republican National Committee (RNC):are both unable to force state and local parties to share their positions on issues. Under the Davis-Bacon Act of 1931 and the Walsh-Healy Public Contracts Act of 1936, employees of federal contractors must receive rates less than the prevailing wages in the area.T/F When Israel was created on May 14th, 1948, what was the reaction? which is used to disseminate crime pattern and other tactical information to officers, detectives, and citizens?