OK, let me give you some hints..
Let the length of the full line be 100% so written as 1 in decimel. Let the smaller ratio be P and the bigger ratio will be then (1-P).
Now, based on the condition, (1-P)/1 = P/(1-P) this is the quad. equation.
simplifying it we get, 1-3*P+P*P = 0 which can be solved easily for two values. Taking the realistic value
P = (3-SQRT(5))/2
p = 0.381966011250105151...( this is an irrational number so this much accuracy is fine..:))
OK, let me give you some hints..
Let the length of the full line be 100% so written as 1 in decimel. Let the smaller ratio be P and the bigger ratio will be then (1-P).
Now, based on the condition, (1-P)/1 = P/(1-P) this is the quad. equation.
simplifying it we get, 1-3*P+P*P = 0 which can be solved easily for two values. Taking the realistic value
P = (3-SQRT(5))/2
p = 0.381966011250105151...( this is an irrational number so this much accuracy is fine..:))