Click here to Skip to main content
16,010,392 members
Home / Discussions / Algorithms
   

Algorithms

 
Questioncreate a plane thru 3 points Pin
raesa28-Aug-08 20:50
raesa28-Aug-08 20:50 
AnswerRe: create a plane thru 3 points [modified] Pin
cp987628-Aug-08 21:34
cp987628-Aug-08 21:34 
GeneralRe: create a plane thru 3 points Pin
raesa28-Aug-08 22:06
raesa28-Aug-08 22:06 
QuestionCount Car on Traffic Algorithm Pin
Erdem İsenkul26-Aug-08 23:06
Erdem İsenkul26-Aug-08 23:06 
AnswerRe: Count Car on Traffic Algorithm Pin
Tim Craig27-Aug-08 22:20
Tim Craig27-Aug-08 22:20 
AnswerRe: Count Car on Traffic Algorithm Pin
Tim Craig28-Aug-08 19:21
Tim Craig28-Aug-08 19:21 
QuestionFactor vs Coefficient Pin
Jim Warburton26-Aug-08 8:36
Jim Warburton26-Aug-08 8:36 
AnswerRe: Factor vs Coefficient Pin
CPallini26-Aug-08 21:38
mveCPallini26-Aug-08 21:38 
QuestionComparing Two Values to get the percentage increase? Pin
Ian Uy19-Aug-08 7:29
Ian Uy19-Aug-08 7:29 
AnswerRe: Comparing Two Values to get the percentage increase? [modified] Pin
Robert.C.Cartaino19-Aug-08 8:36
Robert.C.Cartaino19-Aug-08 8:36 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Ian Uy20-Aug-08 4:12
Ian Uy20-Aug-08 4:12 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Robert.C.Cartaino20-Aug-08 5:12
Robert.C.Cartaino20-Aug-08 5:12 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Ian Uy20-Aug-08 5:29
Ian Uy20-Aug-08 5:29 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Robert.C.Cartaino20-Aug-08 11:26
Robert.C.Cartaino20-Aug-08 11:26 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Member 419459320-Aug-08 12:53
Member 419459320-Aug-08 12:53 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Ian Uy21-Aug-08 0:54
Ian Uy21-Aug-08 0:54 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
cp987620-Aug-08 14:08
cp987620-Aug-08 14:08 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Roger Wright21-Aug-08 6:39
professionalRoger Wright21-Aug-08 6:39 
Ian Uy wrote:
Is there any mathematical technique or approach to simplify this?


Sure!

Given V1 = 1.36 x 10^58 and V2 = 2.36 x 10^19709,

and %Increase = [(V2 - V1)/V1] x 100:

1. (V2 - V1)/V1 = V2/V1 - V1/V1 = V2/V1 - 1

2. V2/V1 = 10^(log V2 - log V1)

3. Subtract 1, then multiply by 100 to get %

so,

1. (2.36 x 10^19709 - 1.36 x 10^58)/1.36 x 10^58 =

(2.36 x 10^19709/1.36 x 10^58) - 1

2. V2/V1 = 10^(log( 2.36 x 10^19709 ) - log( 1.36 x 10^58)) =

10^ (19709.00864 - 58.13354) = 10^ 19650.87510

3. % = (10^19650.87510 -1) x 100.

You're still going to have a hell of a time getting a computer to calculate a number that large, but the use of logarithms reduces the size of the intermediate results to a manageable magnitude. Smile | :)

"A Journey of a Thousand Rest Stops Begins with a Single Movement"

GeneralRe: Comparing Two Values to get the percentage increase? Pin
Member 419459323-Aug-08 6:18
Member 419459323-Aug-08 6:18 
Questionprogram for TREND Pin
DineshKumarSinha18-Aug-08 1:45
DineshKumarSinha18-Aug-08 1:45 
AnswerRe: program for TREND Pin
CPallini18-Aug-08 2:01
mveCPallini18-Aug-08 2:01 
QuestionAlgorithm Pin
SatyaVas14-Aug-08 21:31
SatyaVas14-Aug-08 21:31 
AnswerRe: Algorithm Pin
Stephen Hewitt14-Aug-08 21:54
Stephen Hewitt14-Aug-08 21:54 
GeneralRe: Algorithm Pin
SatyaVas15-Aug-08 3:04
SatyaVas15-Aug-08 3:04 
Questionazimuth formula Pin
winburn12-Aug-08 21:39
winburn12-Aug-08 21:39 

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.