|
Prev: Calculate Running Time
Next: typedef question
From: Mayneord on 15 Jan 2008 11:28 Please help me with the following equation: 1. L + w / log[1 + sqroot(2)] + log (L+w/L) 2. File = Erf [ ( x - s ) / sq.root (2)] How do i write this in C++ ? especially the error function ?? thanks inadvance your help is sincerely appreciated May
From: osmium on 15 Jan 2008 14:40 "Mayneord" writes: > Please help me with the following equation: > > 1. L + w / log[1 + sqroot(2)] + log (L+w/L) > > 2. File = Erf [ ( x - s ) / sq.root (2)] > > > How do i write this in C++ ? especially the error function ?? See the functions in <cmath> for part 1. Then, for part 2, see if this helps, scan down to the Taylor expansion. http://en.wikipedia.org/wiki/Error_function
|
Pages: 1 Prev: Calculate Running Time Next: typedef question |