<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="xsl/mathml.xsl"?>
<?xml-stylesheet type="text/css" href="../navi/css/teor.css"?>
<?xml-stylesheet type="text/css" href="css/numper.css"?>
<html  
xmlns="http://www.w3.org/1999/xhtml"  
><head>
<title>XML</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<!-- xhtml,mozilla --> 
<meta name="src" content="numper.tex" /> 
<meta name="date" content="2005-04-07 09:24:00" /> 
<link rel="stylesheet" type="text/css" href="../navi/css/teor.css" />
<link rel="stylesheet" type="text/css" href="css/numper.css" /> 
</head><body 
>
<h3 class="likesectionHead"><a 
 id="x1-1000"></a>Numeerinen ratkaiseminen: perusidea ensimm&#x00E4;isen kertaluvun yht&#x00E4;l&#x00F6;lle</h3>
<!--l. 28--><p class="noindent">Ensimm&#x00E4;isen kertaluvun alkuarvoprobleeman
</p>
<div class="math-display"><!--l. 29--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="block" ><mrow 
>
                               <msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-punc">,</mo><mspace width="1em" class="quad"/><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
>
<mn>0</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
>
</mrow></math></div>
<!--l. 31--><p class="nopar"> <span 
class="aeti-10"> numeerisessa ratkaisemisessa </span>tarkasteluv&#x00E4;lille
<!--l. 32--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow><mo 
class="MathClass-open">[</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>L</mi></mrow><mo 
class="MathClass-close">]</mo></mrow></math> asetetaan
jakopisteet <!--l. 33--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>,
<!--l. 33--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>,
<!--l. 33--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mo 
class="MathClass-op">&#x2026;</mo><mspace width="0em" class="thinspace"/></math>,
<!--l. 33--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>n</mi></mrow></msub 
></math>, miss&#x00E4;
<!--l. 34--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>n</mi></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>L</mi></math>, ja pyrit&#x00E4;&#x00E4;n
laskemaan funktionarvoille <!--l. 34--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
approksimaatiot <!--l. 35--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math>.
</p><!--l. 37--><p class="noindent">Jakopisteet <!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math> ovat usein
tasav&#x00E4;lisi&#x00E4;, <!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>h</mi></math>,
mutta v&#x00E4;ltt&#x00E4;m&#x00E4;t&#x00F6;nt&#x00E4; t&#x00E4;m&#x00E4; ei ole. Yleens&#x00E4; on
<!--l. 38--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>L</mi> <mo 
class="MathClass-rel">&#x003E;</mo> <mn>0</mn></math>, mutta voi my&#x00F6;s olla
<!--l. 39--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>L</mi> <mo 
class="MathClass-rel">&#x003C;</mo> <mn>0</mn></math>, jolloin v&#x00E4;li ulottuu
alkuehtopisteest&#x00E4; <!--l. 39--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>&#x0020;
taaksep&#x00E4;in. T&#x00E4;ll&#x00F6;in on <!--l. 40--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>h</mi> <mo 
class="MathClass-rel">&#x003C;</mo> <mn>0</mn></math>.
</p><!--l. 42--><p class="noindent">Approksimaatiot <!--l. 42--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math>&#x0020;
voidaan laskea useilla erilaisilla menetelmill&#x00E4;. N&#x00E4;m&#x00E4; ovat iteratiivisia, ts.&#x00A0;seuraava arvo
<!--l. 43--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msub 
></math> lasketaan aiemmin
laskettujen arvojen <!--l. 44--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>,
<!--l. 44--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>,
<!--l. 44--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mo 
class="MathClass-op">&#x2026;</mo><mspace width="0em" class="thinspace"/></math>,
<!--l. 44--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math> avulla.
Menetelmien perustana on yleens&#x00E4; jompikumpi seuraavista l&#x00E4;hestymistavoista:
</p><!--l. 48--><p class="noindent"><span 
class="aebx-10">1) </span>Oletetaan, ett&#x00E4; ratkaisufunktiolla <!--l. 48--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> on
Taylorin kehitelm&#x00E4; jakopisteess&#x00E4; <!--l. 49--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math>:
                                                                                 
                                                                                 
</p><!--tex4ht:inline--><!--l. 55--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="block" ><mtable 
columnalign="left" class="align-star">
         <mtr><mtd 
