100% found this document useful (1 vote)
196 views2 pages

Essay On The Importance of Mathematics in Programming

1) Mathematics is important for programming because programming involves algorithms and logic, both of which relate to mathematical concepts. Basic math operations give an introduction to algorithms, while discrete mathematics lays the foundation for programming. 2) Analytical skills developed from solving math problems are useful for programming, as both require analyzing problems and finding correct solutions. Debugging code is like debugging math solutions to find errors. 3) Many computer science fields like AI, machine learning, and cryptography require an understanding of concepts like linear algebra, calculus, and number theory. Overall, mathematics provides important problem-solving skills and knowledge that support work in programming.

Uploaded by

Will Ngo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
196 views2 pages

Essay On The Importance of Mathematics in Programming

1) Mathematics is important for programming because programming involves algorithms and logic, both of which relate to mathematical concepts. Basic math operations give an introduction to algorithms, while discrete mathematics lays the foundation for programming. 2) Analytical skills developed from solving math problems are useful for programming, as both require analyzing problems and finding correct solutions. Debugging code is like debugging math solutions to find errors. 3) Many computer science fields like AI, machine learning, and cryptography require an understanding of concepts like linear algebra, calculus, and number theory. Overall, mathematics provides important problem-solving skills and knowledge that support work in programming.

Uploaded by

Will Ngo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

WILLIAM JEFFERSON D.

NGO GEMATMW – Y25 12038962 FINAL INDIVIDUAL


PROJECT

An essay on the Importance of Mathematics in Programming


Mathematics is one of the subjects that everyone encounters in school or universities. It is a
subject that is taught to all students ranging from solving basic math problems to solving complex ones.
In addition, mathematics is being applied in our daily lives such as in managing money, measuring
ingredients, and even by counting things we are already applying math. Learning basic math and even
more advanced topics are especially useful or essential for several fields like in accountancy, banking,
engineering, programming, and many more. Programming in particular does not require knowing more
advanced concepts on math such as exponential and logarithms, limits, derivatives, integration,
differential equations and so on. Although it does not mean that you do not need to know the basic
concepts on mathematics such as algebra or logic, knowing these are essential and will be beneficial to
those who want to take programming courses in the future.
Programming involves the usage of algorithms and is considered fundamental in programming
which is why it is important to have a background on their usage. An algorithm is a set of instructions that
demonstrate the implementation of a program or an application. In mathematics we are already tackling
algorithms, a simple algorithm used in math is when we are adding two numbers like “5+3=8” which
basically shows us the sum of two numbers. In this way, the simple math operations already give us an
idea on how algorithms are but understanding this is important as this is basically how advanced
algorithms are in programming courses.
Another concept in math that is essential in programming is discrete mathematics. Discrete
mathematics is considered the foundation of programming as this concept is useful in studying and
describing objects and problems in computer related studies such as in computer algorithms,
programming languages, cryptography, and software development. Some examples of the concepts used
in discrete math for programming are Boolean algebra, which is used for logic gates, relational algebra
for databases, and number theory for cryptography and cryptanalysis. In addition, the logical operators
that are used in programs are also borrowed from Boolean algebra such as AND, OR, NOT, XOR and
XNOR. These logical operators are especially useful when creating conditions in programs and are all at
the heart of understanding programming. In my experience in creating simple programs, I was already
able to utilize these logical operators and having an understanding on this topic has helped me create
programs that require running a code when given only specific conditions. One example could be if there
is a block of code that I only want to be executed if two conditions for it to run are both True, then I can
use the AND logical operator for it. Programs sometimes involves a lot of codes and we do not always
want all of them to run simultaneously, using these logical operators help in running block of codes that
we want to run depending on the conditions made.
Solving math problems provides us with analytical skills that are required in programming. One
of the skills a programmer requires are analytical skills since programming involves problem solving and
analyzing the problem. In a way, programming and math are similar when it comes to solving problems
as both requires the analysis of the problem to come up with the right solution. For example, in math, if
we used the wrong formulas or get a part of the solution wrong, we will most likely not get the correct
answer and we then need to find what made the answer wrong in the solution. This is the same in
programming since even if one letter, symbol or number is missing in the code, the program could result
in errors in the execution and will result in the expected output or will not run at all and we do what is
called as debugging which is the process of finding and resolving the bugs or problems that prevent the
program from running and give the expected or correct output. With this, solving math problems even in
lower levels can improve analytical skills that problem solving skills that will prove to be beneficial when
solving problems in programming.

12038962 SUBMITTED ON APRIL 28, 2021


WILLIAM JEFFERSON D. NGO GEMATMW – Y25 12038962 FINAL INDIVIDUAL
PROJECT

As you can see several mathematic concepts and skills are required in programming. One of the
courses such as computer science or computer engineering that covers topics on operating systems,
databases, networking, artificial intelligence, embedded systems, data analysis, cryptography and many
more require a background or knowledge on mathematics. Like for example, artificial intelligence and
machine learning require a thorough knowledge on linear algebra, multivariate calculus, probability
theory and others. Programming and mathematics go hand in had as every programming problem is in a
way a mathematics problem where programming was just used as a tool to perform a calculation or
computation and obtain an output. Therefore, those who want to take programming classes should have a
background and be well-versed in different mathematical concepts.

REFERENCES:
https://www.geeksforgeeks.org/what-is-the-importance-of-mathematics-in-computer-science/
https://magoosh.com/data-science/coding-math-what-you-should-know/

12038962 SUBMITTED ON APRIL 28, 2021

You might also like