From 9b541d5bcc853cf4e2f1be3894c15070be46949f Mon Sep 17 00:00:00 2001 From: Alexey Tselikov Date: Fri, 3 Nov 2023 11:00:26 +0300 Subject: [PATCH] lab 3 (fixed root) --- golang/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golang/main.go b/golang/main.go index 2e15a333..99fc6dd3 100644 --- a/golang/main.go +++ b/golang/main.go @@ -7,7 +7,7 @@ import ( func form(x float64) float64 { a := 2.25 - return (math.Pow(a, (math.Pow(x, 2)-1)) - math.Log10(math.Pow(x, 2)-1) + math.Pow((math.Pow(x, 2)-1), (1/3))) + return (math.Pow(a, (math.Pow(x, 2)-1)) - math.Log10(math.Pow(x, 2)-1) + math.Cbrt((math.Pow(x, 2) - 1))) } func main() { fmt.Println("Целиков Алексей Александрович")