- Jan 12, 2004
- 20,133
- 1
- 0
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: SagaLore
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: SagaLore
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: SagaLore
Originally posted by: SagaLore
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: SagaLore
Originally posted by: SagaLore
Originally posted by: SagaLore
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: SagaLore
Originally posted by: SagaLore
Originally posted by: SagaLore
Originally posted by: SagaLore
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: juiio
I'd send them to this thread
Originally posted by: SagaLore
Originally posted by: juiio
I'd send them to this thread
LOL, your recursion example was by far better than mine.![]()
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
Originally posted by: MathMan
Originally posted by: chuckywang
to freshman students. I was thinking about giving them an example, such as factorial, or something simple, but how would you explain it?
All jokes aside... to freshman what? High school students? College students?
I think factorial is something simple enough... but it doesn't explain the "why"... as you can easily compute factorials in a much more straightforward fashion.
There are quite a few math problems that easily lend themselves to be solved via recursion... but damn if I can recall any off the top of my head now...
![]()
Originally posted by: MathMan
There are quite a few math problems that easily lend themselves to be solved via recursion... but damn if I can recall any off the top of my head now...
Originally posted by: logic1485
For some people, you may have to teach what a factorial is first. I did not know what a factorial is, and yet I did some programming, but I can't remember how I was taught it.
Originally posted by: tfinch2
N Queens problem is a perfect first example
