Answer:
No
Step-by-step explanation:
Let's check the first statement with an example. 2 and 3 are positive numbers and their sum (5) is also positive so his first statement is true.
To check the second statement let's look at the negative numbers -1 and -8 for example. Their sum (-9) is also negative so his second statement is true.
To check the third statement let's look at the numbers 9 and -5. One is positive and one is negative, but their sum (4) is positive, so his third statement is false. However if we look at the numbers 4 and -7, their sum is negative so the third statement is partially false.
Coding the given algorithm in python 3, the <em>greatest</em> <em>common </em><em>divisor</em><em> </em>of the values (124 and 244) and (4424 and 2111) are 4 and 1 respectively.
The program implementation goes thus :
def gcd(a, b):
<em>#initialize a function named gcd which takes in two parameters</em>
if a>b:
<em>#checks if a is greater than b</em>
return gcd (b, a)
<em>#if true interchange the Parameters and Recall the function</em>
elif a == 0:
return b
elif a == 1:
return 1
elif((a%2 == 0)and(b%2==0)):
<em>#even numbers leave no remainder when divided by 2, checks if a and b are even</em>
return 2 * gcd(a/2, b/2)
elif((a%2 !=0) and (b%2==0)):
<em>#checks if a is odd and B is even</em>
return gcd(a, b/2)
else :
return gcd(a, b-a)
<em>A</em><em> </em><em>sample</em><em> </em><em>run</em><em> </em><em>if</em><em> </em><em>the</em><em> </em><em>program</em><em> </em><em>on</em><em> </em><em>the</em><em> </em><em>values</em><em> </em><em>given</em><em> </em><em>:</em>
print(gcd(124, 244))
print()
<em>#leaves a space after the first output</em>
print(gcd(4424, 2111))
Learn more :brainly.com/question/25506437
It is more appropriate to report this rate as 8 kilometers per second because centimeters is too small to measure how far a space shuttle can travel every second. Just as we don't use centimeters to measure how far a car can travel in an hour, we don't use centimeters to measure such things. Thus, using kilometers is more appropriate because the the number reported is smaller, making it easier for us to use.
The remaining plant food is: 1 7/12 kg
Step-by-step explanation:
Given
Total Plant food = 3 1/2 kg
Plant food used on Strawberry Plants = 1 2/3 kg
Plant food used on tomato Plants = 1/4 kg
We will first calculate the total food plant used and then subtract the used plant food from the total plant food.
So,
Now,
The remaining plant food is: 1 7/12 kg
Keywords: Division, Fractions
Learn more about fractions at:
#LearnwithBrainly
The mean time it takes to walk to the bus stop is 8 minutes (with a standard deviation of 2 minutes) and the mean time it takes for the bus to get to school is 20 minutes (with a standard deviation of 4 minutes). The distributions are normal.
a. How long will it take (in minutes), on average, to get to school?
b. What is the standard deviation of the trip to school?
c. What is the probability that it will take longer than 30 minutes to get to school?
Due to a miscalculation, you realize it actually takes an average of 10 minutes to walk to the bus stop.
d. How long will it take (in minutes), on average, to get to school?
e. What is the standard deviation of the trip to school?
f. What is the probability that it will take longer than 30 minutes to get to school?
The only ones I need help with is C and F. I have the answer for the rest of them. Can someone please help me with parts C and F??