2
Copyright 2006 by Mark Weyer
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
val loese_2_normiert: float -> float -> float list
22
(* loese_2_normiert a b l�st x^2 + ax + b = 0 *)
24
val loese_2: float -> float -> float -> float list
25
(* loese_2 a b c l�st ax^2 + bx + c = 0 *)
27
val loese_3: float -> float -> float -> float -> float list
28
(* loese_3 a b c d l�st ax^3 + bx^2 + cx + d = 0 *)
30
val loese_4: float -> float -> float -> float -> float -> float list
31
(* loese_4 a b c d e l�st ax^4 + bx^3 + cx^2 + dx + e = 0 *)
34
(* Ausgegeben werden jeweils alle reellen Nullstellen (mit Vielfachheiten).
35
Sind das zu viele, dann liegt das Nullpolynom vor und die entsprechende
36
exception wird geraist. *)