from math import cos
x = 2
while x != cos(x):
x = cos(x)
print (x)
This is the code I had my base level 2015 mac Air running. I waited about 30-40secs at which point my laptop began turning into a hot plate. I didn't get the answer. Is this normal? I didn't think it'd take that much effort to run it, especially after reading how people can easily run 30+ tabs , Xcode, movie streams simultaneously on their Airs.
I ran it using the terminal if it helps.
Specs are 4gb ram / 128gb sdd/ i5-5250u(?)