473,320 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How much math?

I decided I need to understand math more to help me with programming.
Not to mention, eventually in my degree plan I will need to do it
anyway. How much math have people in this forum taken, and how much has
it helped thier programming?

Xeys

Jul 23 '05 #1
12 2177
xeys_00 wrote:
I decided I need to understand math more to help me with programming.
Not to mention, eventually in my degree plan I will need to do it
anyway. How much math have people in this forum taken, and how much has
it helped thier programming?

Xeys


That 100%-ish depends on what you want to do. You don't really need any
practical experience in math when writing some GUI frontend. But then,
it's a good thing if you know what e.g. Big-O notation means if you're
dealing with algorithms (and even in GUI programming you sooner or later
have to sort or search collections, and by then you should know which
algorithm to pick).

Of course, in general, programming languages are similar to the "math
language" in terms of formalisms. But you can lern those formalisms
without being a math genius.

If however you want to e.g. deal with computer graphics, linear algebra
is your friend.

But in general, I'd say: It depends (I didn't need any math knowledge to
learn C++).

--
Matthias Kaeppler
Jul 23 '05 #2
xeys_00 wrote:
I decided I need to understand math more to help me with programming.
Not to mention, eventually in my degree plan I will need to do it
anyway. How much math have people in this forum taken, and how much has it helped thier programming?


there are many talanted programmers who do not have a mathematical
background. I have fairly mathematical background and I don't notice
needing it much on a day to day basis for programming. On the other
hand I do think it helps to organise your thoughts and sometimes when
analysing particularly gnarly problems. On the gripping hand, the
amount of mathematics needed depends what you are doing. Analysis of
algorithms, graphics and other matematical heavy domains.

Then there's my pet subject, proving programs correct (in a hobby
sort of way rather than in day to day prctice I'm afraid)).
Maintaining invarients etc. There you need mathematics.
--
Nick Keighley
"Programming is one of the most difficult branches of
applied mathematics; the poorer mathematicians had
better remain pure mathematicians."
Edsgar W. Dijkstra

Jul 23 '05 #3
xeys_00 wrote:
I decided I need to understand math more to help me with programming.
Not to mention, eventually in my degree plan I will need to do it
anyway. How much math have people in this forum taken, and how much has
it helped thier programming?


I took Calculus four times, and got a lower grade each time.

