a

Menu

M

Chiudi

Tikz – esempio 22

Immagini matematica

Home » Tikz – esempio 22

Tikz – esempio 22

Benvenuti nel nostro esempio 22 di utilizzo del pacchetto Tikz, una risorsa utilissima del linguaggio \LaTeX per comporre immagini di altissima qualità. In questo articolo proponiamo un esempio di utilizzo. Segnaliamo anche il precedente Tikz – esempio 21 e il successivo Tikz – esempio 23 per ulteriore materiale.

Buona lettura!

 

Prima figura

 

Rendered by QuickLaTeX.com

 

codice prima figura

 

\begin{tikzpicture}
\begin{axis}[
scale=2,
axis x line=center,
axis y line=center,
xmin = -1,
xmax = 4,
ymin = -2,
ymax = 3,
xlabel = {$x$},
ylabel = {$y$},
]
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=graficoseno]{0};
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=base] {sin(deg(x))};
\addplot[TealBlue!30] fill between[of=graficoseno and base, soft clip={domain=0:3.14159}];
\draw (axis cs:1.3,0.5) node[rotate=0] [MidnightBlue]{$A^\circ$};
\draw (axis cs:2.7,0.7) node[rotate=0] [red]{$\partial A$};
\addplot[mark=*,red] coordinates {(0,0)} node[below left,red] {$O$};
\addplot[mark=*,red] coordinates {(3.14159,0)} node[below right] {$\pi$};
\end{axis}
\end{tikzpicture}

 

seconda figura

 

Rendered by QuickLaTeX.com

 

codice seconda figura

 

\begin{tikzpicture}
\begin{axis}[
scale=2,
axis x line=center,
axis y line=center,
xmin = -1,
xmax = 4,
ymin = -2,
ymax = 3,
xlabel = {$x$},
ylabel = {$y$},
]
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=graficoseno]{0};
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=base] {sin(deg(x))};
\addplot[TealBlue!30] fill between[of=graficoseno and base, soft clip={domain=0:3.14159}];
\draw (axis cs:1,0.3) node[rotate=0] [MidnightBlue]{$A^\circ$};
\draw (axis cs:2.7,0.7) node[rotate=0] [red]{$\partial A$};
\addplot[mark=*,red] coordinates {(0,0)} node[below left,red] {$P_1$};
\addplot[mark=*,red] coordinates {(3.14159,0)} node[below right] {$P_2$};
\addplot[mark=*,red] coordinates {(1.0472,0.866)} node[above left] {$P_3$};
\addplot[mark=*,red] coordinates {(2.0944,0.866)} node[above right] {$P_4$};
\addplot[mark=*, MidnightBlue] coordinates {(1.57079,0.5)} node[below left] {$P_0$};
\end{axis}
\end{tikzpicture}

 

terza figura

 

Rendered by QuickLaTeX.com

 

codice terza figura

 

