% (find-LATEX "2024-1-C2-teste-niv.tex")
% (defun c () (interactive) (find-LATEXsh "lualatex -record 2024-1-C2-teste-niv.tex" :end))
% (defun C () (interactive) (find-LATEXsh "lualatex 2024-1-C2-teste-niv.tex" "Success!!!"))
% (defun D () (interactive) (find-pdf-page      "~/LATEX/2024-1-C2-teste-niv.pdf"))
% (defun d () (interactive) (find-pdftools-page "~/LATEX/2024-1-C2-teste-niv.pdf"))
% (defun e () (interactive) (find-LATEX "2024-1-C2-teste-niv.tex"))
% (defun o () (interactive) (find-LATEX "2023-2-C2-teste-niv.tex"))
% (defun u () (interactive) (find-latex-upload-links "2024-1-C2-teste-niv"))
% (defun v () (interactive) (find-2a '(e) '(d)))
% (defun d0 () (interactive) (find-ebuffer "2024-1-C2-teste-niv.pdf"))
% (defun cv () (interactive) (C) (ee-kill-this-buffer) (v) (g))
%          (code-eec-LATEX "2024-1-C2-teste-niv")
% (find-pdf-page   "~/LATEX/2024-1-C2-teste-niv.pdf")
% (find-sh0 "cp -v  ~/LATEX/2024-1-C2-teste-niv.pdf /tmp/")
% (find-sh0 "cp -v  ~/LATEX/2024-1-C2-teste-niv.pdf /tmp/pen/")
%     (find-xournalpp "/tmp/2024-1-C2-teste-niv.pdf")
%   file:///home/edrx/LATEX/2024-1-C2-teste-niv.pdf
%               file:///tmp/2024-1-C2-teste-niv.pdf
%           file:///tmp/pen/2024-1-C2-teste-niv.pdf
%  http://anggtwu.net/LATEX/2024-1-C2-teste-niv.pdf
% (find-LATEX "2019.mk")
% (find-Deps1-links "Caepro5 Piecewise2 Maxima2")
% (find-Deps1-cps   "Caepro5 Piecewise2 Maxima2 CME3")
% (find-Deps1-anggs "Caepro5 Piecewise2 Maxima2")
% (find-MM-aula-links "2024-1-C2-teste-niv" "2" "c2m241tn" "c2tn")

% «.defs»		(to "defs")
% «.defs-T-and-B»	(to "defs-T-and-B")
% «.defs-caepro»	(to "defs-caepro")
% «.defs-pict2e»	(to "defs-pict2e")
% «.defs-maxima»	(to "defs-maxima")
% «.defs-cme3»		(to "defs-cme3")
% «.title»		(to "title")
% «.links»		(to "links")
% «.por-favor-escrevam»	(to "por-favor-escrevam")
% «.uma-solucao»	(to "uma-solucao")
% «.outra-solucao»	(to "outra-solucao")



\documentclass[oneside,12pt]{article}
\usepackage[colorlinks,citecolor=DarkRed,urlcolor=DarkRed]{hyperref} % (find-es "tex" "hyperref")
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pict2e}
\usepackage[x11names,svgnames]{xcolor} % (find-es "tex" "xcolor")
\usepackage{colorweb}                  % (find-es "tex" "colorweb")
%\usepackage{tikz}
%
% (find-dn6 "preamble6.lua" "preamble0")
%\usepackage{proof}   % For derivation trees ("%:" lines)
%\input diagxy        % For 2D diagrams ("%D" lines)
%\xyoption{curve}     % For the ".curve=" feature in 2D diagrams
%
\usepackage{edrx21}               % (find-LATEX "edrx21.sty")
\input edrxaccents.tex            % (find-LATEX "edrxaccents.tex")
\input edrx21chars.tex            % (find-LATEX "edrx21chars.tex")
\input edrxheadfoot.tex           % (find-LATEX "edrxheadfoot.tex")
\input edrxgac2.tex               % (find-LATEX "edrxgac2.tex")
%
% (find-es "tex" "geometry")
\usepackage[a6paper, landscape,
            top=1.5cm, bottom=.25cm, left=1cm, right=1cm, includefoot
           ]{geometry}
