-
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 Lab4 Lab5 #217
base: Soldatov_Ivan_Sergeevich
Are you sure you want to change the base?
Lab3 Lab4 Lab5 #217
Conversation
golang/main.go
Outdated
// func formula(a, x float64) float64 { | ||
// return ((math.Pow((math.Log(a + x)), 2)) / (math.Pow((a + x), 2))) | ||
// } | ||
|
||
// func main () { | ||
// fmt.Println("Солдатов Иван Сергеевич") | ||
// fmt.Println("------------------------First_Exercise-------------------------------") | ||
// a := 2.0 | ||
// x_end := 4.2 | ||
// x_step := 0.6 | ||
// x_start := 1.2 | ||
// for x := x_start; x <= x_end; x += x_step { | ||
// fmt.Println(formula(a, x)) | ||
// } | ||
// fmt.Println("------------------------Second_Exercise-------------------------------") | ||
// array := []float64{1.16, 1.32, 1.47, 1.65, 1.93} | ||
// for _, x := range array { | ||
// fmt.Println(formula(a, x)) | ||
// } | ||
// fmt.Println("------------------------Lab_4-------------------------------") | ||
// lab4.Solve(a, x_start, x_end, x_step) | ||
// } |
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.
код что не нужен - удаляйте или раскомментироуйте - ну будет и этот код запускаться - пока не страшно
golang/main.go
Outdated
"fmt" | ||
) | ||
|
||
type Mouse struct { |
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.
вынесите в отдельный пакет
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.
Здравствуйте! Нужно в отдельный пакет структуру вынести, правильно?
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.