<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
		<id>https://mat.caminos.upm.es/w/index.php?action=history&amp;feed=atom&amp;title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23</id>
		<title>Aproximación por minimos cuadrados grupo 23 - Historial de revisiones</title>
		<link rel="self" type="application/atom+xml" href="https://mat.caminos.upm.es/w/index.php?action=history&amp;feed=atom&amp;title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23"/>
		<link rel="alternate" type="text/html" href="https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;action=history"/>
		<updated>2026-04-26T13:49:30Z</updated>
		<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42640&amp;oldid=prev</id>
		<title>C.novero en 11:18 12 nov 2019</title>
		<link rel="alternate" type="text/html" href="https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42640&amp;oldid=prev"/>
				<updated>2019-11-12T11:18:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='es'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión del 11:18 12 nov 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l132&quot; &gt;Línea 132:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 132:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zr=8.751835439659939e+02, es decir, para una frecuencia de 16 golpes por minuto se estima un tiempo de rotura de 875 horas 11 minutos&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zr=8.751835439659939e+02, es decir, para una frecuencia de 16 golpes por minuto se estima un tiempo de rotura de 875 horas 11 minutos&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;y además representa la siguiente gráfica:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;y además representa la siguiente gráfica:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Archivo:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Gráfica_recta_mínimos_grupo_23&lt;/del&gt;.png|600px|thumb|left|frame|gráfica de los datos de partida junto con la ecuación lineal de mínimos cuadrados]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Archivo:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Grafica_recta_minimos_grupo_23&lt;/ins&gt;.png|600px|thumb|left|frame|gráfica de los datos de partida junto con la ecuación lineal de mínimos cuadrados]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>C.novero</name></author>	</entry>

	<entry>
		<id>https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42638&amp;oldid=prev</id>
		<title>C.novero en 11:00 12 nov 2019</title>
		<link rel="alternate" type="text/html" href="https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42638&amp;oldid=prev"/>
				<updated>2019-11-12T11:00:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='es'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión del 11:00 12 nov 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot; &gt;Línea 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;hold on&amp;#160; %le pedimos que mantenga la gráfica anterior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;hold on&amp;#160; %le pedimos que mantenga la gráfica anterior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot(w,yr,'b-')&amp;#160; %añade la recta calculada por mínimos cuadrados&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot(w,yr,'b-')&amp;#160; %añade la recta calculada por mínimos cuadrados&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;br /&gt;
