In This post you will get answer of Q.
Consider the junction diode as ideal. The value of current flowing through $AB$ is :
Solution:
Since diode is in forward bias $ i = frac{Delta V}{R} = frac{4 – (-6)}{1 times 10^{3}} = frac{10}{10^3} = 10^{-2} A $
Solution: