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
<html> | |
<h1> Formulario Dinamico</h1> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
$('#mais').click(function(){ | |
var next = $('#lista tbody').children('tr').length + 1; | |
$('#lista tbody').append('<tr>' + | |
'<td class="linha-left"><input type="text" name="item' + next + '" /></td>' + |
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
## | |
# Universidade Federal de Campina Grande | |
# Departamento de Sistemas e Computacao | |
# Professor: Antao Moura | |
# Grupo: Rafael Figueiredo | |
# Raul Correia | |
# Vladymir Bezerra | |
# | |
# == Projeto Final de MSN == | |
# Descricao: O objetivo deste script e' maximizar o lucro de uma empresa |
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
# Exercicio 2 - MSN | |
# Professor: Antao Moura | |
# Aluno: Vladymir Bezerra | |
# Integracao por trapezios. | |
import math, numpy | |
## f(x) = e^x * x | |
def funcao(x): | |
return math.exp(x) * x |
NewerOlder