func main() var r: float :: cui@inputFloat() var d: float :: cui@inputFloat() var ans: float :: (d ^ 2.0 - r ^ 2.0) ^ 0.5 do cui@print("\{ans.toStrFmt(".10f")}\n") end func