Hi Nagendra,
Welcome to Web2.calc forum.
I hope that you like it here. 
Thank you for your big effort. Unfortunately it was not correct. Please look at my solution and learn from it, then next time you are much more likely to get it correct. :)
I shall give you 3 points to get you started and for you effort.