+ 2

# Why calculus is important for computer science?

is calculus important just for promoting our logic? i mean indirectly? or can we use it directly? give specific examples please. I should prepare a project for my calculus class , I dont know what subject to choose.

2 Answers

+ 5

Because you need to improve your computer, and when you improve your computer, something changes. And one of the things that changes will obviously be your math calculations.

+ 4

Ok, that question is more than a little ambiguous.
If you ask for applications of calculus in theoretical computer science: You can use infinite series or other limit constructions to calculate the expected run time of an algorithm.
If you want to know examples of problems you solve with methods from both calculus and computer science:
1. Optimization problems: Given some function, find a local minimum. Super easy related project: Implement Newton's Method.
2. Simulations: Simulate any system governed by differential equations. Examples are found in fluid mechanics, traffic simulations, population dynamics... Interesting project: Simulation of two or three cars on a straight road.
Easier: Star orbiting a black hole. Less easy: Circular Restricted 3 Body Problem.