<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Scilab%2FC4%2FIntegration%2FEnglish</id>
		<title>Scilab/C4/Integration/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Scilab%2FC4%2FIntegration%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;action=history"/>
		<updated>2026-05-04T18:40:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=7993&amp;oldid=prev</id>
		<title>Nancyvarkey at 02:37, 22 December 2013</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=7993&amp;oldid=prev"/>
				<updated>2013-12-22T02:37:40Z</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;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:37, 22 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;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;style=&amp;quot;&lt;/del&gt;border&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-spacing:0;&amp;quot;&lt;/del&gt;&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;{|border&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=1&lt;/ins&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;div&gt;! &amp;lt;center&amp;gt;Visual Cue&amp;lt;/center&amp;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;! &amp;lt;center&amp;gt;Visual Cue&amp;lt;/center&amp;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;div&gt;! &amp;lt;center&amp;gt;Narration&amp;lt;/center&amp;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;! &amp;lt;center&amp;gt;Narration&amp;lt;/center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=7992&amp;oldid=prev</id>
		<title>Nancyvarkey at 02:34, 22 December 2013</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=7992&amp;oldid=prev"/>
				<updated>2013-12-22T02:34:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;amp;diff=7992&amp;amp;oldid=7897&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=7897&amp;oldid=prev</id>
		<title>Lavitha Pereira at 04:46, 18 December 2013</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=7897&amp;oldid=prev"/>
				<updated>2013-12-18T04:46:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;amp;diff=7897&amp;amp;oldid=4410&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Lavitha Pereira</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=4410&amp;oldid=prev</id>
		<title>Lavitha Pereira: Created page with ''''Title of script''': Numerical Methods for Integration  '''Author: Shamika'''  '''Keywords: Integration, Numerical Methods, integral'''   {| style=&quot;border-spacing:0;&quot; ! &lt;center…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Scilab/C4/Integration/English&amp;diff=4410&amp;oldid=prev"/>
				<updated>2013-06-13T05:22:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;&amp;#039;&amp;#039;&amp;#039;Title of script&amp;#039;&amp;#039;&amp;#039;: Numerical Methods for Integration  &amp;#039;&amp;#039;&amp;#039;Author: Shamika&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Keywords: Integration, Numerical Methods, integral&amp;#039;&amp;#039;&amp;#039;   {| style=&amp;quot;border-spacing:0;&amp;quot; ! &amp;lt;center…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of script''': Numerical Methods for Integration&lt;br /&gt;
&lt;br /&gt;
'''Author: Shamika'''&lt;br /&gt;
&lt;br /&gt;
'''Keywords: Integration, Numerical Methods, integral'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;&amp;quot;&lt;br /&gt;
! &amp;lt;center&amp;gt;Visual Cue&amp;lt;/center&amp;gt;&lt;br /&gt;
! &amp;lt;center&amp;gt;Narration&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 1&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Dear Friends,&lt;br /&gt;
&lt;br /&gt;
Welcome to the Spoken Tutorial on “''' Composite Numerical Integration'''”''' '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 2,3 -Learning Objective Slide&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| At the end of this tutorial, you will learn how to: &lt;br /&gt;
&lt;br /&gt;
* Develop '''Scilab''' code for different '''Composite Numerical Integration algorithms'''&lt;br /&gt;
* Divide the''' integral''' into equal '''intervals'''&lt;br /&gt;
* Apply the algorithm to each '''interval'''&lt;br /&gt;
* Calculate the '''composite value of the integral''' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 4-System Requirement slide&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * To record this tutorial, I am using '''Ubuntu 12.04''' as the operating system with '''Scilab 5.3.3''' version &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 5- Prerequisites slide&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Before practising this tutorial, a learner should have basic knowledge of '''Scilab and Integration using Numerical Methods'''&lt;br /&gt;
&lt;br /&gt;
* For Scilab, please refer to the relevant tutorials available on the '''Spoken Tutorial '''website. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 6- Numerical Integration&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| '''Numerical Integration''' is the:&lt;br /&gt;
* Study of how the numerical value of an '''integral '''can be found&lt;br /&gt;
* It is used when exact mathematical integration is not available&lt;br /&gt;
* It approximates a definite '''integral '''from values of the &amp;lt;br/&amp;gt; '''integrand '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 7,8- Composite Trapezoidal Rule-I&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| '''Composite Trapezoidal Rule''' is&lt;br /&gt;
&lt;br /&gt;
* The extension of '''trapezoidal rule'''&lt;br /&gt;
* We divide the interval '''a comma b '''into n equal intervals &lt;br /&gt;
* Then,&lt;br /&gt;
* '''h equal to b minus a divided by n''' is the common length of the intervals &lt;br /&gt;
* Then '''composite trapezoidal rule '''is given by &amp;lt;br/&amp;gt; &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;'''The integral of the function F of x in the interval a to b is approximately equal to h multiplied by the sum of the values of the function at x zero to x n'''&amp;lt;br/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 9- Example&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Let us solve an example using '''composite trapezoidal rule''':&lt;br /&gt;
* Assume the number of intervals n is equal to 10.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Show the code for Trap_composite.sci on Scilab Editor &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Let us look at the code for C'''omposite Trapezoidal Rule '''on''' Scilab Editor'''&lt;br /&gt;
* We first define the function with parameters''' f , a , b , n. f refers to the function we have to solve, a is the lower limit of the integral, b is the upper limit of the integral and n is the number of intervals. '''&lt;br /&gt;
* '''linspace''' function is used to create 10 equal intervals between 0 and 1&lt;br /&gt;
* '''We find the value of the integral and store it in I1'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Click on Execute on Scilab editor and choose Save and Execute the code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Click on '''Execute''' on '''Scilab editor''' and choose '''Save and Execute''' the code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Switch to Scilab Console&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;deff ('[y]=f(x)','y=1/(2*x+1)')&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Trap_composite(f, 0, 1, 10)'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Define the example function by typing:&lt;br /&gt;
* '''d e f f open paranthesis open single quote open square bracket y close square bracket is equal to f of x close quote comma open quote y is equal to one by open paranthesis two asterisk x plus one close paranthesis close quote close paranthesis'''&lt;br /&gt;
* Press enter&lt;br /&gt;
* Type &lt;br /&gt;
* '''Trap underscore composite open paranthesis f comma zero comma one comma ten close paranthesis'''&lt;br /&gt;
* Press enter&lt;br /&gt;
* The answer is displayed on the console&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 10, 11- Composite Simpson's Rule&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| In '''Composite simpson's rule''', we &lt;br /&gt;
&lt;br /&gt;
* decompose the interval''' '''&amp;lt;nowiki&amp;gt;[a comma b]&amp;lt;/nowiki&amp;gt; into '''''n is greater than 1 '''''subintervals of equal length &lt;br /&gt;
* Apply '''Simpson's rule''' to each interval&lt;br /&gt;
* We get the value of the integral to be&amp;lt;br/&amp;gt; &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;'''h by 3 multiplied by the sum of f zero, 4 into f one , 2 into f two to f n''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 12- Example&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Let us solve an example using '''Composite Simpson's rule'''&lt;br /&gt;
* We are given a '''function one by one plus x cube d x in the interval one to two'''&lt;br /&gt;
* Let the number of intervals be 20&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Switch to Scilab Editor and show the code for Simp_composite.sci&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Let us look at the code for '''Composite simpson's rule'''&lt;br /&gt;
* '''We first define the function with parameters f , a , b , n. '''&amp;lt;br/&amp;gt; '''f refers to the function we have to solve, a is the lower limit of the integral, b is the upper limit of the integral and n is the number of intervals.'''&lt;br /&gt;
* We find two sets of points&lt;br /&gt;
* We find the value of the function with one set and multiply it with 2&lt;br /&gt;
* With the other set we find the value and multiply it with 4&lt;br /&gt;
* We sum these values and multiply it with h by 3 and store the final value in I&lt;br /&gt;
* Let us execute the code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Click on Execute and choose&lt;br /&gt;
&lt;br /&gt;
Save and execute the file&lt;br /&gt;
&lt;br /&gt;
Simp_composite.sci&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Save and execute the file&lt;br /&gt;
* '''Simp underscore composite dot s c i'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Switch to Scilab Console&lt;br /&gt;
&lt;br /&gt;
'''Type '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''clc'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;deff ('[y]=f(x)','y=sin*x+sin*(2*x)')&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Simp_composite( f, 0, %pi, 20)'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Let me clear the screen first.&lt;br /&gt;
* Define the function given in the example by typing&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;[d e f f open paranthesis open single quote open square bracket y close square bracket is equal to f of x close quote comma open quote y is equal to sine asterisk x plus sine asterisk open paranthesis two asterisk x close paranthesis close quote close paranthesis]&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
* Press enter&lt;br /&gt;
* '''Type Simp underscore composite open paranthesis f comma one comma two comma twenty close paranthesis'''&lt;br /&gt;
* Press enter&lt;br /&gt;
* The answer is displayed on the console&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 13, 14- Composite Midpoint Rule&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us now look at '''Composite Midpoint Rule. It'''&lt;br /&gt;
* Integrates polynomials of degree one or less&lt;br /&gt;
* Divides the interval &amp;lt;nowiki&amp;gt;[ a comma b ]into n subintervals of equal width&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Finds the '''midpoint '''of each interval indicated by x i &lt;br /&gt;
* We find the sum of the values of the integral at each midpoint &amp;lt;br/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 15- Example&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us solve this problem using '''Composite Midpoint Rule'''&lt;br /&gt;
* '''We are given a function one minus x square d x in the interval zero to one point five'''&lt;br /&gt;
* We assume n is equal to 20&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Switch to Scilab Editor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Show the file mid_composite.sci&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Let us look at the code for '''Composite Midpoint rule'''&lt;br /&gt;
* '''We first define the function with parameters f , a , b , n. '''&amp;lt;br/&amp;gt; '''f refers to the function we have to solve, a is the lower limit of the integral, b is the upper limit of the integral and n is the number of intervals.'''&lt;br /&gt;
* We find the '''midpoint '''of each interval&lt;br /&gt;
* Find the value of '''integral''' at each '''midpoint''' and then find the sum and store it in I. &lt;br /&gt;
* Let us now solve the example &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Click on Execute and choose&lt;br /&gt;
&lt;br /&gt;
Save and execute the file mid_composite.sci&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Save and execute the file '''mid underscore composite dot s c i '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| On the Scilab Console type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''clc'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;deff ('[y]=f(x)','y=1-x^2')&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type '''mid_composite(f, 0, 1.5, 20)'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Let me clear the screen&lt;br /&gt;
* We define the function given in the example by typing &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;[d e f f open paranthesis open single quote open square bracket y close square bracket is equal to f of x close quote comma open quote y is equal to one minus x square close quote close paranthesis]&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
* Press enter&lt;br /&gt;
* Then type &amp;lt;br/&amp;gt; '''&amp;lt;nowiki&amp;gt;[mid underscore composite open paranthesis f comma zero comma one point five comma twenty close paranthesis]&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
* Press enter&lt;br /&gt;
* The answer is displayed on the console&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 16- Summary&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us summarize this tutorial. In this tutorial we have learnt to:&lt;br /&gt;
&lt;br /&gt;
* Develop '''Scilab''' code for '''numerical integration'''&lt;br /&gt;
* Find the value of an '''integral '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| '''Show Slide 17'''&lt;br /&gt;
&lt;br /&gt;
'''Title: About the Spoken Tutorial Project''' &lt;br /&gt;
&lt;br /&gt;
* Watch the video available at [http://spoken-tutorial.org/What_is_a_Spoken_Tutorial http://spoken-tutorial.org/What_is_a_Spoken_Tutorial] &lt;br /&gt;
&lt;br /&gt;
* It summarises the Spoken Tutorial project &lt;br /&gt;
&lt;br /&gt;
* If you do not have good bandwidth, you can download and watch it &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Watch the video available at the following link &lt;br /&gt;
&lt;br /&gt;
* It summarises the Spoken Tutorial project &lt;br /&gt;
&lt;br /&gt;
* If you do not have good bandwidth, you can download and watch it &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| '''Show Slide 18'''&lt;br /&gt;
&lt;br /&gt;
'''Title: Spoken Tutorial Workshops''' &lt;br /&gt;
&lt;br /&gt;
The Spoken Tutorial Project Team &lt;br /&gt;
&lt;br /&gt;
* Conducts workshops using spoken tutorials &lt;br /&gt;
&lt;br /&gt;
* Gives certificates for those who pass an online test &lt;br /&gt;
&lt;br /&gt;
* For more details, please write to contact@spoken-tutorial.org &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| The Spoken Tutorial Project Team &lt;br /&gt;
&lt;br /&gt;
* Conducts workshops using spoken tutorials &lt;br /&gt;
&lt;br /&gt;
* Gives certificates for those who pass an online test &lt;br /&gt;
&lt;br /&gt;
* For more details, please write to contact at spoken hyphen tutorial dot org &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| '''Show Slide 19'''&lt;br /&gt;
&lt;br /&gt;
'''Title: Acknowledgement''' &lt;br /&gt;
&lt;br /&gt;
* Spoken Tutorial Project is a part of the Talk to a Teacher project &lt;br /&gt;
&lt;br /&gt;
* It is supported by the National Mission on Education through ICT, MHRD, Government of India &lt;br /&gt;
&lt;br /&gt;
* More information on this Mission is available at &lt;br /&gt;
&lt;br /&gt;
* [http://spoken-tutorial.org/NMEICT-Intro http://spoken-][http://spoken-tutorial.org/NMEICT-Intro tutorial.org/NMEICT-][http://spoken-tutorial.org/NMEICT-Intro Intro] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| * Spoken Tutorial Project is a part of the Talk to a Teacher project &lt;br /&gt;
&lt;br /&gt;
* It is supported by the National Mission on Education through ICT, MHRD, Government of India &lt;br /&gt;
&lt;br /&gt;
* More information on this Mission is available at &lt;br /&gt;
&lt;br /&gt;
* spoken hyphen tutorial dot org slash NMEICT hyphen Intro &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Lavitha Pereira</name></author>	</entry>

	</feed>