columnalign="right" class="align-odd"><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mtd>         <mtd 
class="align-even"> <mo 
class="MathClass-rel">=</mo> <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-bin">+</mo> <msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
>
<mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mi 
>h</mi> <mo 
class="MathClass-bin">+</mo><mfrac><mrow> <mn>1</mn></mrow> 
<mrow><mn>2</mn></mrow></mfrac><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi><mi 
>&#x2032;</mi></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
>
<mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><msup><mrow 
><mi 
>h</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
> <mo 
class="MathClass-bin">+</mo> <mo 
class="MathClass-rel">&#x22EF;</mo> <mo 
class="MathClass-bin">+</mo><mfrac><mrow>  <mn>1</mn></mrow> 
<mrow><mi 
>n</mi><mi 
>!</mi></mrow></mfrac><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>n</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
>
<mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><msup><mrow 
><mi 
>h</mi></mrow><mrow 
><mi 
>n</mi></mrow></msup 
> <mo 
class="MathClass-bin">+</mo> <mi 
>O</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msup><mrow 
><mi 
>h</mi></mrow><mrow 
><mi 
>n</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msup 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mspace width="2em"/></mtd>          <mtd 
columnalign="right" class="align-label"></mtd>         <mtd 
class="align-label">
         <mspace width="2em"/></mtd></mtr><mtr><mtd 
columnalign="right" class="align-odd"></mtd>                 <mtd 
class="align-even"> <mo 
class="MathClass-rel">=</mo> <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-bin">+</mo> <mfenced separators="" 
open="["  close="]" ><mrow><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
>
<mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mi 
>h</mi> <mo 
class="MathClass-bin">+</mo><mfrac><mrow> <mn>1</mn></mrow> 
<mrow><mn>2</mn></mrow></mfrac><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi><mi 
>&#x2032;</mi></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
>
<mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><msup><mrow 
><mi 
>h</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
> <mo 
class="MathClass-bin">+</mo> <mo 
class="MathClass-rel">&#x22EF;</mo> <mo 
class="MathClass-bin">+</mo><mfrac><mrow>  <mn>1</mn></mrow> 
<mrow><mi 
>n</mi><mi 
>!</mi></mrow></mfrac><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>n</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
>
<mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><msup><mrow 
><mi 
>h</mi></mrow><mrow 
><mi 
>n</mi></mrow></msup 
></mrow></mfenced> <mo 
class="MathClass-bin">+</mo> <mi 
>O</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msup><mrow 
><mi 
>h</mi></mrow><mrow 
><mi 
>n</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msup 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-punc">,</mo><mspace width="2em"/></mtd>         <mtd 
columnalign="right" class="align-label"></mtd>         <mtd 
class="align-label">
<mspace width="2em"/></mtd></mtr></mtable></math>&#x0020;
<!--l. 56--><p class="noindent">miss&#x00E4; <!--l. 56--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>O</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msup><mrow 
><mi 
>h</mi></mrow><mrow 
><mi 
>n</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msup 
></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
tarkoittaa astetta <!--l. 56--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>n</mi></math>&#x0020;
olevaan Taylorin polynomiin liittyv&#x00E4;&#x00E4; j&#x00E4;&#x00E4;nn&#x00F6;stermi&#x00E4;.
</p><!--l. 59--><p class="noindent">Hakasulkulauseke voidaan laskea, kun <!--l. 59--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math>&#x0020;
ja <!--l. 59--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi> </mrow> </msub 
> </mrow><mo 
class="MathClass-close">)</mo></mrow></math> tunnetaan:
Differentiaaliyht&#x00E4;l&#x00F6;n mukaan on <!--l. 60--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>,
jolloin <!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi> </mrow> </msup 
> <mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi> </mrow> </msub 
> </mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow></math>.
Derivaatta <!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi><mi 
>&#x2032;</mi> </mrow> </msup 
> <mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
saadaan derivoimalla differentiaaliyht&#x00E4;l&#x00F6; muuttujan
<!--l. 62--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>x</mi></math>&#x0020;
suhteen, jolloin
</p>
<div class="math-display"><!--l. 63--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="block" ><mrow 
>
         <msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi><mi 
