Given that $\cos(45^{\circ}) = \frac{\sqrt{2}}{2}$, what would $\cos(47^{\circ})$ be.
Using differential approximation, I get $\cos(47^{\circ})$ is about $\cos\left( \frac{45\pi}{180}\right)-2\sin\left(\frac{47\pi}{180}\right)= -0.755600622$ which is of course not right as $\cos(47^{\circ}) = 0.68199836.$
Where am I going wrong in my calculation?
Check your units. The general form for differential approximation is $$f(x_0) + (x-x_0) \cdot \frac{d}{dx}f.$$
You convert your $47$, which I'm assuming is in degrees to radians by multiplying by $\pi/180$. This is fine. But then you use $2$ degrees (I'm assuming) as your $x-x_0$ term. You need this to be in radians.
Try your computation again, using the same method you've already used to convert from degrees to radians for 2 degrees. The answer you then get is off by about $0.004$. But I'll leave it to you to check which way it is off ($\pm$).