Guest User

Untitled

a guest
Nov 20th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. documentclass[12pt,a4paper]{article}
  2. usepackage{amsmath,amssymb}
  3. usepackage{pstricks} % required package
  4. usepackage{pst-node,pst-func,pst-plot,pst-eucl,pstricks-add,pst-node,multido}
  5. usepackage{graphicx}
  6. usepackage[margin=2.1cm]{geometry}
  7. usepackage{auto-pst-pdf}
  8. begin{pspicture}[algebraic,linestyle=curve](-2,-6)(6,6)
  9. psaxes{->}(0,0)(-2,-4)(5.5,4)[$x$,0][$y$,90]
  10. psclip{%
  11. psplot[linestyle=none]{0}{6.5}{x*(3-x)/2}}
  12. psplot[linecolor=blue,fillstyle=vlines]{.5}{5}{x*(x-6)+6}
  13. endpsclip
  14. psplot{0}{4.5}{x*(3-x)/2}}
  15. psplot[linecolor=blue]{.5}{5}{x*(x-6)+6}
  16. rput[bl](1.8,1.2){$y=dfrac{-x^2+3x}{2}$}
  17. rput[t](2,-3.1){$y=x^2-6x+6$}
  18.  
  19. begin{pspicture}[algebraic,linestyle=curve](-2,-6)(6,6)
  20. psaxes{->}(0,0)(-2,-4)(5.5,4)[$x$,0][$y$,90]
  21. psclip{%
  22. psplot[linecolor=blue,]{-1}{5}{-1*x+2}}
  23. psplot[fillstyle=hlines]{.5}{5}{x*(x-6)+6}
  24. endpsclip
  25. psplot[linewidth=1.5pt]{.5}{5}{x*(x-6)+6}
  26. rput[bl](1.5,1){$y=-x+2$}
  27. rput[t](2,-3.1){$y=x^2-6x+6$}
  28. end{pspicture}
Add Comment
Please, Sign In to add comment