asked 113k views
19 votes
What are some examples of recursion in real life, such as things you can write a recursive equation for? (for example, fern leaves are an example of a geometric sequence, and the distance from the ground on stairs is an example of an arithmetic sequence)

1 Answer

5 votes

Answer: In programming terms, recursion happens when a function calls itself. If you have a problem that is too complex, you can use recursion to break it down into simpler blocks. You do this in real life all the time. Imagine you have a whole box full of $100 bills and you need to count how much money you have.

Explanation:

answered
User Jichao
by
8.1k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.