tan(450) = tan(450-360) = tan(90) = INFINITY. Computer says NAN in this case, which means "this number is not defined".