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 12 2206
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
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
"Programmin g is one of the most difficult branches of
applied mathematics; the poorer mathematicians had
better remain pure mathematicians. "
Edsgar W. Dijkstra
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.progr amming , because it's
technology neutral. As I'm sure several others here will politely remind
you.
--
Phlip http://industrialxp.org/community/bi...UserInterfaces
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.
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
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.
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
In article <d3************ *@news.t-online.com>,
Matthias Kaeppler <no****@digital raid.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 tried the example in the text book first, to ensure that I was
getting the correct result, but it did not agree. Then my wife had the
idea of using the Microsoft calculator in scientific mode, and that
one did give the correct result.
|
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: *** Invalid arguments to divll. at test_eng/Testout.pm line
30.
...propagated at t/polyser.t line 9.
t/polyser.....dubious
|
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 command line. The amount by
which the calculation is off is very small; even though the double data type
holds the errant value, it seems to round off when printed (via ToString())
and shows the correct one. The problem is that the errant value is...
|
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 deep. In
that case you need much more ram than a PC has to store functions
calculated in loops so that you do not have to recalculate every time
you cycle through the nest of loops. Using a HD for storage to extend
ram is much too slow for many...
|
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
}
| |
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 almost halfway
through writing the over 200 functions needed to implement C99's
version of math.h, and I would like to have some feedback and/or expert
advice on my implementations.
Sincerely, Gregory Pietsch
|
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 )
|
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
empowered by Python and Ubuntu than by any
King's English I'd warrant, given how the latter
has been dumbed down (slowed, degraded) by
unimaginative bankers who can't fathom open
source and its math-teaching significance to
our digitally savvy...
|
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 !!!!
|
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 half then lower half?. Is there a rule that
says
you can't do it in one set of calculated values for all the points as
the points
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |