Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Mathematically-troubled Computer Scientist?

Mathematically-troubled Computer Scientist?

Scheduled Pinned Locked Moved The Lounge
algorithmsquestion
70 Posts 28 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Ian Uy

    There's already one. I asked a stupid elementary math question there and got flamed for it. Click -> http://www.codeproject.com/script/Forums/View.aspx?fid=326859&select=2612810&fr=134#xx2612810xx[^]

    It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

    D Offline
    D Offline
    Dalek Dave
    wrote on last edited by
    #28

    Try doing it for Happy Numbers and Happy Primes!

    ------------------------------------ "Password Protected? You're dealing with Geeks, just turn it on, type Gandalf and you're in!" - Frankie Boyle

    1 Reply Last reply
    0
    • I Ian Uy

      Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

      It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #29

      I find it difficult to believe that you had a hard time with Algorithms, Complexity, Discrete Math, Calculus and Theory of Computation but then did well in Data Structures and AI. You must not be taking the same AI course I took. Any logical thinker can easily excel in the field of business software, however, a thorough understanding and foundation in Mathematics is essential in some aspects of the field. Unfortunately, a lot of my time is spent trying to convince programmers that are bad at math why algorithms that perform with exponential complexity are a bad idea because their philosophy is: it works good in Dev. Just don't be that guy.

      Need a C# Consultant? I'm available.
      Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

      1 Reply Last reply
      0
      • J Jim Crafton

        Define mathematically challenged? If you can get through basic calculus, and understand how it works, I'd say you'll be fine, as most of the time programming doesn't require that level of math. If you had a hard time with Automata and Algorithms Complexity, then just keep studying it. Keep working at it and you'll be fine.

        ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

        E Offline
        E Offline
        Ennis Ray Lynch Jr
        wrote on last edited by
        #30

        I agree. I wish more schools had Georgia Tech's old policy on non-computer science courses for the CS Degree: "D is for Done".

        Need a C# Consultant? I'm available.
        Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

        1 Reply Last reply
        0
        • I Ian Uy

          Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

          It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

          J Offline
          J Offline
          Joan M
          wrote on last edited by
          #31

          Ian Uy wrote:

          How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life?

          In my job (machinery construction), there are significant parts that need maths to be solved, when you make inverse kinematics and when you have to calculate specific functions to predict a behaviour or to correct one in order to get the job done properly... There are jobs that need a lot of math out there (3D apps...) but there are others that do not need them (DB programming...).

          Ian Uy wrote:

          Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math?

          I'm not very good at math, and I'm the one that manages the IT department in our company. I'd love to know more on this topic as sometimes I need an extra help that I know that would not be needed if I knew more on maths. But in the other hand I'm full of experience on my job after 10 years of working here and I can make very special things (even without maths). Hope this helps... PS: Anyway, if you are still into the studying part of your life I would try to make an effort, believe it or not, now you have plenty of time to make things like that, and depending on the job you want to do, you will need them and you'll be more prepared.

          [www.tamelectromecanica.com][www.tam.cat]

          I 1 Reply Last reply
          0
          • K keyboard warrior

            it is mine as well. perhaps we can start a code project math forum ;P

            ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #32

            jgasm wrote:

            code project math forum

            There's one that has been there for a while now.

            "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

            1 Reply Last reply
            0
            • I Ian Uy

              How can I relate Integral Calculus to programming? If I can relate a math topic (Say discrete mathematics) to programming, I find it easier and more enjoyable to learn. :laugh:

              It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

              S Offline
              S Offline
              Shog9 0
              wrote on last edited by
              #33

              Ian Uy wrote:

              How can I relate Integral Calculus to programming?

              I think you're looking at this the wrong way around. Calculus is used in many engineering tasks; software is needed to reduce errors and tedium inherent in such calculations; if you have a poor understanding of the math involved, you're gonna have a hard time implementing the algorithms. When i left school, i had pretty much the same attitude: "i'll never use this, so why remember it?" A few years later, i'm working with engineers on software to calculate acoustics and airflow through complex shapes... For the most part, i stick to the UIs, but more and more i find myself digging up web references and old textbooks to try to bring this stuff back. Where i paid attention, it comes easy and i get things done; where i just worked to get by, i struggle.

              Citizen 20.1.01

              'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

              P M 2 Replies Last reply
              0
              • I Ian Uy

                I passed calculus by memorizing the "formulas" and the "patterns" on my professors lectures to answer the quizzes. I never UNDERSTAND why they do "this" and "that" to get "those". I don't even know what Calculus is for. That may explain why I never liked Math in the first place. :(

                It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #34

                Ian Uy wrote:

                I passed calculus by memorizing the "formulas" and the "patterns" on my professors lectures to answer the quizzes.

                Then I'd respectfully argue that you didn't really pass. Either your professor was not very good, or you didn't put the effort you needed to in it. Which is too bad because it's really kind of interesting. Draw a 2D blobby, irregular shape with curves. Now find the area. Can't? That what calculus is used for (or at least one example).

                ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                1 Reply Last reply
                0
                • I Ian Uy

                  Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

                  It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #35

                  Ian Uy wrote:

                  How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life?

                  They are important. How can you know how to better design an algorithm if you don't understand how Big O Notation works? Or how can you show a boss that you have created an algorithm that is the most efficient for a particular problem at hand? You need the math background in order to do so.

                  "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                  I 1 Reply Last reply
                  0
                  • K keyboard warrior

                    cooking analogy... marinated briskets... next time i turn on the tv "cooking for geeks! hosted by Shog"

                    ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

                    P Offline
                    P Offline
                    Paul Conrad
                    wrote on last edited by
                    #36

                    jgasm wrote:

                    turn on the tv "cooking for geeks! hosted by Shog"

                    Now maybe if some Food Network guys could get him on the air :)

                    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                    S 1 Reply Last reply
                    0
                    • J Joan M

                      Ian Uy wrote:

                      How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life?

                      In my job (machinery construction), there are significant parts that need maths to be solved, when you make inverse kinematics and when you have to calculate specific functions to predict a behaviour or to correct one in order to get the job done properly... There are jobs that need a lot of math out there (3D apps...) but there are others that do not need them (DB programming...).

                      Ian Uy wrote:

                      Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math?

                      I'm not very good at math, and I'm the one that manages the IT department in our company. I'd love to know more on this topic as sometimes I need an extra help that I know that would not be needed if I knew more on maths. But in the other hand I'm full of experience on my job after 10 years of working here and I can make very special things (even without maths). Hope this helps... PS: Anyway, if you are still into the studying part of your life I would try to make an effort, believe it or not, now you have plenty of time to make things like that, and depending on the job you want to do, you will need them and you'll be more prepared.

                      [www.tamelectromecanica.com][www.tam.cat]

                      I Offline
                      I Offline
                      Ian Uy
                      wrote on last edited by
                      #37

                      Last time I presented a report on "Random Numbers", using a Linear Congruential Generator (Lehmer Generator). I read a lot of materials and the underlying math about the simple equation. In the end, I was still unable to understand how modding an integer to a larger prime number gives "pseudo random" characteristics. While reading thru the mathematical proofs and theorems, I regretted not loving math in grade school.

                      It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                      1 Reply Last reply
                      0
                      • I Ian Uy

                        Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

                        It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                        C Offline
                        C Offline
                        Chris Austin
                        wrote on last edited by
                        #38

                        My personal opinion is that you do need to be competent in maths to be effective in any field of engineering or science. Initially I struggled with calculus but was told by my adviser to tough it out and if I threw myself into it that I would eventually "get it". He was right, in the end I finished with a minor in math and was a calculus teaching assistant for a short time. So, tough it out and apply yourself; take a few extra math courses if you need to.

                        Sovereign ingredient for a happy marriage: Pay cash or do without. Interest charges not only eat up a household budget; awareness of debt eats up domestic felicity. --Lazarus Long

                        1 Reply Last reply
                        0
                        • I Ian Uy

                          I passed calculus by memorizing the "formulas" and the "patterns" on my professors lectures to answer the quizzes. I never UNDERSTAND why they do "this" and "that" to get "those". I don't even know what Calculus is for. That may explain why I never liked Math in the first place. :(

                          It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                          M Offline
                          M Offline
                          mr_lasseter
                          wrote on last edited by
                          #39

                          Take some physics classes as well as some electrical engineering classes and you should see it all come together. That's how it worked for me. Physics really drove home calculus and taking 2nd year electrical engineering class while taking differential equations. It was really nice seeing learning in one class effected my knowledge in the other subject, but I was a math and comp eng. major and the math came easy. Did you have to do any word problems were you were supposed to apply the knowledge instead for show the derivative/integral of this equation? It might help you understand that a little better.

                          Mike Lasseter

                          1 Reply Last reply
                          0
                          • P Paul Conrad

                            Ian Uy wrote:

                            How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life?

                            They are important. How can you know how to better design an algorithm if you don't understand how Big O Notation works? Or how can you show a boss that you have created an algorithm that is the most efficient for a particular problem at hand? You need the math background in order to do so.

                            "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                            I Offline
                            I Offline
                            Ian Uy
                            wrote on last edited by
                            #40

                            The logical thing that I would do is run both algorithms in the same machine and get the total running time then benchmark the two algorithms. I realize that this is not the "scientific" way of doing this. One should be able to say that "My algorithm is linear while the other guy is quadratic". :doh:

                            It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                            C P S 3 Replies Last reply
                            0
                            • S Shog9 0

                              You think you've got it bad - my whole kitchen still smells like it. Seriously tempted to try a BBQ breakfast... :~

                              jgasm wrote:

                              because of my obsession with food...someone's mind is in the gutter.

                              Hey, i assure you, my mind is on high and noble matters. My rich and tangy sauce, for instance.

                              Citizen 20.1.01

                              'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                              M Offline
                              M Offline
                              MidwestLimey
                              wrote on last edited by
                              #41

                              Mmmmmm, BBQ'd corn flakes ....


                              I'm largely language agnostic


                              After a while they all bug me :doh:


                              1 Reply Last reply
                              0
                              • S Shog9 0

                                Ian Uy wrote:

                                How can I relate Integral Calculus to programming?

                                I think you're looking at this the wrong way around. Calculus is used in many engineering tasks; software is needed to reduce errors and tedium inherent in such calculations; if you have a poor understanding of the math involved, you're gonna have a hard time implementing the algorithms. When i left school, i had pretty much the same attitude: "i'll never use this, so why remember it?" A few years later, i'm working with engineers on software to calculate acoustics and airflow through complex shapes... For the most part, i stick to the UIs, but more and more i find myself digging up web references and old textbooks to try to bring this stuff back. Where i paid attention, it comes easy and i get things done; where i just worked to get by, i struggle.

                                Citizen 20.1.01

                                'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                P Offline
                                P Offline
                                Paul Conrad
                                wrote on last edited by
                                #42

                                Shog9 wrote:

                                i had pretty much the same attitude: "i'll never use this, so why remember it?"

                                Well, the same thing here. I figured I'd never need it, came across the need for all that good calculus stuff, popped open my old calculus book and it all came back. Just like riding a bike, once learned how, it pretty much sticks for the most part :rolleyes:

                                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                                S 1 Reply Last reply
                                0
                                • I Ian Uy

                                  The logical thing that I would do is run both algorithms in the same machine and get the total running time then benchmark the two algorithms. I realize that this is not the "scientific" way of doing this. One should be able to say that "My algorithm is linear while the other guy is quadratic". :doh:

                                  It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                                  C Offline
                                  C Offline
                                  Chris Austin
                                  wrote on last edited by
                                  #43

                                  Ian Uy wrote:

                                  The logical thing that I would do is run both algorithms in the same machine and get the total running time then benchmark the two algorithms.

                                  This would get you fired or put on code maintenance at a lot of places I've worked at. I'm not trying to be harsh but, why even bother with a science degree if you are going to ignore the science aspect.

                                  Sovereign ingredient for a happy marriage: Pay cash or do without. Interest charges not only eat up a household budget; awareness of debt eats up domestic felicity. --Lazarus Long

                                  I D 2 Replies Last reply
                                  0
                                  • S Shog9 0

                                    Ian Uy wrote:

                                    How can I relate Integral Calculus to programming?

                                    I think you're looking at this the wrong way around. Calculus is used in many engineering tasks; software is needed to reduce errors and tedium inherent in such calculations; if you have a poor understanding of the math involved, you're gonna have a hard time implementing the algorithms. When i left school, i had pretty much the same attitude: "i'll never use this, so why remember it?" A few years later, i'm working with engineers on software to calculate acoustics and airflow through complex shapes... For the most part, i stick to the UIs, but more and more i find myself digging up web references and old textbooks to try to bring this stuff back. Where i paid attention, it comes easy and i get things done; where i just worked to get by, i struggle.

                                    Citizen 20.1.01

                                    'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                    M Offline
                                    M Offline
                                    MidwestLimey
                                    wrote on last edited by
                                    #44

                                    Or even something as mundane as caching loaded win forms (which could take 2-3 seconds to load from scratch) and inventing a mechanism to determine which ones should be dropped and which should stay resident. Determining the utility of a form to a user was fun but required a bit of maths revision.


                                    I'm largely language agnostic


                                    After a while they all bug me :doh:


                                    1 Reply Last reply
                                    0
                                    • I Ian Uy

                                      I passed calculus by memorizing the "formulas" and the "patterns" on my professors lectures to answer the quizzes. I never UNDERSTAND why they do "this" and "that" to get "those". I don't even know what Calculus is for. That may explain why I never liked Math in the first place. :(

                                      It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                                      P Offline
                                      P Offline
                                      Paul Conrad
                                      wrote on last edited by
                                      #45

                                      Ian Uy wrote:

                                      I never UNDERSTAND why they do "this" and "that" to get "those".

                                      Sounds like you didn't have a good instructor. They should have covered how and why things work the way they work in calculus. As far as seeing how integral calculus fits into computer programming, just wait until you have a project that is dealing with physics/engineering stuff, that warrants a need for it.

                                      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                                      1 Reply Last reply
                                      0
                                      • D Dalek Dave

                                        Matthew Faithfull wrote:

                                        don't think statistics is even worth studying

                                        You are right! (47% of the Time)

                                        ------------------------------------ "Password Protected? You're dealing with Geeks, just turn it on, type Gandalf and you're in!" - Frankie Boyle

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #46

                                        I won't ask if you have standard deviations. :rolleyes:

                                        Visit http://www.notreadytogiveup.com/[^] and do something special today.

                                        O 1 Reply Last reply
                                        0
                                        • C Chris Austin

                                          Ian Uy wrote:

                                          The logical thing that I would do is run both algorithms in the same machine and get the total running time then benchmark the two algorithms.

                                          This would get you fired or put on code maintenance at a lot of places I've worked at. I'm not trying to be harsh but, why even bother with a science degree if you are going to ignore the science aspect.

                                          Sovereign ingredient for a happy marriage: Pay cash or do without. Interest charges not only eat up a household budget; awareness of debt eats up domestic felicity. --Lazarus Long

                                          I Offline
                                          I Offline
                                          Ian Uy
                                          wrote on last edited by
                                          #47

                                          Because a science degree will get you a better higher paying job? (At least in this 3rd-world country)

                                          It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups