|  | 
|  | 
| back to board | Numerical algo Did anybody solve it with numerical algo (local optimization)?Re: Numerical algo Posted by svr  12 Oct 2008 10:06I think using Java is best way.Firstly I used parameter MaxLen=100 for BigDecimal and Wa3.
 Maxlen:=200 and Ac.
 Thus to garantie given precision in answer 1e-9 is difficult without long numbers.
Re: Numerical algo I used. just searchRe: Numerical algo 2 svr: I've accepted it with usual double in C++Re: Numerical algo Posted by svr  12 Oct 2008 23:14I and begginers must be caution.A~1e6; A'A~1e12, t^2-Qt+Z=0;Q,Z~1e24;D=Q^2-4*Z~1e+48
 how take t with 1e-9 in 16 digits!?
Re: Numerical algo My formula uses only numbers about 10^12 ;)Re: Numerical algo If you have valid analytic solution to the problem, numbers wouldn't make much difficulty, or so it seems to me.Re: Numerical algo i used ternary searchNo subject  
 Edited by author 22.06.2010 13:54
Re: Numerical algo I solved it using numerical optimization. I've got AC with a code having only 20 lines. | 
 | 
|