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
# coding=utf-8 | |
extense = [{ '0': ' ', '1': 'cento', '2': 'duzentos', '3': 'trezentos', | |
'4': 'quatrocentos', '5': 'quinhentos ', '6': 'seiscentos', '7': 'setecentos', | |
'8': 'oitocentos', '9': 'novecentos', '': ' ', ' ': ' ' | |
}, { | |
'0': ' ', '2': 'vinte', '3': 'trinta', '4': 'quarenta', '5': 'cinquenta', | |
'6': 'sessenta', '7': 'setenta', '8': 'oitenta', '9': 'noventa', | |
'': ' ', ' ': ' ' | |
}, { |
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
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |
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
#define RED 33 | |
#define GREEN 32 | |
#define echoPin 40 | |
#define trigPin 41 | |
int maximumRange = 200; | |
int minimumRange = 50; | |
long duration, distance; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>25.6</title> | |
<script> | |
var xi = 0, | |
xf = 4, | |
x = xi, | |
y = 1; | |
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 gaussSeidel = function (matrix) { | |
var array = new Array; | |
var count = new Array; | |
length = matrix.length; | |
for (var i = 0; i < length; i++) { | |
array.push(0); | |
count.push(0); | |
} |
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
/** | |
* Algoritmo de jacobi e gauss boladao | |
*/ | |
// metodo para trabalhar melhor com Arrays multidimensional | |
Array.prototype.makeMatrix = function (d1, d2) { | |
var arr = []; | |
for(i = 0; i < d2; i++) { | |
arr.push(new Array(d1)); | |
} |
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
/** | |
* Metodo de resolução de sistemas de gauss | |
* */ | |
var inputMatrix = [ | |
[ 0.5, -1, 1, 6], | |
[ 3, 2, 1, 8], | |
[ 5, -1, -3, -1] | |
]; |
NewerOlder