-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lab3) #132
base: Korchagin_Petr_Sergeevich
Are you sure you want to change the base?
lab3) #132
Conversation
a := 1.2 | ||
b := 0.48 | ||
e := 2.71 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a и b передавайте параметрами, а вот e - возьмите из math - там есть и константа и функция exp(2) - что равнозначно например e^2
golang/internal/lab4/lab4.go
Outdated
x := []float64{} | ||
y := []float64{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
используйте make длятого чтобы выделить нужный размер у массива для среза
golang/internal/lab4/lab4.go
Outdated
x := []float64{} | ||
y := []float64{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тут аналогично
No description provided.