| 1 |
% !TeX spellcheck = pt_BR |
| 2 |
% !TeX encoding = UTF-8 |
| 3 |
% ============================= |
| 4 |
|
| 5 |
\documentclass[a4paper,10pt]{article} |
| 6 |
\usepackage[brazil]{babel} |
| 7 |
\input{input_pacotes} |
| 8 |
|
| 9 |
% ========== Dados capa folha rosto ========== Sempre crie uma cópia local |
| 10 |
\newcommand{\textoVersao}{Versão} |
| 11 |
\newcommand{\Titulo}{\textbf{Espelhos e lentes esféricas em {\TikZ} -- Português}} |
| 12 |
\newcommand{\Pais}{\textbf{Brasil} -- \textbf{{\today} -- \textoVersao: \versao}} |
| 13 |
% ========== |
| 14 |
|
| 15 |
\begin{document} |
| 16 |
|
| 17 |
% ========== Capas |
| 18 |
\FHZCapaArticleCabecalho{\AutorA}{\Titulo}{{\Cidade} {\Estado} {\Pais}} |
| 19 |
% ========== |
| 20 |
|
| 21 |
\begin{abstract} |
| 22 |
\begin{FHZmirroLensTcolorbox} |
| 23 |
Esta é a documentação do pacote \texttt{tikz-mirror-lens}. Este pacote permite o desenho automático da imagem de objetos em espelhos e lentes esféricos a partir dos dados do foco, da posição do objeto e de sua altura, calculando a posição e a altura da imagem, e apresentando os raios notáveis. |
| 24 |
\end{FHZmirroLensTcolorbox} |
| 25 |
\end{abstract} |
| 26 |
|
| 27 |
\begin{FHZmirroLensTcolorbox} |
| 28 |
{\small \tableofcontents} |
| 29 |
\end{FHZmirroLensTcolorbox} |
| 30 |
|
| 31 |
\section{Início rápido, definições e comandos} |
| 32 |
|
| 33 |
As variáveis utilizadas são: |
| 34 |
\begin{itemize} |
| 35 |
\item \texttt{f}: foco do espelho ou da lente; |
| 36 |
\item \texttt{p}: posição do objeto ao longo do eixo $x$; |
| 37 |
\item \texttt{pp}: posição da imagem ao longo do eixo $x$; |
| 38 |
\item \texttt{o}: altura do objeto; |
| 39 |
\item \texttt{i}: altura da imagem; |
| 40 |
\item \texttt{epsilon}: distância absoluta entre $p$ and $f$; |
| 41 |
\item \texttt{yM}: altura do espelho; |
| 42 |
\item \texttt{xL}: extensão do eixo $x$ à esquerda; |
| 43 |
\item \texttt{xR}: extensão do eixo $x$ à direita; |
| 44 |
\item \texttt{(xC,yC)}: Coordenadas da localização dos dados apresentados; |
| 45 |
\item \texttt{setas}: argumento opcional para alterar a densidade de setas. |
| 46 |
\end{itemize} |
| 47 |
|
| 48 |
Os principais comandos que criam os diagramas do espelho ou da lente a partir do foco $f$, da posição $p$ e da altura $o$ do objeto, além de outros parâmetros de ajustes, são: |
| 49 |
\begin{itemize} |
| 50 |
\item Espelhos |
| 51 |
\begin{itemize} |
| 52 |
\item \verb|\mirrorSphGauss[setas]{f}{p}{o}{epsilon}|; |
| 53 |
\item \verb|\mirrorSphGaussCoord[setas]{f}{p}{o}{epsilon}|; |
| 54 |
\item \verb|\mirrorSphGaussFixed[setas]{f}{p}{o}{epsilon}{yM}{xL}{xR}|; |
| 55 |
\item \verb|\mirrorSphGaussFixedCoord[setas]{f}{p}{o}{epsilon}{yM}{xL}{xR}{(x_C,y_C)}|; |
| 56 |
\end{itemize} |
| 57 |
\item Lentes |
| 58 |
\begin{itemize} |
| 59 |
\item \verb|\lensSphGauss[setas]{f}{p}{o}{epsilon}|; |
| 60 |
\item \verb|\lensSphGaussCoord[setas]{f}{p}{o}{epsilon}|; |
| 61 |
\item \verb|\lensSphGaussFixed[setas]{f}{p}{o}{epsilon}{yM}{xL}{xR}|; |
| 62 |
\item \verb|\lensSphGaussFixedCoord[setas]{f}{p}{o}{epsilon}{yM}{xL}{xR}{(x_C,y_C)}|; |
| 63 |
\end{itemize} |
| 64 |
\item Lentes com objeto à esquerda |
| 65 |
\begin{itemize} |
| 66 |
\item Para cada lente do bloco anterior, troque \enquote{\texttt{Gauss}} por \enquote{\texttt{GaussL}}. |
| 67 |
\end{itemize} |
| 68 |
\end{itemize} |
| 69 |
|
| 70 |
\section{Modelo de espelho esférico de Gauss} |
| 71 |
|
| 72 |
\subsection{Modelagem} |
| 73 |
|
| 74 |
As equações da posição $p^{\prime}$ e da altura $i$ da imagem a partir do foco $f$ do espelho e da posição $p$ e altura $o$ do objeto são: |
| 75 |
\begin{equation} |
| 76 |
\begin{split} |
| 77 |
\dfrac{1}{f} & = \dfrac{1}{p} + \dfrac{1}{p^{\prime}} \Rightarrow p^{\prime} = \dfrac{f p}{p - f}, \quad p \neq f, \\ |
| 78 |
i & = - \dfrac{p^{\prime}}{p} o. |
| 79 |
\end{split} |
| 80 |
\end{equation} |
| 81 |
|
| 82 |
As definições do tipo de espelho são feitas com base no sinal do foco: |
| 83 |
\begin{equation} |
| 84 |
\begin{split} |
| 85 |
f > 0: & \; \textrm{côncavo}, \\ |
| 86 |
f < 0: & \; \textrm{convexo}. |
| 87 |
\end{split} |
| 88 |
\end{equation} |
| 89 |
|
| 90 |
A \autoref{fig:def_coordenadas_espelho} apresenta a definição do sistema de coordenadas do espelho, na qual $p > 0$ é a posição do objeto ao longo do eixo $x$ e $p^{\prime} < 0$ é a posição da imagem ao longo do eixo $x$. O vértice $V$ do espelho é a origem do sistemas de coordenadas. |
| 91 |
|
| 92 |
\begin{figure}[!ht] |
| 93 |
\centering |
| 94 |
\captionbox{Convenção de sinais para espelhos esféricos\label{fig:def_coordenadas_espelho}}[\linewidth]{ |
| 95 |
\begin{tikzpicture}[ |
| 96 |
extended line/.style={shorten >=-#1,shorten <=-#1}, |
| 97 |
extended line/.default=1cm] |
| 98 |
\mirrorBase{2}{2}{-2}{4.5} |
| 99 |
\mirrorPts{0}{2}{4} |
| 100 |
\mirrorLensObjIma{1}{-2}{1}{2} |
| 101 |
\draw[red] (0,0) node[above left] {(0,0)}; |
| 102 |
\draw[-latex] (0,-1) -- ++(1,0) node[midway, above]{$p > 0$}; |
| 103 |
\draw[thin] (1,-1.2) -- ++(0,1); |
| 104 |
\draw[-latex] (0,-1) -- ++(-2,0) node[midway, above]{$p^{\prime} < 0$}; |
| 105 |
\draw[thin] (-2,-1.2) -- ++(0,1); |
| 106 |
\begin{scope}[purple] |
| 107 |
\draw (4.5,0) node[above] {$x+$}; |
| 108 |
\draw (0,2) node[right] {$y+$}; |
| 109 |
\draw (-2.5,0) node[above] {$x-$}; |
| 110 |
\draw (0,-2) node[right] {$y-$}; |
| 111 |
\end{scope} |
| 112 |
\end{tikzpicture} |
| 113 |
} |
| 114 |
\end{figure} |
| 115 |
|
| 116 |
\subsection{Configurações prontas de espelhos} |
| 117 |
|
| 118 |
A \autoref{tab:tab_configuracoes_espelhos} apresenta todas as configurações de espelhos prontas fornecidas pelo pacote. A notação é: |
| 119 |
\begin{itemize} |
| 120 |
\item \texttt{seta}: distância entre setas desenhadas, em caso de omissão, o padrão é 60 (pt). |
| 121 |
\item \texttt{epsilon}: distância entre objeto e o foco na qual a imagem não é calculada nem desenhada por ser muito grande e/ou estar muito longe do vértice; |
| 122 |
\item \texttt{yM}: altura do espelho, seja um dado ou um cálculo; |
| 123 |
\item \texttt{xL}: limite negativo do eixo $x$; |
| 124 |
\item \texttt{xR}: limite positivo do eixo $x$; |
| 125 |
\item \texttt{Co}: o par ordenado $(x_C,y_C)$ do bloco de equações que apresentam o foco e as coordenadas do objeto e da imagem. |
| 126 |
\end{itemize} |
| 127 |
|
| 128 |
\begin{table}[!ht] |
| 129 |
\centering |
| 130 |
\captionbox{Todas as configurações de espelhos prontas\label{tab:tab_configuracoes_espelhos}}[\linewidth]{ |
| 131 |
\input{input_tab_configuracoes_espelhos} |
| 132 |
} |
| 133 |
\end{table} |
| 134 |
|
| 135 |
\subsection{Comandos constituintes} |
| 136 |
|
| 137 |
O comando que calcula a posição $p^{\prime}$ e a altura $i$ da imagem é: |
| 138 |
\begin{itemize} |
| 139 |
\item \verb|\mirrorMath{f}{p}{o}{epsilon}{yM}|. |
| 140 |
\end{itemize} |
| 141 |
|
| 142 |
Os seguintes comandos desenham as principais componentes do diagrama, |
| 143 |
\begin{itemize} |
| 144 |
\item desenho do espelho: \verb|\mirrorBase{f}{yM}{xL}{xR}|; |
| 145 |
\item desenho dos pontos notáveis: \verb|\mirrorPts{v}{f}{c}}|; |
| 146 |
\item desenho dos raios notáveis: \verb|\mirrorRays[setas]{p}{pp}{o}{i}|. |
| 147 |
\end{itemize} |
| 148 |
|
| 149 |
Os seguintes comandos são os mesmos para os espelhos e para as lentes, e são responsáveis por, |
| 150 |
\begin{itemize} |
| 151 |
\item desenho do objeto e da imagem: \verb|\mirrorLensObjIma{p}{pp}{o}{i}|; |
| 152 |
\item descrição dos valores numéricos das coordenadas: \verb|\mirrorLensCoord{p}{pp}{o}{i}{f}{Co}|. |
| 153 |
\end{itemize} |
| 154 |
|
| 155 |
\subsection{Exemplos de cada caso possível dos espelhos} |
| 156 |
|
| 157 |
\subsubsection{Côncavo} |
| 158 |
|
| 159 |
As figuras de \ref{fig:conc01} a \ref{fig:conc05} apresentam os 5 casos possíveis de posicionamento de um objeto diante de um espelho côncavo. |
| 160 |
|
| 161 |
% \autoref{fig:conc02} ... \autoref{fig:conc03} ... \autoref{fig:conc04} ... \autoref{fig:conc05} ... |
| 162 |
|
| 163 |
|
| 164 |
\begin{figure}[!ht] |
| 165 |
\centering |
| 166 |
{\scriptsize \verb|\mirrorSphGaussFixedCoord{2}{4.5}{2.5}{0.4}{3}{1.5}{4}{(4,-1)}|} |
| 167 |
\captionbox{Caso 1, objeto longe do espelho, além do centro de |
| 168 |
curvatura\label{fig:conc01}}[\linewidth]{ |
| 169 |
\adjustbox{height=4cm}{\mirrorSphGaussFixedCoord{2}{4.5}{2}{0.4}{3}{1.5}{4}{(4.8,1)} |
| 170 |
} |
| 171 |
} |
| 172 |
\end{figure} |
| 173 |
|
| 174 |
\begin{figure}[!ht] |
| 175 |
\centering |
| 176 |
{\scriptsize \verb|\mirrorSphGaussFixedCoord{2}{4}{2}{0.4}{3}{1.5}{4}{(4.5,1)}|} |
| 177 |
\captionbox{Caso 2, objeto localizado sobre o centro de curvatura\label{fig:conc02}}[\linewidth]{ |
| 178 |
\adjustbox{height=4cm}{\mirrorSphGaussFixedCoord{2}{4}{2}{0.4}{3}{1.5}{4}{(4.5,1)}} |
| 179 |
} |
| 180 |
\end{figure} |
| 181 |
|
| 182 |
\begin{figure}[!ht] |
| 183 |
\centering |
| 184 |
{\scriptsize \verb|\mirrorSphGaussFixedCoord{2}{3.6}{2}{0.4}{3}{1.5}{4}{(4,1)}|} |
| 185 |
\captionbox{Caso 3, objeto localizado entre o centro de curvatura e o foco do espelho\label{fig:conc03}}[\linewidth]{ |
| 186 |
\adjustbox{height=4cm}{\mirrorSphGaussFixedCoord{2}{3.6}{2}{0.4}{3}{1.5}{4}{(4,1)}} |
| 187 |
} |
| 188 |
\end{figure} |
| 189 |
|
| 190 |
\begin{figure}[!ht] |
| 191 |
\centering |
| 192 |
{\scriptsize \verb|\mirrorSphGaussFixedCoord{2}{2}{2}{0.4}{3}{1.5}{4}{(2.5,1)}|} |
| 193 |
\captionbox{Caso 4, objeto localizado sobre o foco do espelho (ou a menos de uma distância $\varepsilon \to 0$)\label{fig:conc04}}[\linewidth]{ |
| 194 |
\adjustbox{height=4cm}{\mirrorSphGaussFixedCoord{2}{2}{2}{0.4}{3}{1.5}{4}{(2.5,1)}} |
| 195 |
} |
| 196 |
\end{figure} |
| 197 |
|
| 198 |
\begin{figure}[!ht] |
| 199 |
\centering |
| 200 |
{\scriptsize \verb|\mirrorSphGaussFixedCoord{2}{0.45}{1.5}{0.4}{2.5}{1}{4}{(2,-1)}|} |
| 201 |
\captionbox{Caso 5, objeto localizado entre o foco e o vértice |
| 202 |
do espelho\label{fig:conc05}}[\linewidth]{ |
| 203 |
\adjustbox{height=4cm}{\mirrorSphGaussFixedCoord{2}{0.45}{1.5}{0.4}{2.5}{1}{4}{(2,-1)}} |
| 204 |
} |
| 205 |
\end{figure} |
| 206 |
|
| 207 |
\subsubsection{Convexo} |
| 208 |
|
| 209 |
A \autoref{fig:covx} apresenta duas posições distintas do único caso de posicionamento de um objeto diante de um espelho convexo. |
| 210 |
|
| 211 |
\begin{figure}[!ht] |
| 212 |
\centering |
| 213 |
\begin{minipage}[c]{0.45\linewidth} |
| 214 |
\centering{\tiny \verb|\mirrorSphGaussFixedCoord{-2}{1.5}{1.5}{0.4}{2}{-3}{2}{(2,-1)}|} |
| 215 |
\end{minipage} % |
| 216 |
\begin{minipage}[c]{0.45\linewidth} |
| 217 |
\centering{\tiny \verb|\mirrorSphGaussFixedCoord{-2}{4}{1.5}{0.4}{2}{-3}{4.2}{(2,-1)}|} |
| 218 |
\end{minipage} |
| 219 |
\captionbox{Caso único, objeto localizado à frente do espelho, a qualquer distância dele\label{fig:covx}}[\linewidth]{ |
| 220 |
\subcaptionbox{Objeto próximo do vértice}{ |
| 221 |
\adjustbox{width=0.45\linewidth}{\mirrorSphGaussFixedCoord{-2}{1.5}{1.5}{0.4}{2.5}{-3}{2}{(2,-1)}} |
| 222 |
}\hfill |
| 223 |
\subcaptionbox{Objeto distante do vértice}{ |
| 224 |
\adjustbox{width=0.45\linewidth}{\mirrorSphGaussFixedCoord{-2}{4}{1.5}{0.4}{2.5}{-3}{4.2}{(2,-1)}} |
| 225 |
} |
| 226 |
} |
| 227 |
\end{figure} |
| 228 |
|
| 229 |
% Exercício: Prova que toda a imagem no espelho convexo está entre o vértice $V$ e o foco $f$. Ou seja, é impossível que $p^{\prime}$ seja menor que $f$ e maior que $V$. |
| 230 |
|
| 231 |
% Exercício: Prova que toda a imagem no espelho convexo é menor que a altura do objeto. |
| 232 |
|
| 233 |
\subsection{Animação} |
| 234 |
|
| 235 |
A sintaxe básica para inserir um objeto animado é |
| 236 |
\begin{FHZmirroLensTcolorbox} |
| 237 |
\begin{verbatim} |
| 238 |
%\usepackage{animate} |
| 239 |
\begin{animateinline}[poster=first, controls, palindrome, bb=-5 -5 50 50]{10} |
| 240 |
\multiframe{100}{rx=0.5+0.05}{ |
| 241 |
\mirrorSphGaussFixed[50]{2}{6-\rx}{2}{0.4}{11}{-8.5}{12} |
| 242 |
} |
| 243 |
\end{animateinline} |
| 244 |
\end{verbatim} |
| 245 |
\end{FHZmirroLensTcolorbox} |
| 246 |
|
| 247 |
Para mais detalhes, por favor, verifique o pacote \href{https://ctan.org/pkg/animate}{animate}. |
| 248 |
|
| 249 |
\subsubsection{Côncavo} |
| 250 |
|
| 251 |
A \autoref{fig:anim_mirror_conc} apresenta uma animação contendo o movimento de um objeto próximo de um espelho côncavo. |
| 252 |
|
| 253 |
\begin{figure}[ht] |
| 254 |
\centering |
| 255 |
\captionbox{Animação de objeto se aproximando de um espelho côncavo\label{fig:anim_mirror_conc}}[\linewidth]{ |
| 256 |
\adjustbox{height=6cm}{ |
| 257 |
\begin{animateinline}[poster=first, controls, palindrome, bb=-5 -5 50 50]{10} |
| 258 |
\multiframe{100}{rx=0.5+0.05}{ |
| 259 |
\mirrorSphGaussFixed[50]{2}{6-\rx}{2}{0.4}{11}{-8.5}{12} |
| 260 |
} |
| 261 |
\end{animateinline} |
| 262 |
} |
| 263 |
} |
| 264 |
\end{figure} |
| 265 |
|
| 266 |
\subsubsection{Convexo} |
| 267 |
|
| 268 |
A \autoref{fig:anim_mirror_covx} apresenta uma animação contendo o movimento de um objeto próximo de um espelho convexo. |
| 269 |
|
| 270 |
\begin{figure}[ht] |
| 271 |
\centering |
| 272 |
\captionbox{Animação de objeto se aproximando de um espelho convexo\label{fig:anim_mirror_covx}}[\linewidth]{ |
| 273 |
\adjustbox{height=6cm}{ |
| 274 |
\begin{animateinline}[poster=first, controls, palindrome, bb=-5 -5 50 50]{10} |
| 275 |
\multiframe{100}{rx=0.5+0.05}{ |
| 276 |
\mirrorSphGaussFixed[50]{-2}{6-\rx}{2}{0.4}{2.5}{-4.5}{6} |
| 277 |
} |
| 278 |
\end{animateinline} |
| 279 |
} |
| 280 |
} |
| 281 |
\end{figure} |
| 282 |
|
| 283 |
\section{Modelo de lente esférica de Gauss} |
| 284 |
|
| 285 |
\subsection{Modelagem} |
| 286 |
|
| 287 |
A \autoref{fig:def_coordenadas_lente} apresenta a definição do sistema de coordenadas da lente em dois casos, o com o objeto do lado positivo na \autoref{subfig:def_coordenadas_lente-a} e com o objeto do lado negativo \autoref{subfig:def_coordenadas_lente-b}. |
| 288 |
|
| 289 |
\begin{figure}[!ht] |
| 290 |
\centering |
| 291 |
\captionbox{Convenção de sinais para lentes esféricas\label{fig:def_coordenadas_lente}}[\linewidth]{ |
| 292 |
\subcaptionbox[0.4\linewidth]{Objeto na referência à direita\label{subfig:def_coordenadas_lente-a}}{ |
| 293 |
\adjustbox{width=0.45\linewidth}{ |
| 294 |
\begin{tikzpicture}[ |
| 295 |
extended line/.style={shorten >=-#1,shorten <=-#1}, |
| 296 |
extended line/.default=1cm] |
| 297 |
\lensBase{2}{2}{-4.5}{6} |
| 298 |
\lensPts{0}{2}{4} |
| 299 |
\mirrorLensObjIma{6}{-3}{1.5}{-0.75} |
| 300 |
\draw[red] (0,0) node[above left] {(0,0)}; |
| 301 |
\draw[-latex] (0,-1) -- ++(6,0) node[midway, above]{$p > 0$}; |
| 302 |
\draw[thin] (6,-1.2) -- ++(0,1); |
| 303 |
\draw[-latex] (0,-1.5) -- ++(-3,0) node[midway, above]{$p^{\prime} < 0$}; |
| 304 |
\draw[thin] (-3,-1.5) -- ++(0,0.7); |
| 305 |
\begin{scope}[purple] |
| 306 |
\draw (6,0) node[below right] {$x+$}; |
| 307 |
\draw (0,1.5) node[right] {$y+$}; |
| 308 |
\draw (-4,0) node[above left] {$x-$}; |
| 309 |
\draw (0,-1.5) node[right] {$y-$}; |
| 310 |
\end{scope} |
| 311 |
\end{tikzpicture} |
| 312 |
} |
| 313 |
}\hfill |
| 314 |
\subcaptionbox[0.4\linewidth]{Objeto na referência à esquerda\label{subfig:def_coordenadas_lente-b}}{ |
| 315 |
\adjustbox{width=0.45\linewidth}{ |
| 316 |
\begin{tikzpicture}[ |
| 317 |
extended line/.style={shorten >=-#1,shorten <=-#1}, |
| 318 |
extended line/.default=1cm] |
| 319 |
\lensBase{2}{2}{-6}{4.5} |
| 320 |
\lensPts{0}{-2}{-4} |
| 321 |
\mirrorLensObjIma{-6}{3}{1.5}{-0.75} |
| 322 |
\draw[red] (0,0) node[above left] {(0,0)}; |
| 323 |
\draw[-latex] (0,-1.4) -- ++(3,0) node[midway, above]{$p^{\prime} > 0$}; |
| 324 |
\draw[thin] (3,-1.6) -- ++(0,0.8); |
| 325 |
\draw[-latex] (0,-1) -- ++(-6,0) node[midway, above]{$p < 0$}; |
| 326 |
\draw[thin] (-6,-1.2) -- ++(0,1); |
| 327 |
\begin{scope}[purple] |
| 328 |
\draw (4.5,0) node[above] {$x+$}; |
| 329 |
\draw (0,1.5) node[right] {$y+$}; |
| 330 |
\draw (-6.5,0) node[above] {$x-$}; |
| 331 |
\draw (0,-1.5) node[left] {$y-$}; |
| 332 |
\end{scope} |
| 333 |
\end{tikzpicture} |
| 334 |
} |
| 335 |
} |
| 336 |
} |
| 337 |
\end{figure} |
| 338 |
|
| 339 |
As definições do tipo de lente são feitas com base no sinal do foco: |
| 340 |
\begin{equation} |
| 341 |
\begin{split} |
| 342 |
f > 0: & \quad \textrm{convergente}, \\ |
| 343 |
f < 0: & \quad \textrm{divergente}. |
| 344 |
\end{split} |
| 345 |
\end{equation} |
| 346 |
|
| 347 |
\subsubsection{Objeto à direita} |
| 348 |
|
| 349 |
Para o objeto à direita, a forma mais fácil de corrigir o modelo de um espelho esférico para uma lente esférica é com troca do sinal de $p^{\prime}$. |
| 350 |
|
| 351 |
As equações da posição $p^{\prime}$ e da altura $i$ da imagem a partir do foco $f$ do espelho, e da posição $p$ e altura $o$ do objeto são: |
| 352 |
\begin{equation} |
| 353 |
\begin{split} |
| 354 |
\dfrac{1}{f} & = \dfrac{1}{p} - \dfrac{1}{p^{\prime}} \Rightarrow p^{\prime} = \dfrac{f p}{f - p}, \quad p \neq f, \\ |
| 355 |
i & = \dfrac{p^{\prime}}{p} o. |
| 356 |
\end{split} |
| 357 |
\end{equation} |
| 358 |
|
| 359 |
\subsubsection{Objeto à esquerda} |
| 360 |
|
| 361 |
Para o objeto à esquerda, a expressão de $p^{\prime}$ e $i$ são dadas por: |
| 362 |
\begin{equation} |
| 363 |
\begin{split} |
| 364 |
\dfrac{1}{p^{\prime}} & = \dfrac{1}{p} + \dfrac{1}{f} \Rightarrow p^{\prime} = \dfrac{f p}{f + p}, \quad p \neq -f, \\ |
| 365 |
i & = \dfrac{p^{\prime}}{p} o. |
| 366 |
\end{split} |
| 367 |
\end{equation} |
| 368 |
|
| 369 |
\subsection{Configurações prontas de lentes} |
| 370 |
|
| 371 |
A \autoref{tab:tab_configuracoes_lentes} apresenta todas as configurações de lentes prontas fornecidas pelo pacote. |
| 372 |
|
| 373 |
\begin{table}[ht] |
| 374 |
\centering |
| 375 |
\captionbox{Todas as configurações de lentes prontas\label{tab:tab_configuracoes_lentes}}[\linewidth]{ |
| 376 |
\input{input_tab_configuracoes_lentes} |
| 377 |
} |
| 378 |
\end{table} |
| 379 |
|
| 380 |
\subsection{Configurações prontas de lentes -- à esquerda} |
| 381 |
|
| 382 |
A \autoref{tab:tab_configuracoes_lentesL} apresenta todas as configurações de lentes prontas fornecidas pelo pacote. |
| 383 |
|
| 384 |
\begin{table}[ht] |
| 385 |
\centering |
| 386 |
\captionbox{Todas as configurações de lentes prontas com objeto à esquerda\label{tab:tab_configuracoes_lentesL}}[\linewidth]{ |
| 387 |
\input{input_tab_configuracoes_lentesL} |
| 388 |
} |
| 389 |
\end{table} |
| 390 |
|
| 391 |
\subsection{Comandos constituintes} |
| 392 |
|
| 393 |
% TODO: Convenção gaussiana? |
| 394 |
O comando que calcula a posição $p^{\prime}$ e a altura $i$ da imagem com objeto à direita é: |
| 395 |
\begin{itemize} |
| 396 |
\item \verb|\lensMath{f}{p}{o}{epsilon}{yM}|. |
| 397 |
\end{itemize} |
| 398 |
|
| 399 |
% TODO: Convenção cartesiana? |
| 400 |
Por sua vez, o comando que calcula as coordenadas da imagem com o objeto à esquerda é: |
| 401 |
\begin{itemize} |
| 402 |
\item \verb|\lensMathL{f}{p}{o}{epsilon}{yM}|, |
| 403 |
\end{itemize} |
| 404 |
por sua vez, a alteração na nomenclatura dos comandos que desenha as lentes é apenas a adição da letra $L$ após a palavra \enquote{Gauss}. |
| 405 |
|
| 406 |
Os seguintes comandos desenham as principais componentes do diagrama, |
| 407 |
\begin{itemize} |
| 408 |
\item desenho da lente: \verb|\lensBase{f}{yM}{xL}{xR}|; |
| 409 |
\item desenho dos pontos notáveis: \verb|\lensPts{v}{f}{a}|; |
| 410 |
\item desenho dos raios notáveis: \verb|\lensRays[seta]{p}{pp}{o}{i}|. |
| 411 |
\end{itemize} |
| 412 |
|
| 413 |
\subsection{Exemplos de cada caso possível das lentes} |
| 414 |
|
| 415 |
\subsubsection{Convergente} |
| 416 |
|
| 417 |
As figuras de \ref{fig:conv01} a \ref{fig:conv05} apresentam os 5 casos possíveis de posicionamento de um objeto diante de uma lente convergente. |
| 418 |
|
| 419 |
% \autoref{fig:conv02} ... \autoref{fig:conv03} ... \autoref{fig:conv04} ... \autoref{fig:conv05} ... |
| 420 |
|
| 421 |
\begin{figure}[!ht] |
| 422 |
\centering |
| 423 |
{\scriptsize \verb|\lensSphGaussFixedCoord{2}{5}{1.5}{0.4}{2}{-4}{4}{(2,-1.5)}|} |
| 424 |
\captionbox{Caso 1, objeto longe do espelho, além do centro de curvatura\label{fig:conv01}}[\linewidth]{ |
| 425 |
\adjustbox{height=3cm}{\lensSphGaussFixedCoord{2}{5}{1.5}{0.4}{2}{-4}{4}{(2,-1.5)}} |
| 426 |
} |
| 427 |
\end{figure} |
| 428 |
|
| 429 |
\begin{figure}[!ht] |
| 430 |
\centering |
| 431 |
{\scriptsize \verb|\lensSphGaussFixedCoord{2}{4}{1.5}{0.4}{2}{-4}{4}{(2,-1.5)}|} |
| 432 |
\captionbox{Caso 2, objeto sobre o antiprincipal objeto\label{fig:conv02}}[\linewidth]{ |
| 433 |
\adjustbox{height=3cm}{\lensSphGaussFixedCoord{2}{4}{1.5}{0.4}{2}{-4}{4}{(2,-1.5)}} |
| 434 |
} |
| 435 |
\end{figure} |
| 436 |
|
| 437 |
\begin{figure}[!ht] |
| 438 |
\centering |
| 439 |
{\scriptsize \verb|\lensSphGaussFixedCoord{2}{3.5}{1.5}{0.4}{2.5}{-4}{4}{(2,-1.5)}|} |
| 440 |
\captionbox{Caso 3, objeto entre o antiprincipal objeto e o foco objeto\label{fig:conv03}}[\linewidth]{ |
| 441 |
\adjustbox{height=3cm}{\lensSphGaussFixedCoord{2}{3.5}{1.5}{0.4}{2.5}{-4}{4}{(2,-1.5)}} |
| 442 |
} |
| 443 |
\end{figure} |
| 444 |
|
| 445 |
\begin{figure}[!ht] |
| 446 |
\centering |
| 447 |
{\scriptsize \verb|\lensSphGaussFixedCoord{2}{2}{1.5}{0.4}{2}{-5}{5}{(2,-1)}|} |
| 448 |
\captionbox{Caso 4, objeto sobre o foco objeto (ou a menos de uma distância $\varepsilon \to 0$)\label{fig:conv04}}[\linewidth]{ |
| 449 |
\adjustbox{height=3cm}{\lensSphGaussFixedCoord{2}{2}{1.5}{0.4}{2}{-5}{5}{(2,-1)}} |
| 450 |
} |
| 451 |
\end{figure} |
| 452 |
|
| 453 |
\begin{figure}[!ht] |
| 454 |
\centering |
| 455 |
{\scriptsize \verb|\lensSphGaussFixedCoord{2}{1.2}{1}{0.4}{3}{-4}{4}{(1.5,-1.5)}|} |
| 456 |
\captionbox{Caso 5, objeto entre o foco objeto e o centro óptico da lente\label{fig:conv05}}[\linewidth]{ |
| 457 |
\adjustbox{height=3cm}{\lensSphGaussFixedCoord{2}{1.2}{1}{0.4}{3}{-4}{4}{(1.5,-1.5)}} |
| 458 |
} |
| 459 |
\end{figure} |
| 460 |
|
| 461 |
\subsubsection{Divergente} |
| 462 |
|
| 463 |
A \autoref{fig:dive} apresenta duas posições distintas do único caso de posicionamento de um objeto diante de uma lente divergente. |
| 464 |
|
| 465 |
\begin{figure}[!ht] |
| 466 |
\centering |
| 467 |
\begin{minipage}[c]{0.45\linewidth} |
| 468 |
\centering{\tiny \verb|\lensSphGaussFixed[50]{-2}{2}{2}{0.4}{2.5}{-4}{4}|} |
| 469 |
\end{minipage} % |
| 470 |
\begin{minipage}[c]{0.45\linewidth} |
| 471 |
\centering{\tiny \verb|\lensSphGaussFixed[50]{-2}{4}{2}{0.4}{2.5}{-4}{4}|} |
| 472 |
\end{minipage} |
| 473 |
\captionbox{Caso único, objeto localizado à frente da lente, a qualquer distância dele\label{fig:dive}}[\linewidth]{ |
| 474 |
\subcaptionbox{Entre foco e vértice}{ |
| 475 |
\adjustbox{height=3cm}{\lensSphGaussFixed[50]{-2}{2}{1.5}{0.4}{2.5}{-3}{3}} |
| 476 |
}\quad\quad\quad |
| 477 |
\subcaptionbox{Além do centro de curvatura}{ |
| 478 |
\adjustbox{height=3cm}{\lensSphGaussFixed[50]{-2}{4}{1.5}{0.4}{2.5}{-3}{3}} |
| 479 |
} |
| 480 |
} |
| 481 |
\end{figure} |
| 482 |
|
| 483 |
\subsection{Equivalência entre comandos para lentes com objeto à direita e à esquerda} |
| 484 |
|
| 485 |
A \autoref{fig:equiv_conv} apresenta a equivalência entre os comandos que calculam e desenho a imagem por meio do uso lentes convergentes em função da localização do objeto. |
| 486 |
|
| 487 |
\begin{figure}[!ht] |
| 488 |
\centering |
| 489 |
\begin{minipage}[c]{0.45\linewidth} |
| 490 |
\centering{\tiny \verb|\lensSphGaussFixedCoord{2}{6}{1.5}{0.4}{2}{-4.2}{4.2}{(2,-1.5)}|} |
| 491 |
\end{minipage} % |
| 492 |
\begin{minipage}[c]{0.45\linewidth} |
| 493 |
\centering{\tiny \verb|\lensSphGaussLFixedCoord{2}{-6}{1.5}{0.4}{2}{-4.2}{4.2}{(-4,-1.5)}|} |
| 494 |
\end{minipage} |
| 495 |
\captionbox{Equivalência entre comandos para lentes convergentes\label{fig:equiv_conv}}[\linewidth]{ |
| 496 |
\subcaptionbox{Comando para objeto à direita}{ |
| 497 |
\adjustbox{height=2.8cm}{\lensSphGaussFixedCoord{2}{6}{1.2}{0.4}{2}{-3}{4.2}{(2,-1.5)}} |
| 498 |
}\hfill |
| 499 |
\subcaptionbox{Comando para objeto à esquerda}{ |
| 500 |
\adjustbox{height=2.8cm}{\lensSphGaussLFixedCoord{2}{-6}{1.2}{0.4}{2}{-4.2}{3}{(-5,-1.5)}} |
| 501 |
} |
| 502 |
} |
| 503 |
\end{figure} |
| 504 |
|
| 505 |
A \autoref{fig:equiv_dive} apresenta a equivalência entre os comandos que calculam e desenho a imagem por meio do uso lentes divergentes em função da localização do objeto. |
| 506 |
|
| 507 |
\begin{figure}[!ht] |
| 508 |
\centering |
| 509 |
\begin{minipage}[c]{0.45\linewidth} |
| 510 |
\centering{\tiny \verb|\lensSphGaussFixedCoord{2}{6}{1.5}{0.4}{2}{-4.2}{4.2}{(2,-1.5)}|} |
| 511 |
\end{minipage}% |
| 512 |
\begin{minipage}[c]{0.45\linewidth} |
| 513 |
\centering{\tiny \verb|\lensSphGaussLFixedCoord{2}{-6}{1.5}{0.4}{2}{-4.2}{4.2}{(-4,-1.5)}|} |
| 514 |
\end{minipage} |
| 515 |
\captionbox{Equivalência entre comandos para lentes divergentes\label{fig:equiv_dive}}[\linewidth]{ |
| 516 |
\subcaptionbox{Comando para objeto à direita}{ |
| 517 |
\adjustbox{height=2.8cm}{\lensSphGaussFixedCoord{-2}{4}{1.2}{0.4}{2}{-2.5}{2.5}{(1,-1.5)}} |
| 518 |
}\hfill |
| 519 |
\subcaptionbox{Comando para objeto à esquerda}{ |
| 520 |
\adjustbox{height=2.8cm}{\lensSphGaussLFixedCoord{-2}{-4}{1.2}{0.4}{2}{-2.5}{2.5}{(-5,-1.5)}} |
| 521 |
} |
| 522 |
} |
| 523 |
\end{figure} |
| 524 |
|
| 525 |
\subsection{Animação} |
| 526 |
|
| 527 |
A sintaxe básica é a mesma usada para o espelho trocando o comando de espelho pelo comando de lente. |
| 528 |
|
| 529 |
\subsubsection{Convergente} |
| 530 |
|
| 531 |
A \autoref{fig:anim_len_conv} apresenta uma animação contendo o movimento de um objeto próximo de uma lente convergente. |
| 532 |
|
| 533 |
\begin{figure}[!ht] |
| 534 |
\centering |
| 535 |
\captionbox{Animação de objeto se aproximando de uma lente convergente\label{fig:anim_len_conv}}[\linewidth]{ |
| 536 |
\adjustbox{width=0.6\linewidth}{ |
| 537 |
\begin{animateinline}[poster=first, controls, palindrome, bb=-5 -5 50 50]{10} |
| 538 |
\multiframe{100}{rx=0.5+0.05}{ |
| 539 |
\lensSphGaussFixed[50]{2}{6-\rx}{2}{0.4}{11}{-12.5}{8.5} |
| 540 |
} |
| 541 |
\end{animateinline} |
| 542 |
} |
| 543 |
} |
| 544 |
\end{figure} |
| 545 |
|
| 546 |
\subsubsection{Divergente} |
| 547 |
|
| 548 |
A \autoref{fig:anim_len_dive} apresenta uma animação contendo o movimento de um objeto próximo de uma lente divergente. |
| 549 |
|
| 550 |
\begin{figure}[!ht] |
| 551 |
\centering |
| 552 |
\captionbox{Animação de objeto se aproximando de uma lente divergente\label{fig:anim_len_dive}}[\linewidth]{ |
| 553 |
\adjustbox{width=0.6\linewidth}{ |
| 554 |
\begin{animateinline}[poster=first, controls, palindrome, bb=-5 -5 50 50]{10} |
| 555 |
\multiframe{100}{rx=0.5+0.05}{ |
| 556 |
\lensSphGaussFixed[50]{-2}{6-\rx}{2}{0.4}{2.5}{-4.5}{6} |
| 557 |
} |
| 558 |
\end{animateinline} |
| 559 |
} |
| 560 |
} |
| 561 |
\end{figure} |
| 562 |
|
| 563 |
\section{Outros pacotes interessantes} |
| 564 |
|
| 565 |
A seguir, encontram-se \textit{links} interessantes para outros pacotes com implementações de ótica, e também fontes para as equações e modelagens utilizadas. |
| 566 |
|
| 567 |
\begin{FHZmirroLensTcolorbox} |
| 568 |
\begin{enumerate} |
| 569 |
\item \href{https://tex.stackexchange.com/q/33460/140133}{\textbf{TeX StackExchange} -- TikZ library for optics?} |
| 570 |
\item \href{https://tex.stackexchange.com/q/623201/140133}{\textbf{TeX StackExchange} -- Geometrical optics} |
| 571 |
\item \href{https://ctan.org/pkg/tikz-optics}{{\textbf{CTAN}} -- tikz-optics} |
| 572 |
\item \href{https://ctan.org/pkg/pst-mirror}{\textbf{CTAN} -- pst-mirror} |
| 573 |
\item \href{https://ctan.org/pkg/simpleoptics}{\textbf{CTAN} -- simpleoptics} |
| 574 |
|
| 575 |
\item \href{https://youtu.be/efPZ5uSDeuI}{\textbf{YouTube} -- The Organic Chemistry Tutor -- Spherical Mirrors \& The Mirror Equation - Geometric Optics} |
| 576 |
\item \href{http://hyperphysics.phy-astr.gsu.edu/hbase/geoopt/mireq.html}{hyperphysics -- Spherical Mirror Equation} |
| 577 |
|
| 578 |
\item \href{http://hyperphysics.phy-astr.gsu.edu/hbase/geoopt/lenseq.html}{hyperphysics -- lenseq} |
| 579 |
\item \href{https://www.plymouth.ac.uk/uploads/production/document/path/3/3754/PlymouthUniversity_MathsandStats_outreach_lenses.pdf}{plymouth -- lenses} |
| 580 |
\item \href{https://www.khanacademy.org/science/in-in-class10th-physics/in-in-10th-physics-light-reflection-refraction/in-in-lens-formula-magnification/v/lens-formula}{khanacademy -- lens formula} |
| 581 |
\end{enumerate} |
| 582 |
\end{FHZmirroLensTcolorbox} |
| 583 |
|
| 584 |
\section{Histórico e versões} |
| 585 |
|
| 586 |
\begin{FHZmirroLensTcolorbox} |
| 587 |
\begin{enumerate}[leftmargin=3.5cm] |
| 588 |
\item[1.0.0 (2022-12-24):] Criação do pacote. |
| 589 |
\item[1.0.1 (2022-12-27):] Pequenas correção na entrada dos argumentos das funções em \verb|\mirrorRays| e em \verb|\lensRays|. |
| 590 |
\item[1.0.2 (2023-01-08):] Revisão da versão em inglês e remoção de ponto-e-vírgula desnecessário (sugerido por Denis Bitouzé). |
| 591 |
\end{enumerate} |
| 592 |
\end{FHZmirroLensTcolorbox} |
| 593 |
|
| 594 |
\end{document} |