## Search found 5860 matches

Nov 29, 2009 2:40
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Hey Richard and everybody else check this out!!!! I got ten trillion on the mag and its still a perfect dot in the middle of the error plotter. I cheated and dialed in the 50 multipliers and put them into an array. Without the sqr() normalization, it doesn't make a circle but the degrees are correc...
Nov 28, 2009 2:27
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Here is my attempt at incrementing sine by percentages it only goes to 50 grads. at 100 mag its well outside the circle but makes a nice looking circle. but like with love ,looks don't count '================================================================ 'test to see if sine increments have a set ...
Nov 27, 2009 19:25
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
The sine and cosine functions are only accurate to 15 decimal places. at 1 quadrillion magnification, the sin(),cos() errors can be seen. 1,000,000,000,000,000 magnification thats 16 decimal places. I'm beginning to think that your right about the power series being the only way. I tried to do the ....
Nov 27, 2009 4:16
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
@ Albert. Like a kitten with two balls of wool, you are tangling yourself in both while tangling the two together. Are you trying to write sine, cosine and tangent code for your arbitrary precision calculator, or are you trying to draw circles on the screen quickly. The two are diametrically oppose...
Nov 26, 2009 18:50
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
using the s,c = s,c /sqr(c*c+s*s) we can force the sine and cosine onto the circle. We got that much solved. we can make a circle out of a square. Just try deg*.01 and (100-deg)*.01 as the sine and cosine and apply the sqr() and you get a perfect radius circle. but the degree marks are off. Now its ...
Nov 26, 2009 5:25
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
It took Richard 15 pages of posts to come up with his loopy version. It took richard 15 pages of posts to come up with the normalization s,c=s,c / sqr(c*c+s*s) to correct radius. What i'm trying to accomplish, i already did several yrs ago whae i wrot the first Pro-Draw for QBasic I just can't remem...
Nov 26, 2009 2:03
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
@ bfuller Can you come up with a formula to closely approximate the sine and cosine functions. It doesn't really matter if it makes a good circle, we can use the dividing s and c by the sqr(c*c+s*s) to force a circle, we just need the degrees to be correct. I tried playing around with Richards loopy...
Nov 26, 2009 0:35
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Your loopy version uses the atn() function which i believe returns the radians of a tangent. and is only accurate to 14 decimal places. I'd might as well just use sin() and cos() in the calculator. What i'm trying to do is peg the degree marks and hopefully it makes a circle or i can use your normal...
Nov 25, 2009 20:37
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Richard maybe you can doo something with this formula to get it closer. I think it needs to be .99995 at 1 and .9003 at 50 and .36..... at 100 I can't seem to get the multiplier correct. If you can help that would be great! '================================================================ ' Albert's...
Nov 24, 2009 2:06
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Richard your loopy version matains a single circle up to 1 trillion mag after that it at ten trillion i had to add the sqr() function and increase the loops to 53 at 100 trillion i had to add a second sqr() and increase the loops to 55 didn't do much above 53 only small difference. But without the s...
Nov 23, 2009 2:55
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Thanks Richard! I put your loopy version to the test and at 55 loops (doesn't correct any better at higher loops.) mag = 100,000,000,000,000 the errors are still within the small circle. I put the s-c = s-c / sqr(x*x+y*y) in to it also. two times one after the other. The second time corrects degree ...
Nov 22, 2009 23:31
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Richard the point is i'm writing a calculator and want to add sine,cosine,and tangent functions to it. It doesn't matter how long it takes to do an opperation (Well within a minute or so.) What i'm looking for is something to replace the power series within reason, my calc can extract a square root ...
Nov 22, 2009 21:43
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
I got mine inside the circle at 100 mag. finally! Its smaller than the little circle. I applied the s-c=s-c / sqr(c*c+s*s) to both Richards and mine. '================================================================ ' Albert's(yellow), and Richard's(pink) ' approximations measured re...
Nov 22, 2009 20:39
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Richard the s=y/r ; thingy works with yours too, here is your with 10,000 mag. Can you dial it in a little,to get the degrees closer? '================================================================ ' Richard's(pink) ' approximations measured relative to the reference circle ... blue Const ...
Nov 22, 2009 16:27
Forum: General
Topic: Circles
Replies: 1988
Views: 154195
Thanks for all your input and help Richard you've been a great help. My newest formula (LOOK AT THIS PERFECT CIRCLE!!!!!). I think sines and cosines are going to be obsoleteed soon! dim as double xctr,yctr,radius screen 19 xctr=305 yctr=305 radius = 270 circle(xctr,yctr),radius,12 dim as dou...