How to illustrate the Mean Value theorem?Could someone help me pgfplots the following functions (w/labels)?How to reduce the space between the y-axis label and the plotsHow to make LaTeX code from the pdf file?Put their value on each edge of the graphI want to draw a cartesian product of complete graphs.Something like the below pictureAbsolute-value bar with a gap in the middleHow to draw a node wedged between two lines?How to draw general functions and tangent linesHow to plot functions given on subintervals?How can I replicate crystal graphs in J.Stembridge's paper?

Why does Mjolnir fall down in Age of Ultron but not in Endgame?

Why aren't space telescopes put in GEO?

How strong are Wi-Fi signals?

Installed Tankless Water Heater - Internet loss when active

How to respond to an upset student?

Does Nitrogen inside commercial airliner wheels prevent blowouts on touchdown?

Externally monitoring CPU/SSD activity without software access

Is it true that cut time means "play twice as fast as written"?

Make 24 using exactly three 3s

Did people Unsnap to where they were?

Why do most published works in medical imaging try to reduce false positives?

Can I tell a prospective employee that everyone in the team is leaving?

Where's this lookout in Nova Scotia?

Website returning plaintext password

Is it possible to play as a necromancer skeleton?

Boss wants me to falsify a report. How should I document this unethical demand?

Should breaking down something like a door be adjudicated as an attempt to beat its AC and HP, or as an ability check against a set DC?

Where is the logic in castrating fighters?

Which melee weapons have the Two-Handed property, but lack Heavy and Special?

Count rotary dial pulses in a phone number (including letters)

Why are C64 games inconsistent with which joystick port they use?

Where can I find visible/radio telescopic observations of the center of the Milky Way galaxy?

What is Theresa May waiting for?

Alignment: "Breaking out" of environment (enumerate / minipage)



How to illustrate the Mean Value theorem?


Could someone help me pgfplots the following functions (w/labels)?How to reduce the space between the y-axis label and the plotsHow to make LaTeX code from the pdf file?Put their value on each edge of the graphI want to draw a cartesian product of complete graphs.Something like the below pictureAbsolute-value bar with a gap in the middleHow to draw a node wedged between two lines?How to draw general functions and tangent linesHow to plot functions given on subintervals?How can I replicate crystal graphs in J.Stembridge's paper?













3















enter image description here



What packages can I use and what code to draw these functions?










share|improve this question









New contributor



precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    3















    enter image description here



    What packages can I use and what code to draw these functions?










    share|improve this question









    New contributor



    precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      3












      3








      3








      enter image description here



      What packages can I use and what code to draw these functions?










      share|improve this question









      New contributor



      precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      enter image description here



      What packages can I use and what code to draw these functions?







      graphs code






      share|improve this question









      New contributor



      precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 7 hours ago









      Artificial Odorless Armpit

      5,62611344




      5,62611344






      New contributor



      precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      precelina mprecelina m

      191




      191




      New contributor



      precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      precelina m is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          3 Answers
          3






          active

          oldest

          votes


















          6














          Some PSTricks solutions only for fun purposes!



          enter image description here



          documentclass[pstricks,border=12pt,12pt]standalone
          usepackagepst-plot,pst-eucl
          deff(x-1)^2/5+1
          defL#1#2#3#1)$#3$
          begindocument
          beginpspicture[algebraic,saveNodeCoors,NodeCoorPrefix=N](-2,-1)(7,5)
          psaxes[labels=none,ticks=none]->(0,0)(-1,-1)(6.5,4.5)[$x$,0][$y$,90]
          psplot[linecolor=red]-15f
          pstGeonode[PosAngle=90](*1 f)P(*3.5 f)Q
          psdot(Q|P)
          pcline[nodesep=-2](P)(Q)
          LPxf(x)
          LQx+varepsilonf(x+varepsilon)
          pcline[linecolor=blue](P)(Q|P)nbput$varepsilon$
          pcline[linecolor=blue](Q)(!NQx NPy)naput$f(x+varepsilon)-f(x)$
          uput[-45]([nodesep=-1]pQ)secant
          uput[0](*5 f)textcolorred$y=f(x)$
          endpspicture
          enddocument


          enter image description here



          documentclass[pstricks,border=12pt,12pt]standalone
          usepackagepstricks-add,pst-eucl


          deff(#1)((#1+3)/3+sin(#1+3))
          deffp(#1)Derive(1,f(#1))
          pssetunit=2

          begindocument
          multidor=2.0+-.119%
          beginpspicture[algebraic](-1.6,-.6)(4.4,3.4)
          psaxes[ticks=none,labels=none]->(0,0)(-1.6,-.6)(4.1,3.1)[$x$,0][$y$,90]
          psplot[linecolor=red,linewidth=2pt]-13.9f(x)
          %
          psplotTangent[linecolor=blue]1.61f(x)
          psplotTangent[linecolor=cyan,Derive=-1/fp(x)]1.6.5f(x)
          %
          pstGeonode[PosAngle=135,90]
          (*1.6 f(x))A
          (*1.6 rspace add f(x))B
          pstGeonode[PosAngle=-120,-60,PointName=x_1,x_2,PointNameSep=8pt]
          (A
          enddocument





          share|improve this answer


















          • 1





            Very very nice answer.

            – Sebastiano
            6 hours ago


















          5














          I recommend TikZ for that. (I used to love pstricks, and the pstricks solution is really neat and I upvoted it, but having seen what TikZ can do I can no longer recommend pstricks, sorry.)



          documentclass[tikz,border=3.14mm]standalone
          usetikzlibraryintersections
          begindocument
          begintikzpicture[declare function=f(x)=0.3*(x-3.5)^3-x+7;a=1;b=6;c=4.94;]
          draw[-stealth] (-0.5,0) -- (6.5,0);
          draw[-stealth] (0,-0.5) -- (0,6.5);
          draw[blue] plot[smooth,domain=0.5:6.1] (x,f(x));
          foreach X in a,b
          - (0,f(X)) node[left] $f(X)$;
          draw (a,f(a)) -- (b,f(b));
          draw[dashed] (c,0) -- (c,f(c));
          draw[dashed,name path=hori] (a,f(a)) -- (b,f(a));
          pgfmathsetmacroslopeangleatan2(f(b)-f(a),b-a)
          draw[red,name path=sloped] (c,f(c)) +(slopeangle:2) -- ++ (slopeangle+180:4);
          draw (a,f(a)) + (1,0) arc(0:slopeangle:1) node[midway,right]$beta$;
          draw[name intersections=of=hori and sloped,by=i] (i) +(1,0)
          arc(0:slopeangle:1) node[midway,right]$beta$;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer


















          • 1





            I have agree with your comment :-).

            – Sebastiano
            6 hours ago











          • @Sebastiano hello and I agree with it, too. :)

            – manooooh
            5 hours ago


















          0














          Some more fun with pstricks, which has a psPlotTangent command:



          documentclass[svgnames, x11names, border = 5pt]standalone%
          usepackage[utf8]inputenc
          usepackageamsmath
          usepackageauto-pst-pdf%
          usepackagepstricks-add%,
          defFx^3-6*x^2 + 9*x + 1

          begindocument

          pssetunit=2cm, arrowinset=0.12, algebraic, plotstyle=curve, plotpoints=200, dimen=inner
          everypsboxfootnotesize
          beginpspicture*(-1,-1)(6,5.5)
          psaxes[linecolor = LightSteelBlue, ticks=none, labels=none]->(0,0)(-2,-1.2)(5,5.5)[$x$,-135][$y$,-135]
          psplot[linecolor = IndianRed, linewidth =1.2pt]0.054F
          pssetlinestyle=dashed, linewidth=0.3pt
          psCoordinates(*0.5 F)uput[d](0.5,0)$a$uput[l](0,4.125)$f(a)$)
          psCoordinates(*3.5 F)uput[d](3.5,0)$b$uput[l](0,1.875)$f(b)$)
          psline[linecolor=Gold, linewidth=0.6pt] (0.5, 4.125)(3.5,1.875)
          psline(1.134,0)(1.134, 4.949)(3.134, 4.949)uput[d](1.134,0)$c$
          psline(2.866, 0)(2.866, 1.051)(4.866,1.051)uput[d](2.866,0)$c_1$
          pssetlinestyle=solid, labelsep=24pt
          foreach x in 1.134, 2.866psplotTangent[algebraic, linewidth=0.6pt, Derive=3*x^2-12*x + 9, linecolor=Gold, showpoints]x1.5F
          psarc(3.5, 1.875)0.4143180uput[161](3.5, 1.875)$beta$
          psarcn(1.134, 4.949)0.40-37uput[-18](1.134, 4.949)$beta$
          psarcn(2.866, 1.051)0.40-37uput[-18](2.866, 1.051)$beta$
          rput(5,1.5)$boxedtanbeta = dfracf(b)-f(a)b-a = f'(c)$
          endpspicture*

          enddocument


          enter image description here






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            precelina m is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f492494%2fhow-to-illustrate-the-mean-value-theorem%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            6














            Some PSTricks solutions only for fun purposes!



            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepst-plot,pst-eucl
            deff(x-1)^2/5+1
            defL#1#2#3#1)$#3$
            begindocument
            beginpspicture[algebraic,saveNodeCoors,NodeCoorPrefix=N](-2,-1)(7,5)
            psaxes[labels=none,ticks=none]->(0,0)(-1,-1)(6.5,4.5)[$x$,0][$y$,90]
            psplot[linecolor=red]-15f
            pstGeonode[PosAngle=90](*1 f)P(*3.5 f)Q
            psdot(Q|P)
            pcline[nodesep=-2](P)(Q)
            LPxf(x)
            LQx+varepsilonf(x+varepsilon)
            pcline[linecolor=blue](P)(Q|P)nbput$varepsilon$
            pcline[linecolor=blue](Q)(!NQx NPy)naput$f(x+varepsilon)-f(x)$
            uput[-45]([nodesep=-1]pQ)secant
            uput[0](*5 f)textcolorred$y=f(x)$
            endpspicture
            enddocument


            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepstricks-add,pst-eucl


            deff(#1)((#1+3)/3+sin(#1+3))
            deffp(#1)Derive(1,f(#1))
            pssetunit=2

            begindocument
            multidor=2.0+-.119%
            beginpspicture[algebraic](-1.6,-.6)(4.4,3.4)
            psaxes[ticks=none,labels=none]->(0,0)(-1.6,-.6)(4.1,3.1)[$x$,0][$y$,90]
            psplot[linecolor=red,linewidth=2pt]-13.9f(x)
            %
            psplotTangent[linecolor=blue]1.61f(x)
            psplotTangent[linecolor=cyan,Derive=-1/fp(x)]1.6.5f(x)
            %
            pstGeonode[PosAngle=135,90]
            (*1.6 f(x))A
            (*1.6 rspace add f(x))B
            pstGeonode[PosAngle=-120,-60,PointName=x_1,x_2,PointNameSep=8pt]
            (A
            enddocument





            share|improve this answer


















            • 1





              Very very nice answer.

              – Sebastiano
              6 hours ago















            6














            Some PSTricks solutions only for fun purposes!



            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepst-plot,pst-eucl
            deff(x-1)^2/5+1
            defL#1#2#3#1)$#3$
            begindocument
            beginpspicture[algebraic,saveNodeCoors,NodeCoorPrefix=N](-2,-1)(7,5)
            psaxes[labels=none,ticks=none]->(0,0)(-1,-1)(6.5,4.5)[$x$,0][$y$,90]
            psplot[linecolor=red]-15f
            pstGeonode[PosAngle=90](*1 f)P(*3.5 f)Q
            psdot(Q|P)
            pcline[nodesep=-2](P)(Q)
            LPxf(x)
            LQx+varepsilonf(x+varepsilon)
            pcline[linecolor=blue](P)(Q|P)nbput$varepsilon$
            pcline[linecolor=blue](Q)(!NQx NPy)naput$f(x+varepsilon)-f(x)$
            uput[-45]([nodesep=-1]pQ)secant
            uput[0](*5 f)textcolorred$y=f(x)$
            endpspicture
            enddocument


            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepstricks-add,pst-eucl


            deff(#1)((#1+3)/3+sin(#1+3))
            deffp(#1)Derive(1,f(#1))
            pssetunit=2

            begindocument
            multidor=2.0+-.119%
            beginpspicture[algebraic](-1.6,-.6)(4.4,3.4)
            psaxes[ticks=none,labels=none]->(0,0)(-1.6,-.6)(4.1,3.1)[$x$,0][$y$,90]
            psplot[linecolor=red,linewidth=2pt]-13.9f(x)
            %
            psplotTangent[linecolor=blue]1.61f(x)
            psplotTangent[linecolor=cyan,Derive=-1/fp(x)]1.6.5f(x)
            %
            pstGeonode[PosAngle=135,90]
            (*1.6 f(x))A
            (*1.6 rspace add f(x))B
            pstGeonode[PosAngle=-120,-60,PointName=x_1,x_2,PointNameSep=8pt]
            (A
            enddocument





            share|improve this answer


















            • 1





              Very very nice answer.

              – Sebastiano
              6 hours ago













            6












            6








            6







            Some PSTricks solutions only for fun purposes!



            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepst-plot,pst-eucl
            deff(x-1)^2/5+1
            defL#1#2#3#1)$#3$
            begindocument
            beginpspicture[algebraic,saveNodeCoors,NodeCoorPrefix=N](-2,-1)(7,5)
            psaxes[labels=none,ticks=none]->(0,0)(-1,-1)(6.5,4.5)[$x$,0][$y$,90]
            psplot[linecolor=red]-15f
            pstGeonode[PosAngle=90](*1 f)P(*3.5 f)Q
            psdot(Q|P)
            pcline[nodesep=-2](P)(Q)
            LPxf(x)
            LQx+varepsilonf(x+varepsilon)
            pcline[linecolor=blue](P)(Q|P)nbput$varepsilon$
            pcline[linecolor=blue](Q)(!NQx NPy)naput$f(x+varepsilon)-f(x)$
            uput[-45]([nodesep=-1]pQ)secant
            uput[0](*5 f)textcolorred$y=f(x)$
            endpspicture
            enddocument


            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepstricks-add,pst-eucl


            deff(#1)((#1+3)/3+sin(#1+3))
            deffp(#1)Derive(1,f(#1))
            pssetunit=2

            begindocument
            multidor=2.0+-.119%
            beginpspicture[algebraic](-1.6,-.6)(4.4,3.4)
            psaxes[ticks=none,labels=none]->(0,0)(-1.6,-.6)(4.1,3.1)[$x$,0][$y$,90]
            psplot[linecolor=red,linewidth=2pt]-13.9f(x)
            %
            psplotTangent[linecolor=blue]1.61f(x)
            psplotTangent[linecolor=cyan,Derive=-1/fp(x)]1.6.5f(x)
            %
            pstGeonode[PosAngle=135,90]
            (*1.6 f(x))A
            (*1.6 rspace add f(x))B
            pstGeonode[PosAngle=-120,-60,PointName=x_1,x_2,PointNameSep=8pt]
            (A
            enddocument





            share|improve this answer













            Some PSTricks solutions only for fun purposes!



            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepst-plot,pst-eucl
            deff(x-1)^2/5+1
            defL#1#2#3#1)$#3$
            begindocument
            beginpspicture[algebraic,saveNodeCoors,NodeCoorPrefix=N](-2,-1)(7,5)
            psaxes[labels=none,ticks=none]->(0,0)(-1,-1)(6.5,4.5)[$x$,0][$y$,90]
            psplot[linecolor=red]-15f
            pstGeonode[PosAngle=90](*1 f)P(*3.5 f)Q
            psdot(Q|P)
            pcline[nodesep=-2](P)(Q)
            LPxf(x)
            LQx+varepsilonf(x+varepsilon)
            pcline[linecolor=blue](P)(Q|P)nbput$varepsilon$
            pcline[linecolor=blue](Q)(!NQx NPy)naput$f(x+varepsilon)-f(x)$
            uput[-45]([nodesep=-1]pQ)secant
            uput[0](*5 f)textcolorred$y=f(x)$
            endpspicture
            enddocument


            enter image description here



            documentclass[pstricks,border=12pt,12pt]standalone
            usepackagepstricks-add,pst-eucl


            deff(#1)((#1+3)/3+sin(#1+3))
            deffp(#1)Derive(1,f(#1))
            pssetunit=2

            begindocument
            multidor=2.0+-.119%
            beginpspicture[algebraic](-1.6,-.6)(4.4,3.4)
            psaxes[ticks=none,labels=none]->(0,0)(-1.6,-.6)(4.1,3.1)[$x$,0][$y$,90]
            psplot[linecolor=red,linewidth=2pt]-13.9f(x)
            %
            psplotTangent[linecolor=blue]1.61f(x)
            psplotTangent[linecolor=cyan,Derive=-1/fp(x)]1.6.5f(x)
            %
            pstGeonode[PosAngle=135,90]
            (*1.6 f(x))A
            (*1.6 rspace add f(x))B
            pstGeonode[PosAngle=-120,-60,PointName=x_1,x_2,PointNameSep=8pt]
            (A
            enddocument






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 8 hours ago









            Artificial Odorless ArmpitArtificial Odorless Armpit

            5,62611344




            5,62611344







            • 1





              Very very nice answer.

              – Sebastiano
              6 hours ago












            • 1





              Very very nice answer.

              – Sebastiano
              6 hours ago







            1




            1





            Very very nice answer.

            – Sebastiano
            6 hours ago





            Very very nice answer.

            – Sebastiano
            6 hours ago











            5














            I recommend TikZ for that. (I used to love pstricks, and the pstricks solution is really neat and I upvoted it, but having seen what TikZ can do I can no longer recommend pstricks, sorry.)



            documentclass[tikz,border=3.14mm]standalone
            usetikzlibraryintersections
            begindocument
            begintikzpicture[declare function=f(x)=0.3*(x-3.5)^3-x+7;a=1;b=6;c=4.94;]
            draw[-stealth] (-0.5,0) -- (6.5,0);
            draw[-stealth] (0,-0.5) -- (0,6.5);
            draw[blue] plot[smooth,domain=0.5:6.1] (x,f(x));
            foreach X in a,b
            - (0,f(X)) node[left] $f(X)$;
            draw (a,f(a)) -- (b,f(b));
            draw[dashed] (c,0) -- (c,f(c));
            draw[dashed,name path=hori] (a,f(a)) -- (b,f(a));
            pgfmathsetmacroslopeangleatan2(f(b)-f(a),b-a)
            draw[red,name path=sloped] (c,f(c)) +(slopeangle:2) -- ++ (slopeangle+180:4);
            draw (a,f(a)) + (1,0) arc(0:slopeangle:1) node[midway,right]$beta$;
            draw[name intersections=of=hori and sloped,by=i] (i) +(1,0)
            arc(0:slopeangle:1) node[midway,right]$beta$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer


















            • 1





              I have agree with your comment :-).

              – Sebastiano
              6 hours ago











            • @Sebastiano hello and I agree with it, too. :)

              – manooooh
              5 hours ago















            5














            I recommend TikZ for that. (I used to love pstricks, and the pstricks solution is really neat and I upvoted it, but having seen what TikZ can do I can no longer recommend pstricks, sorry.)



            documentclass[tikz,border=3.14mm]standalone
            usetikzlibraryintersections
            begindocument
            begintikzpicture[declare function=f(x)=0.3*(x-3.5)^3-x+7;a=1;b=6;c=4.94;]
            draw[-stealth] (-0.5,0) -- (6.5,0);
            draw[-stealth] (0,-0.5) -- (0,6.5);
            draw[blue] plot[smooth,domain=0.5:6.1] (x,f(x));
            foreach X in a,b
            - (0,f(X)) node[left] $f(X)$;
            draw (a,f(a)) -- (b,f(b));
            draw[dashed] (c,0) -- (c,f(c));
            draw[dashed,name path=hori] (a,f(a)) -- (b,f(a));
            pgfmathsetmacroslopeangleatan2(f(b)-f(a),b-a)
            draw[red,name path=sloped] (c,f(c)) +(slopeangle:2) -- ++ (slopeangle+180:4);
            draw (a,f(a)) + (1,0) arc(0:slopeangle:1) node[midway,right]$beta$;
            draw[name intersections=of=hori and sloped,by=i] (i) +(1,0)
            arc(0:slopeangle:1) node[midway,right]$beta$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer


















            • 1





              I have agree with your comment :-).

              – Sebastiano
              6 hours ago











            • @Sebastiano hello and I agree with it, too. :)

              – manooooh
              5 hours ago













            5












            5








            5







            I recommend TikZ for that. (I used to love pstricks, and the pstricks solution is really neat and I upvoted it, but having seen what TikZ can do I can no longer recommend pstricks, sorry.)



            documentclass[tikz,border=3.14mm]standalone
            usetikzlibraryintersections
            begindocument
            begintikzpicture[declare function=f(x)=0.3*(x-3.5)^3-x+7;a=1;b=6;c=4.94;]
            draw[-stealth] (-0.5,0) -- (6.5,0);
            draw[-stealth] (0,-0.5) -- (0,6.5);
            draw[blue] plot[smooth,domain=0.5:6.1] (x,f(x));
            foreach X in a,b
            - (0,f(X)) node[left] $f(X)$;
            draw (a,f(a)) -- (b,f(b));
            draw[dashed] (c,0) -- (c,f(c));
            draw[dashed,name path=hori] (a,f(a)) -- (b,f(a));
            pgfmathsetmacroslopeangleatan2(f(b)-f(a),b-a)
            draw[red,name path=sloped] (c,f(c)) +(slopeangle:2) -- ++ (slopeangle+180:4);
            draw (a,f(a)) + (1,0) arc(0:slopeangle:1) node[midway,right]$beta$;
            draw[name intersections=of=hori and sloped,by=i] (i) +(1,0)
            arc(0:slopeangle:1) node[midway,right]$beta$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer













            I recommend TikZ for that. (I used to love pstricks, and the pstricks solution is really neat and I upvoted it, but having seen what TikZ can do I can no longer recommend pstricks, sorry.)



            documentclass[tikz,border=3.14mm]standalone
            usetikzlibraryintersections
            begindocument
            begintikzpicture[declare function=f(x)=0.3*(x-3.5)^3-x+7;a=1;b=6;c=4.94;]
            draw[-stealth] (-0.5,0) -- (6.5,0);
            draw[-stealth] (0,-0.5) -- (0,6.5);
            draw[blue] plot[smooth,domain=0.5:6.1] (x,f(x));
            foreach X in a,b
            - (0,f(X)) node[left] $f(X)$;
            draw (a,f(a)) -- (b,f(b));
            draw[dashed] (c,0) -- (c,f(c));
            draw[dashed,name path=hori] (a,f(a)) -- (b,f(a));
            pgfmathsetmacroslopeangleatan2(f(b)-f(a),b-a)
            draw[red,name path=sloped] (c,f(c)) +(slopeangle:2) -- ++ (slopeangle+180:4);
            draw (a,f(a)) + (1,0) arc(0:slopeangle:1) node[midway,right]$beta$;
            draw[name intersections=of=hori and sloped,by=i] (i) +(1,0)
            arc(0:slopeangle:1) node[midway,right]$beta$;
            endtikzpicture
            enddocument


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 6 hours ago









            marmotmarmot

            130k6164311




            130k6164311







            • 1





              I have agree with your comment :-).

              – Sebastiano
              6 hours ago











            • @Sebastiano hello and I agree with it, too. :)

              – manooooh
              5 hours ago












            • 1





              I have agree with your comment :-).

              – Sebastiano
              6 hours ago











            • @Sebastiano hello and I agree with it, too. :)

              – manooooh
              5 hours ago







            1




            1





            I have agree with your comment :-).

            – Sebastiano
            6 hours ago





            I have agree with your comment :-).

            – Sebastiano
            6 hours ago













            @Sebastiano hello and I agree with it, too. :)

            – manooooh
            5 hours ago





            @Sebastiano hello and I agree with it, too. :)

            – manooooh
            5 hours ago











            0














            Some more fun with pstricks, which has a psPlotTangent command:



            documentclass[svgnames, x11names, border = 5pt]standalone%
            usepackage[utf8]inputenc
            usepackageamsmath
            usepackageauto-pst-pdf%
            usepackagepstricks-add%,
            defFx^3-6*x^2 + 9*x + 1

            begindocument

            pssetunit=2cm, arrowinset=0.12, algebraic, plotstyle=curve, plotpoints=200, dimen=inner
            everypsboxfootnotesize
            beginpspicture*(-1,-1)(6,5.5)
            psaxes[linecolor = LightSteelBlue, ticks=none, labels=none]->(0,0)(-2,-1.2)(5,5.5)[$x$,-135][$y$,-135]
            psplot[linecolor = IndianRed, linewidth =1.2pt]0.054F
            pssetlinestyle=dashed, linewidth=0.3pt
            psCoordinates(*0.5 F)uput[d](0.5,0)$a$uput[l](0,4.125)$f(a)$)
            psCoordinates(*3.5 F)uput[d](3.5,0)$b$uput[l](0,1.875)$f(b)$)
            psline[linecolor=Gold, linewidth=0.6pt] (0.5, 4.125)(3.5,1.875)
            psline(1.134,0)(1.134, 4.949)(3.134, 4.949)uput[d](1.134,0)$c$
            psline(2.866, 0)(2.866, 1.051)(4.866,1.051)uput[d](2.866,0)$c_1$
            pssetlinestyle=solid, labelsep=24pt
            foreach x in 1.134, 2.866psplotTangent[algebraic, linewidth=0.6pt, Derive=3*x^2-12*x + 9, linecolor=Gold, showpoints]x1.5F
            psarc(3.5, 1.875)0.4143180uput[161](3.5, 1.875)$beta$
            psarcn(1.134, 4.949)0.40-37uput[-18](1.134, 4.949)$beta$
            psarcn(2.866, 1.051)0.40-37uput[-18](2.866, 1.051)$beta$
            rput(5,1.5)$boxedtanbeta = dfracf(b)-f(a)b-a = f'(c)$
            endpspicture*

            enddocument


            enter image description here






            share|improve this answer



























              0














              Some more fun with pstricks, which has a psPlotTangent command:



              documentclass[svgnames, x11names, border = 5pt]standalone%
              usepackage[utf8]inputenc
              usepackageamsmath
              usepackageauto-pst-pdf%
              usepackagepstricks-add%,
              defFx^3-6*x^2 + 9*x + 1

              begindocument

              pssetunit=2cm, arrowinset=0.12, algebraic, plotstyle=curve, plotpoints=200, dimen=inner
              everypsboxfootnotesize
              beginpspicture*(-1,-1)(6,5.5)
              psaxes[linecolor = LightSteelBlue, ticks=none, labels=none]->(0,0)(-2,-1.2)(5,5.5)[$x$,-135][$y$,-135]
              psplot[linecolor = IndianRed, linewidth =1.2pt]0.054F
              pssetlinestyle=dashed, linewidth=0.3pt
              psCoordinates(*0.5 F)uput[d](0.5,0)$a$uput[l](0,4.125)$f(a)$)
              psCoordinates(*3.5 F)uput[d](3.5,0)$b$uput[l](0,1.875)$f(b)$)
              psline[linecolor=Gold, linewidth=0.6pt] (0.5, 4.125)(3.5,1.875)
              psline(1.134,0)(1.134, 4.949)(3.134, 4.949)uput[d](1.134,0)$c$
              psline(2.866, 0)(2.866, 1.051)(4.866,1.051)uput[d](2.866,0)$c_1$
              pssetlinestyle=solid, labelsep=24pt
              foreach x in 1.134, 2.866psplotTangent[algebraic, linewidth=0.6pt, Derive=3*x^2-12*x + 9, linecolor=Gold, showpoints]x1.5F
              psarc(3.5, 1.875)0.4143180uput[161](3.5, 1.875)$beta$
              psarcn(1.134, 4.949)0.40-37uput[-18](1.134, 4.949)$beta$
              psarcn(2.866, 1.051)0.40-37uput[-18](2.866, 1.051)$beta$
              rput(5,1.5)$boxedtanbeta = dfracf(b)-f(a)b-a = f'(c)$
              endpspicture*

              enddocument


              enter image description here






              share|improve this answer

























                0












                0








                0







                Some more fun with pstricks, which has a psPlotTangent command:



                documentclass[svgnames, x11names, border = 5pt]standalone%
                usepackage[utf8]inputenc
                usepackageamsmath
                usepackageauto-pst-pdf%
                usepackagepstricks-add%,
                defFx^3-6*x^2 + 9*x + 1

                begindocument

                pssetunit=2cm, arrowinset=0.12, algebraic, plotstyle=curve, plotpoints=200, dimen=inner
                everypsboxfootnotesize
                beginpspicture*(-1,-1)(6,5.5)
                psaxes[linecolor = LightSteelBlue, ticks=none, labels=none]->(0,0)(-2,-1.2)(5,5.5)[$x$,-135][$y$,-135]
                psplot[linecolor = IndianRed, linewidth =1.2pt]0.054F
                pssetlinestyle=dashed, linewidth=0.3pt
                psCoordinates(*0.5 F)uput[d](0.5,0)$a$uput[l](0,4.125)$f(a)$)
                psCoordinates(*3.5 F)uput[d](3.5,0)$b$uput[l](0,1.875)$f(b)$)
                psline[linecolor=Gold, linewidth=0.6pt] (0.5, 4.125)(3.5,1.875)
                psline(1.134,0)(1.134, 4.949)(3.134, 4.949)uput[d](1.134,0)$c$
                psline(2.866, 0)(2.866, 1.051)(4.866,1.051)uput[d](2.866,0)$c_1$
                pssetlinestyle=solid, labelsep=24pt
                foreach x in 1.134, 2.866psplotTangent[algebraic, linewidth=0.6pt, Derive=3*x^2-12*x + 9, linecolor=Gold, showpoints]x1.5F
                psarc(3.5, 1.875)0.4143180uput[161](3.5, 1.875)$beta$
                psarcn(1.134, 4.949)0.40-37uput[-18](1.134, 4.949)$beta$
                psarcn(2.866, 1.051)0.40-37uput[-18](2.866, 1.051)$beta$
                rput(5,1.5)$boxedtanbeta = dfracf(b)-f(a)b-a = f'(c)$
                endpspicture*

                enddocument


                enter image description here






                share|improve this answer













                Some more fun with pstricks, which has a psPlotTangent command:



                documentclass[svgnames, x11names, border = 5pt]standalone%
                usepackage[utf8]inputenc
                usepackageamsmath
                usepackageauto-pst-pdf%
                usepackagepstricks-add%,
                defFx^3-6*x^2 + 9*x + 1

                begindocument

                pssetunit=2cm, arrowinset=0.12, algebraic, plotstyle=curve, plotpoints=200, dimen=inner
                everypsboxfootnotesize
                beginpspicture*(-1,-1)(6,5.5)
                psaxes[linecolor = LightSteelBlue, ticks=none, labels=none]->(0,0)(-2,-1.2)(5,5.5)[$x$,-135][$y$,-135]
                psplot[linecolor = IndianRed, linewidth =1.2pt]0.054F
                pssetlinestyle=dashed, linewidth=0.3pt
                psCoordinates(*0.5 F)uput[d](0.5,0)$a$uput[l](0,4.125)$f(a)$)
                psCoordinates(*3.5 F)uput[d](3.5,0)$b$uput[l](0,1.875)$f(b)$)
                psline[linecolor=Gold, linewidth=0.6pt] (0.5, 4.125)(3.5,1.875)
                psline(1.134,0)(1.134, 4.949)(3.134, 4.949)uput[d](1.134,0)$c$
                psline(2.866, 0)(2.866, 1.051)(4.866,1.051)uput[d](2.866,0)$c_1$
                pssetlinestyle=solid, labelsep=24pt
                foreach x in 1.134, 2.866psplotTangent[algebraic, linewidth=0.6pt, Derive=3*x^2-12*x + 9, linecolor=Gold, showpoints]x1.5F
                psarc(3.5, 1.875)0.4143180uput[161](3.5, 1.875)$beta$
                psarcn(1.134, 4.949)0.40-37uput[-18](1.134, 4.949)$beta$
                psarcn(2.866, 1.051)0.40-37uput[-18](2.866, 1.051)$beta$
                rput(5,1.5)$boxedtanbeta = dfracf(b)-f(a)b-a = f'(c)$
                endpspicture*

                enddocument


                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 hours ago









                BernardBernard

                180k780212




                180k780212




















                    precelina m is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    precelina m is a new contributor. Be nice, and check out our Code of Conduct.












                    precelina m is a new contributor. Be nice, and check out our Code of Conduct.











                    precelina m is a new contributor. Be nice, and check out our Code of Conduct.














                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f492494%2fhow-to-illustrate-the-mean-value-theorem%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367