A first course in differrential equations with applications