What is the volume of the triangular prism below


What is the volume of the triangular prism below

Answers

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]

IT IS B

Step-by-step explanation:  EDGNUIT SAAAIDD IIIT

c

Step-by-step explanation:

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  

The answer is 117. Ask him if he can help you with your work


Do you know the answer?

Other questions on the subject: Mathematics

  108 ftStep-by-step explanation:The total length in inches of the perimeter of the model is ...   7 in + 3 in + 3 in + 5 in = 18 inThe total length of the walkway will have the s...Read More
2 more answers
Mathematics, 21.06.2019, lyn94
y=5x+30Step-by-step explanation:The y-intercept is 30 so it is y=?+30Then the x changes value at a constant rate of 5 So... it is y=5x+30...Read More
2 more answers
The area of the triangle formed by origin, and the points (4,5) and (-2,5) will be 15 sq. units.Step-by-step explanation:The two parabolas are and y = x² - 2x - 3.Now, solving tho...Read More
3 more answers
Mathematics, 22.06.2019, tmkyer2
The length of the radius must be less than Step-by-step explanation:we know thatThe circumference of a circle is equal toThe area of a circle is equal towhere r is the radius of th...Read More
2 more answers