Difference Equations

I still have serious hatred of Green's functions arising from that particular course. Lucky we no longer do it analytically any more.

--
Regards, 
Martin Brown
Reply to
Martin Brown
Loading thread data ...

Our local choice was Matthews & Walker Mathematical Methods of Physics.

Always used to be popular with the turbulent flow brigade - often gave divergent power series that could only be tamed with Shank's. The pure mathematicians used to cringe at the abuse of method but they could not deny that the results it predicted matched experimental data well!

Works best on alternating series with poor convergence or divergence!

I was once very interested in extended convergence tricks and have used the rational approximation for Log(1+x) in anger several times.

Log(1+x) = x(6+x)/(6+4x) where -1/2 < x < 1

The other common one sometimes useful is

Sqrt(x) = (1+3x)/(3+x) where -1/2 < x < 2

Only really any good if you have fast hardware divide.

These tricks sometimes allow a rough polynomial approximation soluble analytically to provide a much better initial input guess for more rapid convergence of an iterative method like N-R.

--
Regards, 
Martin Brown
Reply to
Martin Brown

e
t

to

to

bag

out

ing

l

t you

e-

et

,

Hi Martin, (I also hated Green's functions as a student) Well I'm sure you know this, but it came as a revelation to me many years after graduating. The Green's function is just the pulse response of the system. If someone had told me that in school things would have made a lot more sense! I sometimes wish I could take some of those courses over again. It seems like I might understand them better now.

George H.

Reply to
George Herold

I recall the materials course where the prof explained everything using tensor calculus. Unfortunately, nobody had previously bothered to teach us tensor calculus. All the lectures were pure gibberish. I'm not at all sure how I passed that course.

Reply to
Ralph Barone

Good stuff. Did you ever read Forman Acton's "Numerical Methods That Work"?

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 USA 
+1 845 480 2058 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

Bell curve.

Best regards, Spehro Pefhany

--
"it's the network..."                          "The Journey is the reward" 
speff@interlog.com             Info for manufacturers: http://www.trexon.com 
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
Reply to
Spehro Pefhany

Yes - but along time ago. I don't possess a copy any more.

One memorable fun version of 3 term Shanks with terrible numerical stability (but you can divide it out to get something much better) is difference of geometric mean over arithmetic mean

given the partial sums a, b, c

x' = (a*c-b^2)/(a+c-2*b)

And if you feed it 1,3,7 it gives

x' = (1*7-3^2)/(1+7-2*3) = (7-9)/(8-6) = -1

Users of twos compliment arithmetic take note!

A numerically stable version that is formally equivalent is

x' = (a+2b+c)/4 - (a-c)^2/(a+c-2b)/4

Subject to typos and lapses of memory...

--
Regards, 
Martin Brown
Reply to
Martin Brown

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.