Skip to content

Instantly share code, notes, and snippets.

View Humberd's full-sized avatar

Maciej Sawicki Humberd

  • Warsaw, Poland
View GitHub Profile
fun main(args: Array<String>) {
val firstSection:Double = 1.0;
val lastSection:Double = 2.0;
val epsilon:Double = 0.00000001;
val b = Bisekcja(firstSection,lastSection,epsilon).also { }
println("Miejsce zerowe funkcji: " + b.zero() + ". Liczba iteracji: " + b.zero())
}