When rates are expressed as a quantity of 1, such as 2 feet per second or 5 miles per hour, they are called unit rates. if you have a multiple-unit rate such as 120 students for every 3 buses, and want to find the single-unit rate, write a ratio equal to the multiple-unit rate with 1 as the second term.
m = 3 n = 20 triList = [] current = 0 for i in range(1, n + 1): current = current + i if(current >= m and current <= n): triList.append(current) print(triList)
Explanation:
The solution code is written in Python 3.
Firstly, create variable m and n and set the value 3 and 20 to the variables (Line 1 -2)
Create a triangle number list (Line 4) and another variable current to hold the value of current total of triangle number (Line 5).
Create a for loop and iterate through the number between m and n (Line 6). Calculate the current total of triangle number (Line 7) and proceed to check if the current triangle number is bigger or equal to m and smaller and equal to n, add the current triangle number to triList (Line 8-9).
Print the triList (Line 11) and we shall get [3, 6, 10, 15]
60%
c
Step-by-step explanation:
When rates are expressed as a quantity of 1, such as 2 feet per second or 5 miles per hour, they are called unit rates. if you have a multiple-unit rate such as 120 students for every 3 buses, and want to find the single-unit rate, write a ratio equal to the multiple-unit rate with 1 as the second term.
B: Triangular prisms and rectangular prism have the same number of bases
Step-by-step explanation:
a triangular prisms has two bases in a form of a triangle and a rectangular prisms has two bases also in a from of a square
v=l×w×h
v=8 in×6 in×10 in
v=48 in×10in
v=480 in
Answer : 480 in
m = 3 n = 20 triList = [] current = 0 for i in range(1, n + 1): current = current + i if(current >= m and current <= n): triList.append(current) print(triList)
Explanation:
The solution code is written in Python 3.
Firstly, create variable m and n and set the value 3 and 20 to the variables (Line 1 -2)
Create a triangle number list (Line 4) and another variable current to hold the value of current total of triangle number (Line 5).
Create a for loop and iterate through the number between m and n (Line 6). Calculate the current total of triangle number (Line 7) and proceed to check if the current triangle number is bigger or equal to m and smaller and equal to n, add the current triangle number to triList (Line 8-9).
Print the triList (Line 11) and we shall get [3, 6, 10, 15]
i beleive its 80
Step-by-step explanation:
sorry if im wrong
IT IS B
Step-by-step explanation: EDGNUIT SAAAIDD IIIT