Math in programming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Math in programming

I had a question about mathematics in programming, is it necessary to study mathematics too much while learning programming or we study mathematics to learn some functions we use in programming ??

6th Jul 2022, 1:11 PM
Munezero Olivier Hugue
Munezero Olivier Hugue - avatar
16 Answers
+ 2
If it makes you feel any better, I barely know 2+2 but I've taken a real love to programming! Mathematics is a great skill to have because it helps with problem solving, there are also other ways without math to strengthen your problem solving skills. Problem solving is the best thing for you to work on and you can see that skill grow over time as you learn more things and you can even use things like HackerRank and Leetcode to help with those skills even more.
6th Jul 2022, 1:45 PM
Justice
Justice - avatar
+ 5
It depends on the type of application that you are developing. For 3d gaming, trigonometry is essential. For machine learning, probability theory, and linear algebra. For any scientific application, things can get really hard core for math knowledge. For web development and most kinds of general business applications, grade school math is usually sufficient.
6th Jul 2022, 1:24 PM
Tibor Santa
Tibor Santa - avatar
+ 2
Why ?
6th Jul 2022, 1:21 PM
Munezero Olivier Hugue
Munezero Olivier Hugue - avatar
+ 2
Other people already said much so I just strenght them with examples. When we make a program where you get a list of to-does and search for a specific element to test if you forgot it or not. Any math there? No. But when we take as example that you need to calculate the Volumen of a Cube-room or the surfic of it you need to know the Formulars to calculate so it would be good to know such. And! When you mean with being good in Math that someone can calculate 3^5 in they head, then throw it away, the only thing you need by programming from Math is to understand where to use which Formular.
7th Jul 2022, 2:21 AM
Felix Alcor
Felix Alcor - avatar
+ 1
Mathematics is more used in the field of machine learning so if you have future in ML then you should learn mathematics.Another way basic mathematics is enough. Thanks 👍
7th Jul 2022, 4:12 PM
Ankit Kumar
Ankit Kumar - avatar
+ 1
Math could be useful od your program uses some advanced calculations
7th Jul 2022, 8:35 PM
Michał Leonowicz
Michał Leonowicz - avatar
+ 1
Then I would recommend you, Munezero Olivier Hugue , to learn about liniar Algebra Vektors and such get often used in Games. But don't Stress to much with that when you learn to use Unity or Unreal you will mostly learn them on the way. It would be also good to learn about things like Data-structurs (Array & List) because they should be some types of Games. P.s. : Sry I was in another topic before so my answer wasn't meant for here
7th Jul 2022, 11:42 PM
Felix Alcor
Felix Alcor - avatar
+ 1
Felix Alcor thanks so much for your advice
7th Jul 2022, 11:48 PM
Munezero Olivier Hugue
Munezero Olivier Hugue - avatar
+ 1
Munezero Olivier Hugue No Problem. And when you really want to go to Game dev I would recommend you to not just focus on programming but to make yourself familiar with 3D graphics, Pixel arts, or other types of graphics and to familiar yourself with Game engines because this parts take in Most of the development.
7th Jul 2022, 11:53 PM
Felix Alcor
Felix Alcor - avatar
+ 1
Munezero Olivier Hugue I wouldn't say that so, tho there we need to talk about what game. You need to understand it so programming give the graphics they properties. Without programming your character in a Game have neither hitbox nor any way to move. And now what a Game do you want more a Game with lesser options to do but better graphics or other way. To sum: You can deside what you want to Focus on and Game engines lesser more work for programmers but when you let them do most of the work you game stay "normal" but when you want your Game to be "Special" you need more Code yourself.
8th Jul 2022, 12:05 AM
Felix Alcor
Felix Alcor - avatar
+ 1
Felix Alcor ooh now am understanding that very nice thank you
8th Jul 2022, 12:08 AM
Munezero Olivier Hugue
Munezero Olivier Hugue - avatar
+ 1
Munezero Olivier Hugue When you want more about what's important in game dev, you should start a new question. It's Always better to search for more opinions.
8th Jul 2022, 12:08 AM
Felix Alcor
Felix Alcor - avatar
+ 1
Thanks
8th Jul 2022, 12:10 AM
Munezero Olivier Hugue
Munezero Olivier Hugue - avatar
0
I want to concentrate in game programming and other programming languages
7th Jul 2022, 10:40 PM
Munezero Olivier Hugue
Munezero Olivier Hugue - avatar
0
Felix Alcor means that the most time is spent in graphics more than programming ?
7th Jul 2022, 11:57 PM
Munezero Olivier Hugue
Munezero Olivier Hugue - avatar
0
Unless you're writing software that requires it (custom game engine development, physics apps, robotics), then nope! For game development, YouTube courses covering trigonometry for game devs will be fine. Calculus can be used for shader development but rarely
20th Jul 2022, 5:49 PM
Asinc
Asinc - avatar