the tangent here is different from the one on my calculator, why is that?
Possibly you are using radians on one and degrees on the other?