First question
Import mathematics
a=math.pow(math.pi,4)+math.pow(math.pi,5)
b=math.pow(math.e,6)
Print ("%.4f"% a")
Print ("%.4f"% b")
Print ("%.4f"% (a-b))
the second question
Import mathematics
a=math.pi/4
B = 4 * Math Atan (1/5)- Math Atan (1/239)
Print ("%.4f"% a")
Print ("%.4f"% b")
The comparison results show that the two values are equal.