"Source: Text/Commut/RngDiff.text";
"Line: 3487";
"Date: Wed Sep 19 23:00:01 2018";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Commut/RngDiff.text, line: 3487
// Example: H118E62 ()
print "Example: H118E62";
ei := GetEchoInput();
SetEchoInput(true);
S<t> := DifferentialLaurentSeriesRing(Rationals());
R<D> := DifferentialOperatorRing(S);
L := t*D^2+D-1;
npgon, op := NewtonPolygon(L);
L eq op;
assert $1;
Faces(npgon);
_<T> := PolynomialRing(Rationals());
NewtonPolynomials(L);
L := D^2+(1/t^2+1/t)*D+(1/t^3-2/t^2);
npgon, op := NewtonPolygon(L);
L eq op;
assert $1;
NewtonPolynomials(L);
SetEchoInput(ei);
