Given:
…… (1)
…… (2)
We know that,
…… (3)
…… (4)
Now by comparing equation (1) and (3)
We get,
…… (5)
Now by comparing equation (2) and (4)
We get,
…… (6)
Now to get the values of A and B, let us solve equation (5) and (6) simultaneously
Therefore by adding equation (5) and (6)
We get,
Therefore,
Hence
Now by subtracting equation (6) from equation (5)
We get,
Therefore,
Hence
Therefore the values of A and B are as follows
and