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
zaharov [31]
3 years ago
11

HW2.24. Statement: Area of a Triangle The area of a triangle can be computed by knowing the base and height of the triangle usin

g the following formula: (the dot is mathematical notation for multiplication) Write a Python statement that assigns the variable area to the value computed by the above formula using variables base and height.
Computers and Technology
1 answer:
MArishka [77]3 years ago
3 0

Answer:

The python statement is:

area= 0.5 * base * height

Explanation:

Given

\frac{1}{2}\ .\ base\ .\ height

Required

Write an equivalent python statement

From the question, we understand that the expression be assigned to variable area.

So, the  equivalent python statement is:

area= 0.5 * base * height

Where

\frac{1}{2} = 0.5

It can also be written as:

area = base * height / 2

It can also be written as:

area = 1/2 * base * height

All the above statements are equivalent to:

\frac{1}{2}\ .\ base\ .\ height

You might be interested in
For electronically deposited funds, such as an employee's direct deposit, when must banks make those funds available to the empl
Kazeer [188]
I'm in computers class and I would say
6 0
3 years ago
Which guideline should you follow when selecting the font for a presentation
Sladkaya [172]
My school requires us to use Arial and double space it but we have to use font size 30 for title and 24 for the paragraphs.
3 0
3 years ago
What Is What is the difference between system software and application software?<br>​
inna [77]

Answer:

Hope it helps have a nice day..

4 0
2 years ago
Python exercise grade 10
Lemur [1.5K]

nums = []

while True:

   num = float(input("Enter a number: "))

   if num <= 0:

       break

   nums.append(num)

print("The largest number entered was",max(nums))

I wrote my code in python 3.8. I hope this helps.

5 0
3 years ago
Whose work is responsible for the invention of the air bag? Scientist, Engineers or both?
jenyasd209 [6]

The scientist and the engineers were both responsible for the invention of the airbag.

  • Peter Florhancicn was a scientist and he invented the airbag because of the Dutch people who drowned when they drove into the canals

  • Also, John Hetrick who was an engineer filed for the patent of airbags when he saw that deers were running across the road. He believed that it could cause an accidentthat led to the invention.

In conclusion, both the engineers and the scientists were responsible.

Read related link on:

brainly.com/question/24686827

3 0
3 years ago
Other questions:
  • What does the Autosum feature on excel do?
    15·1 answer
  • Can someone pls explain this question??
    7·1 answer
  • Which of the following is a characteristic of the internet today? distributed network central hub lack of protocols absence of c
    5·1 answer
  • Which of the following best describes a good role model?
    6·2 answers
  • 3. The term integration refers to the ability to
    6·1 answer
  • Software applications called _____ provide the means to record information that passes through a computer or router that is hand
    10·1 answer
  • How do I write the yearly salary for something without copying it word for word? I'm doing a PowerPoint ( which you had to choos
    15·1 answer
  • Can someone help me with this project im confused
    14·1 answer
  • Anyone can help me please ?
    7·1 answer
  • Which statement about intellectual property is true? (CSI-7.6) Group of answer choices It is okay to use code you find on the in
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!