Skip to content

Instantly share code, notes, and snippets.

@TalhaAkkas
Created November 1, 2011 16:42
Show Gist options
  • Save TalhaAkkas/1331086 to your computer and use it in GitHub Desktop.
Save TalhaAkkas/1331086 to your computer and use it in GitHub Desktop.
ödevin text çıktılatı
Python 2.7a1 (r27a1:76691, Dec 6 2009, 19:41:06) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
>>> a = equlation([[2,0]], power = equlation([[1,1]]))
>>> b = logEqulation(a,e)
>>> c = equlation([[b,1],[b,0]])
>>> isOneToOne(c)
1000 e kadar sorunsuz ilerliyor
2000 e kadar sorunsuz ilerliyor
Traceback (most recent call last):
File "<pyshell#25>", line 1, in <module>
isOneToOne(c)
File "C:\Users\hp\Desktop\nw.py", line 201, in isOneToOne
if (type(nw) != type(0)) and (type(nw) != long) and (type(nw) != float):
KeyboardInterrupt
>>> a = equlation([[equlation([[2,0]]),1]])
>>> b = logEqulation(a,e)
>>> c = equlation([[b,1],[b,0]])
>>> isOneToOne(c)
bu x için karşılığı yoktur 0
1000 e kadar sorunsuz ilerliyor
2000 e kadar sorunsuz ilerliyor
3000 e kadar sorunsuz ilerliyor
Traceback (most recent call last):
File "<pyshell#29>", line 1, in <module>
isOneToOne(c)
File "C:\Users\hp\Desktop\nw.py", line 201, in isOneToOne
if (type(nw) != type(0)) and (type(nw) != long) and (type(nw) != float):
KeyboardInterrupt
>>> a = equlation([[1,1],[-3,0]], power = 2)
>>> isOneToOne(a)
bire bir değildir çünkü x bu değerler için aynı sonucu uretiyor 4 2
False
>>> a = equlation([[1,2],[-1,1],[-2,0]])
>>> isOneToOne(a)
bire bir değildir çünkü x bu değerler için aynı sonucu uretiyor 1 0
False
>>> a = equlation([[-1,2],[1,1]])
>>> isOneToOne(a)
bire bir değildir çünkü x bu değerler için aynı sonucu uretiyor 1 0
False
>>> a = equlation([[-1,3],[1,1]])
>>> isOneToOne(a)
bire bir değildir çünkü x bu değerler için aynı sonucu uretiyor 1 0
False
>>> a = equlation([[-1,3],[5,1]])
>>> isOneToOne(a)
1000 e kadar sorunsuz ilerliyor
2000 e kadar sorunsuz ilerliyor
3000 e kadar sorunsuz ilerliyor
4000 e kadar sorunsuz ilerliyor
5000 e kadar sorunsuz ilerliyor
Traceback (most recent call last):
File "<pyshell#39>", line 1, in <module>
isOneToOne(a)
File "C:\Users\hp\Desktop\nw.py", line 201, in isOneToOne
if (type(nw) != type(0)) and (type(nw) != long) and (type(nw) != float):
KeyboardInterrupt
>>> a = equlation([[1,2],[8,3]])/ equlation([[2,3],[4,1]])
>>> isOneToOne(a)
bu x için sıfıra bölme hatası vermektedir 0
bire bir değildir çünkü x bu değerler için aynı sonucu uretiyor 4 2
False
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment