<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AJCM</journal-id><journal-title-group><journal-title>American Journal of Computational Mathematics</journal-title></journal-title-group><issn pub-type="epub">2161-1203</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ajcm.2016.62008</article-id><article-id pub-id-type="publisher-id">AJCM-67068</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Random Crank-Nicolson Scheme for Random Heat Equation in Mean Square Sense
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>.</surname><given-names>T. Yassen</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>M.</surname><given-names>A. Sohaly</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Islam</surname><given-names>Elbaz</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, Faculty of Science, Mansoura University, Mansoura, Egypt</addr-line></aff><pub-date pub-type="epub"><day>27</day><month>04</month><year>2016</year></pub-date><volume>06</volume><issue>02</issue><fpage>66</fpage><lpage>73</lpage><history><date date-type="received"><day>2</day>	<month>February</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>5</month>	<year>February</year>	</date><date date-type="accepted"><day>3</day>	<month>June</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The goal of computational science is to develop models that predict phenomena observed in nature. However, these models are often based on parameters that are uncertain. In recent decades, main numerical methods for solving SPDEs have been used such as, finite difference and finite element schemes [1]-[5]. Also, some practical techniques like the method of lines for boundary value problems have been applied to the linear stochastic partial differential equations, and the outcomes of these approaches have been experimented numerically [7]. In [8]-[10], the author discussed mean square convergent finite difference method for solving some random partial differential equations. Random numerical techniques for both ordinary and partial random differential equations are treated in [4] [10]. As regards applications using explicit analytic solutions or numerical methods, a few results may be found in [5] [6] [11]. This article focuses on solving random heat equation by using Crank-Nicol- son technique under mean square sense and it is organized as follows. In Section 2, the mean square calculus preliminaries that will be required throughout the paper are presented. In Section 3, the Crank-Nicolson scheme for solving the random heat equation is presented. In Section 4, some case studies are showed. Short conclusions are cleared in the end section.
 
