LaTeX에서 수학 그림 그리기

LaTeX에서 수학 그림 그리기

저는 LaTeX를 처음 접했는데 LaTeX에서 이 그래프를 어떻게 생성할 수 있는지 알고 싶습니다. 특별히 추천하는 소프트웨어가 있나요?여기에 이미지 설명을 입력하세요

미리 감사드립니다.

답변1

아마도 Ti로 그리는 것이 가장 쉬울 것입니다.케이지.

\documentclass[a4paper]{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
 \coordinate (O) at (0,0); 
 \draw[-latex] (O) -- (8,0);
 \draw[-latex] (O) -- (0,4);
 \coordinate[label=left:$P$] (P) at (1,0.2);
 \coordinate[label=right:$Q$] (Q) at (7.5,3.6);
 \draw[blue,-latex] (P) -- (Q);
 \draw plot[domain=1:7.5,variable=\x] ({1+6.5*(1-cos((\x-1)*(90/6.5)))},
 {0.2+3.4*sin((\x-1)*(90/6.5))}); 
 \draw[red,-latex] ({1+6.5*(1-cos((4-1)*(90/6.5)))},
 {0.2+3.4*sin((4-1)*(90/6.5)}) --++(2,1.1) node[midway,above,black]{$v$};
 \draw[dotted] ({1+6.5*(1-cos((4-1)*(90/6.5)))},
 {0.2+3.4*sin((4-1)*(90/6.5)}) -- ++(2,0)-- ++(0,1.1);
 \coordinate (v) at (4,3.4);
 \draw[dotted] (O-|P)node[below]{$f(a)$} -- (P) -- (O|-P)node[left]{$g(b)$};
 \draw[dotted] (O-|Q)node[below]{$f(b)$} -- 
 node[pos=0.3,left]{$\displaystyle \frac{g'(c)}{f'(c)}=
 \frac{g(b)-g(a)}{f(b)-f(a)}$} (Q) -- (O|-Q)node[left]{$g(a)$};
 \draw[dotted] (O|-P) -- (P-|Q);
\end{tikzpicture}
\end{document}

여기에 이미지 설명을 입력하세요

이것을 일종의 환영 선물로 생각하고 다음 질문을 게시할 때 Stefan Pinnow의 조언을 따르십시오.

관련 정보