Name: Anonymous 2011-01-27 21:47
My PS3 Kills your crappy Pc's, FACT.............
>>> def multadd(a,b,c):
x=a*b
y=x+c
return y
>>> multadd(5,6,8)
38
>>> ceil(2.01)
Traceback (most recent call last):
File "<pyshell#71>", line 1, in <module>
ceil(2.01)
NameError: name 'ceil' is not defined
>>> import math
>>> math.ceil=ceil
Traceback (most recent call last):
File "<pyshell#73>", line 1, in <module>
math.ceil=ceil
NameError: name 'ceil' is not defined
>>> ceil=math.ceil
>>> ceil(2.1)
3.0
>>> ceil(2.000000000007)
3.0
>>> ceil(multadd(276,1/19,0))
0.0
>>> 276.0/19
14.526315789473685
>>> multadd(276,1/19,0)
0
>>>
>>> multadd(1,2,0)
2
>>> 1/19
0
>>> multadd(276.0,19,0)
5244.0
>>> multadd(276.0,1/19.0,0)
14.526315789473683
>>> ceil(multadd(276.0,1/19.0,0))
15.0
>>> ceil(multadd(276.0,1/19.0,0)) + multadd(2,math.log(12,7),0)
17.55397881653925
>>> def yikes(x):
y=multadd(x,math.exp(-1*x),(1-math.exp(-1*x))**0.5)
>>> yikes(5)
>>>
>>> def yikes(x):
y=multadd(x,math.exp(-1*x),(1-math.exp(-1*x))**0.5)
return y
>>> yikes(5)
1.0303150673048738