subject
Mathematics, 29.07.2020 23:01 mine9226

The following function attempts to calculate the n th triangular number ( Tn ). The n th triangular number is defined by the formula: Tn=n+(n−1)+(n−2)+...+3+2+1 In other words, triangular numbers are just like factorial numbers, but with addition instead of multiplication. Below we've attempted to write a recursive formula that will calculate the n th triangular number. 1| def tri(n): 2| return n + tri(n - 1) What will be the current result of using this function?

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 13:30
12. decide whether each statement is always true, sometimes true, or never true. a. when corresponding points of an original figure and its reflection are connected, the resulting segments are all perpendicular to the line of reflection. b. when a point is reflected over a horizontal line, the y-coordinate of the point stays the same. answer both questions and explain
Answers: 2
question
Mathematics, 21.06.2019 16:00
Enter the number of complex zeros for the polynomial function in the box. f(x) = x+ + 5x² +6
Answers: 2
question
Mathematics, 21.06.2019 17:30
Terri makes a quilt using three sizes of fabric squares the side lenght of each fabric square is the square root of the area
Answers: 2
question
Mathematics, 21.06.2019 18:20
Match each inequality to the number line that represents its solution
Answers: 3
You know the right answer?
The following function attempts to calculate the n th triangular number ( Tn ). The n th triangular...
Questions
question
Mathematics, 21.08.2019 07:10
question
Mathematics, 21.08.2019 07:10
question
Mathematics, 21.08.2019 07:10
Questions on the website: 13722362