<?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=OpenModelica%2FC2%2FDeveloping-an-equation-based-model%2FEnglish</id>
		<title>OpenModelica/C2/Developing-an-equation-based-model/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=OpenModelica%2FC2%2FDeveloping-an-equation-based-model%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;action=history"/>
		<updated>2026-05-14T12:10:08Z</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=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25898&amp;oldid=prev</id>
		<title>Nancyvarkey at 12:30, 24 February 2016</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25898&amp;oldid=prev"/>
				<updated>2016-02-24T12:30:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;amp;diff=25898&amp;amp;oldid=25859&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25859&amp;oldid=prev</id>
		<title>Kaushik Datta at 13:44, 23 February 2016</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25859&amp;oldid=prev"/>
				<updated>2016-02-23T13:44:06Z</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 13:44, 23 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 565:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 565:&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;div&gt;Acknowledgements&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;Acknowledgements&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;|| Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.&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;'''&lt;/ins&gt;Spoken Tutorial project&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is funded by NMEICT, MHRD, Government of India.&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;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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 571:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 571:&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;div&gt;Thanks&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;Thanks&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;|| We thank OpenModelica team for their support.&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;|| We thank &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;OpenModelica&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;team for their support.&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;div&gt;|| &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;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kaushik Datta</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25770&amp;oldid=prev</id>
		<title>Kaushik Datta at 10:02, 16 February 2016</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25770&amp;oldid=prev"/>
				<updated>2016-02-16T10:02:37Z</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 10:02, 16 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 495:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 495:&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;To save this '''class, '''click on ‘Save’ button in the toolbar. &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;To save this '''class, '''click on &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;‘Save’&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;button in the toolbar. &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;/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>Kaushik Datta</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25769&amp;oldid=prev</id>
		<title>Kaushik Datta at 10:01, 16 February 2016</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25769&amp;oldid=prev"/>
				<updated>2016-02-16T10:01:15Z</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 10:01, 16 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&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;div&gt;'''Title Slide'''&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;'''Title Slide'''&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;||Welcome to the spoken tutorial on Developing an equation&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/del&gt;based model.&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;||Welcome to the spoken tutorial on &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;Developing an equation based model&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&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;/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;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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&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;div&gt;'''Problem Statement'''&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;'''Problem Statement'''&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;|| Let us simulate the motion of a ball of mass `m', which is under free fall due to gravity.&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;|| Let us simulate the motion of a ball of mass &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;`m&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;', which is under free fall due to gravity.&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;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;The height of the ball from the surface of Earth is represented by variable ‘h’.&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;The height of the ball from the surface of Earth is represented by variable &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;‘h’&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&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;/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;The velocity of the ball is represented by variable ‘v’.&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;The velocity of the ball is represented by variable &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;‘v’&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&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;/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;‘Acceleration due to gravity’ is represented by ‘g’ and is assumed to be constant.&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;‘Acceleration due to gravity’ is represented by &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;‘g’&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;and is assumed to be constant.&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;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&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;“dh/dt = v” “dv/dt = g”&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;'''&lt;/ins&gt;“dh/dt = v”&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' '''&lt;/ins&gt;“dv/dt = g”&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&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;/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;The value of h at time t = 0 is 30 m and the value of v at time t = 0 is 0.&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;The value of h at time &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;t = 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;30&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;m and the value of v at time &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;t = 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&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;/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;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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 353:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 353:&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;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;−&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;|| '''der(h)''' = v;&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;|| '''der(h)''' = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;v&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&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;|| '''‘der()’''' represents the '''time derivative''' of a '''variable'''.&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;|| '''‘der()’''' represents the '''time derivative''' of a '''variable'''.&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;&gt;Line 360:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 360:&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;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;−&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;|| '''der(v)''' = g;&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;|| '''der(v)''' = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;g&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&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;|| '''der(v)''' represents '''dv/dt.'''&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;|| '''der(v)''' represents '''dv/dt.'''&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;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;−&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;|| der(v) = g '''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;''' &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;|| &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;der(v) = g&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;'''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;''' &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;|| Every equation ends with a '''semi-colon'''.&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;|| Every equation ends with a '''semi-colon'''.&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;&gt;Line 416:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 416:&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;'''‘Time’ '''is a built-in variable in '''Modelica'''. It always appears in '''‘variables browser’''.&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;'''‘Time’''' is a built-in variable in '''Modelica'''. It always appears in '''‘variables browser’&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&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;/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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 463:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 463:&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;'''&lt;/del&gt;But, the value of''' ‘h’ has gone below zero which is unacceptable.&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;But, the value of '''‘h’&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;has gone below zero which is unacceptable.&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;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 536:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 536:&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;|| As an assignment, write a model to simulate the differential equation&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;|| As an assignment, write a model to simulate the differential equation&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;−&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;* dx/dt = -a*x &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;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;dx/dt = -a*x &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;&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;* where a = 1, &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;* where &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;a = 1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;, &amp;#160;&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;* x is a real variable &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;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;x&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is a real variable &amp;#160;&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;* and the value of x at time t=0 is 5 units.&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;* and the value of x at time &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;t=0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;5&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;units.&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;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;/table&gt;</summary>
		<author><name>Kaushik Datta</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25761&amp;oldid=prev</id>
		<title>Kaushik Datta: Created page with &quot;{| border=1 ||'''Visual Cue''' ||'''Narration''' |- ||'''Slide Number 1'''  '''Title Slide''' ||Welcome to the spoken tutorial on Developing an equation-based model.  |- || Sl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenModelica/C2/Developing-an-equation-based-model/English&amp;diff=25761&amp;oldid=prev"/>
				<updated>2016-02-16T07:01:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| border=1 ||&amp;#039;&amp;#039;&amp;#039;Visual Cue&amp;#039;&amp;#039;&amp;#039; ||&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039; |- ||&amp;#039;&amp;#039;&amp;#039;Slide Number 1&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Title Slide&amp;#039;&amp;#039;&amp;#039; ||Welcome to the spoken tutorial on Developing an equation-based model.  |- || Sl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
||'''Visual Cue'''&lt;br /&gt;
||'''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
||'''Slide Number 1'''&lt;br /&gt;
&lt;br /&gt;
'''Title Slide'''&lt;br /&gt;
||Welcome to the spoken tutorial on Developing an equation-based model.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
&lt;br /&gt;
* Create a textual model in '''OMEdit''' and simulate it.&lt;br /&gt;
&lt;br /&gt;
* Declare variables and equations&lt;br /&gt;
&lt;br /&gt;
* Use '''Simulation Setup''' toolbox.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''.&lt;br /&gt;
|| To record this tutorial, I am using &lt;br /&gt;
&lt;br /&gt;
* '''OpenModelica 1.9.2 ''' and&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux OS 14.04'''&lt;br /&gt;
&lt;br /&gt;
But, this process is identical in '''Windows, Mac OS X '''or''' FOSSEE OS on ARM'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
Pre-requisites&lt;br /&gt;
|| To understand this tutorial, you should need to know&lt;br /&gt;
&lt;br /&gt;
* equation-based modeling of physical systems.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
'''Problem Statement'''&lt;br /&gt;
|| Let us simulate the motion of a ball of mass `m', which is under free fall due to gravity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The height of the ball from the surface of Earth is represented by variable ‘h’.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The velocity of the ball is represented by variable ‘v’.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
‘Acceleration due to gravity’ is represented by ‘g’ and is assumed to be constant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variables directed away from the surface of Earth, are considered positive.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
'''Freefall equations'''&lt;br /&gt;
|| The equations of motion for a freely falling body, are as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
“dh/dt = v” “dv/dt = g”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of h at time t = 0 is 30 m and the value of v at time t = 0 is 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| /* Switch to OMEdit */&lt;br /&gt;
|| Let me go to '''OMEdit'''. I have already launched it on my system.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| To open '''OMEdit '''on '''Ubuntu Linux OS''', click on '''Dash Home '''icon at the top left in the launcher. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type ‘OMEdit’ in the search bar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now click on the '''‘OMEdit’''' icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please go through pre-requisite tutorials for more information on '''Ubuntu Linux '''operating system.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let me go back to OMEdit.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| /* Switch to modeling perspective */&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the Modeling perspective button at the bottom right corner of OMEdit window.&lt;br /&gt;
|| '''‘OMEdit’''' by default, opens in the '''‘Welcome’''' perspective. &lt;br /&gt;
&lt;br /&gt;
At the bottom right-hand corner, you can locate buttons for '''‘Welcome’, ‘Modeling’''' and '''‘Plotting’''' perspectives.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me click on''' ‘Modeling''' perspective’.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘Modeling''' perspective’ has opened&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Move cursor over the area enclosed between Libraries Browser on the left.&lt;br /&gt;
&lt;br /&gt;
Messages Browser appears at the bottom.&lt;br /&gt;
&lt;br /&gt;
model file tabs on the top&lt;br /&gt;
|| I will be referring to the area between &lt;br /&gt;
&lt;br /&gt;
* Libraries Browser on the left, &lt;br /&gt;
&lt;br /&gt;
* Messages Browser at the bottom and&lt;br /&gt;
&lt;br /&gt;
* Toolbar on the top, as the '''modeling area'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Move cursor over the toolbar present above modeling area&lt;br /&gt;
|| The toolbar has buttons related to '''file operations, graphical view''' and '''simulation'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will learn about them as we go along.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Now, we shall use''' ‘freeFall’ class''' file provided in the '''Code Files''' link on spoken tutorial webpage. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please download and save this file on your system.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| /* Opening a new class file and switching views */&lt;br /&gt;
&lt;br /&gt;
Go to File → Open Model/Library File&lt;br /&gt;
|| To open this '''class''', go to the '''‘File’''' menu present in menu bar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘File’''' menu has options for creating a new '''class''', opening a '''model/library''' and saving a '''class'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on ‘'''Open Model/Library File'''’ &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Locate '''‘freeFall’''' file that you downloaded and saved in your system and open it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Hover over ‘Open model/library file’&lt;br /&gt;
|| You may also use the ‘'''Open Model/Library File'''’ button that my cursor points to, for opening a file.&lt;br /&gt;
|-&lt;br /&gt;
|| Hover over ‘freeFall’ icon in ‘'''Libraries Browser'''’&lt;br /&gt;
|| Note that '''‘freeFall’''' icon has now appeared in ‘'''Libraries Browser'''’. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
‘'''Libraries Browser'''’ shows all classes that are loaded in a session of '''OMEdit'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Right click on ‘freeFall’ icon and select ‘View Class’&lt;br /&gt;
|| Right click on '''‘freeFall’''' and select '''‘View Class’'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Go to the top of the modeling area&lt;br /&gt;
|| The class has now opened in '''Diagram''' view. &lt;br /&gt;
&lt;br /&gt;
Go to the top of the''' modeling area'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Click on ‘Text View’ button at the top of modeling area.&lt;br /&gt;
|| Click on the third button which is the ‘'''Text View'''’. &lt;br /&gt;
&lt;br /&gt;
You may see buttons for ‘'''Icon View'''’ and ‘'''Diagram View'''’ as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We shall discuss more about '''icon '''and '''diagram views '''later on.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| You may also create a new class named '''‘freeFall'''’ and type the required information. Let me show you how it is done.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| File → New Modelica Class.&lt;br /&gt;
|| Go to '''File''' menu. Click on '''‘New Modelica Class'''’&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type // '''freeFall'''&lt;br /&gt;
|| A dialog box opens as shown. Type '''‘freeFall’''' in the ‘Name’ field of dialog box.&lt;br /&gt;
&lt;br /&gt;
I am using a different name since ‘freeFall’ class is already open in ‘OMEdit’.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on ‘Specialization’ drop-down menu. Choose ‘Model’&lt;br /&gt;
|| Click on '''‘Specialization’''' drop-down menu. &lt;br /&gt;
&lt;br /&gt;
Choose '''‘Class’'''. &lt;br /&gt;
&lt;br /&gt;
We shall learn more about class specialization later on.&lt;br /&gt;
&lt;br /&gt;
Click on '''‘Ok’'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Delete // '''annotation'''&lt;br /&gt;
|| New class has now opened. &lt;br /&gt;
&lt;br /&gt;
Delete annotation section. We shall learn about annotation later on. &lt;br /&gt;
&lt;br /&gt;
Type the required information and save the class.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| File → Save&lt;br /&gt;
|| To save the class, go to '''‘File’''' menu and click on '''‘Save’'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Choose a location for your file and click on '''‘Save’'''. The file is now saved. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| At the top of modeling area, click on ‘freeFall’ tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us understand the syntax of '''Modelica''' using '''‘freeFall’''' example. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Programs in '''Modelica''' are arranged in the form of '''classes'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''class freeFall'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
end freeFall;&lt;br /&gt;
|| The first line of a '''class''' defines its name. The name of this '''class '''is '''‘freeFall’'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''end freeFall;'''&lt;br /&gt;
|| Every '''class''' must have an '''‘end’ '''statement to indicate where the '''class '''ends.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| This '''class '''has '''variable declarations '''and '''equations'''. Let us see how to declare '''variables'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Real''' h(start = 30, unit = “m”) &lt;br /&gt;
|| ‘'''Real'''’ signifies a '''data-type'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''h''' (start = 30, unit = “m”) &lt;br /&gt;
|| '''‘h’''' stands for the height of ball from surface of Earth.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Every '''data-type''' has certain attributes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are used to specify information related to '''variables '''of that '''type'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Real h ('''start = 30''', unit = “m”);&lt;br /&gt;
|| Initial conditions are required to simulate differential equations with respect to time. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘start’ attribute '''is used to specify value of a variable at time t = 0. Here, it is 30 units. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default value of '''‘start’ attribute '''is '''zero '''for '''Real variables.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Real h ( start = 30, '''unit = “m”''');&lt;br /&gt;
|| '''‘unit’ attribute''' specifies the unit of the '''variable'''. The unit of''' ‘h’''' is '''‘metre’'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘unit’ attribute''' helps the user to keep track of units. Note that '''Modelica''' doesn’t have a system of units in place.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Real h(start = 30, unit = “m”) '''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
|| Every '''variable declaration''' must end with a '''semi-colon.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Real v''' (start = 0, unit = “m/s”);&lt;br /&gt;
|| '''‘v’''' represents the '''velocity''' of the ball. It is a '''real variable.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Real v '''(start = 0, unit = “m/s”);'''&lt;br /&gt;
|| The initial value of ‘'''v’ '''is zero. its unit is '''‘meter per second’.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| parameter '''Real g''' (unit = m/s2) = -9.81; &lt;br /&gt;
|| '''‘g’ '''signifies '''acceleration due to gravity'''. It is of '''real data-type.''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| parameter Real g '''(unit = m/s2)''' // = -9.81; &lt;br /&gt;
|| The unit of '''‘g’ '''is '''meter per second square.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''parameter''' Real g(unit = m/s2) = -9.81;&lt;br /&gt;
|| A''' ‘parameter’ '''remains constant throughout a simulation run.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| parameter Real g(unit = m/s2) = '''-9.81;'''&lt;br /&gt;
|| The value of '''‘g’ '''is equal to 9.81. Negative sign is due to sign convention. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| parameter Real g(unit = m/s2) = -9.81 '''“Acceleration due to gravity”''' &lt;br /&gt;
|| The text in double quotes is a '''comment'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Comments '''provide information about the program. They are also useful for documentation. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let me go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
Variable and Parameter declaration &lt;br /&gt;
|| '''‘parameter’''' is a quantity that remains constant in a simulation run.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Modelica''' supports '''‘Real, Integer, Boolean''' and''' String’ data-types'''. They are also known as''' built-in types.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘start’''' and '''‘unit’ attributes''' have already been discussed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘min’ attribute''' is used to specify the minimum value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘max’ '''is used to specify the maximum value of a variable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We shall discuss other attributes later on.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us go back to '''OMEdit.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| /* freeFall */&lt;br /&gt;
&lt;br /&gt;
'''equation''' &lt;br /&gt;
|| '''‘equation’ '''signifies the beginning of equation section of a '''class'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| /'''&amp;lt;nowiki&amp;gt;* Equations of motion */ &amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
|| This is another way of inserting comments. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''der(h) = v;'''&lt;br /&gt;
&lt;br /&gt;
'''der(v) = g;'''&lt;br /&gt;
|| Note that the two equations of motion have been included here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''der(h)''' = v;&lt;br /&gt;
|| '''‘der()’''' represents the '''time derivative''' of a '''variable'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, '''der(h)''' represents '''dh/dt.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''der(v)''' = g;&lt;br /&gt;
|| '''der(v)''' represents '''dv/dt.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| der(v) = g '''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;''' &lt;br /&gt;
|| Every equation ends with a '''semi-colon'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on ‘simulate’ button&lt;br /&gt;
|| Let us simulate this '''class'''. &lt;br /&gt;
&lt;br /&gt;
So click on '''‘simulate’''' button in the toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Close the dialog box which pops up.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Plotting perspective&lt;br /&gt;
|| This window is known as plotting perspective.&lt;br /&gt;
&lt;br /&gt;
Plotting perspective opens on simulation of a '''class'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may switch from '''‘modeling'''’ to '''‘plotting’''' '''perspective''' using '''‘plotting’''' button at the bottom right.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Variables browser&lt;br /&gt;
|| The ‘'''variables browser'''’ shows all '''variables''' and '''parameters''' of a '''class'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me scroll right. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are columns named '''‘Unit’''' and '''‘Description’'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Units of variables appear under ‘Unit’ column. They are specified using '''‘unit’''' attributes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Description column displays comments written in double quotes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on ‘h’ in the ‘variables browser’&lt;br /&gt;
|| Let me scroll left.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on''' ‘h’ '''in the''' ‘variables browser’.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This generates '''‘h’ vs ‘time’ plot.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, the simulation runs from 0 to 1 unit of time. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''‘Time’ '''is a built-in variable in '''Modelica'''. It always appears in '''‘variables browser’''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The unit of time depends on the system of equations used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let me deselect''' ‘h’.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on Modeling perspective button at bottom right.&lt;br /&gt;
|| Let us go back to '''Modeling''' perspective. &lt;br /&gt;
&lt;br /&gt;
Click on Modeling perspective button at bottom right.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''class''' freeFall &lt;br /&gt;
|| In '''Modelica, ‘class’''' is used synonymously with '''‘model’'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use ‘model’ instead of ‘class’.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on ‘Simulation Setup’ button in the toolbar&lt;br /&gt;
|| Let us change the default simulation settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''‘Simulation Setup’''' button present in the toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| ‘Simulation Setup’ toolbox&lt;br /&gt;
|| Under the '''General''' tab, locate''' ‘stop time’''' field and change it to 5 units. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may observe options for changing integration method etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''‘Simulate’''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Plotting Perspective&lt;br /&gt;
|| Close the dialog box. Click on''' ‘h’''' in the '''‘variables browser’.''' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The time interval has increased from 1 unit to 5 units.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''But, the value of''' ‘h’ has gone below zero which is unacceptable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We shall see in the later tutorials how to rectify this issue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on ‘Modeling’ button&lt;br /&gt;
|| Let me deselect''' ‘h’ '''and go back to '''Modeling''' perspective.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on ‘Modeling’ perspective button at bottom right.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Select&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''der(h) = v;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and delete it.&lt;br /&gt;
|| Ensure that the number of variables is equal to the number of equations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this case, there are two variables and two equations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me delete the first equation: '''“der(h) = v”''' to see what happens.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to the ‘freeFall’ tab. Notice that a star appears beside its name. This indicates any unsaved changes. If it is not saved, the previous version of this class will be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To save this '''class, '''click on ‘Save’ button in the toolbar. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that the star has now disappeared.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''‘Simulate’'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An error message pops up in''' ‘Messages browser’'''. It says that there are too few equations. ‘Messages browser’ displays any error messages during simulation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let me insert the equation back in its place and click on '''Save'''.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let me go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
Equations in Modelica&lt;br /&gt;
|| '''“der()”''' represents '''time derivative''' in '''Modelica'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is no data flow direction for equations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example, '''der(h) = v''' may be written as '''v = der(h)'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Initial equations can be declared by '''‘initial equation’''' section. &lt;br /&gt;
&lt;br /&gt;
We shall learn more about''' ‘initial equation’''' section later on.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
Assignment&lt;br /&gt;
|| As an assignment, write a model to simulate the differential equation&lt;br /&gt;
&lt;br /&gt;
* dx/dt = -a*x &lt;br /&gt;
* where a = 1, &lt;br /&gt;
* x is a real variable &lt;br /&gt;
* and the value of x at time t=0 is 5 units.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| This brings us to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
About the Spoken Tutorial project&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
Spoken Tutorial Workshops&lt;br /&gt;
|| We conduct workshops using spoken tutorials and give certificates to those who pass an online test.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please contact us.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
Acknowledgements&lt;br /&gt;
|| Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
|| We thank OpenModelica team for their support.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Thank you! This is Bhargava signing off.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Kaushik Datta</name></author>	</entry>

	</feed>