&lt;b&gt;Deprecated&lt;/b&gt;:  The each() function is deprecated. This message will be suppressed on further calls in &lt;b&gt;/home/mat/public_html/w/includes/diff/DairikiDiff.php&lt;/b&gt; on line &lt;b&gt;434&lt;/b&gt;&lt;br /&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;legend('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;recta de mínimos&lt;/del&gt;','&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;datos&lt;/del&gt;') %añade una leyenda &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;legend('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;datos&lt;/ins&gt;','&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;recta de minimos&lt;/ins&gt;') %añade una leyenda &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l119&quot; &gt;Línea 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 119:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;% añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;% añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zr=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(1)+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(2)*16&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zr=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xr&lt;/ins&gt;(1)+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xr&lt;/ins&gt;(2)*16&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l175&quot; &gt;Línea 175:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 175:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;y1p=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(1)+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(2)*w+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(3)*w.^2&amp;#160;  %ecuación de la parábola calculada por mínimos cuadrados&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp=m1p\tr.'&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;y1p=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(1)+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(2)*w+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(3)*w.^2&amp;#160;  %ecuación de la parábola calculada por mínimos cuadrados&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;h=1:2:27&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;h=1:2:27&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;y2p=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(1)+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(2)*h+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(3)*h.^2&amp;#160; %representamos una parábola equivalente usando más datos&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;y2p=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(1)+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(2)*h+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(3)*h.^2&amp;#160; %representamos una parábola equivalente usando más datos&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;hold on&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;hold on&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot(h,y2p,'b-')&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot(h,y2p,'b-')&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l196&quot; &gt;Línea 196:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 197:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Zp=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(1)+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(2)*16+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(3)*16.^2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Zp=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(1)+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(2)*16+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xp&lt;/ins&gt;(3)*16.^2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l252&quot; &gt;Línea 252:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 253:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;xe=m1e\tr.'&amp;#160; %definimos x como el vector con las soluciones del sistema&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;xe=m1e\tr.'&amp;#160; %definimos x como el vector con las soluciones del sistema&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ye=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(1)+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(2)*w+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(3)*exp(w)&amp;#160; %ecuación exponencial calculada por mínimos cuadrados&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ye=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xe&lt;/ins&gt;(1)+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xe&lt;/ins&gt;(2)*w+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xe&lt;/ins&gt;(3)*exp(w)&amp;#160; %ecuación exponencial calculada por mínimos cuadrados&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;hold on&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;hold on&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot(w,ye,'b-')&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot(w,ye,'b-')&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l263&quot; &gt;Línea 263:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 264:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;error&lt;/del&gt;=sum((tr-ye).^2)/20&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;errore&lt;/ins&gt;=sum((tr-ye).^2)/20&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l271&quot; &gt;Línea 271:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 272:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{matlab|codigo=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%añadir al programa anterior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ze=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(1)+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(2)*16+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;(3)*exp(16)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ze=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xe&lt;/ins&gt;(1)+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xe&lt;/ins&gt;(2)*16+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xe&lt;/ins&gt;(3)*exp(16)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>C.novero</name></author>	</entry>

	<entry>
		<id>https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42592&amp;oldid=prev</id>
		<title>C.novero en 12:20 11 nov 2019</title>
		<link rel="alternate" type="text/html" href="https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42592&amp;oldid=prev"/>
				<updated>2019-11-11T12:20:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='es'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión del 12:20 11 nov 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l312&quot; &gt;Línea 312:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 312:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&amp;#160; Conclusiones&amp;#160; ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&amp;#160; Conclusiones&amp;#160; ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La distribución con el menor error cuadrático medio es la función exponencial, además es la que más coincide, visualmente, con los datos de partida por lo que nos parece que 1098.1 es la predicción más fiable de las 3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La distribución con el menor error cuadrático medio es la función exponencial, además es la que más coincide, visualmente, con los datos de partida por lo que nos parece que 1098.1 es la predicción más fiable de las 3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Categoría:Matemáticas I]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Categoría:MatI/19]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>C.novero</name></author>	</entry>

	<entry>
		<id>https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42591&amp;oldid=prev</id>
		<title>C.novero: Página creada con «{{ Trabajo | Aproximación por mínimos cuadrados grupo 23 | Matemáticas I|Curso 2019-20 | Covadonga Corral Martín,...»</title>
		<link rel="alternate" type="text/html" href="https://mat.caminos.upm.es/w/index.php?title=Aproximaci%C3%B3n_por_minimos_cuadrados_grupo_23&amp;diff=42591&amp;oldid=prev"/>
				<updated>2019-11-11T12:17:15Z</updated>
		
		<summary type="html">&lt;p&gt;Página creada con «{{ Trabajo | Aproximación por mínimos cuadrados grupo 23 | &lt;a href=&quot;/wiki/Categor%C3%ADa:Matem%C3%A1ticas_I&quot; title=&quot;Categoría:Matemáticas I&quot;&gt;Matemáticas I&lt;/a&gt;|&lt;a href=&quot;/wiki/Categor%C3%ADa:MatI/19&quot; title=&quot;Categoría:MatI/19&quot;&gt;Curso 2019-20&lt;/a&gt; | Covadonga Corral Martín,...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ Trabajo | Aproximación por mínimos cuadrados grupo 23 | [[:Categoría:Matemáticas I|Matemáticas I]]|[[:Categoría:MatI/19|Curso 2019-20]] | Covadonga Corral Martín, Mohamed Ayoub Ould el Makak Berjalí, Carlos Novero Garrido }}&lt;br /&gt;
Se está testeando un nuevo metamaterial sintético en el laboratorio frente a la fatiga. Para ello se golpea periódicamente el material con un dispositivo automático, manteniendo la fuerza pero cambiando la frecuencia. Se registran los datos de tiempo de rotura tr en horas para cada frecuencia de golpeo ω (número de golpes por minuto).&lt;br /&gt;
Los datos obtenidos son:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+'''Frecuencia/tiempo de rotura'''&lt;br /&gt;
|-&lt;br /&gt;
|1.33&lt;br /&gt;
|1040&lt;br /&gt;
|-&lt;br /&gt;
|2.67&lt;br /&gt;
|1036&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|999&lt;br /&gt;
|-&lt;br /&gt;
|5.33&lt;br /&gt;
|1017&lt;br /&gt;
|-&lt;br /&gt;
|6.67&lt;br /&gt;
|1049&lt;br /&gt;
|-&lt;br /&gt;
|8.67&lt;br /&gt;
|1000&lt;br /&gt;
|-&lt;br /&gt;
|10.67&lt;br /&gt;
|1007&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|NaN&lt;br /&gt;
|-&lt;br /&gt;
|14.67&lt;br /&gt;
|NaN&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|NaN&lt;br /&gt;
|-&lt;br /&gt;
|17.3&lt;br /&gt;
|NaN&lt;br /&gt;
|-&lt;br /&gt;
|18.67&lt;br /&gt;
|943&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|916&lt;br /&gt;
|-&lt;br /&gt;
|21.33&lt;br /&gt;
|944&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|929&lt;br /&gt;
|-&lt;br /&gt;
|22.67&lt;br /&gt;
|955&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|940&lt;br /&gt;
|-&lt;br /&gt;
|24,67&lt;br /&gt;
|911&lt;br /&gt;
|-&lt;br /&gt;
|25.33&lt;br /&gt;
|785&lt;br /&gt;
|-&lt;br /&gt;
|25.67&lt;br /&gt;
|703&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|634&lt;br /&gt;
|-&lt;br /&gt;
|26.33&lt;br /&gt;
|326&lt;br /&gt;
|-&lt;br /&gt;
|26.67&lt;br /&gt;
|7&lt;br /&gt;
|}&lt;br /&gt;
Algunos ensayos no tienen datos por un error en el laboratorio.&lt;br /&gt;
==  Dibujar los puntos y generar la gráfica que los representa  ==&lt;br /&gt;
Comenzamos por introducir en Matlab los datos y a continuación generar la gráfica que los representa para su fácil visualización:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
w=[1.33 2.67 4 5.33 6.67 8.67 10.67 18.67 20 21.33 22 22.67 23.33 24 24.67 25.33 25.67 26 26.33 26.67]  %vector de la frecuencia&lt;br /&gt;
tr=[1040 1036 999 1017 1049 1000 1007 943 916 944 929 955 931 940 911 785 703 624 326 7]  %vector del tiempo de rotura&lt;br /&gt;
plot(w.',tr.','k--o')&lt;br /&gt;
xlabel('frecuencia')&lt;br /&gt;
ylabel('tiempo de rotura')&lt;br /&gt;
title('ensayo fatiga')&lt;br /&gt;
grid  %dibujamos la gráfica tiempo de rotura/frecuencia y le damos formato&lt;br /&gt;
}}&lt;br /&gt;
==  Cálculo y representación de una recta por mínimos cuadrados  ==&lt;br /&gt;
===  Cálculo de la recta  ===&lt;br /&gt;
Procedemos a ajustar los datos a una recta, para ello introducimos en Matlab:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
% añadir al programa anterior&lt;br /&gt;
m1r=[ones(20,1),w.'] %matriz de los coeficientes, tamaño 20x2, siendo la primera fila una columna de unos y la segunda el vector de las frecuencias traspuesto&lt;br /&gt;
m2r=[m1r,tr.']  %matriz ampliada de la matriz anterior junto con el vector de los tiempos de rotura traspuesto&lt;br /&gt;
rank(m1r)&lt;br /&gt;
rank(m2r) %usamos la función que nos calcula el rango de las matrices&lt;br /&gt;
}}&lt;br /&gt;
Si ejecutásemos el programa en este momento obtenemos que el rango de m1 es 2 y el de m3 es 3, por lo que sabemos que el sistema es incompatible, pasamos a calcular la resolución del sistema, que Matlab calcula automáticamente por mínimos cuadrados y a continuación definimos la recta y la añadimos en el gráfico creado anteriormente escribiendo:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
% añadir al programa anterior&lt;br /&gt;
xr=m1r\tr.'  %definimos xr como el vector con las soluciones del sistema de la recta&lt;br /&gt;
yr=xr(1)+xr(2)*w &lt;br /&gt;
hold on  %le pedimos que mantenga la gráfica anterior&lt;br /&gt;
plot(w,yr,'b-')  %añade la recta calculada por mínimos cuadrados&lt;br /&gt;
legend('recta de mínimos','datos') %añade una leyenda &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Cálculo del error cuadrático medio de la recta  ===&lt;br /&gt;
&lt;br /&gt;
Queremos tener una referencia del error cometido por la aproximación, por lo que calculamos el error cuadrático medio de la siguiente forma&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
% añadir al programa anterior&lt;br /&gt;
errorr=(sum((tr-yr).^2))/20&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Aproximación del valor 16 golpes/min  ===&lt;br /&gt;
&lt;br /&gt;
Para saber qué valor predice la recta para una frecuencia de 16 golpes por minuto ejecutamos:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
% añadir al programa anterior&lt;br /&gt;
zr=x(1)+x(2)*16&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Resultado  ===&lt;br /&gt;
&lt;br /&gt;
una vez escrito el código lo ejecutamos y Matlab nos da los siguientes resultados:&lt;br /&gt;
&lt;br /&gt;
xr=[1.146876510867884e+03;-16.980810431368106], por lo que la ecuación de la recta es: tr=1146.9-17*ω&lt;br /&gt;
&lt;br /&gt;
errorr=4.310542091992706e+04, el error cuadrático medio es de 43105&lt;br /&gt;
&lt;br /&gt;
zr=8.751835439659939e+02, es decir, para una frecuencia de 16 golpes por minuto se estima un tiempo de rotura de 875 horas 11 minutos&lt;br /&gt;
y además representa la siguiente gráfica:&lt;br /&gt;
[[Archivo:Gráfica_recta_mínimos_grupo_23.png|600px|thumb|left|frame|gráfica de los datos de partida junto con la ecuación lineal de mínimos cuadrados]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Cálculo y representación de una parábola por mínimos cuadrados  ==&lt;br /&gt;
===  Cálculo de la parábola  ===&lt;br /&gt;
Procedemos a ajustar los datos a una parábola, para ello introducimos en Matlab:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
m1p=[ones(20,1),w.',w.'.*w.']  %matriz de los coeficientes, tamaño 20x3, siendo la primera fila una columna de unos, la segunda el vector de las frecuencias traspuestas y la tercera es el vector de las frecuencias al cuadrado&lt;br /&gt;
m2p=[m1p,tr.']  %matriz ampliada con los datos del tiempo de rotura&lt;br /&gt;
rank(m1p)&lt;br /&gt;
rank(m2p)  %usamos la función que nos calcula el rango de las matrices&lt;br /&gt;
}}&lt;br /&gt;
Si ejecutásemos el programa en este momento nos calcularía el rango de cada una de las matrices, siendo 3 para m1 y 4 para m2, por lo que sabemos que el sistema es incompatible, pasamos a calcular la resolución del sistema, que Matlab calcula automáticamente por mínimos cuadrados y a continuación definimos la parábola y la añadimos en el gráfico creado anteriormente escribiendo:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
y1p=x(1)+x(2)*w+x(3)*w.^2   %ecuación de la parábola calculada por mínimos cuadrados&lt;br /&gt;
h=1:2:27&lt;br /&gt;
y2p=x(1)+x(2)*h+x(3)*h.^2  %representamos una parábola equivalente usando más datos&lt;br /&gt;
hold on&lt;br /&gt;
plot(h,y2p,'b-')&lt;br /&gt;
legend('datos','parabola de minimos')  %añadimos a la gráfica anterior la parábola junto con una leyenda&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Cálculo del error cuadrático medio de la parábola  ===&lt;br /&gt;
&lt;br /&gt;
Queremos tener una referencia del error cometido por la aproximación, por lo que calculamos el error cuadrático medio de la siguiente forma&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
errorp=(sum((tr-y1p).^2))/20&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Aproximación del valor 16 golpes/min  ===&lt;br /&gt;
&lt;br /&gt;
Para saber qué valor predice la recta para una frecuencia de 16 golpes por minuto ejecutamos:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
Zp=x(1)+x(2)*16+x(3)*16.^2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Resultado  ===&lt;br /&gt;
&lt;br /&gt;
una vez escrito el código lo ejecutamos y Matlab nos da los siguientes resultados:&lt;br /&gt;
&lt;br /&gt;
xp=[8.301635504889812e+02;57.398707088415634;-2.553441460170276] por lo que la ecuación de la parábola es: tr=830.16-57.39*ω-2.55*ω^2&lt;br /&gt;
&lt;br /&gt;
errorp=2.947828440943336e+04 por lo que el error cuadrático medio es de 29478&lt;br /&gt;
&lt;br /&gt;
zp=1.094861850100041e+03, es decir, para una frecuencia de 16 golpes por minuto se estima un tiempo de rotura de 1094 horas, y además representa la siguiente gráfica:&lt;br /&gt;
[[Archivo:Gráifca_parabola_minimos_grupo_23.png|600px|thumb|left|frame|gráfica de los datos de partida junto con la ecuación parabólica de mínimos cuadrados]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Cálculo y representación de una ecuación exponencial por mínimos cuadrados  ==&lt;br /&gt;
===  Cálculo de la ecuación exponencial  ===&lt;br /&gt;
Procedemos a ajustar los datos a una ecuación exponencial, para ello introducimos en Matlab:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
m1e=[ones(20,1),w.',exp(w.')] %matriz de los coeficientes, tamaño 20x3, siendo la primera fila una columna de unos, la segunda el vector de las frecuencias traspuestas y la tercera es el vector de los exponentes de las frecuencias&lt;br /&gt;
m2e=[m1e,tr.'] %matriz ampliada con los datos del tiempo de rotura&lt;br /&gt;
rank(m1e)&lt;br /&gt;
rank(m2e)  %calculamos los rangos de las matrices&lt;br /&gt;
}}&lt;br /&gt;
Si ejecutásemos el programa en este momento nos calcularía el rango de cada una de las matrices y obtenemos que es 3 para m1 y 4 para m2 por lo que sabemos que el sistema es incompatible, pasamos a calcular la resolución del sistema, que Matlab calcula automáticamente por mínimos cuadrados y a continuación definimos la parábola y la añadimos en el gráfico creado anteriormente escribiendo:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
xe=m1e\tr.'  %definimos x como el vector con las soluciones del sistema&lt;br /&gt;
ye=x(1)+x(2)*w+x(3)*exp(w)  %ecuación exponencial calculada por mínimos cuadrados&lt;br /&gt;
hold on&lt;br /&gt;
plot(w,ye,'b-')&lt;br /&gt;
legend('datos','exponencial de minimos')  %añadimos a la gráfica anterior la parábola junto con una leyenda&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Cálculo del error cuadrático medio de la parábola  ===&lt;br /&gt;
&lt;br /&gt;
Queremos tener una referencia del error cometido por la aproximación, por lo que calculamos el error cuadrático medio de la siguiente forma&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
error=sum((tr-ye).^2)/20&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Aproximación del valor 16 golpes/min  ===&lt;br /&gt;
&lt;br /&gt;
Para saber qué valor predice la recta para una frecuencia de 16 golpes por minuto ejecutamos:&lt;br /&gt;
{{matlab|codigo=&lt;br /&gt;
%añadir al programa anterior&lt;br /&gt;
ze=x(1)+x(2)*16+x(3)*exp(16)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===  Resultado  ===&lt;br /&gt;
&lt;br /&gt;
una vez escrito el código lo ejecutamos y Matlab nos da los siguientes resultados:&lt;br /&gt;
&lt;br /&gt;
xe=[1.025976427703857e+03;-1.974268082492748;-2.319344866513919e-09] por lo que la ecuación exponencial es tr=1025.97-1.97*w-2.319e-9*exp(w)&lt;br /&gt;
&lt;br /&gt;
errore=1.908149369400242e+03 el error cuadrático medio vale 1908.1&lt;br /&gt;
&lt;br /&gt;
ze=9.943675284291536e+02 para una frecuencia de 16 golpes por minuto se estima un tiempo de rotura de 994.36 horas y además genera la siguiente gráfica:&lt;br /&gt;
[[Archivo:Gráfica_exponencial_minimos_grupo_23.png|600px|thumb|left|frame|gráfica de los datos de partida junto con la ecuación exponencial de mínimos cuadrados]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Conclusiones  ==&lt;br /&gt;
La distribución con el menor error cuadrático medio es la función exponencial, además es la que más coincide, visualmente, con los datos de partida por lo que nos parece que 1098.1 es la predicción más fiable de las 3&lt;/div&gt;</summary>
		<author><name>C.novero</name></author>	</entry>

	</feed>