Skip to content

API Reference

kian140908 edited this page Dec 13, 2025 · 7 revisions

class: Polynomier:

  • funktions:
  • andengrads(a or list, b, c)
    "Is used to find the to x values if x is over 0 if fx. -2x^2+5x+6=0"
    example:
from matematik_klib import Polynomier  
  
x = Polynomier.andengrads(-2, 5, 6)  
print(x)  
  • tredjegrads(a or list, b, c, d)
    "Solves cubic equations of the for ax^3+bx^2+cx+d=0"
    example:
from matematik_klib import Polynomier  
  
x = Polynomier.tredjegrads(1, -6, 11, -6)  
print(x)  

Clone this wiki locally