</p></abstract><kwd-group><kwd>Random Partial Differential Equations (RPDEs)</kwd><kwd> Mean Square Sense (m.s)</kwd><kwd> Second Order Random Variable (2&lt;i&gt;r.v.&amp;apos;s&lt;/i&gt;)</kwd><kwd> Random Crank-Nicolson Scheme</kwd><kwd> Convergence</kwd><kwd> Consistency</kwd><kwd> Stability</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The goal of computational science is to develop models that predict phenomena observed in nature. However, these models are often based on parameters that are uncertain. In recent decades, main numerical methods for solving SPDEs have been used such as, finite difference and finite element schemes [<xref ref-type="bibr" rid="scirp.67068-ref1">1</xref>] - [<xref ref-type="bibr" rid="scirp.67068-ref5">5</xref>] . Also, some practical techniques like the method of lines for boundary value problems have been applied to the linear stochastic partial differential equations, and the outcomes of these approaches have been experimented numerically [<xref ref-type="bibr" rid="scirp.67068-ref7">7</xref>] . In [<xref ref-type="bibr" rid="scirp.67068-ref8">8</xref>] - [<xref ref-type="bibr" rid="scirp.67068-ref10">10</xref>] , the author discussed mean square convergent finite difference method for solving some random partial differential equations. Random numerical techniques for both ordinary and partial random differential equations are treated in [<xref ref-type="bibr" rid="scirp.67068-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.67068-ref10">10</xref>] . As regards applications using explicit analytic solutions or numerical methods, a few results may be found in [<xref ref-type="bibr" rid="scirp.67068-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.67068-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.67068-ref11">11</xref>] . This article focuses on solving random heat equation by using Crank-Nicol- son technique under mean square sense and it is organized as follows. In Section 2, the mean square calculus preliminaries that will be required throughout the paper are presented. In Section 3, the Crank-Nicolson scheme for solving the random heat equation is presented. In Section 4, some case studies are showed. Short conclusions are cleared in the end section.</p></sec><sec id="s2"><title>2. Preliminaries</title><p>Definition 2.1. Let us take in to consideration that, the properties of a class of real random variables</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x7.png" xlink:type="simple"/></inline-formula>whose second moments, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x8.png" xlink:type="simple"/></inline-formula>are finite. In this case they are</p><p>called second order random variables<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x9.png" xlink:type="simple"/></inline-formula>.</p><p>Definition 2.2. A sequence of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x10.png" xlink:type="simple"/></inline-formula> is mean square convergent to a random variable X if: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x11.png" xlink:type="simple"/></inline-formula></p></sec><sec id="s3"><title>3. Random Crank-Nicolson Scheme (RCNS)</title><p>If we have the linear random heat problem of the form:</p><disp-formula id="scirp.67068-formula880"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x12.png"  xlink:type="simple"/></disp-formula><p>Where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x13.png" xlink:type="simple"/></inline-formula> is a second order random variable.</p><disp-formula id="scirp.67068-formula881"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x14.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula882"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x15.png"  xlink:type="simple"/></disp-formula><p>Then, we can find the random Crank-Nicolson scheme for this problem as follows:</p><p>Take a uniform mesh with step size <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x16.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x17.png" xlink:type="simple"/></inline-formula> on x-axis and t-axis respectively. Additionally, Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x18.png" xlink:type="simple"/></inline-formula> approximates u(x, t) at point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x19.png" xlink:type="simple"/></inline-formula>. Hence<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x20.png" xlink:type="simple"/></inline-formula>. On this mesh we have:</p><disp-formula id="scirp.67068-formula883"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x21.png"  xlink:type="simple"/></disp-formula><p>Then,</p><disp-formula id="scirp.67068-formula884"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x22.png"  xlink:type="simple"/></disp-formula><p>Similarly,</p><disp-formula id="scirp.67068-formula885"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x23.png"  xlink:type="simple"/></disp-formula><p>Then,</p><disp-formula id="scirp.67068-formula886"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x24.png"  xlink:type="simple"/></disp-formula><p>Hence for (1):</p><disp-formula id="scirp.67068-formula887"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x25.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula888"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x26.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula889"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x27.png"  xlink:type="simple"/></disp-formula><p>Put <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x28.png" xlink:type="simple"/></inline-formula></p><p>Hence, the RCNS for our problem is:</p><disp-formula id="scirp.67068-formula890"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x29.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula891"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x30.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula892"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x31.png"  xlink:type="simple"/></disp-formula><sec id="s3_1"><title>3.1. Consistency of RCNS</title><p>We can rewrite the above scheme as:</p><disp-formula id="scirp.67068-formula893"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x32.png"  xlink:type="simple"/></disp-formula><p>The above scheme is a random Crank-Nicolson version of (1 - 3). For a RPDE, say Lv = G where L is a differentiable operator and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x33.png" xlink:type="simple"/></inline-formula>. On the other hand, we represent finite difference scheme at the point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x34.png" xlink:type="simple"/></inline-formula> by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x35.png" xlink:type="simple"/></inline-formula>.</p><p>Definition 3.1.1. A random difference scheme <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x36.png" xlink:type="simple"/></inline-formula> that approximating RPDE Lv = G is consistent in mean square sense at time<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x37.png" xlink:type="simple"/></inline-formula>, if for any continuously differentiable function<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x38.png" xlink:type="simple"/></inline-formula>, we have in mean square:</p><disp-formula id="scirp.67068-formula894"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x39.png"  xlink:type="simple"/></disp-formula><p>As <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x40.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x41.png" xlink:type="simple"/></inline-formula></p><p>Theorem 3.1.1. The random Crank-Nicolson difference scheme (4)-(6) with second order random variable is to be consistent in mean square sense as: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x42.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x43.png" xlink:type="simple"/></inline-formula>.</p><p>Proof. Assume that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x44.png" xlink:type="simple"/></inline-formula> is a deterministic smooth function then:</p><disp-formula id="scirp.67068-formula895"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x45.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula896"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x46.png"  xlink:type="simple"/></disp-formula><p>Then,</p><disp-formula id="scirp.67068-formula897"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x47.png"  xlink:type="simple"/></disp-formula><p>As:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x48.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x49.png" xlink:type="simple"/></inline-formula>and at time<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x50.png" xlink:type="simple"/></inline-formula>, Then we have</p><disp-formula id="scirp.67068-formula898"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x51.png"  xlink:type="simple"/></disp-formula><p>Hence, the random Crank-Nicolson scheme (4)-(6) is consistent in mean square sense.∎</p></sec><sec id="s3_2"><title>3.2. Exponential Stability Analysis of RCNS</title><p>Definition 3.2.1. A random Crank-Nicolson difference scheme <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x52.png" xlink:type="simple"/></inline-formula> is exponential stable in mean square if there exist some positive constants a, c and constants k, b. Such that:</p><disp-formula id="scirp.67068-formula899"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x53.png"  xlink:type="simple"/></disp-formula><p>For: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x54.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x55.png" xlink:type="simple"/></inline-formula></p><p>Theorem 3.2.1. The random Crank-Nicolson scheme (4)-(6) with second order random variable is unconditionally stable in mean square sense as with k = 1 and b = 0.</p><p>Proof: Since,</p><disp-formula id="scirp.67068-formula900"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x56.png"  xlink:type="simple"/></disp-formula><p>Then,</p><disp-formula id="scirp.67068-formula901"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x57.png"  xlink:type="simple"/></disp-formula><p>Finally, we have: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x58.png" xlink:type="simple"/></inline-formula></p><p>At: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x59.png" xlink:type="simple"/></inline-formula>then, we have:</p><disp-formula id="scirp.67068-formula902"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x60.png"  xlink:type="simple"/></disp-formula><p>Hence, the random Crank-Nicolson difference scheme with second order random variable is unconditionally stable with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x61.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x62.png" xlink:type="simple"/></inline-formula>. ∎</p></sec><sec id="s3_3"><title>3.3. Convergence of RCNS</title><p>Definition 3.3.1. A random difference scheme <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x63.png" xlink:type="simple"/></inline-formula> that approximating RPDE Lv = G is convergent in mean square sense at time<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x64.png" xlink:type="simple"/></inline-formula>, if:</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x65.png" xlink:type="simple"/></inline-formula>, as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x66.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x67.png" xlink:type="simple"/></inline-formula></p><p>Theorem 3.3.1. The random Crank-Nicolson difference scheme (4)-(6) with second order random variables is convergent in mean square sense.</p><p>Proof.</p><p>Since, the RCNS is consistent and unconditionally exponential stable, thus, the scheme (4)-(6) is convergent in mean square sense.∎</p></sec></sec><sec id="s4"><title>4. Case Studies</title><p>Consider the linear random parabolic partial differential equation:</p><disp-formula id="scirp.67068-formula903"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x68.png"  xlink:type="simple"/></disp-formula><p>With initial condition</p><disp-formula id="scirp.67068-formula904"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x69.png"  xlink:type="simple"/></disp-formula><p>and the boundary conditions</p><disp-formula id="scirp.67068-formula905"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x70.png"  xlink:type="simple"/></disp-formula><p>And is a second order random variable.</p><sec id="s4_1"><title>4.1. The Exact Relation</title><disp-formula id="scirp.67068-formula906"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x71.png"  xlink:type="simple"/></disp-formula></sec><sec id="s4_2"><title>4.2. The Numerical Solution</title><p>The Random Crank-Nicolson Difference Scheme for this problem is</p><disp-formula id="scirp.67068-formula907"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1100502x72.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x73.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x74.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x75.png" xlink:type="simple"/></inline-formula></p><p>Substituting by <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x76.png" xlink:type="simple"/></inline-formula> in (9) we have:</p><disp-formula id="scirp.67068-formula908"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x77.png"  xlink:type="simple"/></disp-formula><p>Putting n = 0 in the above system then we have:</p><disp-formula id="scirp.67068-formula909"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x78.png"  xlink:type="simple"/></disp-formula><p>Then, we have the system:</p><disp-formula id="scirp.67068-formula910"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x79.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula911"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x80.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula912"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x81.png"  xlink:type="simple"/></disp-formula><p>From this system we have:</p><disp-formula id="scirp.67068-formula913"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x82.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula914"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x83.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67068-formula915"><graphic  xlink:href="http://html.scirp.org/file/2-1100502x84.png"  xlink:type="simple"/></disp-formula>Verification for the Convergence of Mean<p>(1) Changing step size <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x85.png" xlink:type="simple"/></inline-formula></p><p>・ Choosing: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x86.png" xlink:type="simple"/></inline-formula></p><p>・ Choosing: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x93.png" xlink:type="simple"/></inline-formula></p><p>(2) Changing step size <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x100.png" xlink:type="simple"/></inline-formula></p><p>・ Choosing: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x101.png" xlink:type="simple"/></inline-formula></p><p>・ Choosing: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x108.png" xlink:type="simple"/></inline-formula></p><p>(3) Changing the expectations</p><p>・ Choosing: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x115.png" xlink:type="simple"/></inline-formula></p><p>・ Choosing: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x122.png" xlink:type="simple"/></inline-formula></p><p>From these tables we note that the error is acceptable if:</p><p>1) The changing happens in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x129.png" xlink:type="simple"/></inline-formula> when <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x130.png" xlink:type="simple"/></inline-formula> are constant values.</p><p>2) The changing happens in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x131.png" xlink:type="simple"/></inline-formula> when <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x132.png" xlink:type="simple"/></inline-formula> are constant values.</p><p>3) The changing happens in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x133.png" xlink:type="simple"/></inline-formula> when <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1100502x134.png" xlink:type="simple"/></inline-formula> are constant values.</p></sec></sec><sec id="s5"><title>5. Conclusion</title><p>The random heat equation can be solved numerically by using mean square convergent Crank-Nicolson scheme. The random variable in the Crank-Nicolson scheme is must second order random variable and the random Crank-Nicolson scheme is unconditionally stable in the area of mean square sense. Many complicated equations in linear and nonlinear parabolic partial differential problems can be discussed using finite difference schemes in mean square sense.</p></sec><sec id="s6"><title>Cite this paper</title><p>M. T. Yassen,M. A. Sohaly,Islam Elbaz, (2016) Random Crank-Nicolson Scheme for Random Heat Equation in Mean Square Sense. American Journal of Computational Mathematics,06,66-73. doi: 10.4236/ajcm.2016.62008</p></sec></body><back><ref-list><title>References</title><ref id="scirp.67068-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Soong, T.T. (1973) Random Differential Equations in Science and Engineering. Academic Press, New York.</mixed-citation></ref><ref id="scirp.67068-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Thomas, J. (1998) Numerical Partial Differential Equations: Finite Difference Methods, Texts in Applied Mathematics. Springer.</mixed-citation></ref><ref id="scirp.67068-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Allen, E.J., Novosel, S.J. and Zhang, Z.C. (1998) Finite Element and Difference Approximation of Some Linear Stochastic Partial Differential Equations. Stochastics and Stochastic Reports, 64, 117-142. http://dx.doi.org/10.1080/17442509808834159</mixed-citation></ref><ref id="scirp.67068-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Davie, A.J. and Gaines, J.G. (2001) Convergence of Numerical Schemes for the Solution of Parabolic Stochastic Partial Differential Equations. Mathematics of Computations, 70, 121-134. http://dx.doi.org/10.1090/S0025-5718-00-01224-2</mixed-citation></ref><ref id="scirp.67068-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">McDonald, S. (2006) Finite Difference Approximation for Linear Stochastic Partial Differential Equation with Method of Lines. MPRA Paper, 3983.</mixed-citation></ref><ref id="scirp.67068-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Cortes, J.C., Lucas J&amp;oacute;dar, L. and Villafuerte, R.J. (2007) Villanueva: Computing Mean Square Approximations of Random Diffusion Models with Source Term. Mathematics and Computers in Simulation, 76, 44-48. http://dx.doi.org/10.1016/j.matcom.2007.01.020</mixed-citation></ref><ref id="scirp.67068-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">El-Tawil, M.A. and Sohaly, M.A. (2009) Mean Square Numerical Methods for Initial Value Random Differential Equations. Open Journal of Discrete Mathematics (OJDM), 1, 66-84,</mixed-citation></ref><ref id="scirp.67068-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">El-Tawil, M.A. and Sohaly, M.A. (2012) Mean Square Convergent Three Points Finite Difference Scheme for Random Partial Differential Equations. Journal of the Egyptian Mathematical Society, 20, 188-204. http://dx.doi.org/10.1016/j.joems.2012.08.017</mixed-citation></ref><ref id="scirp.67068-ref9"><label>9</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Sohaly</surname><given-names> M.A. </given-names></name>,<etal>et al</etal>. (<year>2014</year>)<article-title>Mean Square Heun’s Method Convergent for Solving Random Differential Initial Value Problems of First Order</article-title><source> American Journal of Computational Mathematics</source><volume> 4</volume>,<fpage> 280</fpage>-<lpage>288</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.67068-ref10"><label>10</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Mohammed</surname><given-names> A.S. </given-names></name>,<etal>et al</etal>. (<year>2014</year>)<article-title>Mean Square Convergent Three and Five Points Finite Difference Scheme for Stochastic Parabolic Partial Differential Equations</article-title><source> Electronic Journal of Mathematical Analysis and Applications</source><volume> 2</volume>,<fpage> 164</fpage>-<lpage>171</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.67068-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Mohammed, W., Sohaly, M.A., El-Bassiouny, A. and Elnagar, K. (2014) Mean Square Convergent Finite Difference Scheme for Stochastic Parabolic PDEs. American Journal of Computational Mathematics, 4, 280-288. http://dx.doi.org/10.4236/ajcm.2014.44024</mixed-citation></ref></ref-list></back></article>