Similar Posts
GCD2
ByjvilellaThe greatest common divisor between two numbers is defined as the largest value that can divide both numbers. To compute the greatest common divisor there are many algorithms. One of the fastest is over 2 millennium old. It’s called Euclid’s algorithm. Here you will be able to learn more about this algorithm and how to…
Recursive problems
ByjvilellaFibonacci spiral Recursive function A recursive function is a function that calls itself. We already saw an example of recursive program when we did the Greatest common divisor algorithm. Another typical example is the factorial of a number. The factorial of a number n is the product of 1*2..(n-1)*n. And it is written…
Taller eSeeCode i PyTurtle
ByjvilellaBenvinguts al taller de El pensament computacional en la matemàtica educativa! Fent un quadrat Clicant en aquest enllaç podreu accedir a la plataforma de programació eSeeCode . =0){divElement.className=divElement.className.replace(‘glyphicon-minus’,’glyphicon-plus’);}else{divElement.className=divElement.className.replace(‘glyphicon-plus’,’glyphicon-minus’);}”> Utilitzant bucles Podem simplificar el codi anterior utilitzant un bucle. Els bucles poden ser amb comptadors (per repetir un nombre de cops) o amb condicions (mentre es…
C2EM: 2n Congrés per l’Ensenyament de la Matemàtica
ByjvilellaC2EM: 2n Congrés per l’Ensenyament de la Matemàtica with the following article and conference.