\begin{tikzpicture}
\begin{axis}[
width = 0.7\textwidth,
height = 0.7\textwidth,
xtick = \empty,
ytick = \empty,
axis on top,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -4,
xmax = 4,
ymin = -4,
ymax = 4,
xlabel = {$x$},
ylabel = {$y$},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\draw[fill=red] (axis cs:0,0) circle [radius=3];
\draw (axis cs:1,0.55) node[rotate=0] {$A^\circ$};
\addplot[mark=*,very thick,NavyBlue] coordinates { (-1,2)}node[below left]{$P_1=(-1,2)$};

\addplot[very thick,samples=100,domain=3:-3,Cerulean,,name path=retta 1] {-2*x};
\addplot[very thick,samples=100,domain=3.5:-3.5,Cerulean,,name path=retta 2] {-x/2+3/2};
\draw (axis cs:2.5,-2.5) node[NavyBlue] {$y=-2x$};
\draw (axis cs:1.7,1.5) node[NavyBlue] {$y=-\dfrac{x}{2}+\dfrac{3}{2}$};
\end{axis}
\end{tikzpicture}

 

quarta figura

 

Rendered by QuickLaTeX.com

 

codice quarta figura

 

\begin{tikzpicture}
\begin{axis}[
width = 0.7\textwidth,
height = 0.7\textwidth,
xtick = \empty,
ytick = \empty,
axis on top,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -4,
xmax = 4,
ymin = -4,
ymax = 4,
xlabel = {$x$},
ylabel = {$y$},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\draw[thick, red, fill=red] (axis cs:0,0) circle [radius=3];
\draw (axis cs:1,0.55) node[rotate=0] {$A^\circ$};
\addplot[mark=*,very thick,NavyBlue] coordinates { (-1,2)}node[below]{$P_1=(-1,2)$};
\addplot[mark=*,very thick,Violet] coordinates { (3,0)}node[below]{$P_2=(3,0)$};
\addplot[mark=*,very thick,Violet] coordinates { (-1.5,2.598)}node[above left]{$P_3=\left(-\dfrac{3}{2},\dfrac{3\sqrt{3}}{2}\right)$};
\addplot[mark=*,very thick,Violet] coordinates { (-1.5,-2.598)}node[below left]{$P_4=\left(-\dfrac{3}{2},-\dfrac{3\sqrt{3}}{2}\right)$};

\end{axis}
\end{tikzpicture}

 

quinta figura

 

Rendered by QuickLaTeX.com

 

codice quinta figura

 

\begin{tikzpicture}
\begin{axis}[
width = 0.7\textwidth,
height = 0.7\textwidth,
xtick = \empty,
ytick = \empty,
axis on top ,
xtick = \empty,
ytick = \empty,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -6,
xmax = 6,
ymin = -4,
ymax = 7,
xlabel = {$x$},
ylabel = {$y$},
extra x tick label = {$\hspace{0.4cm}0$},
y label style={anchor=north east}
]
\addplot[mark=*,very thick,Orchid] coordinates { (0,0) (3,3) (3,-3) (0,0)};
\addplot[mark=*,Orchid] coordinates {(3,-3)} node[below right] {$B$};
\addplot[mark=*,Orchid] coordinates {(0,0)} node[below left] {$O$};
\addplot[mark=*,Orchid] coordinates {(3,3)} node[above right] {$C$};
\addplot[very thick,dashed,samples=100,domain=0:3,Orchid,,name path=retta 1] {x};
\addplot[very thick,dashed,samples=100,domain=0:3,Orchid,,name path=retta 2] {-x};
\addplot[red] fill between[of=retta 1 and retta 2, soft clip={domain=0:3}];
\draw (axis cs:1.4,1.9) node[rotate=0] [Orchid]{$\partial A$};
\draw (axis cs:2,-0.4) node[rotate=0] [BlueViolet]{$A^\circ$};
\end{axis}
\end{tikzpicture}

 
 

Risorse didattiche aggiuntive per approfondire la matematica

Leggi...

  • Math Stack Exchange – Parte della rete Stack Exchange, questo sito è un forum di domande e risposte specificamente dedicato alla matematica. È una delle piattaforme più popolari per discutere e risolvere problemi matematici di vario livello, dall’elementare all’avanzato.
  • Art of Problem Solving (AoPS) – Questo sito è molto noto tra gli studenti di matematica di livello avanzato e i partecipanti a competizioni matematiche. Offre forum, corsi online, e risorse educative su una vasta gamma di argomenti.
  • MathOverflow – Questo sito è destinato a matematici professionisti e ricercatori. È una piattaforma per domande di ricerca avanzata in matematica. È strettamente legato a Math Stack Exchange ma è orientato a un pubblico con una formazione più avanzata.
  • PlanetMath – Una comunità collaborativa di matematici che crea e cura articoli enciclopedici e altre risorse di matematica. È simile a Wikipedia, ma focalizzata esclusivamente sulla matematica.
  • Wolfram MathWorld – Una delle risorse online più complete per la matematica. Contiene migliaia di articoli su argomenti di matematica, creati e curati da esperti. Sebbene non sia un forum, è una risorsa eccellente per la teoria matematica.
  • The Math Forum – Un sito storico che offre un’ampia gamma di risorse, inclusi forum di discussione, articoli e risorse educative. Sebbene alcune parti del sito siano state integrate con altri servizi, come NCTM, rimane una risorsa preziosa per la comunità educativa.
  • Stack Overflow (sezione matematica) – Sebbene Stack Overflow sia principalmente noto per la programmazione, ci sono anche discussioni rilevanti di matematica applicata, specialmente nel contesto della scienza dei dati, statistica, e algoritmi.
  • Reddit (r/Math) – Un subreddit popolare dove si possono trovare discussioni su una vasta gamma di argomenti matematici. È meno formale rispetto ai siti di domande e risposte come Math Stack Exchange, ma ha una comunità attiva e molte discussioni interessanti.
  • Brilliant.org – Offre corsi interattivi e problemi di matematica e scienza. È particolarmente utile per chi vuole allenare le proprie capacità di problem solving in matematica.
  • Khan Academy – Una risorsa educativa globale con lezioni video, esercizi interattivi e articoli su una vasta gamma di argomenti di matematica, dalla scuola elementare all’università.






Document









Document