The program is an illustration of loops
<h3>What are loops?</h3>
Loops are program statements that are used to perform repetition
<h3>The main program</h3>
The program written in Python, where comments are used to explain each line is as follows:
#This initializes sum to 0
summ = 0
#This gets input for the first number
num = int(input())
#This is repeated while num is not -1
while num!= -1:
#This calculates the sum
summ+=num
#This gets input for the num
num = int(input())
#This prints the sum
print(summ)
Read more about loops at:
brainly.com/question/16397886
Answer:
<h3>

</h3>
Step-by-step explanation:



?
Now, Using Pythagoras theorem

plug the values
⇒
Evaluate the power
⇒
Swap the sides of the equation
⇒
Move constant to right hand side and change it's sign
⇒
Calculate the difference
⇒
Squaring on both sides
⇒
Hope I helped!
Best regards!
Answer:
Patrick walk approximately <u>112 yards</u>.
Step-by-step explanation:
Given:
A rectangular field is 50 yards wide and 100 yards long.
Patrick walks diagonally across the field.
Now, to find the distance he walk.
Length of the field = 100 yards.
Width of the field = 50 yards.
Now, to get the diagonal distance we put formula:





Therefore, Patrick walk approximately 112 yards.
So to solve it the equation is a squared plus b squared = c squared. So you square a and b. Then do the square root of that and should get c. C is always the largest side. C is opposite from a 90 degree angle . Hope this helps you answer your question.