(There's a rate of change for you!)

Then I got a gig programming (deep breath) Zhegalkin Polynomials definining
an attractor space mapped onto the duals of permutahedra, and learned that
European grade schools, east of England, teach Leibnitz Integrals first,
before Calculus, making the Calculus absurdly easy...

BTW this question would work best on news:comp.programming , because it's
technology neutral. As I'm sure several others here will politely remind
you.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 23 '05 #4
xeys_00 wrote:
I decided I need to understand math more to help me with programming.
Not to mention, eventually in my degree plan I will need to do it
anyway. How much math have people in this forum taken, and how much has
it helped thier programming?

Xeys


As everyone says, it depends what you want to do, though I do think that
developing the skills of mathematical reasoning is quite generally
useful to the task of program design. I've always seen a definite
parallel between structuring a mathematical proof and structuring an
algorithm or program.

Personally, I had a pretty strong math background before I began any
computer science, and this led me naturally to the study of algorthms
and complexity. Since this is much of what I do professionally, it was
a logical path. Moreover, the people who struggle with these subjects
are quite often the ones who lack mathematical experience, so this is
something to bear in mind if you plan to follow this route.

Regardless of application, all programmers need a certain mathematical
facility to evaluate the trade-offs of varying design choices. However
for the most part this is pretty basic stuff. You don't need linear
algebra to understand the difference between O(n^2) and O(n log n).

So what's the upshot of all this? If you want to work in a specialized
area, graphics or numerics, e.g., then of course you need to take the
relevant specialized math courses. Otherwise, concentrate on discrete
math (I believe that's what it's commonly called), which covers most of
the basics necessary to be a mathetmatically-competent programmer. If
you have time, take a theoretical treatment of linear algebra, in part
because it has a good number of practical uses, and also because it will
hone your logical thought process.
Jul 23 '05 #5
I often tell people that if they hate "word problems" in math, they'll
probably hate programming, or at least the analysis/design stages, which
is arguably the most important part. After all, analyzing a problem and
designing a solution is basically a big "word problem". Usually with not
enough words, and with the given words being too vague. :-(

--
Jon Bell <jt****@presby.edu> Presbyterian College
Dept. of Physics and Computer Science Clinton, South Carolina USA
Jul 23 '05 #6
Jon Bell wrote:
I often tell people that if they hate "word problems" in math


Please distinguish "unable to do word problems" from "hate them".

;-)

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 23 '05 #7
Believe me, those who don't have background on mathematics but claim
to be
talented programmers do have four things in common which are the
prerequisite to help them survive in programming community:

1> Their tongues.
2> Their Code snippets are "borrowed".
3> They are/were never students of artificial life/ artificial
intelligent
4> They are not doing anything relating to science or it is just (1>)
that helps them.
Jul 23 '05 #8
Jon Bell wrote:
I often tell people that if they hate "word problems" in math, they'll
probably hate programming, or at least the analysis/design stages, which
is arguably the most important part. After all, analyzing a problem and
designing a solution is basically a big "word problem". Usually with not
enough words, and with the given words being too vague. :-(


I don't know what a "word problem" is, but I like programming a lot.
Does that mean I like word problems although I don't know what they are?

Sort of exciting!

--
Matthias Kaeppler
Jul 23 '05 #9
In article <d3*************@news.t-online.com>,
Matthias Kaeppler <no****@digitalraid.com> wrote:

I don't know what a "word problem" is, but I like programming a lot.
Does that mean I like word problems although I don't know what they are?


You might. :-)

The kind of problems I'm thinking of are the ones in which you're not
given the equations to solve directly, but instead you're given a verbal
description of a situation. You have to identify the known and unknown
quantities, and the mathematical method (algorithm) that you need to use,
and then set up the equations, before you can actually solve them.

i actually deal with students struggling with word problems in physics,
because that's what I mostly teach. But when I talk to someone who's
inteested in starting to study programming, they usually haven't taken any
physics courses, but they *have* studied some math.

And in fact, we do find that students who do well in physics or math also
tend to do well in our programming courses, even though we don't actually
use much math in those courses, and practically no physics.

Also, the students who try to solve physics problems by simply hunting
through the textbook for likely-looking equations, and don't do well as a
result, tend not to do well in programming courses either. They can't
"invent" an algorithm on their own, but can use only what they've been
shown explicitly in class.

--
Jon Bell <jt****@presby.edu> Presbyterian College
Dept. of Physics and Computer Science Clinton, South Carolina USA
Jul 23 '05 #10
Matthias Kaeppler wrote:

Jon Bell wrote:
I often tell people that if they hate "word problems" in math, they'll
probably hate programming, or at least the analysis/design stages, which
is arguably the most important part. After all, analyzing a problem and
designing a solution is basically a big "word problem". Usually with not
enough words, and with the given words being too vague. :-(


I don't know what a "word problem" is,

German: "Textaufgabe"

--
Karl Heinz Buchegger
kb******@gascad.at
Jul 23 '05 #11
Karl Heinz Buchegger wrote:
Matthias Kaeppler wrote:
Jon Bell wrote:
I often tell people that if they hate "word problems" in math, they'll
probably hate programming, or at least the analysis/design stages, which
is arguably the most important part. After all, analyzing a problem and
designing a solution is basically a big "word problem". Usually with not
enough words, and with the given words being too vague. :-(


I don't know what a "word problem" is,


German: "Textaufgabe"


Ah I see, thanks Karl. Did I say I don't know what a word problem is? Of
course I know what a word problem is ;-D

But actually I don't see the connection to programming. I /do/ see the
connection to the analysis/design stage of developing a piece of
software though (as you have already stated).

--
Matthias Kaeppler
Jul 23 '05 #12
In article <d3**********@jtbell.presby.edu>,
Jon Bell <jt****@presby.edu> wrote:
And in fact, we do find that students who do well in physics or math also
tend to do well in our programming courses, even though we don't actually
use much math in those courses, and practically no physics.


That's hardly surprising; even though the actual direct knowledge seldom
overlaps, the analytical thinking skills required are rather similar
for all three.

In general, it doesn't matter what type of math unless there's something
required for the type of programming you want to do, but studying math is
good mental training for computer programming (and programming for math).
dave

--
Dave Vandervies dj******@csclub.uwaterloo.ca
If you see me abusing the term in this way, you are hereby given
permission to wince inwardly.
--Richard Heathfield in comp.lang.c
Jul 23 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Frank Millman | last post by:
Hi all I was helping my niece with her trigonometry homework last night. Her calculator's batteries were flat, so I thought I would use Python's math module to calculate sin, cos, and tan. I...
0
by: Jussi Mononen | last post by:
Hi, I'm having problems to successfully execute the test scripts on a Compaq host ( OSF1 tr51bdev V5.1 2650 alpha ). Almost all tests end up with the following error message "PARI: *** ...
1
by: limelight | last post by:
I have discovered a math error in the .NET framework's Log function. It returns incorrect results for varying powers of 2 that depend on whether the program is run from within the IDE or from the...
17
by: cwdjrxyz | last post by:
Javascript has a very small math function list. However there is no reason that this list can not be extended greatly. Speed is not an issue, unless you nest complicated calculations several levels...
7
by: bravesplace | last post by:
Hello, I am using the folling funtion to round a number to a single digit on my form: function round1(num) { return Math.round(num*1)/1 }
110
by: Gregory Pietsch | last post by:
I'm writing a portable implementation of the C standard library for http://www.clc-wiki.net and I was wondering if someone could check the functions in math.h for sanity/portability/whatever. I'm...
11
by: Sambo | last post by:
I have the following module: ------------------------------- import math def ac_add_a_ph( amp1, ph1, amp2, ph2 ): amp3 = 0.0 ph3 = 0.0 ac1 = ( 0, 0j ) ac2 = ( 0, 0j )
0
by: kirby.urner | last post by:
Cyber-curricula have a leveling aspect, as kids nearer Katrina's epicenter tune in and bliss out on 'Warriors of the Net' (why wait for stupid big dummy textbooks to catch up?). They feel more...
4
by: =?Utf-8?B?UmVuZQ==?= | last post by:
Hello everyone I have a problem with Math.Round, it´s ocurring some strange: Math.Round(12.985) = 12.98, it´s wrong. It should be: 12.99 Why?? What is the problem? Help ME !!!!
15
by: bH | last post by:
Hi All, I have been looking at javascript drawing from this website : http://www.cwdjr.net/geometricDraw/pentagon_draw.html" and I am wondering why the author made it into two images : upper...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.