| > | restart; |
| > | read("/Volumes/NATHAN USB/Math/Maple/Tropical/tropical.txt"); |
| > | with(Tropical); |
Warning, the protected names add and resultant have been redefined and unprotected
![]()
![]()
| > | f:=x+y+one*z; |
| > | plotgraph(f); |
| > | g:=x+one*y+3*z; |
| > | plotgraph(g); |
| > | h:=multiply(f,g); |
| > | plotgraph(h); |
| > | dualgraph(h); |
| > | isect(f,g); |
| > | plotgraphs([f,g],color=[blue,red],axes=box); |
| > | f1:=randpoly([x,y],degree=3); |
| > | f2:=randpoly([x,y],degree=3); |
| > | plotgraphs([f1,f2]); |
| > | dualgraph(f1); |
| > | dualgraph(f2); |
| > |