Thread: Knowing my math

  1. #16
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    On more than one occasion I have tried to learn basic math and failed because at the start it all seems logical and I can follow it, but suddenly it's like they are talking ancient hebrew and tell me how logical it all is. That is pretty intimidating, at least for me.
    Unfortunately math is always like that. It only makes sense if you get it.

    That's why getting someone to teach you is a good idea, because you can get personalized explanations. Different people have different things they are confused about, and books can't cover all possibilities.

  2. #17
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Wokzombie View Post
    Absolutely.
    On more than one occasion I have tried to learn basic math and failed because at the start it all seems logical and I can follow it, but suddenly it's like they are talking ancient hebrew and tell me how logical it all is. That is pretty intimidating, at least for me.
    This may also be evidence of the fact that you are not so interested in math. Some people have made some good points here about the historical relationship between math and computer science, but that still does not mean you need to understand it in order to program.

    Here are some things to consider if you have professional aspirations: there are specialized programming fields that no doubt require a lot of math. Probably there are specialized fields of programming that are actually more math than programming.

    Guess what? You won't be getting that job! Sorry! That job goes to people with advanced degrees in math! We are not talking about reading a few books and maybe getting a tutor -- we are talking about 4-6 years full time at a university.

    But there are way way more programming jobs that don't require any math -- they require programming skills.

    If you don't have professional aspirations AND you find math mind-numbing, don't get stressed out. So far, I don't think anyone has tried to claim that "you must understand algebra and calculus" to learn C. Because you don't. Don't burn yourself out, it is not worth it. Focus on learning C -- later, if you realize you want to explore a math heavy realm (eg, 3D animation), you can always deal with it then.

    Awesome avatar by the way. Looks very Dutch
    Last edited by MK27; 03-04-2010 at 04:22 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  3. #18
    Registered User
    Join Date
    Jan 2009
    Posts
    1,485
    Hey Wokzombie, I'm following a blog series at NYT by Steven Strogatz that you might find interesting. It get's updated every monday and is on it's 5th week now. I have it in my RSS feed. Here's the first one:

    From Fish to Infinity - Opinionator Blog - NYTimes.com

  4. #19
    Registered User Wokzombie's Avatar
    Join Date
    Feb 2010
    Location
    Netherlands
    Posts
    14
    Quote Originally Posted by MK27 View Post
    This may also be evidence of the fact that you are not so interested in math.
    Funny enough the paradox is that I am interested in math, I find it pretty fascinating.

    Quote Originally Posted by MK27 View Post
    ...there are specialized programming fields that no doubt require a lot of math. Probably there are specialized fields of programming that are actually more math than programming.

    Guess what? You won't be getting that job!
    No thanks I like my sanity, it makes me happy.

    Quote Originally Posted by MK27 View Post
    So far, I don't think anyone has tried to claim that "you must understand algebra and calculus" to learn C. Because you don't.
    It's not that I think I must know it for C but as you implied earlier I believe, it's a very useful tool that also comes around quite often, and when it does I would prefer to know what that person is talking about (within reason of course).

    Quote Originally Posted by MK27 View Post
    You do not have to quit programming to study math first.
    I'm not planning on doing that, my idea is to do both alongside each other as programming is my goal and math is more of a means to an end, or a utility.

    Quote Originally Posted by MK27 View Post
    Awesome avatar by the way. Looks very Dutch
    Thank you =) But I not sure what's Dutch about it. (Is it drug related? )


    Quote Originally Posted by Subsonics View Post
    Hey Wokzombie, I'm following a blog series at NYT by Steven Strogatz that you might find interesting. It get's updated every monday and is on it's 5th week now. I have it in my RSS feed. Here's the first one:

    From Fish to Infinity - Opinionator Blog - NYTimes.com
    Whoa, that is pretty damn awesome.

    I read the first article, and I thought it was funny how he starts off by saying that he'll be talking about it from an adult perspective and then shows a video from sesame street.

  5. #20
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Wokzombie View Post
    Funny enough the paradox is that I am interested in math, I find it pretty fascinating.

    It's not that I think I must know it for C but as you implied earlier I believe, it's a very useful tool that also comes around quite often, and when it does I would prefer to know what that person is talking about (within reason of course).
    That being the case, enjoy! I wasn't trying to stop you, just to clear any confusion you might have that a lack of math skills is holding you back from learning C, which it shouldn't. (Your first post does explicitly say that: "I know enough about simple calculations and tables to get me by with a calculator in the IT world so far, but it's just not enough for C." "something that that can take me from zero to knowing enough to functionally learn C?" -- this is no mere inference of mine)

    Otherwise I sound like someone trying to justify my own ignorance and excuse others for it too -- which I am honestly not like that. I would never have posted to the thread at all. Except maybe that link to Micheal Corral's site.

    Me, I keep thinking math will be interesting until I actually start doing it so I employ a "learn when necessary" approach, and it seems to have worked out okay. Eg, I never did any trig in school that I can remember, I started picking it up when I started with graphics.

    Code:
    Thank you =) But I not sure what's Dutch about it.
    Sheesh -- well the background looks an awful lot like a reference to "A starry night". Isn't Van Gogh Dutch? Or do you guys all consider him a traitorous ex-pat?

    I read the first article, and I thought it was funny how he starts off by saying that he'll be talking about it from an adult perspective and then shows a video from sesame street.
    "Fish fish fish fish fish fish!" That is pretty funny. Kind of a point about the usefulness of language, since language includes (words for) numbers.
    Last edited by MK27; 03-05-2010 at 11:50 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  6. #21
    Registered User Wokzombie's Avatar
    Join Date
    Feb 2010
    Location
    Netherlands
    Posts
    14
    Quote Originally Posted by MK27 View Post
    Your first post does explicitly say that: "I know enough about simple calculations and tables to get me by with a calculator in the IT world so far, but it's just not enough for C." "something that that can take me from zero to knowing enough to functionally learn C?" -- this is no mere inference of mine.
    You are right, I have been a bit double about that.
    I didn't necessarily have the idea that C itself requires (a lot of) math, but I am afraid that I will get into trouble when I start reading/using other people's code. The book I borrowed implied I would. (Beginning C by Ivor Horton)

    Code:
    Me, I keep thinking math will be interesting until I actually start doing it :p 
    so I employ a "learn when necessary" approach, and it seems to have worked out okay
    Gheh, I've got about the same. I keep finding math interesting until I come across it, then I suddenly notice I find tylenol very interesting as well.

    Code:
    well the background looks an awful lot like a reference to "A starry night".
    Isn't Van Gogh Dutch?  Or do you guys all consider him a traitorous ex-pat? :p
    Hey it does! And yeah he was Dutch, but I would have never noticed it since I know very little of the art of painting.

    Most people only know of the stereotype that the Dutch are a bunch of mega-liberal people throwing their lives away on drugs, hence I figured it was drug related

  7. #22
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Wokzombie View Post
    You are right, I have been a bit double about that.
    I didn't necessarily have the idea that C itself requires (a lot of) math, but I am afraid that I will get into trouble when I start reading/using other people's code. The book I borrowed implied I would. (Beginning C by Ivor Horton)
    Looks like a good book, but I bet you won't need much math to finish it (unless there's a section on algorithm analysis, which I didn't see in the contents, and even then the math is pretty simple, you just have to grasp "logarithmic"). Bit operations are like math, but unique to programming.

    Most people only know of the stereotype that the Dutch are a bunch of mega-liberal people throwing their lives away on drugs, hence I figured it was drug related
    I think the stereotype here is more that they are mega-liberal people who don't have to risk "having their lives thrown away" for smoking weed, because you can't go to jail for it, and (I presume) you can't be discriminated against for doing it, eg. by potential employers.
    Last edited by MK27; 03-05-2010 at 01:00 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  8. #23
    Registered User Wokzombie's Avatar
    Join Date
    Feb 2010
    Location
    Netherlands
    Posts
    14
    Quote Originally Posted by MK27 View Post
    Looks like a good book, but I bet you won't need much math to finish it (unless there's a section on algorithm analysis, which I didn't see in the contents, and even then the math is pretty simple, you just have to grasp "logarithmic").
    If the book required even semi-advanced calculations I would assume they would put it on the cover and I wouldn't even touch it. Well, I'd take a look but I doubt I would really take it as a learning source.

    But I did read today that someone thought this books is kind of rich on calculations and that the writer takes some assumptions that you know your way around them, I just can't remember where I read it.
    Maybe that's just healthy, but I tempt to avoid it like an infection.

    On a side note, since I only borrowed this book and I am still browsing for a book to buy, do you maybe know anything about C Programming: A Modern Approach, 2nd Edition?
    These books are very expensive and I do not take the discission lightly.

    Quote Originally Posted by MK27 View Post
    I think the stereotype here is more that they are mega-liberal people who don't have to risk "having their lives thrown away" for smoking weed, because you can't go to jail for it, and (I presume) you can't be discriminated against for doing it, eg. by potential employers.
    That's the other side of the stereotype, and in a way even somewhat true.
    I think the Dutch might be more liberal in general than a lot of other countries, but we mostly consider ourselves to be sober people (ironic, isn't it? ).

    But discrimination against smoking 'certain substances' might be less, but it is very much alive. I'm not too sure if you can get fired the moment your employer finds out, but it can work to your disadvantage.

    The only thing that is legal is growing a very small amount in your own home, without lamps. And possession of a small amount in your own home, the rest is 'tolerated' to the extent that you will very unlikely be thrown in jail for possession or smoking small quantities but the police does confiscate it from time to time if they see you smoke it outside and give fines if they keep seeing you do it.
    But that's usually just at known public hangouts and with known 'troublemakers'.
    In reality I could just go to a coffeeshop right now, buy about 2 grams and walk back while smoking with my friends, no harm done. Not that I smoke it, but I could.

  9. #24
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    I suggest learning some algebra, since if you need to apply some simple equation/formula, you may need to rearrange things.

    Learning about functions and basic transformations may also be useful, since functions in programming are very similar to functions in math.

    Basic geometry (coordinate system, Pythagorean theorem, area of basic shapes, function of lines, sin/cos/tan, etc) would be needed if you want to do anything graphical.

    I can't think of anything else that's as commonly used.

    EDIT: oh, and common functions like exponential, square root, rational.
    Last edited by cyberfish; 03-05-2010 at 08:17 PM.

  10. #25
    Registered User
    Join Date
    Jan 2009
    Posts
    1,485
    I just wanted to echo what some others have said, that math is no requirement to learning C any more than in other languages IME. There are some programming or related activites that might require it but, it's in my limited experience not specific to C in any way.

    I have been looking at learning something about optimization and algorithms, there it's a requirement of some math, (statistics, linear algebra and big-O notation) as well as machine learning with about the same requirements. But as far as I have understood most people use mathlab or octave for machinelearning rather than C, atleast in the initial phase. I'm also in the process of doing some math repetition from school, to pick some of this stuff up. My experience with school math was always that it was backwards to my way of learning. Normaly you would get 1-2 pages of explaination, followed by 20 pages of repetitious calculations, this meant that you could pass an exam (thanks to the volume of exercises) but, without actually understanding what you were doing.

  11. #26
    Registered User Wokzombie's Avatar
    Join Date
    Feb 2010
    Location
    Netherlands
    Posts
    14
    Quote Originally Posted by cyberfish View Post
    I suggest learning some algebra, since if you need to apply some simple equation/formula, you may need to rearrange things.
    I believe what I want to learn is called pre-algebra, the basic stuff.
    The URLs that claudiu and Subsonics gave me look sufficient for now, if it's not I guess I'm going to have to look for a tutor.


    Quote Originally Posted by Subsonics View Post
    I just wanted to echo what some others have said, that math is no requirement to learning C any more than in other languages IME.
    Yeah, I was really under the impression that when programming at levels like C it was a much more common practice to use mathematics.
    I am happy I was wrong.

    Quote Originally Posted by Subsonics View Post
    Normaly you would get 1-2 pages of explaination, followed by 20 pages of repetitious calculations, this meant that you could pass an exam (thanks to the volume of exercises) but, without actually understanding what you were doing.
    A friend of mine had the same with CompTIA exams as well, he had to cram more static information in his head than actual teachings.
    In fact, he believes the entire Security+ exam could be done by just remembering facts and protocols without actually ending up knowing how computer security works.
    Last edited by Wokzombie; 03-06-2010 at 10:46 PM.

  12. #27
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834
    It depends on what kinds of problem you are asked to solve using C.

    If you are in some graphics related company, then a project that you are asked to complete might assume you also know the necessary geometry and linear algebra. So any math skills you can bring with you would certainly help.

    If you are planning to work in the insurance or pension calculations fields then your statistics knowledge is tapped.

    If you are in some financial-related company such as bank, credit card, etc., then you'd be able to get away with a different math skill level.

    Learning to programming in C is independent of the depth of knowledge required to succeed in problem solving in various disciplines. C offers the fundamental math operations. It's up to you to be able to express formulas and algorithms effectively. Chances are, in most workplaces there are going to be helpful colleagues who can explain what is needed on paper using lots of pictures, arrows, etc. Even if they can't program themselves.

    If you work independently then it is expected that you research whatever is necessary to get the job done. Again, a good C-skill level helps to translate what people describe using their particular area of expertise into a program.

    What kinds of programs are you interested in writing?

  13. #28
    Registered User
    Join Date
    Jun 2009
    Posts
    486
    I highly reccomend Index page • Art of Problem Solving

    They have a forum for every levle of math from grade school to post-graduate level math, with literally hundreds if not thousands of people who are always willing to help you learn. Some of the more prolific posters are actually math teachers/professors from around the world.

  14. #29
    -bleh-
    Join Date
    Aug 2010
    Location
    somewhere in this universe
    Posts
    463
    Wokzombie
    If you want to learn coding and math at the same time, I would say any book on Numerical Analysis would do. You'll learn some math and pseudo codes at the same time. Just ignore the proof of convergence and theories for those schemes since they may be over your head. Don't forget to pick up on Linear Algebra.

  15. #30
    Registered User
    Join Date
    Aug 2010
    Posts
    3
    Sorry if my first post came across as spam looking I have been lurking here for ages and posted links to some dvds I had used to learn maths myself, I had no affiliation with any of the company's, are links to dvd training not allowed or was it just the way my post came across that it was removed ?
    Last edited by Markybhoy; 08-19-2010 at 04:59 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Doing aweful in math, but decent in CS?
    By psychopath in forum General Discussions
    Replies: 2
    Last Post: 11-04-2009, 09:49 AM
  2. Help with C++ Math
    By aonic in forum C++ Programming
    Replies: 4
    Last Post: 01-29-2005, 04:40 AM
  3. Basic Math Problem. Undefined Math Functions
    By gsoft in forum C Programming
    Replies: 1
    Last Post: 12-28-2004, 03:14 AM
  4. Math Header?
    By Rune Hunter in forum C++ Programming
    Replies: 26
    Last Post: 09-17-2004, 06:39 AM
  5. toughest math course
    By axon in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-28-2003, 10:06 PM