# 기초수학

## 2412 days 전, lmslms1361 작성

1 in ZZ
 True True
1/2 in ZZ
 False False
1/2 in QQ
 True True
sqrt(2) in QQ
 False False
sqrt(2) in RR
 True True
i^2
 -1 -1
i^3
 -I -I
I in RR
 False False
I in CC
 True True
QQ(.5)
 1/2 1/2
RR(sqrt(2))
 1.41421356237310 1.41421356237310
not True
 False False
not False
 True True
True and False
 False False
True and True
 True True
True or False
 True True
False or False
 False False
(True or False) and False
 False False
True or (False and False)
 True True
1 == 1
 True True
1 == 0
 False False
not(True or False) == True and False
 False False
1 != 1
 False False
1 != 0
 True True
1 <> 0
 True True
1 > 2
 False False
2 > 1
 True True
4.1 < 5.7
 True True
6 < 5
 False False
1 >= .99999
 True True
1 <= 35
 True True
not (True or False) == (False and True)
 True True
1 >= 1
 True True
1 + i >= 2 - i
 (I + 1) >= (-I + 2) (I + 1) >= (-I + 2)
((3/2) > 1) or (2/3 < 1)
 True True
((3/2) > 1) ^^ (2/3 < 1) # ^^ xor 배타적 논리합
 False False
x > 1/2
 x > (1/2) x > (1/2)
s=12 s
 12 12
s=34 s
 34 34
t=7 t=t+1 t
 8 8
a,b=1,2 a, b
 (1, 2) (1, 2)
c,d,e=2,3,5 c,d,e
 (2, 3, 5) (2, 3, 5)
a = b = 1 a,b
 (1, 1) (1, 1)
f = x^2 + x + 1 f x^2 + x + 1 f
 13 13
[6,28,496,8128]
 [6, 28, 496, 8128] [6, 28, 496, 8128]