Artix Linux Forum

General Category => Off-Topic => Topic started by: cynicfm on 03 February 2019, 02:32:01

Title: how is math related to computing??
Post by: cynicfm on 03 February 2019, 02:32:01
hey

i am very beginner with computers and i mean linux i never knew how to code and i always heard that you need to know maths well and all this kind to write using programming languages uhm like lua python or whatever.
how is math related to using computer i mean why it guys need to be good at maths, like atm. to use simple linux commands or some basic bash scripting (im not sure though) i doesnt seem like i need math

so what's the connection of mathematics and programming languages??? Any examples??? :)
Title: Re: how is math related to computing??
Post by: phoenix_king_rus on 03 February 2019, 08:08:01
you need to know maths well and all this kind to write using programming languages uhm like lua python or whatever.
how is math related to using computer i mean why it guys need to be good at maths, like atm. to use simple linux commands or some basic bash scripting (im not sure though) i doesnt seem like i need math
For programming in general math is not directly needed (however being good in math may significantly simplify programming because you may realize better algorithm for doing something). For example, looking through suckless code i don't remember any math operations there
When you realise some algorith for data processing you may need to prove that your algorith is correct and provides correct result or, if not, estimate the deviation. This is usual task for machine leaning and math modeling
Title: Re: how is math related to computing??
Post by: SGOrava on 03 February 2019, 10:05:43
In this age math is mostly needed when you are working on some simulations, games, graphical things (geometry) or to optimize o your code as phoenix above said.

Some time ago I found a channel on YouTube in which the man is explaining some algorithms when it comes to basic graphic engines.
A lot of times it is basic math but it slowly adds up...
Link: https://www.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA (https://www.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA)
Title: Re: how is math related to computing??
Post by: Seventh on 03 February 2019, 17:03:42
hey

i am very beginner with computers and i mean linux i never knew how to code and i always heard that you need to know maths well and all this kind to write using programming languages uhm like lua python or whatever.
how is math related to using computer i mean why it guys need to be good at maths, like atm. to use simple linux commands or some basic bash scripting (im not sure though) i doesnt seem like i need math

so what's the connection of mathematics and programming languages??? Any examples??? :)


A good place to start is base number systems or Radix, for example binary code uses the base/radix 2 numeral system. Most common is  base 10 decimal which we all use everyday for arithmetic/mechanical counters.
Title: Re: how is math related to computing??
Post by: mrbrklyn on 10 July 2019, 02:26:19
http://graphics.stanford.edu/~seander/bithacks.html

https://users.cis.fiu.edu/~downeyt/cop3402/hamming.html

http://acm.timus.ru/problem.aspx?space=1&num=1792

https://web.archive.org/web/20071025020847/https://biobio.loc.edu/chu/web/Courses/Cosi460/hamming_codes.htm