Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Bisection Roots

$
0
0
I don't know recent VB very well, but the following seems to work in LinqPad:
Dim f As Func(Of Double, Double) = Function(x) 2*x^2 - 2*x - 2

Bisection.FindRoot(f, 0, 2) ' 1.61803398874989
Bisection.FindRoot(f, -2, 0) ' -0.618033988749895
Thanks,
Christoph

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>