Calculus is used in computer science and engineering in five main areas:
1. Creating graphs and visualizations, such as 3D models used in video games.
2. Solving problems through simulations and modeling physics engines.
3. Incorporating calculus formulas like derivatives and integrals into computer programs and code.
4. Working with binary arithmetic, the foundation of computing using only 1s and 0s.
5. Processing information through statistical analysis, probabilities, simulations, and analyzing algorithms.
Introduction to how calculus is utilized in computer science and engineering across areas like graphing, coding, and simulations.Use of calculus in statistical solvers, algorithm analysis, and obtaining probabilities, emphasizing numeric methods and analytic behaviors.
Uses of Calculusin Computer
Science & Engineering
Welcome to our presentation
on,
3.
5 General Areasof Use
Graphing and Visuals
Applications to Solve Problems
Coding
Binary Calculus
Information processing
4.
People use calculusin creating visuals or
graphs. Often the graphs/visuals are 3D.
0
5
Series 1 Series 2 Series 3
They are used often for video games, especially
physics engines. Physics engines define the physics
in the game such
as gravity, friction, etc.
Graphs and Visuals
5.
Architects use themfor
graphing buildings, outlines,
etc.
The military uses these visuals for
simulations, flight and artillery paths,
maps, satellite images, etc.
6.
Applications to SolveProblems
They use calculus for general
problem solving applications,
simulations, and physics engines.
Physics engines create realistic
situations in video games and
probablity simulations.
7.
The simulations theyuse calculas to
calculate probabilty.
The computer is used to solve these
calculus problems rather than the
programmer using it themselves.
8.
Coding
In applications forsolving problems,
the basic formula is generally used as
well.
-For a derivative application,
thederivative formula is incorporated.
-For an integral application, the
integralset up is used.
-For probablity applications, the
probabilty formulas are used.
9.
The very simpleoutline of a code is:
Class integral (){
Import java.util.Scanner;
Main(){
Scanner reader = new Scanner(System.in)j
string equation = retrieveInfo();//retrieve the equation and
store it in a string
System.out.println(“Please enter the value for x”);
double xVal = reader.nextInt();
double solution = solve(equation,xVal);
System.out.println(“The value for your definite integral is ”
+ solution);
}
10.
Binary Calculus
The binairyarithmatic or calculus is
invented by Leibnitz around 1694 and is
presumed to be the first one working with
this idea.
It is a number system comprised of only
ones and zeros that the computer uses to
follow instructions and save data.
In the binairy system only two digits are used: 0
and 1. Hence the binary (two some) system. And
yet it is possible to express any number in binary.
This system has become the basis on which the
entire computer industry is based.
11.
Most computers ofavailable now calculate
with registers of 64 or 32 digits. But in a
few years this will be 128 or higher.
Since we deal with a binary system there is
nothing else left than 0 and 1. There is no
symbol for 2 or 3 or 4 here.
But the binary system is also a positional system and
you can just count on: like two will become 10, there
will be 11 etc. Counting can now be done by a
computer. The only thing man had to invent is how
to calculate beyond 0 and 1. Thus became the
register and it was possible to expand the amount of
digits beyond 2.
12.
Information Processing
Computer programmersuse this in creating
statistic solvers, probabilty, and simulations.
Scientific computing:
. Computer algebra systems that compute
integrals and derivatives directly,either
symbolically or numerically, are the most blatant
examples here.
13.
Design and analysisof algorithms:
. The behavior of a combinatorial algorithm on very
large instances is often most easily analyzed using
calculus. This is especially true for randomized
algorithms; modern probability theory is heavily
analytic.
Asymptotic enumeration:
. Sometimes the only way to get a handle on an
enumeration problem is to form a generating
function and use analytic methods to estimate its
asymptotic behavior.