Square root function in F#
f#
Solution
F# already has a `sqrt` function defined, so you should just be able to use:
sqrt x
where `x` is the value you wish to find the root of.
Problem
How can we find the square root of a number in F#? Do we have a Sqrt function in F# just like we have Math.Sqrt() function in Java? I am a beginner in F# and couldn't find any significant help on the internet.