Simple recursive function

Simple recursive function - Mensajes

#1 Publicado: 20/10/2021 16:26:18
Patukott

Patukott

0 me gusta en 6 mensajes.

Grupo: User

Hello!

I am trying to write a simple recursive function, but cannot understand how to do it in Smath. It gives me an error saying the function is not defined. Picture of the problem is attached below.

Capture.PNG
#2 Publicado: 20/10/2021 17:44:28
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... like this ?

Unk.PNG
#3 Publicado: 20/10/2021 19:26:17
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

I am trying to write a simple recursive function, but cannot understand how to do it in Smath.


Use line().
But remember, recursion has an intended limit.
After 50 steps, it won't calculate.

Regards

2021-10-20_23-29.png
A 1 usuarios les gustó este mensaje
sergio 21/10/2021 10:19:00
#4 Publicado: 21/10/2021 5:16:05
Patukott

Patukott

0 me gusta en 6 mensajes.

Grupo: User

Yes, Thank you! This was what I was looking for.
  • Nuevos mensajes
  • Sin mensajes nuevos