>&#x2032;</mi></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>f</mi></mrow><mrow 
>
<mi 
>x</mi></mrow></msub 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-bin">+</mo> <msub><mrow 
><mi 
>f</mi></mrow><mrow 
><mi 
>y</mi></mrow></msub 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>f</mi></mrow><mrow 
>
<mi 
>x</mi></mrow></msub 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-bin">+</mo> <msub><mrow 
><mi 
>f</mi></mrow><mrow 
><mi 
>y</mi></mrow></msub 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow><mi 
>f</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-punc">,</mo>
</mrow></math></div>
<!--l. 66--><p class="nopar">ja sijoittamalla t&#x00E4;h&#x00E4;n <!--l. 67--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math>.
T&#x00E4;ss&#x00E4; <!--l. 67--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>f</mi></mrow><mrow 
><mi 
>x</mi></mrow></msub 
></math>&#x0020;
ja <!--l. 67--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>f</mi></mrow><mrow 
><mi 
>y</mi> </mrow> </msub 
> </math> tarkoittavat
funktion <!--l. 68--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>f</mi></math>&#x0020;
osittaisderivaattoja. Korkeammat derivaatat saadaan vastaavalla tavalla derivoimalla edell&#x00E4; saatua
yht&#x00E4;l&#x00F6;&#x00E4; edelleen. Lausekkeet k&#x00E4;yv&#x00E4;t kuitenkin varsin mutkikkaiksi.
</p><!--l. 72--><p class="noindent">Kiinnitt&#x00E4;m&#x00E4;ll&#x00E4; Taylorin polynomin aste
<!--l. 72--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>n</mi></math>,
pudottamalla j&#x00E4;&#x00E4;nn&#x00F6;stermi pois ja k&#x00E4;ytt&#x00E4;m&#x00E4;ll&#x00E4; funktionarvolle
<!--l. 73--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi> </mrow> </msub 
> </mrow><mo 
class="MathClass-close">)</mo></mrow></math> sille aiemmin laskettua
approksimaatiota <!--l. 74--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></math> saadaan
menetelm&#x00E4; funktionarvon <!--l. 75--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
approksimaation laskemiseen:
</p>
                                                                                 
                                                                                 
<div class="math-display"><!--l. 76--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="block" ><mrow 
>
                      <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">&#x2248;</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>g</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mo 
class="MathClass-op">&#x2026;</mo><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-punc">.</mo>
</mrow></math></div>
<!--l. 78--><p class="nopar">T&#x00E4;ss&#x00E4; <!--l. 79--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>g</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mo 
class="MathClass-op">&#x2026;</mo><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
tarkoittaa joko edell&#x00E4; k&#x00E4;sitellyst&#x00E4; hakasulkulauseketta saatavaa termi&#x00E4; tai sille jollakin
tavalla muodostettua, helpommin laskettavaa approksimaatiota. Approksimaatio voi perustua funktion
<!--l. 82--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>f</mi></math>&#x0020;
osittaisderivaattojen sijasta yhteen tai useampaan jo laskettuun arvoon
<!--l. 83--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn> </mrow> </msub 
> </math>,
<!--l. 83--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn> </mrow> </msub 
> </math>,
<!--l. 83--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mo 
class="MathClass-op">&#x2026;</mo><mspace width="0em" class="thinspace"/></math>,
<!--l. 83--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi> </mrow> </msub 
> </math>.
</p><!--l. 85--><p class="noindent"><span 
class="aebx-10">2) </span>Integroimalla differentiaaliyht&#x00E4;l&#x00F6; <!--l. 85--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
puolittain v&#x00E4;lin <!--l. 86--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow><mo 
class="MathClass-open">[</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>h</mi></mrow><mo 
class="MathClass-close">]</mo></mrow></math>&#x0020;
yli saadaan
</p>
<div class="math-display"><!--l. 87--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="block" ><mrow 
>
                       <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-bin">&#x2212;</mo> <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo><msubsup><mrow 
><mo mathsize="big" 
> &#x222B;</mo>
  <!--nolimits--></mrow><mrow 
