{{tag>Brouillon Algo}} # Notes - Algorithme Voir : * https://pythonalgos.com/2022/08/17/dijkstras-algorithm-in-5-steps-with-python/ ## Go lang - newton - racine carré ~~~go package main // Source : https://go.dev/tour/flowcontrol/8 import ( "fmt" ) func Sqrt(x float64) float64 { z := 1.0 for range 10 { z -= (z*z - x) / (2 * z) } return z } func main() { fmt.Println(Sqrt(2)) } ~~~