Skip to content

Commit

Permalink
lab 3 (fixed root)
Browse files Browse the repository at this point in the history
  • Loading branch information
kokter committed Nov 3, 2023
1 parent ff71a27 commit 9b541d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golang/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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("Целиков Алексей Александрович")
Expand Down

0 comments on commit 9b541d5

Please sign in to comment.