summaryrefslogtreecommitdiff
path: root/graphics/asymptote/doc/graphwithderiv.asy
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
committerNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
commitecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch)
tree13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/doc/graphwithderiv.asy
parent790995b7e79697514364450bf9c04f1b8d500838 (diff)
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/doc/graphwithderiv.asy')
-rw-r--r--graphics/asymptote/doc/graphwithderiv.asy11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/asymptote/doc/graphwithderiv.asy b/graphics/asymptote/doc/graphwithderiv.asy
new file mode 100644
index 0000000000..2dfd1da02d
--- /dev/null
+++ b/graphics/asymptote/doc/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));