Search found 5723 matches

by dodicat
Jan 02, 2010 22:50
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

@Richard I see you are relying on the convergence of the floats to end the loop in your cosine function, at about 10^-16 ~ 10^-20. It' nice that your code automatically terminates at the convergence, but 10^-(16~20) is actually quite a big number using a bignumber function, better to stipulate an ac...
by dodicat
Dec 31, 2009 21:08
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

@Albert Since your ultimate goal is to get a bignumber sine/cos/tan quickly by one formula, I'll let you get on with that, however here are a couple of results using the old polynomium expansion, but using bignumbers: sin(6.1) by float = -0.1821625042720959 sin(6.1) by bignumber to 300 terms of the ...
by dodicat
Dec 27, 2009 23:00
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

@Richard "There's something lost and something gained in living every day." I'll put the maths tome back up on the shelf now. And thanks for the exchanges on this topic from the opposite side of this old oblique spheroid. @Albert Have you tried out my bleeding bignumber function yet? I'm totally imp...
by dodicat
Dec 27, 2009 20:01
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

@dodicat. I kept it simple in my post with equally spaced x(i). I had tried simple solutions that Chebychev optimise the error function. My attempt at using the Chebychev zeros over compensated. So far the best universal solution I have found is simply to distort the equal spaced x over the range -...
by dodicat
Dec 26, 2009 18:41
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

Hi Albert. Have you tried my own bignumber calculator, i.e. CHARACTERS THAT COUNT, part1 and part2, I think now on page 3 of tips and tricks. It' big so you have to join part2 to part1. You can scrub the examples and just use the function B. e.g. B("2045","/","23",5000) will give the answer to 5000 ...
by dodicat
Dec 26, 2009 16:53
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

@dodicat. If solving three equations gives you a parabola then I call it order 2, not 3. Hi Richard, thanks for the reply. I won't linger long, I am going off at a tangent to Albert's quest. I ran many functions through both your and my own algorithm. My order must be one more than yours, the resul...
by dodicat
Dec 25, 2009 20:21
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

@ALBERT - Merry Christmas Albert, poet and natural philosopher. Seeing it's this time of the year, and if you don't mind, I'll post some code to add to all that has been posted. @RICHARD - Merry Christmas, and if you don't mind, I'll introduce a more general interpolator to the pile. method: a+b*x1+...
by dodicat
Dec 24, 2009 15:19
Forum: Community Discussion
Topic: Good morning ladies :-)
Replies: 31
Views: 4911

Re: Good morning ladies :-)

Merry Christmas from South West Scotland, normally wet and windy, but surprisingly crisp and white this time.
by dodicat
Dec 13, 2009 23:38
Forum: General
Topic: Linux Editor
Replies: 7
Views: 1282

Re: Linux Editor

Is there a good FB Linux editor that will do the compiling and error codes ? FBEDIT version 1.0.5.9 woks under WINE, the windows emulator, in PCLINUXOS, but later versions of fbedit don't work. You have to use a terminal to compile though. However you can explore your subs/functions/variables e.t.c...
by dodicat
Dec 08, 2009 17:36
Forum: General
Topic: Circles
Replies: 1988
Views: 140543

Prior to GPS, navigation relied on a “One in 60 Rule” Hi Richard I havn't been involved in Albert's circles. I spent 36 years on the worlds shipping lanes, and navigation was my thing. Prior to GPS, navigation was sophisticated and pretty accurate. GPS has dulled it all down. The one in 60 rule cer...
by dodicat
Dec 08, 2009 16:05
Forum: Beginners
Topic: Converting numeric string
Replies: 8
Views: 892

Re: Converting numeric string

I,ve hit your problem with a sledgehammer. Set your numerical strings into an array, as in the example. Run your array through the tabulate sub, it should change it to approximately the format you require. Thanks, but that's an awful lot of code to do something I consider "simple". I prefer to use ...
by dodicat
Dec 07, 2009 20:28
Forum: Beginners
Topic: Converting numeric string
Replies: 8
Views: 892

Re: Converting numeric string

How can I manipulate strings in a file so that: 1329.43 498 Gets converted as: 001329.4300 000498.0000 I've found examples of using CDBL, but it doesn't work as needed in this case. (the goal is to be able to sort by this field) Thanks! I,ve hit your problem with a sledgehammer. Set your numerical ...
by dodicat
Dec 06, 2009 21:59
Forum: Tips and Tricks
Topic: Fast Function Approximations by Lookup Table.
Replies: 2
Views: 1520

Re: Fast Function Approximations by Lookup Table.

about look up tables Hi Richard You got me reaching up there to the top shelf to dig out an old maths book. MATHEMATICAL METHODS IN THE PHYSICAL SCIENCES second edition, by MARY L. BOAS came to hand. And it cost £12.95 I see in 1980 something. Those were the days! I think the Taylor series still wo...
by dodicat
Dec 05, 2009 21:38
Forum: Tips and Tricks
Topic: Micro Demos Round 2
Replies: 10
Views: 1658

Re: Micro Demos Round 2

I remember a while back we had some fun posting FB demos that were or were less than 256 bytes long. A gloomy demo screen 19,32 for m as long=1 to 1000000 var x=rnd*(200)+300,y=rnd*(200)+200,d=sqr((x-363)^2+(y-300)^2) if sqr((x-400)^2+(y-300&#...

Go to advanced search