%
\begin{document}

% «defs»  (to ".defs")
% (find-LATEX "edrx21defs.tex" "colors")
% (find-LATEX "edrx21.sty")

\def\drafturl{http://anggtwu.net/LATEX/2024-1-C2.pdf}
\def\drafturl{http://anggtwu.net/2024.1-C2.html}
\def\draftfooter{\tiny \href{\drafturl}{\jobname{}} \ColorBrown{\shorttoday{} \hours}}

% (find-LATEX "2024-1-C2-carro.tex" "defs-caepro")
% (find-LATEX "2024-1-C2-carro.tex" "defs-pict2e")

\catcode`\^^J=10
\directlua{dofile "dednat6load.lua"}  % (find-LATEX "dednat6load.lua")

% «defs-T-and-B»  (to ".defs-T-and-B")
\long\def\ColorDarkOrange#1{{\color{orange!90!black}#1}}
\def\T(Total: #1 pts){{\bf(Total: #1)}}
\def\T(Total: #1 pts){{\bf(Total: #1 pts)}}
\def\T(Total: #1 pts){\ColorRed{\bf(Total: #1 pts)}}
\def\B       (#1 pts){\ColorDarkOrange{\bf(#1 pts)}}

% «defs-caepro»  (to ".defs-caepro")
%L dofile "Caepro5.lua"              -- (find-angg "LUA/Caepro5.lua" "LaTeX")
\def\Caurl   #1{\expr{Caurl("#1")}}
\def\Cahref#1#2{\href{\Caurl{#1}}{#2}}
\def\Ca      #1{\Cahref{#1}{#1}}

% «defs-pict2e»  (to ".defs-pict2e")
%L dofile "Piecewise2.lua"           -- (find-LATEX "Piecewise2.lua")
%L --dofile "Escadas1.lua"           -- (find-LATEX "Escadas1.lua")
\def\pictgridstyle{\color{GrayPale}\linethickness{0.3pt}}
\def\pictaxesstyle{\linethickness{0.5pt}}
\def\pictnaxesstyle{\color{GrayPale}\linethickness{0.5pt}}
\celllower=2.5pt

% «defs-maxima»  (to ".defs-maxima")
%L dofile "Maxima2.lua"              -- (find-angg "LUA/Maxima2.lua")

% «defs-cme3»  (to ".defs-cme3")
% (c2m241tnp 4 "defs-cme3")
% (c2m241tna   "defs-cme3")
%L dofile "CME3.lua"                 -- (find-angg "LUA/CME3.lua")
\pu

% (c2m241exsubstp 99 "defs-rednames")
% (c2m241exsubsta    "defs-rednames")
\def\redname#1{{\color{Red3}\text{#1}}}
\sa  {RC}{\redname{[RC]}}



%  _____ _ _   _                               
% |_   _(_) |_| | ___   _ __   __ _  __ _  ___ 
%   | | | | __| |/ _ \ | '_ \ / _` |/ _` |/ _ \
%   | | | | |_| |  __/ | |_) | (_| | (_| |  __/
%   |_| |_|\__|_|\___| | .__/ \__,_|\__, |\___|
%                      |_|          |___/      
%
% «title»  (to ".title")
% (c2m241tnp 1 "title")
% (c2m241tna   "title")

\thispagestyle{empty}

\begin{center}

\vspace*{1.2cm}

{\bf \Large Cálculo 2 - 2024.1}

\bsk

Aula 9: teste de nivelamento

(3/abril/2024 -- duração: 15 mins)

\bsk

Eduardo Ochs - RCN/PURO/UFF

\url{http://anggtwu.net/2024.1-C2.html}

\end{center}

\newpage

% «links»  (to ".links")
% (c2m241tnp 2 "links")
% (c2m241tna   "links")

{\bf Links}

\scalebox{0.6}{\def\colwidth{9cm}\firstcol{

\par \Ca{2iQ22} Quadros da aula 9 (3/abril/2024)
\par \Ca{2iQ24} Quadro em que aparece o enunciado do teste
\par \Ca{2hT65} Teste de nivelamente de 2023.2

}\anothercol{
}}

\newpage

% «por-favor-escrevam»  (to ".por-favor-escrevam")
% (c2m241tnp 3 "por-favor-escrevam")
% (c2m241tna   "por-favor-escrevam")

{\bf Por favor escrevam...}

\scalebox{0.6}{\def\colwidth{9cm}\firstcol{

Por favor escrevam na folha:

\begin{itemize}

\item seu nome (legível),

\item com quem você fez GA, C1 e Prog1 no semestre em que você passou
  em cada uma, e em qual semestre foi,

\item a questão e tudo que você conseguir fazer pra resolver ela. A
  questão é:
  %
  $$\ddx \,f(\sen(x^4) + \ln x) \;=\; \ColorRed{?}$$


\end{itemize}

}\anothercol{
}}

\newpage

% «uma-solucao»  (to ".uma-solucao")
% (c2m241tnp 4 "uma-solucao")
% (c2m241tna   "uma-solucao")
% (find-angg "LUA/CME3.lua" "verbatim-tests")

{\bf Uma solução}

\scalebox{0.6}{\def\colwidth{13.5cm}\firstcol{

\vspace*{0.2cm}

\def\CME#1{\expr{CME_tovbt "#1"}}
\def\CME#1{\expr{CME_totex "#1"}}

$\begin{array}{rcl}
  \CME{ddx(f(sin(x^4) + ln x))}
  &=& \CME{f'(sin(x^4) + ln x) m (ddx(sin(x^4) + ln x))} \\
  &=& \CME{f'(sin(x^4) + ln x) m (ddx(sin(x^4)) + ddx(ln x))} \\
  &=& \CME{f'(sin(x^4) + ln x) m ((cos(x^4) * ddx(x^4)) + ddx(ln x))} \\
  &=& \CME{f'(sin(x^4) + ln x) m ((cos(x^4) * ddx(x^4)) + {1//x})} \\
  &=& \CME{f'(sin(x^4) + ln x) m ((cos(x^4) * 4 m x^3)  + {1//x})} \\
  \end{array}
$

}\anothercol{

\vspace*{0.2cm}

\def\CME#1{\expr{CME_totex "#1"}}
\def\CME#1{\expr{CME_tovbt "#1"}}

$\scalebox{0.5}{$
  \begin{array}{rcl}
  \CME{ddx(f(sin(x^4) + ln x))}
  &=& \CME{f'(sin(x^4) + ln x) m (ddx(sin(x^4) + ln x))} \\
  &=& \CME{f'(sin(x^4) + ln x) m (ddx(sin(x^4)) + ddx(ln x))} \\
  &=& \CME{f'(sin(x^4) + ln x) m ((cos(x^4) * ddx(x^4)) + ddx(ln x))} \\
  &=& \CME{f'(sin(x^4) + ln x) m ((cos(x^4) * ddx(x^4)) + {1//x})} \\
  &=& \CME{f'(sin(x^4) + ln x) m ((cos(x^4) * 4 m x^3)  + {1//x})} \\
  \end{array}
  $}
$

}}

\newpage

% «outra-solucao»  (to ".outra-solucao")
% (c2m241tnp 5 "outra-solucao")
% (c2m241tna   "outra-solucao")

{\bf Outra solução}

\scalebox{0.7}{\def\colwidth{14cm}\firstcol{

\vspace*{0cm}

$\begin{array}{lcl}
  \ga{RC} &=& \left( \ddx f(g(x)) = f'(g(x))g'(x) \right) \\
  \ga{RC} \bsm { g (x) := \sin(x^4) + \ln(x) \\
                 g'(x) := \cos(x^4)·4x^3 + \frac{1}{x}
               }
          &=&
    \left( \ddx f(\sin(x^4) + \ln(x)) =
               f'(\sin(x^4) + \ln(x)) \,
           (\cos(x^4)·4x^3 + \frac{1}{x})
    \right)
    \\
  \end{array}
$




}\anothercol{
}}





\GenericWarning{Success:}{Success!!!}  % Used by `M-x cv'

\end{document}



% Local Variables:
% coding: utf-8-unix
% ee-tla: "c2tn"
% ee-tla: "c2m241tn"
% End:
