Failed AP Calculus. Would Purdue University revoke my offer?

And you can study humanities at MIT. OP made his choice of colleges and that’s not up for discussion.

A D may not be a problem. But OP needs to find out. And likely bring this up for 3rd and 4th quarters.