From: Leandro Lucarella Date: Sat, 23 Aug 2003 18:24:00 +0000 (+0000) Subject: - Se organiza creando un directorio para cada cuatrimestre. X-Git-Tag: svn_import~17 X-Git-Url: https://git.llucax.com/z.facultad/75.42/euler.git/commitdiff_plain/11e160362f812b1042f2b49e63a1df0a66487dd0 - Se organiza creando un directorio para cada cuatrimestre. - Se agrega la caratula de este cuatrimestre y la base del primer TP. --- 11e160362f812b1042f2b49e63a1df0a66487dd0 diff --git a/Doxyfile b/Doxyfile new file mode 100644 index 0000000..01b8bf7 --- /dev/null +++ b/Doxyfile @@ -0,0 +1,207 @@ +# Doxyfile 1.3.2 + +#--------------------------------------------------------------------------- +# General configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = "Taller de Programación I (75.42)" +PROJECT_NUMBER = "Trabajo Práctico I" +OUTPUT_DIRECTORY = +OUTPUT_LANGUAGE = Spanish +USE_WINDOWS_ENCODING = NO +EXTRACT_ALL = YES +EXTRACT_PRIVATE = YES +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = YES +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = NO +STRIP_FROM_PATH = +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = YES +SHORT_NAMES = NO +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +JAVADOC_AUTOBRIEF = YES +MULTILINE_CPP_IS_BRIEF = YES +DETAILS_AT_TOP = NO +INHERIT_DOCS = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +DISTRIBUTE_GROUP_DOC = NO +TAB_SIZE = 8 +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ALIASES = +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +OPTIMIZE_OUTPUT_FOR_C = YES +OPTIMIZE_OUTPUT_JAVA = NO +SHOW_USED_FILES = YES +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = +FILE_PATTERNS = *.c *.txt +RECURSIVE = NO +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +VERBATIM_HEADERS = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = YES +COLS_IN_ALPHA_INDEX = 1 +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = NO +TREEVIEW_WIDTH = 250 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = YES +LATEX_OUTPUT = latex +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = NO +USE_PDFLATEX = NO +LATEX_BATCHMODE = NO +LATEX_HIDE_INDICES = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = YES +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = YES +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = YES +CLASS_GRAPH = NO +COLLABORATION_GRAPH = NO +UML_LOOK = NO +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = YES +GRAPHICAL_HIERARCHY = NO +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 1024 +MAX_DOT_GRAPH_HEIGHT = 1024 +MAX_DOT_GRAPH_DEPTH = 0 +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO +CGI_NAME = search.cgi +CGI_URL = +DOC_URL = +DOC_ABSPATH = +BIN_ABSPATH = /usr/local/bin/ +EXT_DOC_PATHS = diff --git a/caratula.rtf b/caratula.rtf new file mode 100644 index 0000000..ffe86ab --- /dev/null +++ b/caratula.rtf @@ -0,0 +1,76 @@ +{\rtf0\ansi +\ansicpg1252 +{\fonttbl +{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\f142\froman\fcharset238\fprq2 Times New Roman CE;} +{\f143\froman\fcharset204\fprq2 Times New Roman Cyr;} +{\f145\froman\fcharset161\fprq2 Times New Roman Greek;} +{\f146\froman\fcharset162\fprq2 Times New Roman Tur;} +{\f147\froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\f148\froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\f149\froman\fcharset186\fprq2 Times New Roman Baltic;} +{\f150\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}} +{\colortbl +; +\red0\green0\blue0; +\red0\green0\blue255; +\red0\green255\blue255; +\red0\green255\blue0; +\red255\green0\blue255; +\red255\green0\blue0; +\red255\green255\blue0; +\red255\green255\blue255; +\red0\green0\blue128; +\red0\green128\blue128; +\red0\green128\blue0; +\red128\green0\blue128; +\red128\green0\blue0; +\red128\green128\blue0; +\red128\green128\blue128; +\red192\green192\blue192; +} +{\stylesheet +{\widctlpar\li0\ri0\ql\fs24\snext0 Normal;} +{\*\cs10\additive Default Paragraph Font;} +} +{\info +{\title (75} +{\author Ga} +{\creatim \yr2003\mo8\dy22\hr1\min35\sec0} +{\revtim \yr2003\mo8\dy23\hr14\min59\sec19} +{\printim \yr2003\mo8\dy22\hr1\min43\sec0} +} +\paperw11908\paperh16847\margl1701\margr1701\margt1417\margb1417 +\widowctrl\deftab708 +\ftnbj\aenddoc\ftnrstcont\aftnrstcont\ftnnar\aftnnrlc +\sectd\headery708\footery708\colsx708 +{\*\pnseclvl1\pnucrm\pnstart1\pnhang\pnindent720{\pntxta .}} +{\*\pnseclvl2\pnucltr\pnstart1\pnhang\pnindent720{\pntxta .}} +{\*\pnseclvl3\pndec\pnstart1\pnhang\pnindent720{\pntxta .}} +{\*\pnseclvl4\pnlcltr\pnstart1\pnhang\pnindent720{\pntxta )}} +{\*\pnseclvl5\pndec\pnstart1\pnhang\pnindent720{\pntxtb (}{\pntxta )}} +{\*\pnseclvl6\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb (}{\pntxta )}} +{\*\pnseclvl7\pnlcrm\pnstart1\pnhang\pnindent720{\pntxtb (}{\pntxta )}} +{\*\pnseclvl8\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb (}{\pntxta )}} +{\*\pnseclvl9\pnlcrm\pnstart1\pnhang\pnindent720{\pntxtb (}{\pntxta )}} +\pard\widctlpar\qc\plain\f0\fs36\b (75.42) - Taller de Programaci\'f3n I +\par +\par +\pard\widctlpar\plain\f0 \par +\pard\widctlpar\sl360\slmult1\tx2880\plain\f0\fs28\b Cuatrimestre\tab\b0 +2\super do\nosupersub - 2003\par +\b Trabajo pr\'e1ctico Nro\tab\b0 1\par +\b Entrega n\'famero\tab\b0 1\par +\b Fecha de entrega\tab 02/09/2003\par +\par +Padr\'f3n\tab\b0 77.891\par +\b Apellidos\tab\b0 Lucarella\par +\b Nombres\tab\b0 Leandro M.\par +\par +\b Fecha de devoluci\'f3n\tab\par +Corrector\tab\par +Calificaci\'f3n\tab\par +\b0 \par +\b Notas\tab\par +\pard\widctlpar\plain\f0 \par +} diff --git a/enunciado.c b/enunciado.c new file mode 100644 index 0000000..364f1ed --- /dev/null +++ b/enunciado.c @@ -0,0 +1,79 @@ +/* vim: set et ts=4 sw=4 : */ +/** \mainpage Taller de Programación I (75.42) - Trabajo Práctico I + +\section objetivo Objetivo. + + Desarrollar un programa que resuelva, utilizando un método iterativo, + una función diferencial en un intervalo de tiempo dado. + + \note Utilizar sólo funciones ANSI C. + + + +\section desarrollo Desarrollo. + + \subsection parte1 Parte 1. + + Dada una función diferencial \f$df_{(t)}\f$, desarrolle un + programa que calcule la integral de la misma utilizando el + método iterativo (Euler explícito), tal como se explica a + continuación. Almacene estos resultados en un vector. + + + \subsubsection funcion Función diferencial. + + \f[ + df_{(t)} = \frac{500 - f_{(t)}}{30} + \f] + + + \subsubsection variables Variables. + + - \f$t_i\f$: Tiempo inicial de la iteración = 0. + + Solicitar al usuario el ingreso de las restantes variables por + línea de comandos: + + - \f$f_{(t)}\f$: Estado inicial del sistema. + - \f$t_f\f$: Tiempo final de la iteración (segundos). + - step: Paso (en segundos). + + + \subsubsection Método de iteración (Euler explícito). + + \f[ + f_{(t + step)} = f_{(t)} + df_{(t)} * step + \f] + + + + \subsection parte2 Parte 2. + + Grafique los primeros 70 pasos (si los hay) de la función f en + formato texto, entre los valores máximos y mínimos que tome en + este intervalo, utilizando 20 líneas horizontales. + + Por ejemplo: + + \verbatim + + t0 = 0 + tf = 10 + step = 0.5 + 400 *** + 390 * ** **** + 380 * * ****** + 370 ** + + \endverbatim + +*/ + +/** + +Descripción breve de la función Test. + +En la descripción completa tengo un link a la \ref parte1 "página principal". + +*/ +void Test(void); \ No newline at end of file