The code will have to obey the Pythagorean theorem that says square of the hypotenuse side is equals to the sum of the squares of the other legs.
<h3>How to write a code that check if a triangle is a right angle by using Pythagoras theorem?</h3>
The code is written in python.
def right_triangle(x, y, z):
if x**2 + y**2 == z**2 or y**2 + z**2 == x**2 or z**2 + x**2 == y**2:
print("it is a right angle triangle")
else:
print("it is not a right angle triangle")
right_triangle(6, 10, 8)
<h3>Code explanation</h3>
- we defined as function named "right_triangle". x, y and z are argument which are the length of the triangle.
- Then we check if the sides obeys Pythagoras theorem.
- If it does we print a positive statement else we print a negative statement.
Learn more about python at: brainly.com/question/21437082
#SPJ4
Answer:
A: All the customers for a product or service in all areas of the world
Explanation:
The global marketplace is considered to be the sum of all the people in the whole world who might want to consider buying your products. Having a global market of clients worldwide can have a huge impact for the company. It can generate sales, and in addition create more jobs and ride out regional economic instabilities. A global marketplace can easily be put as local marketplaces joined together into one larger market.
B as clock speed measures the amount of fetch-decode-excute cycles per second, or the amount of data processed per second measure in GHz.
D. Make a decision about which colleges to attend that night.
Answer: AD RMS(Active Directory Rights Management Services)
Explanation: Active Directory Rights Management Services (AD RMS) is the tool for security that provides the protection of data .The security of data is maintained by the policies and regulation of data accessing that are implemented on data .
The working of the AD RMS is based on the RMS applications which encrypts the document and generates the regulation and stamp to collect them in an individual files.This helps in protecting the information that being created and consumed.