Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. documentclass[tikz]{standalone}
  2.  
  3. usetikzlibrary{patterns}
  4.  
  5. begin{document}
  6.  
  7. begin{tikzpicture}[domain=-90:200, x=0.025cm, y=0.15cm]
  8.  
  9. draw[->,very thick] (-100,0) -- (250,0) node[right] {$x$};
  10. draw[->,very thick] (0,0) -- (0,45) node[above] {$y$};
  11.  
  12. foreach x in {-4,...,10} {
  13. draw (20*x,0) -- (20*x,-1);
  14. }
  15. foreach y in {0,...,45} {
  16. draw (0,y) -- (-1,y);
  17. }
  18.  
  19. draw[color=blue] plot ({x},{34}) node[right] {$MR = 34$};
  20. draw[color=red] plot ({x},{0.0018*x*x-0.2*x+10}) node[above] {$MC = 0.0018 Q^2-0.2 Q + 10$};
  21.  
  22. fill[pattern color=green, pattern=north east lines, opacity=0.9] plot[domain=-72.5840284:183.69514] ({x},{0.0018*x*x-0.2*x+10}) -- plot ({x},{34}) -- cycle node {$DB$};
  23.  
  24. end{tikzpicture}
  25.  
  26. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement