L | M | X | J | V | S | D |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{align} | |
F(x)=\int{f(x) dx} \to F(1)=0.5*(F(0)+F(\infty)) \\ | |
\text{ por ejemplo }\\ | |
f(x)={-1 \over (x+1)^2} \\ | |
\end{align} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f(x)= | |
li(x) - \sum{li(x^p)} | |
-\log(2) | |
+\int_{x}^{\infty} | |
{dt \over {t*(t^2-1)*\log(t)} } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initial=5 | |
depth=15 | |
class Node { | |
String id | |
int depth | |
Boolean isLeft | |
int value | |
Node left | |
Node right |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bigInt=function(undefined){"use strict";var BASE=1e7,LOG_BASE=7,MAX_INT=9007199254740992,MAX_INT_ARR=smallToArray(MAX_INT),DEFAULT_ALPHABET="0123456789abcdefghijklmnopqrstuvwxyz";var supportsNativeBigInt=typeof BigInt==="function";function Integer(v,radix,alphabet,caseSensitive){if(typeof v==="undefined")return Integer[0];if(typeof radix!=="undefined")return+radix===10&&!alphabet?parseValue(v):parseBase(v,radix,alphabet,caseSensitive);return parseValue(v)}function BigInteger(value,sign){this.value=value;this.sign=sign;this.isSmall=false}BigInteger.prototype=Object.create(Integer.prototype);function SmallInteger(value){this.value=value;this.sign=value<0;this.isSmall=true}SmallInteger.prototype=Object.create(Integer.prototype);function NativeBigInt(value){this.value=value}NativeBigInt.prototype=Object.create(Integer.prototype);function isPrecise(n){return-MAX_INT<n&&n<MAX_INT}function smallToArray(n){if(n<1e7)return[n];if(n<1e14)return[n%1e7,Math.floor(n/1e7)];return[n%1e7,Math.floor(n/1e7)%1e7,Math.floor(n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.prototype.addQuery = function(obj) { | |
return this + Object.keys(obj).reduce(function(p, e, i) { | |
return p + (i == 0 ? "?" : "&") + | |
(Array.isArray(obj[e]) ? obj[e].reduce(function(str, f, j) { | |
return str + e + "=" + encodeURIComponent(f) + (j != obj[e].length - 1 ? "&" : "") | |
},"") : e + "=" + encodeURIComponent(obj[e])); | |
},""); | |
} | |
function mathml2png( math, format, scale, transparent){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onOpen(e) { | |
var ui = SpreadsheetApp.getUi(); | |
var menu = ui.createAddonMenu() | |
menu.addItem('Historico M30', 'dumpM30'); | |
menu.addItem('Accidentes M30', 'accidentesM30'); | |
menu.addToUi(); | |
} | |
function populateHeader(sheet){ | |
sheet.appendRow([ "Fecha", "Vehiculos","VelocidadMedia","DistanciaMedia","TiempoMedio" ]); |
L | M | X | J | V | S | D |
---|
La raiz cuadrada de 4 es 2
\$sqrt(4) = 2\$
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Grab(group='com.jerolba', module='bikey', version='0.9.0') | |
import com.jerolba.bikey.* | |
bikey = new TableBikeyMap() | |
[ | |
'https://datos.madrid.es/egob/catalogo/300201-2-calle30-accidentes-historico.csv', //2016 | |
'https://datos.madrid.es/egob/catalogo/300201-0-calle30-accidentes-historico.csv', //2017 | |
'https://datos.madrid.es/egob/catalogo/300201-4-calle30-accidentes-historico.csv' //2018 | |
].each{ url -> |