An introdustion to differential equations and their applications