$\sin(\text {A}-\text{B})=\sin\text {A}\cos\text {B}-\cos\text{A}\sin\text {B}\ \dots(1)$
$\cos(\text {A}-\text{B})=\cos\text {A}\cos\text {B}+\sin\text{A}\sin\text {B}\ \dots(2)$
To find: The values of $\sin 15^{\circ}$ and $\cos 15^{\circ}$
In this problem we need to find $\sin 15$ and $\cos 15^{\circ}$
Hence to get $15^{\circ}$ angle we need to choose the value of $A$ and $B$ such that $(A-B)=15^{\circ}$
So if we choose $A=45^{\circ}$ and $B=30^{\circ}$
Then we get, $(A-B)=15^{\circ}$
Therefore by substituting $A=45^{\circ}$ and $B=30^{\circ}$ in equation (1)
We get,
$\sin(45^\circ-30^\circ)=\sin45^\circ\cos30^\circ-\cos45^ \circ\sin30^\circ$
Therefore,
$\sin(15^\circ)= \sin45^\circ\cos30^\circ-\cos45^\circ \sin30^\circ\ \dots(3)$
Now we know that,
$\sin45^\circ=\cos45^ \circ=\frac{1}{\sqrt{2}},\ \sin30^ \circ=\frac{1}{2},\ \cos30^\circ= \frac{\sqrt{3}}{2}$
Now by substituting above values in equation $(3)$
We get,
$\sin(15^\circ)=\bigg (\frac{1}{\sqrt{2}}\bigg)\times\bigg (\frac{\sqrt{3}}{2}\bigg)-\bigg(\frac {1}{\sqrt{2}}\bigg)\times\bigg(\frac{1} {2}\bigg)$
$=\frac{\sqrt{3}} {2\sqrt{2}}-\frac{1}{2\sqrt{2}}$
$=\frac{\sqrt{3}-1} {2\sqrt{2}}$
Therefore,
$\sin(15^\circ)=\frac {\sqrt{3}-1}{2\sqrt{2}}\ ....(4)$
Now by substituting $A = 45^\circ $ and $B = 30^\circ $ in equation $(2)$
We get,
$\cos(45^\circ-30^ \circ)=\cos45^\circ\cos30^\circ+\sin45^ \circ\sin30^\circ$
Therefore,
$\cos(15^\circ)= \cos45^\circ\cos30^\circ+\sin45^\circ \sin30^\circ\ \dots(5)$
Now we know that,
$\sin45^\circ=\cos45^ \circ=\frac{1}{\sqrt{2}},\ \sin30^ \circ=\frac{1}{2},\ \cos30^\circ=\frac {\sqrt{3}}{2}$
Now by substituting above values in equation $(5)$
We get,
$\cos(15^\circ)=\bigg (\frac{1}{\sqrt{2}}\bigg)\times\bigg (\frac{\sqrt{3}}{2}\bigg)+\bigg(\frac {1}{\sqrt{2}}\bigg)\times\bigg(\frac{1} {2}\bigg)$
$=\frac{\sqrt{3}} {2\sqrt{2}}+\frac{1}{2\sqrt{2}}$
$=\frac{\sqrt{3}+1} {2\sqrt{2}}$
Therefore,
$\cos(15^\circ)=\frac {\sqrt{3}+1}{2\sqrt{2}}\ \dots(6)$
Therefore from equation (4) and (6)
$\sin(15^\circ)=\frac {\sqrt{3}-1}{2\sqrt{2}}$
$\cos(15^\circ)=\frac {\sqrt{3}+1}{2\sqrt{2}}$








