-
Notifications
You must be signed in to change notification settings - Fork 3
/
aula2.py
42 lines (25 loc) · 1001 Bytes
/
aula2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- coding: latin1 -*-
# Arquivo: Tester
"""
Created on Mon Mar 30 10:53:32 2015
Aula 2 - Pratica: Funcao.
Professora: Anamaria Martins Moreira ([email protected])
website:http://www.dcc.ufrj.br/~pythonufrj/aulas/aula2_pratica.pdf
@author: Adolfo Correa
"""
from aula2_lib import *
print "media4(5,4,8,2)= ",media4(5,4,8,2)
print "bombons(8,28)= ",bombons(8,28)
print "hipotenusa(8,28)= ",hipotenusa(8,28)
print "dist2ptos(5,4,8,2)= ",dist2ptos(5,4,8,2)
print "perimetro3ang(8,4)= ",perimetro3ang(8,4)
print "somaSinCos(50)= ",somaSinCos(50)
print "discriminante(1,9,4)= ",discriminante(1,9,4)
print "eq2grau(1,9,4)= ",eq2grau(1,9,4)
print "voltas(10,500)= ",voltas(10,500)
print "eq2grau2(10,8,6)= ",eq2grau2(10,8,6)
print "eq2grau2(2,3,4)= ",eq2grau2(2,3,4)
print "circunferencia(10)= ",circunferencia(10)
print "setorCircular(1)= ",setorCircular(1)
print "setorCircular(1,180)= ",setorCircular(1,180)
print "progAritmetica(1,180,2)= ",progAritmetica(1,180,2)