if a and b are the roots of the equation x 2 - 9 x + 9 = 0 , then the value of a 2 + b 2 is :
import math
n0 = 2.0
n1 = 9.0
n2 = 9.0
n3 = 0.0
n4 = 2.0
n5 = 2.0
t0 = n1 * 4.0
t1 = n1**min(n0, 5)
t2 = t1 - t0
t3 = math.sqrt(max(0, t2))
t4 = n1 + t3
t5 = n1 - t3
t6 = t5 / n0
t7 = t4 / n0
t8 = t6**min(n0, 5)
t9 = t7**min(n0, 5)
answer = t8 + t9
print(answer)