I have written this code for my numerical methods and computer applications subject and I want to share with all students who need this. Thanks