Click here to Skip to main content
15,915,160 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: ask for a algorithm about visit array Pin
MarkB77721-Apr-08 0:01
MarkB77721-Apr-08 0:01 
GeneralRe: ask for a algorithm about visit array Pin
Dexterus21-Apr-08 0:06
Dexterus21-Apr-08 0:06 
GeneralRe: ask for a algorithm about visit array Pin
CPallini21-Apr-08 8:22
mveCPallini21-Apr-08 8:22 
GeneralRe: ask for a algorithm about visit array Pin
richardye21-Apr-08 14:20
richardye21-Apr-08 14:20 
QuestionRe: ask for a algorithm about visit array Pin
CPallini21-Apr-08 21:33
mveCPallini21-Apr-08 21:33 
GeneralRe: ask for a algorithm about visit array Pin
Member 419459321-Apr-08 18:07
Member 419459321-Apr-08 18:07 
GeneralA Formula Pin
mehrdadc4816-Apr-08 9:37
mehrdadc4816-Apr-08 9:37 
GeneralRe: A Formula Pin
cp987616-Apr-08 14:22
cp987616-Apr-08 14:22 
One way:

if one circle has radius 'r' and the other 'R' and the distance between the centres is 'D' then:

- draw the radii from the centres C,D to the points of intersection 'A' and 'B'
- use Heron's Formula[^] to compute the area of the triangle with sides r,R,D - this is the area of triangle CAD and of CBD
- use the cosine rule to compute the size of angles ACB and ADB
- use these angles to work out the areas of the segments ACB and ADB
- the overlap area is the sum of the two segment areas minus twice the triangle area you calculated

Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralAssigning random lives: an algorithm Pin
DQNOK15-Apr-08 13:15
professionalDQNOK15-Apr-08 13:15 
GeneralRe: Assigning random lives: an algorithm Pin
Alan Balkany16-Apr-08 4:33
Alan Balkany16-Apr-08 4:33 
GeneralRe: Assigning random lives: an algorithm Pin
DQNOK16-Apr-08 5:53
professionalDQNOK16-Apr-08 5:53 
GeneralRe: Assigning random lives: an algorithm Pin
Alan Balkany16-Apr-08 6:03
Alan Balkany16-Apr-08 6:03 
GeneralRe: Assigning random lives: an algorithm Pin
DQNOK16-Apr-08 6:07
professionalDQNOK16-Apr-08 6:07 
GeneralRe: Assigning random lives: an algorithm Pin
DQNOK16-Apr-08 6:24
professionalDQNOK16-Apr-08 6:24 
Generalgenerating random values from a PDF: GOT IT. [modified] Pin
DQNOK16-Apr-08 7:36
professionalDQNOK16-Apr-08 7:36 
GeneralRe: Assigning random lives: an algorithm Pin
DQNOK16-Apr-08 6:02
professionalDQNOK16-Apr-08 6:02 
Generalhamilton algorithm Pin
phap12-Apr-08 4:17
phap12-Apr-08 4:17 
GeneralRe: hamilton algorithm Pin
soap brain12-Apr-08 4:51
soap brain12-Apr-08 4:51 
QuestionRe: hamilton algorithm Pin
CPallini12-Apr-08 5:42
mveCPallini12-Apr-08 5:42 
GeneralRe: hamilton algorithm Pin
soap brain12-Apr-08 5:48
soap brain12-Apr-08 5:48 
GeneralRe: hamilton algorithm Pin
phap12-Apr-08 6:52
phap12-Apr-08 6:52 
GeneralRe: hamilton algorithm Pin
pmarfleet12-Apr-08 8:07
pmarfleet12-Apr-08 8:07 
GeneralRe: hamilton algorithm Pin
73Zeppelin22-Apr-08 1:03
73Zeppelin22-Apr-08 1:03 
GeneralRe: hamilton algorithm Pin
soap brain22-Apr-08 1:06
soap brain22-Apr-08 1:06 
GeneralRe: hamilton algorithm Pin
73Zeppelin22-Apr-08 1:33
73Zeppelin22-Apr-08 1:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.