diff options
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/graphwithderiv.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/graphwithderiv.asy | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/graphwithderiv.asy b/Master/texmf-dist/doc/asymptote/examples/graphwithderiv.asy new file mode 100644 index 00000000000..2dfd1da02d3 --- /dev/null +++ b/Master/texmf-dist/doc/asymptote/examples/graphwithderiv.asy @@ -0,0 +1,11 @@ +unitsize(2cm); +import graph; +pair F(real t) { + return (1.3*t,-4.5*t^2+3.0*t+1.0); +} +pair Fprime(real t) { + return (1.3,-9.0*t+3.0); +} +path g=graphwithderiv(F,Fprime,0,0.9,4); +dot(g,red); +draw(g,arrow=Arrow(TeXHead)); |