|
Every time I'm asked to do some math, I always start at 1+1 and work my way from there.
I always like math at school, got good grades even if I was never really good at it, (or felt like it).
Anecdotal, I crapped a test on Fourier Transform in one of our Theoretical Computer Science course, We had to do something with it to reduce some equations, but I indexed one of the sequence at 1 instead of 0, it never converged.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Maximilien wrote: I always start at 1+1 and work my way from there
How hard could that possibly be? The Universe of Discourse : 1+1=2[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
2 & 2 = 22
2 + 2 = 4
Just saying.
P.S. This only makes sense if you are speaking like an American. Many will use "and" instead of "plus" when adding.
Bond
Keep all things as simple as possible, but no simpler. -said someone, somewhere
|
|
|
|
|
Actually, it only makes sense if you're speaking Visual Basic. In any sensible language, 2 & 2 == 2 .
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You're right about the usage of 'and' instead of 'plus' by americans. Considering this, how do you come to "2 & 2 (which is 2 plus 2) = 22" ? I don't get it. I might be slow this morning...
|
|
|
|
|
Since I can't figure out superscripting, please read B^2 as B squared ...
Let A = B
Multiply both sides by B: AB = B^2
Add B^2 to each side: AB + B^2 = 2B^2
Subtract 2AB from each side: B^2 - AB = 2B^2 -2AB
(B^2 - AB ) = 2*(B^2 - AB)
1 = 2
QED.
|
|
|
|
|
Rich Leyshon wrote: Subtract 2AB from each side: B^2 - AB = 2B^2 -2AB
Issue found
I'm doing a lot of these mistakes anyway.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Easier if you say if
(B^2 - AB) = 2*(B^2 - AB)
then given
B^2 = AB
you have
1 * (0) = 2 * (0)
giving
0 = 0
|
|
|
|
|
|
Yep, I told you I was making a lot of mistakes? I also added a proof.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Rich Leyshon wrote: Since I can't figure out superscripting, please read B^2 as B squared ... Surround with <sup></sup> like:
B2
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Makes sense, perhaps I should have tried that ...
|
|
|
|
|
Division by zero will do that to you.
BB-AB = 0
|
|
|
|
|
It will depend on what you work with.
But I think people that are bad at maths probably make bad programmers, since logics is so important.
|
|
|
|
|
Ooh, signal processing? That is cool.
Every day is a learning day... recently I had to use Welford standard deviation to calculate a running standard deviation. I did not even know that was possible without storing all of the numbers.
|
|
|
|
|
Brushless motor control, which is signal processing (especially when factoring in PWM sinusoids and EM emission control).
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I think a lot of the time maths is no necessary in much of what we do as developers, but having a mind that is good at maths does seem to make people better developers.
Perhaps it's something to do with being able to work with abstractions or recognise logical patterns.
P.S. I do not have a naturally good mathematical mind.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
It all depends on the field in which you end up. I think all programmers (who do it as a full-time job) end up acquiring expertise in a domain that is not, strictly speaking, related at all to programming. Mathematics would be one of those domains.
Personally, I got shafted when I was accepted to university, provided I took a chemistry course, which they had decided was a prerequisite for computer science - chemistry was the only science course I did not take while in high school.
To make a long story short, the schedule for that chemistry course conflicted with my other courses, and neither teachers nor university administration gave a damn; I dropped out during the first semester and went to college for 3 years instead.
Decades later, I've never had a job that required any sort of chemistry, and I certainly don't feel like I've missed out on anything.
|
|
|
|
|
I wish to meet all of the people who say "soil research is useless to programmers."
My client just called me and told me that their indicative beet cyst nematode research does not display the eggs per larva per 100 ml correctly.
Also, if I can create a report showing yearly infections of rostochiensis, pallida, or both.
Meloidogyne is going pretty well though.
|
|
|
|
|
As a business programmer I don't use a lot of math in my code, but I do have to understand a lot of math so I can design the appropriate algorithms for the problems I'm solving.
|
|
|
|
|
Years ago, in the 1980s, and in a land far, far away, New Jersey, I developed a radar display on a PC for the FAA. Those were the days of the '286 and they were s-l-o-w and floating point was an unavailable hardware option. In order to keep up and display the data in a circle, I had to re-derive the standard SIN, COS, and TAN functions to recognize 0 degrees as the positive Y-axis instead of the traditional positive X-axis.
Or, to put it succinctly, how well do you understand trigonometry and integer processing?
__________________
Lord, grant me the serenity to accept that there are some things I just can’t keep up with, the determination to keep up with the things I must keep up with, and the wisdom to find a good RSS feed from someone who keeps up with what I’d like to, but just don’t have the damn bandwidth to handle right now.
© 2009, Rex Hammock
|
|
|
|
|
I also had to re-derive sin, cos and tan functions to properly apply a vectorial control in real time... multiple times for different projects from simple "closest value in LUT" to "linear interpolation between adjacent values".
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I would never say math is useless, but when people find out I write software, a frequent reaction is, "Wow, you must be really good at math." I think I'm above average in numeracy, but I sort of maxed out at calculus, so no, I'm not really good at math, but this is a common misconception.
So I explain that, while developing some types of software requires very high math skills, other skills are more universal. For example, being able to anticipate how your users will use your software is very important regardless of the type of software.
|
|
|
|
|
I ended up working for a bank, and they have some really weird calculation structures. Whenever anything more than basic maths was required I pointed them a the quants who live in that space. In 30+ years of building business solutions I never required any of the mentioned maths.
What the bloody hell have they got you doing and why?
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Motor control. If you want to have a brushless DC motor running you have to pilot 3 phases with adequate currents - and we can't use the standard 6 point drive because it is noisy.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|