What is the most important subjects on math for coding? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 4

What is the most important subjects on math for coding?

Is it only about algebra? Basic calculations or high level maths? And give the examples of the usages.

22nd Dec 2018, 12:55 AM
ShortCode
5 Réponses
+ 9
It depends on what do you want to program, the more complex it is the higher level of math you'll need. If for example you want to make 3d rendering codes without webgl then you'll need linear algebra & vector analysis/vector calculus. If you want to make games with realistic physics then you'll need differential equations/integration/calculus. 3d rendering without webgl example: https://code.sololearn.com/W9640blULgSq/?ref=app realistic physics ( differential equations ) example: https://code.sololearn.com/WG1Oc5S07P3t/?ref=app
23rd Dec 2018, 7:03 AM
Haris
Haris - avatar
+ 5
Discrete Mathematics is the skeleton of Computer Science and advanced programming, especially data structures and algorithms. You just need high school algebra to understand it. The textbook Discrete Mathematics by Susan Epp is a great resource. Discrete math a special type of math that is the opposite of Calculus. Boolean Algebra and Linear Algebra are also important higher level math.
22nd Dec 2018, 4:55 AM
Victor Oliveros
Victor Oliveros - avatar
+ 4
Math is really important and basic algebra just helps you to start off in programming but what other topics in maths you need to know depends on your programs need. Say, you are making a function to find Sin(x). Normally it won't be possible/easy with basic algebra but if you knew taylor series method then you can do it easily as Sin(x) = 1 - (x^3)/3! + (x^5)/5! - ... The more you know, easier it will be for you and you can make your code shorter too.
22nd Dec 2018, 4:08 AM
Mayank Dhillon
Mayank Dhillon - avatar
+ 2
You will probably need trigonometric functions when you are dealing with physics(game)
30th Dec 2018, 8:10 AM
Seniru
Seniru - avatar
+ 1
statistics and descrete mathematics and also abt vectors
22nd Dec 2018, 2:09 PM
Michael Mamo
Michael Mamo - avatar