Darwinbots Forum
General => Off Topic => Topic started by: MightyPenguin on March 11, 2005, 01:27:32 PM
-
:pengysmiley: :pengysmiley: :pengysmiley: :pengysmiley: :pengysmiley: :pengysmiley:
I DIIID IT!!
:D :D :D :D :D :D :D :D
( x - a )^2 + ( y - b )^2 = r^2
( y - b )^2 = r^2 - ( x - a )^2
y - b = sqrt( r^2 - ( x - a )^2 )
y = sqrt( r^2 - ( x - a )^2 ) + b
y' = ( a - 2x ) / 2( sqrt( r^2 - ( x - a )^2 ) )
What?
Why are you looking at me like that? I've been wanting to do that all year!
[span style=\'font-size:8pt;line-height:100%\']Ungrateful...[/span]
-
When you took the square root you forgot to add the +/-. What you have there is for half a circle.
There might be some problems in the actual derivate taking too. I'm just too lazy to double check.
-
ok, wahts whit this? is that somekinda hard math or what? hope not, else there is no challange for me
-
It uses the chain rule for derivates. Not difficult but sometimes hard to keep it all straight, and you have to know how the chain rule works.
-
Is that the circuler paste code for robots from the robot plasment control I sent you?
Use angle generation , Sin and Cos its easyer. , and distance generation after that...
-
When you took the square root you forgot to add the +/-. What you have there is for half a circle.
There might be some problems in the actual derivate taking too. I'm just too lazy to double check.
I graphed it. It works. Although I did the original derivation on paper and this version one on a keyboard, so I may well have fucked up somewhere. And +/- is really a given with an even root.
But I'm happy.
Bots... ? You what?
-
When I graph it on my calculator I get the top half of a circle.
To get the bottom half you have to have the original square root as negative.
-
"Bots... ? You what? " = No its not about the robot plasment control
I like the way people talk this days, makes me wana give up on this program.
-
I like the way people talk this days, makes me wana give up on this program.
The problem Bots is that you drift in and out of comprehensibility, as well as tend to pick fights with insulting language.
Sometimes you interpret our inability to understand you as hostility. That's what happened here. MP just didn't understand what you were talking about (he isn't involved in coding, so he probably hasn't seen your code).
-
Bots is that you drift in and out of comprehensibility,
That is a very good description :) Sometimes I can understand Bots fine, but other times no matter how hard I try I can't figure out what he's talking about...
-
Ok, I will try not to take peoples responses as hostility. I will keep repeating myself until someone understands me, like I did in the general board.
-
When I graph it on my calculator I get the top half of a circle.
To get the bottom half you have to have the original square root as negative.
:rolleyes:
Ah. You somehow managed to miss the fact that a calculator, even the ever popular Graphical Calculator, only gives the positive answer to a square root?
;)
-
That's because the square root function only returns a positive number by definition. When you take the square root of a number, you must be sure to remember to add the +/- to get the full set of numbers.
x^2=4
x=+/-2