Cuarto dÃa (PDF, 900 KB)
Cuarto dÃa (PDF, 900 KB)
Cuarto dÃa (PDF, 900 KB)
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Matematicas (III)<br />
Exponenciales y logarítmicas<br />
math.exp(x)<br />
math.log(x[, base])<br />
exponencial en base e<br />
si no le damos una base, toma e (neperiano)<br />
math.log1p(x) devuelve el logaritmo de 1+x (base e)<br />
math.log10(x)<br />
math.pow(x, y)<br />
math.sqrt(x)<br />
logaritmo decimal<br />
eleva la base 'x' al exponente 'y'<br />
raíz cuadrada de 'x'<br />
math.hypot(x, y) devuelve la norma euclídea (sqrt(x ** 2 + y ** 2))<br />
Funciones de redondeo y caracterización<br />
math.fabs(x)<br />
valor absoluto de x<br />
math.factorial(x) factorial. Lanza ValueError si x no es entero o < 0<br />
math.floor()<br />
math.ceil(x)<br />
devuelve el mayor entero = x<br />
math.fmod(x) resto de la división entera (de acuerdo a C)<br />
10/04/2013<br />
César Husillos Rodríguez<br />
Víctor Terrón Salas<br />
59