Search found 5860 matches

Nov 18, 2009 1:47
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
The Yellow dots make a pretty design. Back to the drawing board! I modified the formula, it still ain't working! '================================================================ ' Albert's(yellow), and Richard's(pink) ' approximations measured relative to the reference circle ... bl...
Nov 17, 2009 21:35
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
I put the arc to the above formula. I think it makes a perfect circle now. The degrees are almost right on! dim as double xctr,yctr,x,y,radius screen 19 xctr=305 yctr=305 radius = 270 circle (xctr,yctr),radius,12 Dim As Double rad = Atn(1)*4/200 Dim As Double s,c,deg For deg = 0 To 1...
Nov 17, 2009 20:44
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
I did a new formula! Its almost a circle, a little off low and high. dim as double xctr,yctr,x,y,radius screen 19 xctr=305 yctr=305 radius = 270 circle (xctr,yctr),radius,12 Dim As Double rad = Atn(1)*4/200 Dim As Double s,c,deg For deg = 0 To 100 Step 1 's = Sin(deg*rad) 'c ...
Nov 16, 2009 18:02
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
After a few dissapointments in my circle quest, I decided to just add the sine and cosine together to see what values come up. It counts from 1 to sqr(2) by .015...... and then back down by .015.... The .015 decreases as the increment increases. from .015..... (0-1) to .00018.... at (49-50) ( sine *...
Nov 16, 2009 2:36
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
I've got a new theory! if you take the lenght of the arc and the length of the opposite arc and add them together and the divide 1 by the total. and then multiply the result by the arcs you should get the sine and cosine. I'll write a small test circle to test it out. I think it holds water though. ...
Nov 16, 2009 0:51
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
If you take 200 grads and subtract the desired angle and then divide the result by 2 you get the opposite angle. 200 - 1 = 199 / 2 = 99.5 = .995% 1 radian * .995 is your sine for one degree 1 - (1 radian * .005) is your cosine for one degree The thing is at 50 degrees you get 75 deg as the opposite ...
Nov 15, 2009 23:04
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
Thanks MuttonHead yours has got anything I've done so far beat. not quite as good as Richards. I did an atan2(s,c)*180/pi with a ten step on your formula. it goes over a little at 50 but the rest of the degrees are close. you got about 2 decimal place precision on the degrees. Were trying to peg the...
Nov 15, 2009 0:26
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
I put the arc to it to correct it to a full circle. but the degrees are a little off now, not as evenly spaced. dim as double x,y,xctr,yctr,radius dim as double s,c screen 19 xctr=305 yctr=305 radius = 270 circle (xctr,yctr),radius,12 dim as double pi = atn(1)*4 dim as double deg for...
Nov 14, 2009 20:56
Forum: General
Topic: Circles
Replies: 1988
Views: 154204

square root circle

Getting closer! It almost makes a circle, The degrees are evenly spaced anyways. Back to the drawing board! dim as double x,y,xctr,yctr,radius dim as double s,c screen 19 xctr=305 yctr=305 radius = 270 circle (xctr,yctr),radius,12 dim as double pi = atn(1)*4 dim as double deg for deg...
Nov 13, 2009 20:38
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
I found the magic number, I'll se if i can do something with it!

Code: Select all

`dim as double pi = atn(1)*4dim as double deg,arcfor deg = 0 to 100    arc = pi/200*deg    print (deg/100) / arc    next degsleep`
Nov 12, 2009 4:40
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
Here is another flop formula. I tried to calculate the height of side_a of the square and extract the sqr() from the hypotenuse. dim deg as double dim side_a as double dim alt as double = 1/50 dim hypot as double dim grad as double dim as double s,c dim as double x,y,xctr,yctr,radius screen 19 xctr=...
Nov 12, 2009 0:44
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
I was wondering if there was a way to correct the 1.414212 thingy to make it go to 1 instead of the sqr(2) the sqr(2) is the hypotenuse of 0 to 90. to go off the matter. here is a little code that derives the percentages of the sine and my attempts to duplicate the sine. the last "Print" line is whe...
Nov 11, 2009 19:36
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
@ Richard I developed a new formula but it goes to 1.14 sqr(2) ??? Can you do something with it to correct it. maybe you can correct it to go to 1 instead of 1.14 ???????? dim as double pi = atn(1)*4 dim as double deg for deg = 0 to 100 step 1 print deg;" - ";sqr( 1/((d...
Nov 11, 2009 18:44
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
Thanks Richard, I see that my formula is way off on the radius error.
The only way to correct it is to add more arcs to the formula.

I'm got an idea:

if you take (1/pi) * 2 and mul it by 90/deg
I thinkit should be 1 / ( ( (1/pi) * 2 ) * (90/deg) ) ???? i'll try and see.
Nov 11, 2009 4:25
Forum: General
Topic: Circles
Replies: 1988
Views: 154204
I put my newest formula into your circle tester (scatter plotter) in RED. '---------------------------------------------------------------- ' Plot the scatter of errors for ' Albert's attempt at a 400 degree circle ... white ' Richard's attempt at TwoPi radian circle ... pink ' measured relative to ...