><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
></mrow><mrow 
><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><mi 
>h</mi></mrow></msubsup 
><mi 
>f</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow><mspace width="0em" class="thinspace"/><mi 
>d</mi><mi 
>x</mi><mo 
class="MathClass-punc">.</mo>
</mrow></math></div>
<!--l. 89--><p class="nopar">Oikean puolen integraalia ei kuitenkaan voida laskea, koska funktiota
<!--l. 91--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> ei
tunneta.
</p><!--l. 93--><p class="noindent">Approksimoimalla funktiota <!--l. 93--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>f</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
jollakin tavoin v&#x00E4;lill&#x00E4; <!--l. 94--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow><mo 
class="MathClass-open">[</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>h</mi></mrow><mo 
class="MathClass-close">]</mo></mrow></math>,
voidaan integraalille laskea likim&#x00E4;&#x00E4;r&#x00E4;isarvio
<!--l. 95--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>I</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi> </mrow> </msub 
> <mo 
class="MathClass-punc">,</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn> </mrow> </msub 
> <mo 
class="MathClass-punc">,</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn> </mrow> </msub 
> <mo 
class="MathClass-punc">,</mo> <mo 
class="MathClass-op">&#x2026;</mo> <mo 
class="MathClass-punc">,</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>.
T&#x00E4;m&#x00E4;n perustana voidaan k&#x00E4;ytt&#x00E4;&#x00E4; yht&#x00E4; tai useampaa jo lasketuista arvoista
<!--l. 96--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn> </mrow> </msub 
> </math>,
<!--l. 96--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn> </mrow> </msub 
> </math>,
<!--l. 96--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mo 
class="MathClass-op">&#x2026;</mo><mspace width="0em" class="thinspace"/></math>,
<!--l. 96--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi> </mrow> </msub 
> </math>.
Vastaavasti kuin edell&#x00E4; saadaan menetelm&#x00E4; funktionarvon
<!--l. 98--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn> </mrow> </msub 
> </mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi> </mrow> </msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>&#x0020;
                                                                                 
                                                                                 
approksimoimiseen:
</p>
<div class="math-display"><!--l. 99--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="block" ><mrow 
>
                      <mi 
>y</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">&#x2248;</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
> <mo 
class="MathClass-bin">+</mo> <mi 
>I</mi><mrow><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mo 
class="MathClass-op">&#x2026;</mo><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>k</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mi 
>h</mi></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-punc">.</mo>
</mrow></math></div>
<!--l. 101--><p class="nopar">
</p><!--l. 103--><p class="noindent">Yksinkertaisia esimerkkej&#x00E4; em.&#x00A0;ideoista ovat Eulerin menetelm&#x00E4; ja parannettu
Eulerin menetelm&#x00E4;. Ne ovat kuitenkin liian ep&#x00E4;tarkkoja todellisissa ongelmissa.
K&#x00E4;ytt&#x00F6;kelpoisia menetelmi&#x00E4; ovat esimerkiksi edelliseen l&#x00E4;hestymistapaan perustuva
Rungen &#8211; Kuttan menetelm&#x00E4; ja j&#x00E4;lkimm&#x00E4;iseen perustuva Adamsin &#8211; Bashforthin
menetelm&#x00E4;.
</p><!--l. 109--><p class="noindent"><span 
class="ecbx-1000">Linkkej</span><span 
class="ecbx-1000">&#x00E4;</span>
</p><!--l. 109--><p class="noindent"><a 
href="../xml/nkknum.xml" >numeerinen n&#x00E4;k&#x00F6;kulma</a>
<br class="newline" /> <a 
href="../xml/numkkl.xml" >perusidea korkeamman kertaluvun yht&#x00E4;l&#x00F6;lle</a>
<br class="newline" /> <a 
href="../xml/numeul.xml" >Eulerin menetelm&#x00E4;</a>
<br class="newline" /> <a 
href="../xml/numheu.xml" >parannettu Eulerin menetelm&#x00E4;</a>
<br class="newline" /> <a 
href="../xml/numrgk.xml" >Rungen &#x2013; Kuttan menetelm&#x00E4;</a>
<br class="newline" /> <a 
href="../xml/numadb.xml" >Adamsin &#x2013; Bashforthin menetelm&#x00E4;</a>
<br class="newline" /> <a 
href="../xml_mma/nummen.xml" >1. kertaluvun yht&#x00E4;l&#x00F6;n numeerinen ratkaiseminen, esimerkki (mma-versio)</a>
<br class="newline" /> <a 
href="../xml_mpl/nummen.xml" >1. kertaluvun yht&#x00E4;l&#x00F6;n numeerinen ratkaiseminen, esimerkki (mpl-versio)</a>
<br class="newline" />
<br class="newline" />
<span 
class="ecti-1000">Simo K. Kivel</span><span 
class="ecti-1000">&#x00E4;</span>    29.03.2001
</p>
 
</body> 
</html>
