Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
% (find-LATEX "2022-1-C2-MT1.tex") % (defun c () (interactive) (find-LATEXsh "lualatex -record 2022-1-C2-MT1.tex" :end)) % (defun C () (interactive) (find-LATEXsh "lualatex 2022-1-C2-MT1.tex" "Success!!!")) % (defun D () (interactive) (find-pdf-page "~/LATEX/2022-1-C2-MT1.pdf")) % (defun d () (interactive) (find-pdftools-page "~/LATEX/2022-1-C2-MT1.pdf")) % (defun e () (interactive) (find-LATEX "2022-1-C2-MT1.tex")) % (defun o () (interactive) (find-LATEX "2021-2-C2-MT3.tex")) % (defun u () (interactive) (find-latex-upload-links "2022-1-C2-MT1")) % (defun v () (interactive) (find-2a '(e) '(d))) % (defun d0 () (interactive) (find-ebuffer "2022-1-C2-MT1.pdf")) % (defun cv () (interactive) (C) (ee-kill-this-buffer) (v) (g)) % (code-eec-LATEX "2022-1-C2-MT1") % (find-pdf-page "~/LATEX/2022-1-C2-MT1.pdf") % (find-sh0 "cp -v ~/LATEX/2022-1-C2-MT1.pdf /tmp/") % (find-sh0 "cp -v ~/LATEX/2022-1-C2-MT1.pdf /tmp/pen/") % (find-xournalpp "/tmp/2022-1-C2-MT1.pdf") % file:///home/edrx/LATEX/2022-1-C2-MT1.pdf % file:///tmp/2022-1-C2-MT1.pdf % file:///tmp/pen/2022-1-C2-MT1.pdf % http://angg.twu.net/LATEX/2022-1-C2-MT1.pdf % (find-LATEX "2019.mk") % (find-sh0 "cd ~/LUA/; cp -v Pict2e1.lua Pict2e1-1.lua Piecewise1.lua ~/LATEX/") % (find-sh0 "cd ~/LUA/; cp -v Pict2e1.lua Pict2e1-1.lua Pict3D1.lua ~/LATEX/") % (find-CN-aula-links "2022-1-C2-MT1" "2" "c2m221mt1" "c2mt1") % «.defs» (to "defs") % «.title» (to "title") % «.defs-figuras» (to "defs-figuras") % «.versao-E1» (to "versao-E1") % «.versao-C1» (to "versao-C1") % «.gabarito» (to "gabarito") % % «.djvuize» (to "djvuize") % <videos> % Video (not yet): % (find-ssr-links "c2m221mt1" "2022-1-C2-MT1") % (code-eevvideo "c2m221mt1" "2022-1-C2-MT1") % (code-eevlinksvideo "c2m221mt1" "2022-1-C2-MT1") % (find-c2m221mt1video "0:00") \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") %\usepackage{emaxima} % (find-LATEX "emaxima.sty") % %\usepackage[backend=biber, % style=alphabetic]{biblatex} % (find-es "tex" "biber") %\addbibresource{catsem-slides.bib} % (find-LATEX "catsem-slides.bib") % % (find-es "tex" "geometry") \usepackage[a6paper, landscape, top=1.5cm, bottom=.25cm, left=1cm, right=1cm, includefoot ]{geometry} % \begin{document} \catcode`\^^J=10 \directlua{dofile "dednat6load.lua"} % (find-LATEX "dednat6load.lua") %L dofile "Piecewise1.lua" -- (find-LATEX "Piecewise1.lua") %L dofile "QVis1.lua" -- (find-LATEX "QVis1.lua") %L dofile "Pict3D1.lua" -- (find-LATEX "Pict3D1.lua") %L Pict2e.__index.suffix = "%" \pu \def\pictgridstyle{\color{GrayPale}\linethickness{0.3pt}} \def\pictaxesstyle{\linethickness{0.5pt}} \celllower=2.5pt % «defs» (to ".defs") % (find-LATEX "edrx21defs.tex" "colors") % (find-LATEX "edrx21.sty") \def\u#1{\par{\footnotesize \url{#1}}} \def\drafturl{http://angg.twu.net/LATEX/2022-1-C2.pdf} \def\drafturl{http://angg.twu.net/2022.1-C2.html} \def\draftfooter{\tiny \href{\drafturl}{\jobname{}} \ColorBrown{\shorttoday{} \hours}} % _____ _ _ _ % |_ _(_) |_| | ___ _ __ __ _ __ _ ___ % | | | | __| |/ _ \ | '_ \ / _` |/ _` |/ _ \ % | | | | |_| | __/ | |_) | (_| | (_| | __/ % |_| |_|\__|_|\___| | .__/ \__,_|\__, |\___| % |_| |___/ % % «title» (to ".title") % (c2m221mt1p 1 "title") % (c2m221mt1a "title") \thispagestyle{empty} \begin{center} \vspace*{1.2cm} {\bf \Large Cálculo 2 - 2022.1} \bsk Mini-teste 1 \bsk Eduardo Ochs - RCN/PURO/UFF \url{http://angg.twu.net/2022.1-C2.html} \end{center} \newpage % «defs-figuras» (to ".defs-figuras") % (c2m221mt1p 2 "defs-figuras") % (c2m221mt1a "defs-figuras") % (find-angg "LUA/Piecewise1.lua" "PwSpec-testmtint") % (c2m212mt3p 3 "questao") % (c2m212mt3a "questao") %L hx = function (x, y) return format(" (%s,%s)c--(%s,%s)o", x-1,y, x,y) end %L hxs = function (ys) %L local str = "" %L for x,y in ipairs(ys) do str = str .. hx(x, y) end %L return str %L end %L mtintegralspec = function (specf, xmax, y0) %L local pws = PwSpec.from(specf) %L local f = pws:fun() %L local ys = {[0] = y0} %L for x=1,xmax do %L PP("FOO", x, f(x-0.5), ys) %L ys[x] = ys[x - 1] + f(x - 0.5) %L end %L local strx = function (x) return tostring(v(x, ys[x])) end %L local specF = mapconcat(strx, seq(0, xmax), "--") %L return specF %L end %L %L specf = "(0,1)--(1,1)c (1,2)o--(3,2)o (3,-1)c--(4,-1)" %L ys = {1, 2, -1, 3, -2, 0, 0, -2, 1, -1, -1} %L specf = hxs(ys) %L specF = mtintegralspec(specf, #ys, -2) %L pwsf = PwSpec.from(specf) %L pwsF = PwSpec.from(specF) %L pf = pwsf:topict():setbounds(v(0,-2), v(#ys,3)):pgat("pgatc") %L pF = pwsF:topict():setbounds(v(0,-2), v(#ys,3)):pgat("pgatc") %L pf:sa("Fig f"):output() %L pF:sa("Fig F"):output() %L %L ys = {2, -2, 1, 3, -2, 0, 0, -2, 1, -1, -1} %L specf = hxs(ys) %L specF = mtintegralspec(specf, #ys, -1) %L pwsf = PwSpec.from(specf) %L pwsF = PwSpec.from(specF) %L pf = pwsf:topict():setbounds(v(0,-2), v(#ys,3)):pgat("pgatc") %L pF = pwsF:topict():setbounds(v(0,-2), v(#ys,3)):pgat("pgatc") %L pf:sa("Fig g"):output() %L pF:sa("Fig G"):output() %L %L PictList{}:pgat("pgatc"):sa("respgrid"):output() \pu \unitlength=10pt \newpage % «versao-E1» (to ".versao-E1") % (c2m221mt1p 2 "versao-E1") % (c2m221mt1a "versao-E1") {\bf Versão para a turma E1} \scalebox{1.0}{\def\colwidth{6.75cm}\firstcol{ Sejam $f(x) \;=\; \ga{Fig f}$ e $F(x) = \D \Intt{3}{x}{f(t)}$. \bsk a) (0.4 pts) Faça o gráfico da função $F(x)$ num dos grids à direita. \msk b) (0.1 pts) Quanto valem $F'(2.5)$, $F'(3)$, $F'(3.5)$ e $F'(6)$? }\anothercol{ \vspace*{0.0cm} $\ga{respgrid}$ \msk $\ga{respgrid}$ \msk $\ga{respgrid}$ }} \newpage % «versao-C1» (to ".versao-C1") % (c2m221mt1p 3 "versao-C1") % (c2m221mt1a "versao-C1") {\bf Versão para a turma C1} \scalebox{1.0}{\def\colwidth{6.75cm}\firstcol{ Sejam $g(x) \;=\; \ga{Fig g}$ e $G(x) = \D \Intt{3}{x}{g(t)}$. \bsk a) (0.4 pts) Faça o gráfico da função $G(x)$ num dos grids à direita. \msk b) (0.1 pts) Quanto valem $G'(2.5)$, $G'(3)$, $G'(3.5)$ e $G'(6)$? }\anothercol{ \vspace*{0.0cm} $\ga{respgrid}$ \msk $\ga{respgrid}$ \msk $\ga{respgrid}$ }} \newpage % «gabarito» (to ".gabarito") % (c2m221mt1p 4 "gabarito") % (c2m221mt1a "gabarito") {\bf Gabarito parcial} $$f(x) = \ga{Fig f} \qquad F(x) = \ga{Fig F} $$ $$g(x) = \ga{Fig g} \qquad G(x) = \ga{Fig G} $$ \GenericWarning{Success:}{Success!!!} % Used by `M-x cv' \end{document} % ____ _ _ % | _ \(_)_ ___ _(_)_______ % | | | | \ \ / / | | | |_ / _ \ % | |_| | |\ V /| |_| | |/ / __/ % |____// | \_/ \__,_|_/___\___| % |__/ % % «djvuize» (to ".djvuize") % (find-LATEXgrep "grep --color -nH --null -e djvuize 2020-1*.tex") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # (find-fline "~/2022.1-C2/") # (find-fline "~/LATEX/2022-1-C2/") # (find-fline "~/bin/djvuize") cd /tmp/ for i in *.jpg; do echo f $(basename $i .jpg); done f () { rm -v $1.pdf; textcleaner -f 50 -o 5 $1.jpg $1.png; djvuize $1.pdf; xpdf $1.pdf } f () { rm -v $1.pdf; textcleaner -f 50 -o 10 $1.jpg $1.png; djvuize $1.pdf; xpdf $1.pdf } f () { rm -v $1.pdf; textcleaner -f 50 -o 20 $1.jpg $1.png; djvuize $1.pdf; xpdf $1.pdf } f () { rm -fv $1.png $1.pdf; djvuize $1.pdf } f () { rm -fv $1.png $1.pdf; djvuize WHITEBOARDOPTS="-m 1.0 -f 15" $1.pdf; xpdf $1.pdf } f () { rm -fv $1.png $1.pdf; djvuize WHITEBOARDOPTS="-m 1.0 -f 30" $1.pdf; xpdf $1.pdf } f () { rm -fv $1.png $1.pdf; djvuize WHITEBOARDOPTS="-m 1.0 -f 45" $1.pdf; xpdf $1.pdf } f () { rm -fv $1.png $1.pdf; djvuize WHITEBOARDOPTS="-m 0.5" $1.pdf; xpdf $1.pdf } f () { rm -fv $1.png $1.pdf; djvuize WHITEBOARDOPTS="-m 0.25" $1.pdf; xpdf $1.pdf } f () { cp -fv $1.png $1.pdf ~/2022.1-C2/ cp -fv $1.pdf ~/LATEX/2022-1-C2/ cat <<%%% % (find-latexscan-links "C2" "$1") %%% } f 20201213_area_em_funcao_de_theta f 20201213_area_em_funcao_de_x f 20201213_area_fatias_pizza % __ __ _ % | \/ | __ _| | _____ % | |\/| |/ _` | |/ / _ \ % | | | | (_| | < __/ % |_| |_|\__,_|_|\_\___| % % <make> * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # (find-LATEXfile "2019planar-has-1.mk") make -f 2019.mk STEM=2022-1-C2-MT1 veryclean make -f 2019.mk STEM=2022-1-C2-MT1 pdf % Local Variables: % coding: utf-8-unix % ee-tla: "c2mt1" % ee-tla: "c2m221mt1" % End: