I have had the same experience in a lot (all?) of my math classes. I never really understood integrals and differentiation until I saw them come up in a physics class. Once I saw the practical application of those things, I didn't have much of an issue in actually solving them. That's the primary reason why I hate math courses. I know there are practical applications to everything I'm learning, but I just can't see them.