## Search found 5882 matches

Dec 06, 2009 23:49
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
Thanks Bemptier!! I'll keep at it until i come up with something! I think that 16 places of sin() and cos() with the normalization will cover it. Although at .5 step the 15 place circle looks better than the 16 place circle. but at 1 step the 16 place circle looks better than the 15 place circle. An...
Dec 06, 2009 20:54
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
Richard the normalization doesn't work too good, I tried the sine and cosine to 10 digits and then tried to normalize them with the; s,c = s,c / sqr( c*c + s*s ) And the degrees are off quite a bit. I was only able to get 10 million on the magnification level. At 18 digits its the full sine and cosi...
Dec 06, 2009 19:07
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
I tried to get the tan() circle to do 90 degrees and it wouldn't close at exactly pion2/90 so i had to add to it a little. It makes a nice looking circle, better than 100 degrees but there is still a gap on each side of 45 degrees around 35 and 55 or so. '============================================...
Dec 06, 2009 2:42
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
Thanks again, Richard its good to 10 trillion. however the print atan2(s,c)*100/pion2 gives me some 7's in the last column and some 83's in some cases. And if you step pion2 / 1 it goes to -99.999999 degrees. =============================================== Richard is there a way to use the tan() to ...
Dec 05, 2009 23:02
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
Richard your For t = 0 To Pion2 Step Pion2 / 100 ' set the exact phase angle x = 1 y = Tan(t) ' normalize the radius r = Sqr(x*x + y*y) c = x / r s = y / r next t code fails at a mag of one. It draws a 90 degree arc to the left with the error level??????? '===========================================...
Dec 04, 2009 3:22
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
I remember my old method! Where i'm figuring 200 degrees in a triangle instead of 180,this makes 90 degrees into 100 degrees. The opposite angle is 200-deg/2 or 180-deg/2 if you take 1 deg the opposite angle is 99.5 which gives a cosine of .5 degrees , the opposite of that angle is 99.75 deg which m...
Dec 01, 2009 16:37
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
Any sugetsions Richard? The goal hasn't changed, I'm still trying to obsolete sine and cosines. Your loopy version is accurat to 14 places my above one is accurat to 15 but it can't do inbetween degrees, the sine,cosine function are good to 100 trillion , thats 16 places. Once we get to 16 places ac...
Nov 29, 2009 2:40
Forum: General
Topic: Circles
Replies: 1988
Views: 152566
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: 152566
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: 152566
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: 152566
@ 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: 152566
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: 152566
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: 152566
@ 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: 152566
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...