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 18:00
Aschool puts on a play. the play costs $1,200 in expenses. the students charge $4.00 for tickets. there will be one performance of the play in an auditorium that seats 500 people. what is the domain of the function that shows the profit as a function of the number of tickets sold?  
Answers: 2
question
Mathematics, 21.06.2019 18:50
Question b of 10which of the following describe an angle with a vertex at a? check all that applyo a. labcов. савd dooo c_baco d. zacb
Answers: 1
question
Mathematics, 21.06.2019 21:30
At the county fair, the baxter family bought 6 hot dogs and 4 juice drinks for $12.90. the farley family bought 3 hot dogs and 4 juice drinks for $8.55. find the price of a hot dog and the price of a juice drink.
Answers: 1
question
Mathematics, 21.06.2019 23:50
What is the cube root of -1,000p^12q3? -10p^4 -10p^4q 10p^4 10p^4q
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, 16.10.2020 15:01
question
Computers and Technology, 16.10.2020 15:01
question
Mathematics, 16.10.2020 15:01
question
History, 16.10.2020 15:01
question
Social Studies, 16.10.2020 15:01
question
Spanish, 16.10.2020 15:01
question
Mathematics, 16.10.2020 15:01
question
Mathematics, 16.10.2020 15:01
question
Mathematics, 16.10.2020 15:01