Click here to Skip to main content
15,903,362 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: A Permuation Question Pin
Rob Graham19-Sep-06 3:35
Rob Graham19-Sep-06 3:35 
GeneralRe: A Permuation Question Pin
Mushtaque Nizamani19-Sep-06 3:46
Mushtaque Nizamani19-Sep-06 3:46 
AnswerRe: A Permuation Question Pin
Sean Cundiff20-Sep-06 6:53
Sean Cundiff20-Sep-06 6:53 
GeneralRe: A Permuation Question Pin
Mushtaque Nizamani20-Sep-06 7:32
Mushtaque Nizamani20-Sep-06 7:32 
QuestionAn Algorithm Design Challenge Pin
Roger Wright18-Sep-06 12:00
professionalRoger Wright18-Sep-06 12:00 
AnswerRe: An Algorithm Design Challenge Pin
Bassam Abdul-Baki18-Sep-06 13:35
professionalBassam Abdul-Baki18-Sep-06 13:35 
GeneralRe: An Algorithm Design Challenge Pin
Roger Wright18-Sep-06 13:52
professionalRoger Wright18-Sep-06 13:52 
AnswerRe: An Algorithm Design Challenge Pin
Sean Cundiff18-Sep-06 16:05
Sean Cundiff18-Sep-06 16:05 
Roger Wright wrote:
Why should this be so hard?


Ask the Bernoulli brothers.

A cable hanging under the force of gravity from 2 fixed points makes a catenary curve. It took the Bernoulli's a long time to discover the equation of this curve (using the calculus of variations).

Y = a*cosh(x/a)

where a = height of the cable above ground at it's lowest point.

Y(0) = a
Y(-d/2) = Y(d/2) = h

where d is the distance between poles and h is the height of the attached wire at the pole. (Each end is assumed to be at the same height on level ground).


Y(d/2) = h = a*cosh(d/(2a)) = a/2 * [exp(d/(2a)) + exp(-d/(2a))]

=> h = a/2 * [exp(d/(2a)) + exp(-d/(2a))]


solving for a is not trivial, thus the tables of empirical data.

http://www.powline.com/products/sagsec.html[^]




-Sean
----
Shag a Lizard

GeneralRe: An Algorithm Design Challenge Pin
Bassam Abdul-Baki18-Sep-06 16:12
professionalBassam Abdul-Baki18-Sep-06 16:12 
GeneralRe: An Algorithm Design Challenge Pin
Sean Cundiff18-Sep-06 16:46
Sean Cundiff18-Sep-06 16:46 
GeneralRe: An Algorithm Design Challenge Pin
Bassam Abdul-Baki18-Sep-06 16:49
professionalBassam Abdul-Baki18-Sep-06 16:49 
GeneralRe: An Algorithm Design Challenge Pin
Roger Wright18-Sep-06 17:26
professionalRoger Wright18-Sep-06 17:26 
GeneralRe: An Algorithm Design Challenge Pin
Kastellanos Nikos11-Oct-06 0:34
Kastellanos Nikos11-Oct-06 0:34 
AnswerRe: An Algorithm Design Challenge Pin
Rob Graham18-Sep-06 16:35
Rob Graham18-Sep-06 16:35 
GeneralRe: An Algorithm Design Challenge Pin
Roger Wright18-Sep-06 17:23
professionalRoger Wright18-Sep-06 17:23 
AnswerRe: An Algorithm Design Challenge Pin
ColinDavies29-Sep-06 12:19
ColinDavies29-Sep-06 12:19 
Questioncombination algorithm Pin
kebd14-Sep-06 11:53
kebd14-Sep-06 11:53 
AnswerRe: combination algorithm Pin
ejuanpp15-Sep-06 1:12
ejuanpp15-Sep-06 1:12 
GeneralRe: combination algorithm Pin
kebd15-Sep-06 8:29
kebd15-Sep-06 8:29 
Questiondfgfdg Pin
Gul zeb14-Sep-06 2:13
Gul zeb14-Sep-06 2:13 
Generalfdfdsf Pin
Gul zeb13-Sep-06 21:43
Gul zeb13-Sep-06 21:43 
GeneralRe: fdfdsf Pin
Ed.Poore14-Sep-06 1:04
Ed.Poore14-Sep-06 1:04 
QuestionBezier curve, Newton-Raphelson method, formula problem, please help! [modified] Pin
srev13-Sep-06 4:29
srev13-Sep-06 4:29 
AnswerRe: Bezier curve, Newton-Raphelson method, formula problem, please help! Pin
El Corazon13-Sep-06 16:14
El Corazon13-Sep-06 16:14 
GeneralRe: Bezier curve, Newton-Raphelson method, formula problem, please help! Pin
srev13-Sep-06 23:42
srev13-Sep-06 23:42 

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.