<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7580381826503066472</id><updated>2025-12-02T07:44:49.837-08:00</updated><title type='text'>Numerical Methods for Engineers</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>79</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-4406389298206434228</id><published>2013-02-16T15:56:00.003-08:00</published><updated>2021-01-04T14:23:43.706-08:00</updated><title type='text'>Data approximation and round off error detection MATLAB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.amazon.com/Numerical-Methods-Engineers-Steven-Chapra/dp/007339792X/ref=as_li_ss_il?crid=31WT30B1HHJO5&amp;amp;dchild=1&amp;amp;keywords=numerical+methods+for+engineers&amp;amp;qid=1587832602&amp;amp;sprefix=numerical+methods+fo,aps,156&amp;amp;sr=8-1&amp;amp;linkCode=li3&amp;amp;tag=kc70-20&amp;amp;linkId=b6d18cf0db2fde9f7c216017f21c0f77&amp;amp;language=en_US&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=007339792X&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=kc70-20&amp;amp;language=en_US&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://ir-na.amazon-adsystem.com/e/ir?t=kc70-20&amp;amp;language=en_US&amp;amp;l=li3&amp;amp;o=1&amp;amp;a=007339792X&quot; style=&quot;border: none; margin: 0px;&quot; width=&quot;1&quot; /&gt;

&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Truncation error:&amp;nbsp;&lt;/b&gt; An error that occurs when an approximate number is used to represent an exact number.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Round-off error:&lt;/b&gt; A error that occurs when the number of significant figures is limited, thus the entire number is not able to be represented.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;True value = approximate value + error&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
so...&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Error = true value - approximate value&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
so...&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;True error equation:&lt;/b&gt; E&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt;=&amp;nbsp; true value - approximate value(This is the equation for the exact error value)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Normalized True error (Magnitude of error):&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
True fractional relative error = true error/true value&lt;br /&gt;
&lt;br /&gt;
True percent relative error = true error/true value *100%&lt;br /&gt;
&lt;br /&gt;
so...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;True percent relative error equation:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;u&gt;true error&amp;nbsp; &lt;/u&gt;* 100% &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; or&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;&lt;u&gt;true value - approximate value&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&amp;nbsp; &lt;/u&gt;* 100%&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; true value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; true value &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A board for a boat is 78 cm long. The actual length need to put on the boat is 80 cm. What is the true error and percent error.&lt;br /&gt;
&lt;br /&gt;
True error:&lt;/div&gt;
E&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt;= 80 cm - 78 cm&lt;br /&gt;
E&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt;= 2 cm&lt;br /&gt;
&lt;br /&gt;
True percent relative error:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;u&gt;2 cm&amp;nbsp; &lt;/u&gt;* 100% = &lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.5%&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80 cm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively we often will not know the true error. In this case use the approximate error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;True percent approximate error equation:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;u&gt;approximate error&amp;nbsp; &lt;/u&gt;* 100%&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; approximate value&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
Note :When dealing with error in a problem we should have a percent tolerance of error otherwise known as the amount of allowed error that we deem acceptable. We want our percent error to be lower than&amp;nbsp; our predefined percent tolerance(&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;s&lt;/sub&gt;&lt;/span&gt;). To measure this we must take the absolute value of our approximate percent error(&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&lt;/sub&gt;&lt;/span&gt;).&lt;br /&gt;
&lt;br /&gt;
The commonly used percent tolerance(n represents the number of significant figures):&lt;br /&gt;
&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;s&lt;/sub&gt;&lt;/span&gt;&lt;span lang=&quot;el&quot;&gt;&lt;sub&gt; &lt;/sub&gt;&lt;/span&gt; =(0.5 x 10&lt;sup&gt;2-n&lt;/sup&gt;)%&lt;br /&gt;
Note: &lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;s&lt;/sub&gt;&lt;/span&gt;&lt;span lang=&quot;el&quot;&gt;&lt;sub&gt; &lt;/sub&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt; is also sometimes called the convergence
criteria&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
We have to have a number with 5 significant figures to accurately approximate our value.&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;s&lt;/sub&gt;&lt;/span&gt;&lt;span lang=&quot;el&quot;&gt;&lt;sub&gt; &lt;/sub&gt;&lt;/span&gt; =(0.5 x 10&lt;sup&gt;2-5&lt;/sup&gt;)% = &lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;0.0005%&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;True percent approximate error equation(iterative problems):&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;u&gt;current approximate value - previous approximate value&amp;nbsp; &lt;/u&gt;* 100%&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; current approximate value&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
We can use the Maclaurin series(Taylor series is centered at zero) to approximate&lt;b&gt; e  &lt;sup&gt;x &lt;/sup&gt;&lt;/b&gt;at x =&amp;nbsp; .8.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;e &lt;sup&gt;8 &amp;nbsp; &lt;/sup&gt;&lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;is approximately&amp;nbsp; 2.22554092849......&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;&amp;nbsp;&lt;/span&gt;e  &lt;sup&gt;x&amp;nbsp; &lt;/sup&gt;= 1 + x +&lt;u&gt; x &lt;/u&gt;&lt;sup&gt;2&lt;/sup&gt; + &lt;u&gt;x &lt;/u&gt;&lt;sup&gt;3&lt;/sup&gt;+ &lt;u&gt;x &lt;/u&gt;&lt;sup&gt;4&lt;/sup&gt;+ &lt;u&gt;x &lt;/u&gt;&lt;sup&gt;5&lt;/sup&gt;+ &lt;u&gt;x&lt;/u&gt; &lt;sup&gt;6&lt;/sup&gt;+ &lt;u&gt;x&lt;/u&gt; &lt;sup&gt;7&lt;/sup&gt;+ &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3! &amp;nbsp;&amp;nbsp;&amp;nbsp; 4! &amp;nbsp;&amp;nbsp;&amp;nbsp; 5! &amp;nbsp;&amp;nbsp; 6! &amp;nbsp;&amp;nbsp;&amp;nbsp; 7!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..............&lt;br /&gt;
estimate 1&lt;br /&gt;
&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;&amp;nbsp;&lt;/span&gt;e &lt;sup&gt;8&amp;nbsp; &lt;/sup&gt;= 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt; =&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;&lt;u&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt; - 1&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&amp;nbsp; &lt;/u&gt;* 100%&amp;nbsp; &lt;b&gt;= &lt;/b&gt;100% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;u&gt;1 - 0&amp;nbsp; &lt;/u&gt;* 100%&amp;nbsp; = 100% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;estimate 2&lt;br /&gt;
&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;&amp;nbsp;&lt;/span&gt;e &lt;sup&gt;8&amp;nbsp; &lt;/sup&gt;= 1 + .8 =1.8&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt; =&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;&lt;u&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt; - 1.8&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&amp;nbsp; &lt;/u&gt;* 100%&amp;nbsp; &lt;b&gt;= &lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;19.120786458&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;u&gt;1.8 - 1&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;/u&gt;* 100%&amp;nbsp; = &lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;44.444444444&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;estimate 3&lt;br /&gt;
&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;&amp;nbsp;&lt;/span&gt;e  &lt;sup&gt;x&amp;nbsp; &lt;/sup&gt;= 1 + .8 +&lt;u&gt; .8 &lt;/u&gt;&lt;sup&gt;2&lt;/sup&gt;&amp;nbsp; =2.12&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt; =&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;&lt;u&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt; - 2.12&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&amp;nbsp; &lt;/u&gt;* 100%&amp;nbsp; &lt;b&gt;= &lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;4.742259607&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp; &lt;/sub&gt; =&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;u&gt;2.12 - 1.8&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;/u&gt;* 100%&amp;nbsp; = &lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;0.15094339622&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;estimate 4&lt;br /&gt;
&amp;nbsp;e  &lt;sup&gt;x&amp;nbsp; &lt;/sup&gt;= 1 + .8 +&lt;u&gt; .8 &lt;/u&gt;&lt;sup&gt;2&lt;/sup&gt; + &lt;u&gt;.8 &lt;/u&gt;&lt;sup&gt;3&lt;/sup&gt;&amp;nbsp; = &lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.20533333333&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3! &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp; &lt;/sub&gt; =&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;&lt;u&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt; - &lt;/u&gt;&lt;/span&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.20533333333&lt;/span&gt; * 100%&amp;nbsp; &lt;b&gt;= &lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;0.90798578&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp; &lt;/sub&gt; =&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;u&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.20533333333&lt;/span&gt; - 2.12&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;/u&gt;* 100%&amp;nbsp; = &lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;3.834273826&lt;/span&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.20533333333&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;estimate 5&lt;br /&gt;
&amp;nbsp;e&amp;nbsp;&lt;sup&gt;x&amp;nbsp;&amp;nbsp;&lt;/sup&gt;= 1 + .8 +&lt;u&gt;&amp;nbsp;.8&amp;nbsp;&lt;/u&gt;&lt;sup&gt;2&lt;/sup&gt;&amp;nbsp;+&amp;nbsp;&lt;u&gt;.8&amp;nbsp;&lt;/u&gt;&lt;sup&gt;3&lt;/sup&gt;&amp;nbsp; +&amp;nbsp;&lt;u&gt;.8&amp;nbsp;&lt;/u&gt;&lt;sup&gt;4&lt;/sup&gt;&amp;nbsp;=&amp;nbsp;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;2.2224&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3! &amp;nbsp; &amp;nbsp; &amp;nbsp; 4!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp;&amp;nbsp;&lt;/sub&gt;=&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;&lt;u&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;u style=&quot;color: #222222; font-family: helvetica, arial, sans-serif; line-height: 29.9844px; white-space: nowrap;&quot;&gt;2.2224&lt;/u&gt;&amp;nbsp;* 100%&amp;nbsp;&amp;nbsp;&lt;b&gt;=&amp;nbsp;&lt;/b&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;0.14113101447&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp;&amp;nbsp;&lt;/sub&gt;= &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;&lt;u&gt;2.2224&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&amp;nbsp;-&amp;nbsp;2.20533333333&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/u&gt;* 100%&amp;nbsp; =&amp;nbsp;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;0.76793856506&lt;/span&gt;&amp;nbsp;% error&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;2.2224&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;estimate 5&lt;br /&gt;
&amp;nbsp;e&amp;nbsp;&lt;sup&gt;x&amp;nbsp;&amp;nbsp;&lt;/sup&gt;= 1 + .8 +&lt;u&gt;&amp;nbsp;.8&amp;nbsp;&lt;/u&gt;&lt;sup&gt;2&lt;/sup&gt;&amp;nbsp;+&amp;nbsp;&lt;u&gt;.8&amp;nbsp;&lt;/u&gt;&lt;sup&gt;3&lt;/sup&gt;&amp;nbsp; +&amp;nbsp;&lt;u&gt;.8 &lt;/u&gt;&lt;sup&gt;4&lt;/sup&gt;&amp;nbsp;+&amp;nbsp;&lt;u&gt;.8&amp;nbsp;&lt;/u&gt;&lt;sup&gt;5&lt;/sup&gt;&amp;nbsp; =&amp;nbsp;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;2.22513066667&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3! &amp;nbsp; &amp;nbsp; &amp;nbsp; 4! &amp;nbsp; &amp;nbsp; &amp;nbsp;5!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;t&amp;nbsp;&amp;nbsp;&lt;/sub&gt;=&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;&lt;u&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;&lt;u&gt;2.22513066667&lt;/u&gt;&lt;/span&gt;&amp;nbsp;* 100%&amp;nbsp;&amp;nbsp;&lt;b&gt;=&amp;nbsp;&lt;/b&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;0.&lt;/span&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;018434251&lt;/span&gt;% error&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;2.22554092849&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;a&amp;nbsp;&amp;nbsp;&lt;/sub&gt;= &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 29.9844px; white-space: nowrap;&quot;&gt;&lt;u&gt;2.22513066667&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&amp;nbsp;-&amp;nbsp;&lt;/u&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 29.9844px; white-space: nowrap;&quot;&gt;&lt;u&gt;2.2224&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/u&gt;* 100%&amp;nbsp; =&amp;nbsp;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;0.&lt;/span&gt;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 30px; white-space: nowrap;&quot;&gt;122719385&lt;/span&gt;&amp;nbsp;% error&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span face=&quot;&amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; color: #222222; line-height: 29.9844px; white-space: nowrap;&quot;&gt;2.22513066667&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span lang=&quot;el&quot;&gt;ε&lt;sub&gt;s&lt;/sub&gt;&lt;/span&gt;&lt;span lang=&quot;el&quot;&gt;&lt;sub&gt; &lt;/sub&gt;&lt;/span&gt; =(0.5 x 10&lt;sup&gt;2-3&lt;/sup&gt;)% =&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;0.05%&lt;/span&gt;&lt;span class=&quot;cwcot&quot; dir=&quot;ltr&quot; id=&quot;cwos&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/UqJMDE_V448&quot; width=&quot;320&quot; youtube-src-id=&quot;UqJMDE_V448&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;xxxxxxxxxxxxxxxxxxxxxxxxxx&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; under construction&lt;br /&gt;xxxxxxxxxxxxxxxxxxxxxxxxxx&lt;br /&gt;&lt;span face=&quot;&amp;quot;Amazon Ember&amp;quot;, Arial, sans-serif&quot; style=&quot;background-color: white; color: #111111; font-size: 14.04px;&quot;&gt;As an Amazon Associate I earn from qualifying purchases.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/4406389298206434228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2013/02/data-approximation-and-round-off-error.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4406389298206434228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4406389298206434228'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2013/02/data-approximation-and-round-off-error.html' title='Data approximation and round off error detection MATLAB'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/UqJMDE_V448/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-1728292805698239542</id><published>2012-05-12T14:44:00.001-07:00</published><updated>2020-04-25T09:49:33.608-07:00</updated><title type='text'>Simplex Method (algorithm)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Simplex Method (algorithm)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;Definition: A linear programming algorithm used to find the optimal solution of a problem.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;The Algorithm was mad by George Bernard Dantzig.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;How to solve a problem with the Simplex Method&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;The following is a table of constraints for a gas company producing two types of gas&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdwBGtle9KTgxoxlqYVOZA9TRfQaK6UCg2c-a7FPtKpaEfFXXUAyzbWXjNYSRZSlk9clX0bliB57UR0fBtyuJJxGeTnphwMIt6OctSE393wb8fPWxxa0BAVx1EZwL6GS98jJ4x_tvnw7ZV/s1600/Numerical_Methods_simplex_method.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdwBGtle9KTgxoxlqYVOZA9TRfQaK6UCg2c-a7FPtKpaEfFXXUAyzbWXjNYSRZSlk9clX0bliB57UR0fBtyuJJxGeTnphwMIt6OctSE393wb8fPWxxa0BAVx1EZwL6GS98jJ4x_tvnw7ZV/s640/Numerical_Methods_simplex_method.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;We can derive the following equations from the table&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Z = Total Profit = 150 * regular + 175 * premium&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Total Gas Used = &amp;nbsp;7 * regular + 11 * premium =&amp;lt; 77&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Total Production Time = 10 * regular + 8 * premium =&amp;lt; 80&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;regular =&amp;lt; 9&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;premium =&amp;lt; 6&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;regular &amp;gt;= 0&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;premium &amp;gt;= 0&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Approximate&amp;nbsp;solution&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiW0kHOG2w6Rn8tbLJVw9II2oGfc5N9tQdZp7Browugc2SuD72ySoIhL-7XjtGS0DaoaXB5wTcLLD39R4aKok_MhPoV_rui1ZA6_7DHDbmoH2HQErImx_VKVRasJdDMiod80vECd6_P-xz/s1600/Numerical_Methods_simplex_method_solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiW0kHOG2w6Rn8tbLJVw9II2oGfc5N9tQdZp7Browugc2SuD72ySoIhL-7XjtGS0DaoaXB5wTcLLD39R4aKok_MhPoV_rui1ZA6_7DHDbmoH2HQErImx_VKVRasJdDMiod80vECd6_P-xz/s640/Numerical_Methods_simplex_method_solution.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;a href=&quot;https://www.amazon.com/Numerical-Methods-Engineers-Steven-Chapra/dp/007339792X/ref=as_li_ss_il?crid=31WT30B1HHJO5&amp;amp;dchild=1&amp;amp;keywords=numerical+methods+for+engineers&amp;amp;qid=1587832602&amp;amp;sprefix=numerical+methods+fo,aps,156&amp;amp;sr=8-1&amp;amp;linkCode=li3&amp;amp;tag=kc70-20&amp;amp;linkId=b6d18cf0db2fde9f7c216017f21c0f77&amp;amp;language=en_US&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=007339792X&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=kc70-20&amp;amp;language=en_US&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://ir-na.amazon-adsystem.com/e/ir?t=kc70-20&amp;amp;language=en_US&amp;amp;l=li3&amp;amp;o=1&amp;amp;a=007339792X&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;

&lt;b&gt;Under construction&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &amp;quot;Amazon Ember&amp;quot;, Arial, sans-serif; font-size: 14.04px;&quot;&gt;As an Amazon Associate I earn from qualifying purchases.&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;iframe bordercolor=&quot;#000000&quot; frameborder=&quot;0&quot; height=&quot;200&quot; hspace=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;https://ad.doubleclick.net/adi/N7433.148119.BLOGGEREN/B6627857.1214;sz=200x200;ord=[timestamp]?;lid=41000000028505128;pid%3DNLC1034;usg%3DAFHzDLu-hw_jnWn63k797eor-Sj2YCSFpg;adurl%3Dhttp%253A%252F%252Fwww.wayfair.com%252FNatural-Learning-Concepts-Mastering-Mathematics-M700-L3614-K%257ENLC1034.html;pubid%3D548624;imgsrc%3Dhttp://common1.csnimages.com/lf/49/hash/10386/3692333/1/1.jpg;width%3D200;height%3D200&quot; vspace=&quot;0&quot; width=&quot;200&quot;&gt;&lt;/iframe&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/1728292805698239542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/simplex-method-algorithm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/1728292805698239542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/1728292805698239542'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/simplex-method-algorithm.html' title='Simplex Method (algorithm)'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdwBGtle9KTgxoxlqYVOZA9TRfQaK6UCg2c-a7FPtKpaEfFXXUAyzbWXjNYSRZSlk9clX0bliB57UR0fBtyuJJxGeTnphwMIt6OctSE393wb8fPWxxa0BAVx1EZwL6GS98jJ4x_tvnw7ZV/s72-c/Numerical_Methods_simplex_method.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-4246857748844730742</id><published>2012-05-10T08:23:00.000-07:00</published><updated>2012-05-13T12:28:19.469-07:00</updated><title type='text'>Problem 16.25 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 16.25 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
The torque&amp;nbsp;transmitted&amp;nbsp;to an induction motor is a function of the slip between the rotation of the stator field and the rotor speed s where slip is defined as&lt;br /&gt;
&lt;br /&gt;
s = n - nr/n&lt;br /&gt;
&lt;br /&gt;
where n = revolutions per second of rotating stator speed and nr = rotor speed. Kirchoff&#39;s laws can be used to show that the torque (expressed in dimensionless form) and slip are related by&lt;br /&gt;
&lt;br /&gt;
T = @(s) 15 * (s-s .^2) ./( (1-s) .* (4*s.^2 - 3 * s +4));&lt;br /&gt;
&lt;br /&gt;
Figure P16.25 show this function. Use a numerical method to determine the slip at which the maximum torque occurs.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/MKi3pTt1uGA?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9w7HdbBgjOuewBiU_ezDJ8kVSiVOmOawLnCgV_erl0EOUesUTuSVHnW2B3DW5HEFAGwFvM0UJQAeSpFHDVRVzEheb-kcJUmHhQo8ry1sOsB-cqMJTzLlO5iRxHMdTt9fdhWIhWWeAVqI-/s1600/Numerical_Methods_16_25.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9w7HdbBgjOuewBiU_ezDJ8kVSiVOmOawLnCgV_erl0EOUesUTuSVHnW2B3DW5HEFAGwFvM0UJQAeSpFHDVRVzEheb-kcJUmHhQo8ry1sOsB-cqMJTzLlO5iRxHMdTt9fdhWIhWWeAVqI-/s640/Numerical_Methods_16_25.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Graph&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCNrBGFw1Tlh4pQxyX8G6bJnz7cCGUNghr_-V7FA1wha4v-SumRGbYSSD-iypsos7C5JRXmc8nbbWDue2cngc4m6HJ49offUO452asP1hmeSMxN82Y2E0Fpp7bvxw58hQkr8c-bUcGZv8j/s1600/Numerical_Methods_16_25_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCNrBGFw1Tlh4pQxyX8G6bJnz7cCGUNghr_-V7FA1wha4v-SumRGbYSSD-iypsos7C5JRXmc8nbbWDue2cngc4m6HJ49offUO452asP1hmeSMxN82Y2E0Fpp7bvxw58hQkr8c-bUcGZv8j/s640/Numerical_Methods_16_25_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/4246857748844730742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1625-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4246857748844730742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4246857748844730742'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1625-numerical-methods.html' title='Problem 16.25 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9w7HdbBgjOuewBiU_ezDJ8kVSiVOmOawLnCgV_erl0EOUesUTuSVHnW2B3DW5HEFAGwFvM0UJQAeSpFHDVRVzEheb-kcJUmHhQo8ry1sOsB-cqMJTzLlO5iRxHMdTt9fdhWIhWWeAVqI-/s72-c/Numerical_Methods_16_25.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-7001160213698956505</id><published>2012-05-10T08:22:00.001-07:00</published><updated>2012-05-13T11:42:13.796-07:00</updated><title type='text'>Problem 16.23 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Problem 16.23 Numerical Methods&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
16.23 A total charge Q is uniformly distributed around a ring shaped&lt;br /&gt;
conductor &amp;nbsp;with a radius a. A charge q is located &amp;nbsp;at a distance x from&lt;br /&gt;
the center of the ring (Fig. P16.23). The force exerted on the charge by&lt;br /&gt;
the ring is given by&lt;br /&gt;
&lt;br /&gt;
F = 1/4pie0 * qQx/(x^2 + a^2)^3/2&lt;br /&gt;
&lt;br /&gt;
where e0 &amp;nbsp;= 8.85 x 10^-12 C^2/(N m^2), q = Q =2 x 10^-5 C, and a = .9m.&lt;br /&gt;
Determine the distance x where the force is maximum.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/jdryr8Zap-s?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;MATLAB Code&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxAqQ_mv3AjPpwpN46Oi641PZciYrwwvcBA8SUQVTImwnido3dnBre7a009759LCc-6_N7ja5yjP-yjlHWhbuocaTeLYz1qjt4ep56HQzVjn-UsS4a2zg92qH78WJ9wd7ndFqpOlAeCk07/s1600/Numerical_Methods_16_23.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;514&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxAqQ_mv3AjPpwpN46Oi641PZciYrwwvcBA8SUQVTImwnido3dnBre7a009759LCc-6_N7ja5yjP-yjlHWhbuocaTeLYz1qjt4ep56HQzVjn-UsS4a2zg92qH78WJ9wd7ndFqpOlAeCk07/s640/Numerical_Methods_16_23.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Graph&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh70YIk61bNF6LW2ICEEblBxWIYGVqLplSxSX8k5bqtDKIbiha0znlBH59sOtEArctT9voX8IPD_9cxy3ELPzzWxfZm7sg2LkFacQqyi0pCZfZxPNYezoNMJJetbfT_LYldBoGD4Lik6oin/s1600/Numerical_Methods_16_23_plot.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh70YIk61bNF6LW2ICEEblBxWIYGVqLplSxSX8k5bqtDKIbiha0znlBH59sOtEArctT9voX8IPD_9cxy3ELPzzWxfZm7sg2LkFacQqyi0pCZfZxPNYezoNMJJetbfT_LYldBoGD4Lik6oin/s640/Numerical_Methods_16_23_plot.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Solution&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
x =&amp;nbsp;0.4025&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
F =&amp;nbsp;7.8820e-015&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/7001160213698956505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1623-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/7001160213698956505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/7001160213698956505'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1623-numerical-methods.html' title='Problem 16.23 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxAqQ_mv3AjPpwpN46Oi641PZciYrwwvcBA8SUQVTImwnido3dnBre7a009759LCc-6_N7ja5yjP-yjlHWhbuocaTeLYz1qjt4ep56HQzVjn-UsS4a2zg92qH78WJ9wd7ndFqpOlAeCk07/s72-c/Numerical_Methods_16_23.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-8886920333899999129</id><published>2012-05-10T08:22:00.000-07:00</published><updated>2012-05-13T11:39:49.975-07:00</updated><title type='text'>Problem 16.17 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Problem 16.17 Numerical Methods&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
The streete-Phelps model can be used to compute the dissolved oxygen concentration in a river below a point discharge of sewage (figure P16.16),&lt;br /&gt;
&lt;br /&gt;
o = o_s - kd * Lo/kd +ks - ka * (e^ka *t -e^-(kd + ks)*t - Sb/ka (1 - e^-ka *t)&lt;br /&gt;
&lt;br /&gt;
where 0 = dissolved oxygen concentration (mg/L), os = oxygen saturation concentration (mg/L), t = travel time (d), Lo = biochemical oxygen demand (BOD) concentration at the mixing point (mg/L)&#39; kd = rate of decomposition of BOD (d^-1), ks = rate of settling of BOD (d^-1), ka = reaeration rate (d^-1), and Sb = sediment oxygen demand (mg/L/d).&lt;br /&gt;
&lt;br /&gt;
As indicated in Fig. P16.17, Eq. (P16.17) produces an oxygen &quot;sag&quot; that reaches a critical minimum level Oc some travel tim tc below that point discharge. This point is called &quot;critical because it represents the location where biota that depends on oxygen (like fish) would be the most stressed. Determine the critical travel time and concentration, given the following values:&lt;br /&gt;
&lt;br /&gt;
o_s = 10; mg/L&lt;br /&gt;
ks = 0.06; d^-1&lt;br /&gt;
kd = .2; d^-1&lt;br /&gt;
Lo = 50; mg/L&lt;br /&gt;
ka = .8; d^-1&lt;br /&gt;
Sb = 1; mg/L/d&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/s8I1V8sQzlE?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvpoOpnK3a8RbFzZTkYYTamCJepwYtfZjSwPUFnDd4JqCMyL-N_KtTgPDly04rLMKWzkiMLQZhQWLyEBpyH_fQZETyr4PlbEeueDIPBRK8m_IozblQEwotgOQPXcsMpTeBjmqBbgvvPC17/s1600/Numerical_Methods_16_17.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;466&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvpoOpnK3a8RbFzZTkYYTamCJepwYtfZjSwPUFnDd4JqCMyL-N_KtTgPDly04rLMKWzkiMLQZhQWLyEBpyH_fQZETyr4PlbEeueDIPBRK8m_IozblQEwotgOQPXcsMpTeBjmqBbgvvPC17/s640/Numerical_Methods_16_17.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;MATLAB Graph of&amp;nbsp;approximation&amp;nbsp;to minimum oxygen consentration&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ6kQHm1vVKjJ_65sQxjk0UmRNOVSkJl95_O0Y5ZMv9ij4XULDJ6eltHSf4KMM1Z6QsnFdBt5W73wpxjUdQzLHl5VG1tJAQZ5S-eZ3Vs2-e7oGjtUQsoVkNLK06VOWw9YpxFYuqlaO-G5J/s1600/Numerical_Methods_16_17_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;566&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ6kQHm1vVKjJ_65sQxjk0UmRNOVSkJl95_O0Y5ZMv9ij4XULDJ6eltHSf4KMM1Z6QsnFdBt5W73wpxjUdQzLHl5VG1tJAQZ5S-eZ3Vs2-e7oGjtUQsoVkNLK06VOWw9YpxFYuqlaO-G5J/s640/Numerical_Methods_16_17_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
time =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 3.5833&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
oxygen saturation =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; -18.0722&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/8886920333899999129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1617-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8886920333899999129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8886920333899999129'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1617-numerical-methods.html' title='Problem 16.17 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvpoOpnK3a8RbFzZTkYYTamCJepwYtfZjSwPUFnDd4JqCMyL-N_KtTgPDly04rLMKWzkiMLQZhQWLyEBpyH_fQZETyr4PlbEeueDIPBRK8m_IozblQEwotgOQPXcsMpTeBjmqBbgvvPC17/s72-c/Numerical_Methods_16_17.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-6976026926887289505</id><published>2012-05-10T08:21:00.000-07:00</published><updated>2012-05-13T11:39:19.282-07:00</updated><title type='text'>Problem 16.4 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 16.4 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
The specific growth rate of yeast that produces an antibiotic is a function of the foods concentration c,&lt;br /&gt;
&lt;br /&gt;
g = 2c/ 4 + .8c +c^2 + .2c^3&lt;br /&gt;
&lt;br /&gt;
As depicted in Fig. P16.4, growth goes to zero at very low concentrations due to food limitation. It also goes to zero at high concentrations due to toxicity effects. Find the value of c at which growth is a maximum.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/c6XwtEpnALw?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh63ydLvBF8izRYXe4KM2ubR72cmcdSPuADCTydMIdInU-e4wzgKQbUIX6LT3y1A8KNN0ERSmHjhSDySf5sSwWeO3H4DneDC_taQVvppTvFzhf0j3lB0qmEKW8m4Jrjrbym2G3F7MImepkO/s1600/Numerical_Methods_16_4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh63ydLvBF8izRYXe4KM2ubR72cmcdSPuADCTydMIdInU-e4wzgKQbUIX6LT3y1A8KNN0ERSmHjhSDySf5sSwWeO3H4DneDC_taQVvppTvFzhf0j3lB0qmEKW8m4Jrjrbym2G3F7MImepkO/s640/Numerical_Methods_16_4.PNG&quot; width=&quot;580&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp;MATLAB Plot&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6k2pej815nstbBKbR_znY5ebhB8HgejiG5m25ze8IZfI7enfAI3JKc5ZrX201fq9zUs0ogKn4gyM2Q2Emzsmv-Uxd9SFNXavDPwIXwO1xVNofhdRIHS3ov5ADelEyreXAbKePmFP0pHgv/s1600/Numerical_Methods_16_4_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6k2pej815nstbBKbR_znY5ebhB8HgejiG5m25ze8IZfI7enfAI3JKc5ZrX201fq9zUs0ogKn4gyM2Q2Emzsmv-Uxd9SFNXavDPwIXwO1xVNofhdRIHS3ov5ADelEyreXAbKePmFP0pHgv/s640/Numerical_Methods_16_4_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
xl =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 1.5403&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 0.3696&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/6976026926887289505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-164-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/6976026926887289505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/6976026926887289505'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-164-numerical-methods.html' title='Problem 16.4 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh63ydLvBF8izRYXe4KM2ubR72cmcdSPuADCTydMIdInU-e4wzgKQbUIX6LT3y1A8KNN0ERSmHjhSDySf5sSwWeO3H4DneDC_taQVvppTvFzhf0j3lB0qmEKW8m4Jrjrbym2G3F7MImepkO/s72-c/Numerical_Methods_16_4.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-533789543517002279</id><published>2012-05-09T08:20:00.002-07:00</published><updated>2012-05-13T11:38:56.415-07:00</updated><title type='text'>Problem 15.17 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 15.17 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
The length of the longest ladder that can negotiate the corner depicted in Figure P15.17 can be determined by computing the value of theta that minimizes the following function&lt;br /&gt;
&lt;br /&gt;
L (theta,alpha) = &amp;nbsp;w1 /sin(theta)+ w2 /sin(pi -alpha -theta)&lt;br /&gt;
&lt;br /&gt;
For the case where w1 = w2 = 2 m, use a numerical method (including software) to&amp;nbsp;develop&amp;nbsp;a plot of L versus a range of alpha 45 to 135 degrees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/nmXCEqpT1lo?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF8o8k5ZYXsbS6bNaX68QIbxZ-lqs0lIWLrNToBcxn58Mbooil-WdxvuwmLCJY4fVsFAukKZV_rh8it-REviM94BnMk72SFtyaBA3CO5r_UjlZ6kWSw3EzKgY5uLb5yBAezrfppgAq_dMP/s1600/Numerical_Methods_15_17.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF8o8k5ZYXsbS6bNaX68QIbxZ-lqs0lIWLrNToBcxn58Mbooil-WdxvuwmLCJY4fVsFAukKZV_rh8it-REviM94BnMk72SFtyaBA3CO5r_UjlZ6kWSw3EzKgY5uLb5yBAezrfppgAq_dMP/s640/Numerical_Methods_15_17.PNG&quot; width=&quot;634&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;MATLAB Plot&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi3UV3HNYZ2hEzN9KL-kex5VlTIwqiSbSs5JMrc9HojzCbbhasuKijoVUGkBVmHmpHIisJicTC68E7phTZQF8nEloyLQCLlc5KxiORdDGYsdZNV1E6dFCZeUXWY-aPw2OWt-V5M8KV5BzV/s1600/Numerical_Methods_15_17_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi3UV3HNYZ2hEzN9KL-kex5VlTIwqiSbSs5JMrc9HojzCbbhasuKijoVUGkBVmHmpHIisJicTC68E7phTZQF8nEloyLQCLlc5KxiORdDGYsdZNV1E6dFCZeUXWY-aPw2OWt-V5M8KV5BzV/s640/Numerical_Methods_15_17_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;descript&quot; style=&quot;background-color: white; padding-top: 4px; text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/533789543517002279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1517-numerical-methods.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/533789543517002279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/533789543517002279'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1517-numerical-methods.html' title='Problem 15.17 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF8o8k5ZYXsbS6bNaX68QIbxZ-lqs0lIWLrNToBcxn58Mbooil-WdxvuwmLCJY4fVsFAukKZV_rh8it-REviM94BnMk72SFtyaBA3CO5r_UjlZ6kWSw3EzKgY5uLb5yBAezrfppgAq_dMP/s72-c/Numerical_Methods_15_17.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-8642049685210285803</id><published>2012-05-09T08:20:00.001-07:00</published><updated>2012-05-13T11:38:30.380-07:00</updated><title type='text'>Problem 15.12 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Problem 15.12 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;An automobile company has two versions of the same model car for sale, a&amp;nbsp;two-door coupe and the full size-four door.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(a)Graphically solve how many cars of each design should be produced to&amp;nbsp;maximmize &amp;nbsp;profit and what that profit is.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(b) Solve the same problem with excel&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;x1 = 2 door&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;x2 = 4 door&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Tp = 13500 car1 1500 car2&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;production time = &amp;nbsp;15car1 + 20car2 &amp;nbsp;&amp;lt; 8000 total production time&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;storage = 400 &amp;gt; car1 &amp;nbsp;350 &amp;gt; car2&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;consumer demand = 700 x1 + 500 x2 &amp;lt; 240000 total cars&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/45MLd0Qysew?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDax2Q7sWbf33KUemntG-cMb7UYEGZCPnfiDxTKtetw-MJrdxM17WabDwjb_4ACt7Kq6za5JIZ5tuj8DLCScfEbqeqR5NsL1LVMay9AOMFfvo3tRfK9l_xWAh6ceb_kClnoAXSUolieNf9/s1600/Numerical_Methods_Problem_15_12_MATLAB.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDax2Q7sWbf33KUemntG-cMb7UYEGZCPnfiDxTKtetw-MJrdxM17WabDwjb_4ACt7Kq6za5JIZ5tuj8DLCScfEbqeqR5NsL1LVMay9AOMFfvo3tRfK9l_xWAh6ceb_kClnoAXSUolieNf9/s640/Numerical_Methods_Problem_15_12_MATLAB.PNG&quot; width=&quot;598&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;MATLAB Graph&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjHvLGvJeBwoNz4LKGGyY3CxWxeihfssfhqY8V-B4SMX-I5id9oXEzxurX4igwdSAkhTEoqPOujK_TvYuvoXwaQ_4oxpMaGKm3BmQc6ph_IjoqiWAAmHGuoYJomJOLBE7Mwxa5oOLRnsj/s1600/Numerical_Methods_Problem_15_12_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjHvLGvJeBwoNz4LKGGyY3CxWxeihfssfhqY8V-B4SMX-I5id9oXEzxurX4igwdSAkhTEoqPOujK_TvYuvoXwaQ_4oxpMaGKm3BmQc6ph_IjoqiWAAmHGuoYJomJOLBE7Mwxa5oOLRnsj/s640/Numerical_Methods_Problem_15_12_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Excel Total Profit equation&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC0LkMsdenVA7xRAZAclJBb8HqprZEHPQDG7nU4azI9WANWoUyVnN27q2LUwX21zDPRCGgbQXm0KEfjtUwcsFFtybDSfPFzF99GQc-Vs8x0JxS_Ce8xYYd_GPfyTwngY4wxkOvv1BLjloj/s1600/Numerical_Methods_Problem_15_12_excel.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC0LkMsdenVA7xRAZAclJBb8HqprZEHPQDG7nU4azI9WANWoUyVnN27q2LUwX21zDPRCGgbQXm0KEfjtUwcsFFtybDSfPFzF99GQc-Vs8x0JxS_Ce8xYYd_GPfyTwngY4wxkOvv1BLjloj/s640/Numerical_Methods_Problem_15_12_excel.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Excel Production Time equation&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoUKkMT2hIWBURNdOJIJwomPN6v00TUQixZTiD82y0lfZdejm2tcoPP9CqCWGAyNIg1WuHSiBgXeSMTM_C5NoYon5iBLkXjU2nQKk6HLyop0yBKb7DYC_A5_b8ytxJaM5Mi9Z2MssGbiFu/s1600/Numerical_Methods_Problem_15_12_excelb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoUKkMT2hIWBURNdOJIJwomPN6v00TUQixZTiD82y0lfZdejm2tcoPP9CqCWGAyNIg1WuHSiBgXeSMTM_C5NoYon5iBLkXjU2nQKk6HLyop0yBKb7DYC_A5_b8ytxJaM5Mi9Z2MssGbiFu/s640/Numerical_Methods_Problem_15_12_excelb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Excel Consumer Demand Equation&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxNlwo1HrkB5OjvBVzPUoOoBlqlIX5NbUaJzSTh5V_8v8djjUFSh-zQhgfeWn8g1w5EVYb5qIa1ZcxpOTQl_XVjQ6P0c6NDM2GHuqm4SwZK0cgLPzbVGfbfGGSH2cMbKumRIan9Xui4y2_/s1600/Numerical_Methods_Problem_15_12_excelc.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxNlwo1HrkB5OjvBVzPUoOoBlqlIX5NbUaJzSTh5V_8v8djjUFSh-zQhgfeWn8g1w5EVYb5qIa1ZcxpOTQl_XVjQ6P0c6NDM2GHuqm4SwZK0cgLPzbVGfbfGGSH2cMbKumRIan9Xui4y2_/s640/Numerical_Methods_Problem_15_12_excelc.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Excel Solver Constraints&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSxe-pgJUL2EeHI9KA6BaYBSJL0r2ytJPkR927N88n4at2HQXmgnuepK8pd0paRopWOayk4A2yv5RvQgZhmFSej18JPEjZG2T0M7AIiJl5g2Zr62xwDmjM1OpvFhHMnLSAZ8A4ZGMnjUSs/s1600/Numerical_Methods_Problem_15_12_constraint.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSxe-pgJUL2EeHI9KA6BaYBSJL0r2ytJPkR927N88n4at2HQXmgnuepK8pd0paRopWOayk4A2yv5RvQgZhmFSej18JPEjZG2T0M7AIiJl5g2Zr62xwDmjM1OpvFhHMnLSAZ8A4ZGMnjUSs/s640/Numerical_Methods_Problem_15_12_constraint.PNG&quot; width=&quot;632&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Excel Solver Results&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9t2zDos9JeAoDsi7e3M7-VP_lMcuRW5ZzWn45oUur7sDhIk5I2MxPv9o7dBohhogt6YErJRq6F_UtM_I3XbORxAYQfbew7fLUtY5rsO4iCQejlEpPKtxZG1Go_8Z-VvP2bWg2mPH8CNFt/s1600/Numerical_Methods_Problem_15_12_exceld.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9t2zDos9JeAoDsi7e3M7-VP_lMcuRW5ZzWn45oUur7sDhIk5I2MxPv9o7dBohhogt6YErJRq6F_UtM_I3XbORxAYQfbew7fLUtY5rsO4iCQejlEpPKtxZG1Go_8Z-VvP2bWg2mPH8CNFt/s640/Numerical_Methods_Problem_15_12_exceld.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/8642049685210285803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1512-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8642049685210285803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8642049685210285803'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1512-numerical-methods.html' title='Problem 15.12 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDax2Q7sWbf33KUemntG-cMb7UYEGZCPnfiDxTKtetw-MJrdxM17WabDwjb_4ACt7Kq6za5JIZ5tuj8DLCScfEbqeqR5NsL1LVMay9AOMFfvo3tRfK9l_xWAh6ceb_kClnoAXSUolieNf9/s72-c/Numerical_Methods_Problem_15_12_MATLAB.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-6895334657315345291</id><published>2012-05-09T08:20:00.000-07:00</published><updated>2012-05-13T11:38:12.469-07:00</updated><title type='text'>Problem 15.4 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Problem 15.4 Numerical Methods&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Consider the linear programming problem:&lt;br /&gt;
&lt;br /&gt;
Maximize f(x,y) = 6x + 8y&lt;br /&gt;
&lt;br /&gt;
subject to&lt;br /&gt;
&lt;br /&gt;
5x +2y =&amp;lt; 40&lt;br /&gt;
6x +6y =&amp;lt; 60&lt;br /&gt;
2x + 4y =&amp;lt; 32&lt;br /&gt;
x &amp;gt;= 0&lt;br /&gt;
y &amp;gt;= 0&lt;br /&gt;
&lt;br /&gt;
Obtain the solution:&lt;br /&gt;
(a) Graphically&lt;br /&gt;
(b) Using the simplex method.&lt;br /&gt;
(c) Using an appropriate software package (for example, Excel).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/5bwAhlNBrxc?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKM5nGfWL4IloL7_2vq19Ew4pCxWVl-RAF7sR3jU8xiiq_MJ7kYfDMZMhncyk7TRjrM3waYuQWQOBGtxm2-37-pO4vJW7_KiE1-3S0Cev1yl3nE0Hio4W1itrGAdllSxfzQvhh8fj96hvk/s1600/Numerical_Methods_15_4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;514&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKM5nGfWL4IloL7_2vq19Ew4pCxWVl-RAF7sR3jU8xiiq_MJ7kYfDMZMhncyk7TRjrM3waYuQWQOBGtxm2-37-pO4vJW7_KiE1-3S0Cev1yl3nE0Hio4W1itrGAdllSxfzQvhh8fj96hvk/s640/Numerical_Methods_15_4.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0dg12BkJ61IeoYgTQ9YucN2WVkUxBqkysjsaNqUySvBtWNWXVHrisoqJXCV4NjAKUj6G50ufRiBEIvjOY6IwuM80_13SRY6eGPWhxp2QiQ8g4kcGLGh6TLDRGkIUIyBMj_fi7EH9O7Of/s1600/Numerical_Methods_15_4b.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;514&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0dg12BkJ61IeoYgTQ9YucN2WVkUxBqkysjsaNqUySvBtWNWXVHrisoqJXCV4NjAKUj6G50ufRiBEIvjOY6IwuM80_13SRY6eGPWhxp2QiQ8g4kcGLGh6TLDRGkIUIyBMj_fi7EH9O7Of/s640/Numerical_Methods_15_4b.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Graph&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCxnfU37rvW2abai-Ot9Fye4CmplgN8NCe00GXOVvKbE-C4k3Mk4AE-lb6vaoiuJNpo-Db2DpFFAkt8ZL7f0ngZxmxUMqEuCy1ehDqONovK7S3PtwZR2uJAy-qyl4JClypFo5QdXytHrl4/s1600/Numerical_Methods_15_4graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCxnfU37rvW2abai-Ot9Fye4CmplgN8NCe00GXOVvKbE-C4k3Mk4AE-lb6vaoiuJNpo-Db2DpFFAkt8ZL7f0ngZxmxUMqEuCy1ehDqONovK7S3PtwZR2uJAy-qyl4JClypFo5QdXytHrl4/s640/Numerical_Methods_15_4graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;MATLAB Simplex solutions step by step&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDyGXcslkt-WesB3jQCtPnYMrV5vsljarCNKHsaf572OwV8LWMZDglGNmZv261OcfkUykmdHcLrvoIpQTHXSdbOZsChT91vRuoA3iksqaUfaFE8EhRxUK3ZxavjqyCC1s0A_-FjDB116JZ/s1600/Numerical_Methods_15_4_solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;432&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDyGXcslkt-WesB3jQCtPnYMrV5vsljarCNKHsaf572OwV8LWMZDglGNmZv261OcfkUykmdHcLrvoIpQTHXSdbOZsChT91vRuoA3iksqaUfaFE8EhRxUK3ZxavjqyCC1s0A_-FjDB116JZ/s640/Numerical_Methods_15_4_solution.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjabYfMNQZFqFYBaHg_39bd3kndRmtiXmECVaF4kilAncUhIS1XkonIELK9kgP6u1JKuc-gftFqWA6E52ffU8Ein7xdLMtK_VHbxI0fL326fOy67bQz9mo5ZM0iuFtVnqKjl5CMf0D-lW13/s1600/Numerical_Methods_15_4_solutionb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;422&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjabYfMNQZFqFYBaHg_39bd3kndRmtiXmECVaF4kilAncUhIS1XkonIELK9kgP6u1JKuc-gftFqWA6E52ffU8Ein7xdLMtK_VHbxI0fL326fOy67bQz9mo5ZM0iuFtVnqKjl5CMf0D-lW13/s640/Numerical_Methods_15_4_solutionb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5bXWQpA6TGApV4g3Ch4JH3o5VBfu3v3KcWgDRfX8WkJB-gshcBMWe5cgaJfNyHHmXddjNMmAPjqnvBnU4Eq9NUcQ3pTDj5xZrPBXHkUB0P069-XIFrriSrpq0NjqDzvteK27QO2HQm4sD/s1600/Numerical_Methods_15_4_solutiond.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;352&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5bXWQpA6TGApV4g3Ch4JH3o5VBfu3v3KcWgDRfX8WkJB-gshcBMWe5cgaJfNyHHmXddjNMmAPjqnvBnU4Eq9NUcQ3pTDj5xZrPBXHkUB0P069-XIFrriSrpq0NjqDzvteK27QO2HQm4sD/s640/Numerical_Methods_15_4_solutiond.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Constraint problem solved with excel solver&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbEbagZZRwwYZX_nk7oRbN8a3pIhiFpQ9D6cH8b3dmXNQkC4FigDAKH2Fi95zz8PoKb4ABVkUylK_ml9TaoXrtUMypia062K4q0Mm8G7LbJ1-V8usin_yD7Rh8K7CWzvyWZSsC37tZTEc/s1600/Numerical_Methods_15_4_xexcel.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbEbagZZRwwYZX_nk7oRbN8a3pIhiFpQ9D6cH8b3dmXNQkC4FigDAKH2Fi95zz8PoKb4ABVkUylK_ml9TaoXrtUMypia062K4q0Mm8G7LbJ1-V8usin_yD7Rh8K7CWzvyWZSsC37tZTEc/s320/Numerical_Methods_15_4_xexcel.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjwRKSadzOdBH89R1CN0sBPXZjXKidC1f76L8w3QsJs7xyug6ALheLMbTgoBPYu-jZY6d2xs3TcYoo9u4aJSWPZkBPKHKm9zGqwx4R-LaKoce-fvludmhvmnwb7jIsrmVWP0RuxhXKtbUY/s1600/Numerical_Methods_15_4_xexcelb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjwRKSadzOdBH89R1CN0sBPXZjXKidC1f76L8w3QsJs7xyug6ALheLMbTgoBPYu-jZY6d2xs3TcYoo9u4aJSWPZkBPKHKm9zGqwx4R-LaKoce-fvludmhvmnwb7jIsrmVWP0RuxhXKtbUY/s320/Numerical_Methods_15_4_xexcelb.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYUOPWoSGCYuEI9p3rYfZc5mo2n2n3GXR9_IdM_DrS0LbUZbdAR2HOr1QZ4Qt2RP_0udjUSePyzaPszuFFwgmAJ9Bqa_H1Hq7bM-gkNcSdPW5AZx1El6xiIY6RrZ-h1bGplBhKs6H8z72S/s1600/Numerical_Methods_15_4_xexcelc.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;139&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYUOPWoSGCYuEI9p3rYfZc5mo2n2n3GXR9_IdM_DrS0LbUZbdAR2HOr1QZ4Qt2RP_0udjUSePyzaPszuFFwgmAJ9Bqa_H1Hq7bM-gkNcSdPW5AZx1El6xiIY6RrZ-h1bGplBhKs6H8z72S/s320/Numerical_Methods_15_4_xexcelc.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr7gnPQwicQ3dFU3JzkwEJn0RH6HAop2y-ErbvsRKElj2oXH6JS8wm1qIACeUzo1Pgk7NwGtnM3UczBlDDMlM04n1jVZwbVLbqnlmDyhSIzTuVSTE3jCAsLjHg-t1KyMpB5ycgRvrN6wlt/s1600/Numerical_Methods_15_4_xexceld.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr7gnPQwicQ3dFU3JzkwEJn0RH6HAop2y-ErbvsRKElj2oXH6JS8wm1qIACeUzo1Pgk7NwGtnM3UczBlDDMlM04n1jVZwbVLbqnlmDyhSIzTuVSTE3jCAsLjHg-t1KyMpB5ycgRvrN6wlt/s320/Numerical_Methods_15_4_xexceld.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtj1wh06cFviaXn0fefgiJX75OjphzMgvfi7dxqk-dcyl71px_MDeCUSefa4zMaVfcXkfgapZC_w4WMDqDaOOcjcSBVuPga31WfMbqd_9C-eBKn1f141MfiVBr7AfGV33gr_7w3aGU-iLX/s1600/Numerical_Methods_15_4_xexcele.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtj1wh06cFviaXn0fefgiJX75OjphzMgvfi7dxqk-dcyl71px_MDeCUSefa4zMaVfcXkfgapZC_w4WMDqDaOOcjcSBVuPga31WfMbqd_9C-eBKn1f141MfiVBr7AfGV33gr_7w3aGU-iLX/s400/Numerical_Methods_15_4_xexcele.PNG&quot; width=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/6895334657315345291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-154-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/6895334657315345291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/6895334657315345291'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-154-numerical-methods.html' title='Problem 15.4 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKM5nGfWL4IloL7_2vq19Ew4pCxWVl-RAF7sR3jU8xiiq_MJ7kYfDMZMhncyk7TRjrM3waYuQWQOBGtxm2-37-pO4vJW7_KiE1-3S0Cev1yl3nE0Hio4W1itrGAdllSxfzQvhh8fj96hvk/s72-c/Numerical_Methods_15_4.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-3669116714613939744</id><published>2012-05-08T11:30:00.000-07:00</published><updated>2012-05-13T11:37:30.219-07:00</updated><title type='text'>Problem 14.8 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;Problem 14.8 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Perform one iteration of the optimal gradient steepest descent method to locate the minimum of&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: inherit; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;f(x, y) =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;-8*x+x.^2+12*y+4*y.^2-2.*x.*y&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: inherit; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: inherit; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;using initial guesses x = 0 and y = 0.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/7IAVGXtBX54?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;descript&quot; style=&quot;background-color: white; padding-top: 4px; text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif; font-size: large;&quot;&gt;MATLAB code&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;descript&quot; style=&quot;background-color: white; padding-top: 4px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi89L6KmlkHivqcind4xqGM8X_ehRSjjAzoAbS-e5hoC5vtKeUaEk1gw7-yPpHjQWqTDDjj0mPi0nArcPoKWhH8sq_1EzMudICbUoGuawB2c_q24EB9ityh4daeoF45k_1xMGAFuMerSJ2K/s1600/Numerical_Methods_Problem_14_8.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi89L6KmlkHivqcind4xqGM8X_ehRSjjAzoAbS-e5hoC5vtKeUaEk1gw7-yPpHjQWqTDDjj0mPi0nArcPoKWhH8sq_1EzMudICbUoGuawB2c_q24EB9ityh4daeoF45k_1xMGAFuMerSJ2K/s640/Numerical_Methods_Problem_14_8.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLohyphenhyphenJi3PWGjGN5OuRZYLte9nwVlREHfptnJ6yl2L2j-JTqLxymU93MBIZjc8GDQ1Mx6tGXcaXm6K9GJN42VPxsAnqD-4p_mSCLfcPUwqoy94nBIJ5ghlPIWkEof0kdWwbp_xOlgJN53CY/s1600/Numerical_Methods_Problem_14_8b.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;444&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLohyphenhyphenJi3PWGjGN5OuRZYLte9nwVlREHfptnJ6yl2L2j-JTqLxymU93MBIZjc8GDQ1Mx6tGXcaXm6K9GJN42VPxsAnqD-4p_mSCLfcPUwqoy94nBIJ5ghlPIWkEof0kdWwbp_xOlgJN53CY/s640/Numerical_Methods_Problem_14_8b.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;Surface/contour plot with&amp;nbsp;approximations&amp;nbsp;to lowest point&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsPqw3oIY4isdOMW2aivKW2q8oLgP_0QGbp_dTjwYrFQYhHQh_zOnJu4cfF11E6xCheEzn8wj8HcHylRwPFJJa1rUz1YqnToEqNQx5wXjkJN6CIfT_EzwURNXVINy4dnjczB1qNwawEfZ-/s1600/Numerical_Methods_Problem_14_8_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsPqw3oIY4isdOMW2aivKW2q8oLgP_0QGbp_dTjwYrFQYhHQh_zOnJu4cfF11E6xCheEzn8wj8HcHylRwPFJJa1rUz1YqnToEqNQx5wXjkJN6CIfT_EzwURNXVINy4dnjczB1qNwawEfZ-/s640/Numerical_Methods_Problem_14_8_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/3669116714613939744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-148-numerical-methods.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3669116714613939744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3669116714613939744'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-148-numerical-methods.html' title='Problem 14.8 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi89L6KmlkHivqcind4xqGM8X_ehRSjjAzoAbS-e5hoC5vtKeUaEk1gw7-yPpHjQWqTDDjj0mPi0nArcPoKWhH8sq_1EzMudICbUoGuawB2c_q24EB9ityh4daeoF45k_1xMGAFuMerSJ2K/s72-c/Numerical_Methods_Problem_14_8.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-927748301731269912</id><published>2012-05-08T11:00:00.000-07:00</published><updated>2012-05-13T11:36:58.404-07:00</updated><title type='text'>Problem 14.7 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Problem 14.7 Numerical Methods&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Perform one iteration of the steepest ascent method to locate the maximum of&lt;br /&gt;
f(x,y) = 3.5x +2y + x^2 - x^4 - 2xy - y^2&lt;br /&gt;
using initial guesses x = 0 and y = 0. Employ bisection to find the&amp;nbsp;optimal step size in the gradient search direction.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/8HhugZ9fkP4?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;MATLAB Code&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6oqh6QpRRYMmcbO2AAPOhgjfzsI6VFSMXSrDs5Qds1AXXK7kG6DlDrAgHt_pu-boJZz74_TZyw2LUSSKu1SSktDjMXoYhB6JbUpVUmOPYgFlVdmfbLbsO6DMerEBFlCvnIdrWjttO52Oo/s1600/Numerical_Methods_Problem_14_7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;556&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6oqh6QpRRYMmcbO2AAPOhgjfzsI6VFSMXSrDs5Qds1AXXK7kG6DlDrAgHt_pu-boJZz74_TZyw2LUSSKu1SSktDjMXoYhB6JbUpVUmOPYgFlVdmfbLbsO6DMerEBFlCvnIdrWjttO52Oo/s640/Numerical_Methods_Problem_14_7.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Graph&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVrx6PxjJKmVU3kz0AvOdwtG7mh2u2M4qIwl8lCYzuu0Z4rv1lnJJa4SwViE6FyBRgZ497E3gdRBxvJPF0NldP-C00_agMqqm6_XCT9zPL615IKYl6_SJQjGVT2BAnPfGCCcemESGyLK1h/s1600/Numerical_Methods_Problem_14_7_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVrx6PxjJKmVU3kz0AvOdwtG7mh2u2M4qIwl8lCYzuu0Z4rv1lnJJa4SwViE6FyBRgZ497E3gdRBxvJPF0NldP-C00_agMqqm6_XCT9zPL615IKYl6_SJQjGVT2BAnPfGCCcemESGyLK1h/s640/Numerical_Methods_Problem_14_7_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/927748301731269912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-147-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/927748301731269912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/927748301731269912'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-147-numerical-methods.html' title='Problem 14.7 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6oqh6QpRRYMmcbO2AAPOhgjfzsI6VFSMXSrDs5Qds1AXXK7kG6DlDrAgHt_pu-boJZz74_TZyw2LUSSKu1SSktDjMXoYhB6JbUpVUmOPYgFlVdmfbLbsO6DMerEBFlCvnIdrWjttO52Oo/s72-c/Numerical_Methods_Problem_14_7.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-5245923192153129069</id><published>2012-05-08T10:00:00.000-07:00</published><updated>2012-05-13T10:07:20.714-07:00</updated><title type='text'>Problem 14.6 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 14.6 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Find the minimum value of&lt;br /&gt;
&lt;br /&gt;
f(x,y) = (x-3)^2 + (y-2)^2&lt;br /&gt;
starting at x=1 and y=1,using the steepest descent method with a stopping criterion of error = 1%. Explain your results.&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;MATLAB Code&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUQURft9wP3fZRgdMUzjm8gEmbiiZ5Oxpr7I8tbwEISWbJP2gdxBWpAbDitC6m8Mc31IlKpQCCQ7FGfYR3hTxPBjq5Rrbvn9hfXdjJyj46Pl7gnm4F3aYvKas6-zaP1Vy-YkvipRIPegvv/s1600/Numerical_Methods_Problem_14_6.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUQURft9wP3fZRgdMUzjm8gEmbiiZ5Oxpr7I8tbwEISWbJP2gdxBWpAbDitC6m8Mc31IlKpQCCQ7FGfYR3hTxPBjq5Rrbvn9hfXdjJyj46Pl7gnm4F3aYvKas6-zaP1Vy-YkvipRIPegvv/s640/Numerical_Methods_Problem_14_6.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHTKU5N0PXKmAGZwWpSdWfAevIt-NE0ymjA8FEDWHs-YhZRObvq_n86MVBtgYUkPR-EVMA7Kwg3Wd1y3CWdXXrJoS2Xt2EteHGaWDybH8HLALM2X9_kH5vVxAGan6LwkxT50BaFZfQ0qol/s1600/Numerical_Methods_Problem_14_6b.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHTKU5N0PXKmAGZwWpSdWfAevIt-NE0ymjA8FEDWHs-YhZRObvq_n86MVBtgYUkPR-EVMA7Kwg3Wd1y3CWdXXrJoS2Xt2EteHGaWDybH8HLALM2X9_kH5vVxAGan6LwkxT50BaFZfQ0qol/s640/Numerical_Methods_Problem_14_6b.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Graph&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcbMRaxqbA9fz33Ab9HMEw0RgnS2j0I4uiTPQxNF-JeootMmcYohwQ80Q3aevhaDJpHyr8_mT9JEeph5oP9zWuPT82ww99tFHuvhufHBl_739AjRpv_giBeS2edCC4dG8bS-iwZEfILMxy/s1600/Numerical_Methods_14_6_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcbMRaxqbA9fz33Ab9HMEw0RgnS2j0I4uiTPQxNF-JeootMmcYohwQ80Q3aevhaDJpHyr8_mT9JEeph5oP9zWuPT82ww99tFHuvhufHBl_739AjRpv_giBeS2edCC4dG8bS-iwZEfILMxy/s640/Numerical_Methods_14_6_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/5245923192153129069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-146-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/5245923192153129069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/5245923192153129069'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-146-numerical-methods.html' title='Problem 14.6 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUQURft9wP3fZRgdMUzjm8gEmbiiZ5Oxpr7I8tbwEISWbJP2gdxBWpAbDitC6m8Mc31IlKpQCCQ7FGfYR3hTxPBjq5Rrbvn9hfXdjJyj46Pl7gnm4F3aYvKas6-zaP1Vy-YkvipRIPegvv/s72-c/Numerical_Methods_Problem_14_6.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-3734702937336009655</id><published>2012-05-08T09:00:00.000-07:00</published><updated>2012-05-13T11:35:37.414-07:00</updated><title type='text'>Problem 14.5 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Problem 14.5 Numerical Methods&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Find the gradient vector and Hessian matrix for each of the following functions.&lt;br /&gt;
&lt;br /&gt;
(a) f(x,y) = 2xy^2 +3e^xy&lt;br /&gt;
(b)&amp;nbsp;f = (x,y,z) x .^2 + y .^2 + 2 .*z .^2&lt;br /&gt;
(c)&amp;nbsp;f = (x,y) log(x .^2 + 2 * x * y + 3 .*y .^2)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/9n57enozUmM?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code/Soltion&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQq2oQ-N_IQ8E8LL0H009NY0R8ga5Eh01IiXzvql1nnnJ7QBX4ZnONKOeNvdQTv_YEfHuaV-XnTwqAFE-WG3RV2skGksqvrrcaIlgmUzL2RZgjxEpOM98jn9CfChztq89jAB7dpEwzoBr/s1600/Numerical_Methods_Problem_14_5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQq2oQ-N_IQ8E8LL0H009NY0R8ga5Eh01IiXzvql1nnnJ7QBX4ZnONKOeNvdQTv_YEfHuaV-XnTwqAFE-WG3RV2skGksqvrrcaIlgmUzL2RZgjxEpOM98jn9CfChztq89jAB7dpEwzoBr/s640/Numerical_Methods_Problem_14_5.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipIO_X4FCccExq8cOqKl6NWI06iO4JWnW3VHyqc26imHsKHLGLndImBwYN9UaDZUWsEAzeTJnmGXrQsYwlcatkIKpGKLy19XPawTcg00yymqEnc-8bEDaIz8HnmRs6oGK_lGNrjwUWVtwQ/s1600/Numerical_Methods_Problem_14_5b.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipIO_X4FCccExq8cOqKl6NWI06iO4JWnW3VHyqc26imHsKHLGLndImBwYN9UaDZUWsEAzeTJnmGXrQsYwlcatkIKpGKLy19XPawTcg00yymqEnc-8bEDaIz8HnmRs6oGK_lGNrjwUWVtwQ/s640/Numerical_Methods_Problem_14_5b.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/3734702937336009655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-145-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3734702937336009655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3734702937336009655'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-145-numerical-methods.html' title='Problem 14.5 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQq2oQ-N_IQ8E8LL0H009NY0R8ga5Eh01IiXzvql1nnnJ7QBX4ZnONKOeNvdQTv_YEfHuaV-XnTwqAFE-WG3RV2skGksqvrrcaIlgmUzL2RZgjxEpOM98jn9CfChztq89jAB7dpEwzoBr/s72-c/Numerical_Methods_Problem_14_5.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-5126764584662424569</id><published>2012-05-08T02:00:00.000-07:00</published><updated>2020-04-25T10:06:52.626-07:00</updated><title type='text'>Golden-Section Search</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Golden-Section Search&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Defined as a general purpose search technique for finding a local maximum or minimum of a unimodal function&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;object class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://i.ytimg.com/vi/ZJZt1Ql_Ldo/0.jpg&quot; height=&quot;266&quot; width=&quot;320&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;https://www.youtube.com/v/ZJZt1Ql_Ldo?version=3&amp;amp;f=user_uploads&amp;amp;c=google-webdrive-0&amp;amp;app=youtube_gdata&quot;&gt;

&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;

&lt;embed width=&quot;320&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/v/ZJZt1Ql_Ldo?version=3&amp;amp;f=user_uploads&amp;amp;c=google-webdrive-0&amp;amp;app=youtube_gdata&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;How to find the Golden Ratio&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The sum of the sub lengths&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;&amp;nbsp;l&lt;/span&gt;&lt;sub style=&quot;font-family: &#39;Freestyle Script&#39;;&quot;&gt;1&lt;/sub&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;and&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;&amp;nbsp;l&lt;/span&gt;&lt;sub style=&quot;font-family: &#39;Freestyle Script&#39;;&quot;&gt;2&lt;/sub&gt;&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;equal the original length&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;l&lt;/span&gt;&lt;sub style=&quot;font-family: &#39;Freestyle Script&#39;;&quot;&gt;0.&lt;/sub&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;l&lt;sub&gt;0&lt;/sub&gt;
= l&lt;sub&gt;1 + &lt;/sub&gt;l&lt;sub&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The ratio of the lengths must be equal.&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;l&lt;sub&gt;1/&lt;/sub&gt;
l&lt;sub&gt;0 = &lt;/sub&gt;l&lt;sub&gt;2/&lt;/sub&gt; l&lt;sub&gt;1&amp;nbsp; &amp;nbsp;&lt;/sub&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;&lt;sub&gt;&lt;br /&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Take the first equation and &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;substitute it&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&amp;nbsp;into the the denominator of the second.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;&lt;sub&gt;&amp;nbsp;&amp;nbsp;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;l&lt;sub&gt;1/&lt;/sub&gt;
(l&lt;sub&gt;1 + &lt;/sub&gt;l&lt;sub&gt;2&lt;/sub&gt;)&lt;sub&gt;= &lt;/sub&gt;l&lt;sub&gt;2/&lt;/sub&gt; l&lt;sub&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 40px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Take the&amp;nbsp;reciprocal&amp;nbsp;of the equation.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;(l&lt;sub&gt;1
+ &lt;/sub&gt;l&lt;sub&gt;2&lt;/sub&gt;)&lt;sub&gt; /&lt;/sub&gt; l&lt;sub&gt;1&lt;/sub&gt; &lt;sub&gt;= &lt;/sub&gt;l&lt;sub&gt;1/&lt;/sub&gt; l&lt;sub&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Now set R equal to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;l&lt;/span&gt;&lt;sub style=&quot;font-family: &#39;Freestyle Script&#39;;&quot;&gt;2/&lt;/sub&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;&amp;nbsp;l&lt;/span&gt;&lt;sub&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;;&quot;&gt;1 .&amp;nbsp;&lt;/span&gt;&lt;/sub&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;sub&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;R
=&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt; &lt;/span&gt;&lt;/sub&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;l&lt;sub&gt;2/&lt;/sub&gt;
l&lt;sub&gt;1&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 36pt;&quot;&gt;&lt;sub&gt;&lt;br /&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Which if we apply to the entire equation will result in...&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;sub&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/sub&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;1+R = 1/R&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;sub&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;sub&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Now multiply both sides of the equation by R.&lt;/span&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;R + R&lt;sup&gt;2&lt;/sup&gt;&amp;nbsp;=
R/R&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 26pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Simplify and set the equation to zero.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;R&lt;sup&gt;2&lt;/sup&gt;+R -1=
0&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;freestyle script&amp;quot;; font-size: 26pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;sub style=&quot;font-family: &#39;Freestyle Script&#39;;&quot;&gt;&lt;br /&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Notice this is in the form of the&amp;nbsp;quadratic&amp;nbsp;equation&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;ax&lt;sup&gt;2&lt;/sup&gt; + bx
+ c&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Since this is in the form of a quadratic we can set it up in the form of the quadratic formula&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwOyiaka0xd3kQzxKj6bWKouuDtJ0O5hHoT89Tltr6m9uiDsZyd1Uml21fQFWu8EawKKMBaUekk54Tp1vskXwuUNNPoi85Gdl1tr-zGSuJfglAJ9Rp8SvLNc1WKHHgGCMk6_CsdRWeFjBO/s1600/goldensection.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;81&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwOyiaka0xd3kQzxKj6bWKouuDtJ0O5hHoT89Tltr6m9uiDsZyd1Uml21fQFWu8EawKKMBaUekk54Tp1vskXwuUNNPoi85Gdl1tr-zGSuJfglAJ9Rp8SvLNc1WKHHgGCMk6_CsdRWeFjBO/s200/goldensection.PNG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&amp;nbsp;Here is the equation set up in the quadratic formula&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Kh5ZR_q9w7F5d_ePZAdAaTKDF73X5b5TaDpIAeDWsgUeTeY6n6DXXcQ1djrWmstSZcBLtwYy311FtAkqjW6H1yZxDpQ7O6e5DPJpQu_2txZu7aI_st2C9lmsQbB9HXjqrwDwq3bF3AEw/s1600/goldensection2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Kh5ZR_q9w7F5d_ePZAdAaTKDF73X5b5TaDpIAeDWsgUeTeY6n6DXXcQ1djrWmstSZcBLtwYy311FtAkqjW6H1yZxDpQ7O6e5DPJpQu_2txZu7aI_st2C9lmsQbB9HXjqrwDwq3bF3AEw/s1600/goldensection2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Solve the equation for the positive root and we&amp;nbsp;arrive&amp;nbsp;at the Golden Ratio&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid6fDpQMi35sSCPvLjC2TldZtYmijqtv6Jk3KAg8WGdCJZL9PWHCA9kY731UrAiWhuVUHAKoo2e2uCSvsP1HA3cdIBEye5QPTaHds2FpK8zQ3bvSSd50FzB5zD22cUUetSyma2i7oXVqwL/s1600/goldensection3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid6fDpQMi35sSCPvLjC2TldZtYmijqtv6Jk3KAg8WGdCJZL9PWHCA9kY731UrAiWhuVUHAKoo2e2uCSvsP1HA3cdIBEye5QPTaHds2FpK8zQ3bvSSd50FzB5zD22cUUetSyma2i7oXVqwL/s1600/goldensection3.PNG&quot; /&gt;&lt;/a&gt;&amp;nbsp;= &amp;nbsp;0.6180339887..........&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.amazon.com/Numerical-Methods-Engineers-Steven-Chapra/dp/007339792X/ref=as_li_ss_il?crid=31WT30B1HHJO5&amp;amp;dchild=1&amp;amp;keywords=numerical+methods+for+engineers&amp;amp;qid=1587832602&amp;amp;sprefix=numerical+methods+fo,aps,156&amp;amp;sr=8-1&amp;amp;linkCode=li3&amp;amp;tag=kc70-20&amp;amp;linkId=d49acd112506872673c253485df3c3ec&amp;amp;language=en_US&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=007339792X&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=kc70-20&amp;amp;language=en_US&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://ir-na.amazon-adsystem.com/e/ir?t=kc70-20&amp;amp;language=en_US&amp;amp;l=li3&amp;amp;o=1&amp;amp;a=007339792X&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &amp;quot;amazon ember&amp;quot;, arial, sans-serif; font-size: 14.04px;&quot;&gt;As an Amazon Associate I earn from qualifying purchases.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &amp;quot;amazon ember&amp;quot;, arial, sans-serif; font-size: 14.04px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &amp;quot;amazon ember&amp;quot;, arial, sans-serif; font-size: 14.04px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;b&gt;How to use the Golden Ratio to find the local maximum&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;Part 1 Golden section setup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjOgrL47qiRhvYp-h_uxUzSAWBqv1j4U9DiTQ0H1ztigopzcwr1mys8vzIX5KomRoWtY86Tz3LFBWcIqJSEpelhH8MNF_MnIU2bgesqHMVHUZUUEmQ987eVDi6TGDAWBO3sKAEJPCTr9Xz/s1600/goldensection_matlab.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjOgrL47qiRhvYp-h_uxUzSAWBqv1j4U9DiTQ0H1ztigopzcwr1mys8vzIX5KomRoWtY86Tz3LFBWcIqJSEpelhH8MNF_MnIU2bgesqHMVHUZUUEmQ987eVDi6TGDAWBO3sKAEJPCTr9Xz/s640/goldensection_matlab.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Part 2 Golden section search loop&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM3FUTcthfqWG4Bp0q0oMfpzBwVkwBJQJXhbVSP7ahg-5gSvkwDB9Bjro_lebD_uCXUNtyothWjAJQrMAZs4Sms7AVDGGxqtOmv-lQezQ6Bbpka1baB2sZhURnnoKU2nozhZmI2OkCgeCt/s1600/goldensection_matlabb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM3FUTcthfqWG4Bp0q0oMfpzBwVkwBJQJXhbVSP7ahg-5gSvkwDB9Bjro_lebD_uCXUNtyothWjAJQrMAZs4Sms7AVDGGxqtOmv-lQezQ6Bbpka1baB2sZhURnnoKU2nozhZmI2OkCgeCt/s640/goldensection_matlabb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Golden Section search Solution&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7olHT9TMqWsc2x-Kf_FT6iXmUoFkKZHIgxlVIZEalSwFxhK5UUmUPOjhiGopVeHfL3mQxkeSK081XZ5TMua9ZkEt-iN2TC3GAieP7b-lwhhZ8aGJMkj3AYTv8xO9ymtt1pTgF_yoJJ96n/s1600/goldensection_matlab_solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7olHT9TMqWsc2x-Kf_FT6iXmUoFkKZHIgxlVIZEalSwFxhK5UUmUPOjhiGopVeHfL3mQxkeSK081XZ5TMua9ZkEt-iN2TC3GAieP7b-lwhhZ8aGJMkj3AYTv8xO9ymtt1pTgF_yoJJ96n/s320/goldensection_matlab_solution.PNG&quot; width=&quot;142&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Golden section search after the approximating values have been set&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD1n6tNBanSdvjq3lbI_qzNCFvUxIhHxECK3O7zlGRX1RAwn3bbtnPFv28bxks7rEw2BujCB1KJ_e5Co2FLLrrpgUeoZZFYNQhm-f2FXh1dsa3dlaeY5KBeXRywGOYn-CjJhpD7dr8SyJi/s1600/goldensection_matlabb_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;284&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD1n6tNBanSdvjq3lbI_qzNCFvUxIhHxECK3O7zlGRX1RAwn3bbtnPFv28bxks7rEw2BujCB1KJ_e5Co2FLLrrpgUeoZZFYNQhm-f2FXh1dsa3dlaeY5KBeXRywGOYn-CjJhpD7dr8SyJi/s320/goldensection_matlabb_graph.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Golden section search after 20 iterations&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKQbNDgmARJ189YBvP0wXJr7GvzOcM40bfEcAq-yaDb7tV7-CoS9-q7d6BQbxUAPke4LJqDF0GM5Lz5bAjcY7S3Cu3NbfhljTcLwoCt_NMoFr_JQZX_uYwoT2y0TpSxVUdoXo4tzyxp_uj/s1600/goldensection_matlabb_graph2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;284&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKQbNDgmARJ189YBvP0wXJr7GvzOcM40bfEcAq-yaDb7tV7-CoS9-q7d6BQbxUAPke4LJqDF0GM5Lz5bAjcY7S3Cu3NbfhljTcLwoCt_NMoFr_JQZX_uYwoT2y0TpSxVUdoXo4tzyxp_uj/s320/goldensection_matlabb_graph2.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/5126764584662424569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/golden-section-search.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/5126764584662424569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/5126764584662424569'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/golden-section-search.html' title='Golden-Section Search'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwOyiaka0xd3kQzxKj6bWKouuDtJ0O5hHoT89Tltr6m9uiDsZyd1Uml21fQFWu8EawKKMBaUekk54Tp1vskXwuUNNPoi85Gdl1tr-zGSuJfglAJ9Rp8SvLNc1WKHHgGCMk6_CsdRWeFjBO/s72-c/goldensection.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-8121968299977290001</id><published>2012-05-08T01:00:00.000-07:00</published><updated>2012-05-13T11:34:33.910-07:00</updated><title type='text'>Problem 13.22 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Problem 13.22 Numerical Methods&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Use the golden-section search to determine the length of the shortest&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;ladder that reaches from the ground over the fence to touch the building&#39;s&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;wall (figure P13.22). Test it for the case where h = d = 4m&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/3CObyfYmvfY?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaQvwei5feRnmTp26J3vSamydjfLvQdddDbmPhSIEiVrc8WRs_x4cwmdndhqVAGLv9PY4-fm1gJuFOvUE84g8-ciTfhRKrafTm057gAl2xG542fFIF5S_JwXjrww1FBcFh3MUf0F1-LHhT/s1600/Numerical_Methods_Problem_13_22.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaQvwei5feRnmTp26J3vSamydjfLvQdddDbmPhSIEiVrc8WRs_x4cwmdndhqVAGLv9PY4-fm1gJuFOvUE84g8-ciTfhRKrafTm057gAl2xG542fFIF5S_JwXjrww1FBcFh3MUf0F1-LHhT/s640/Numerical_Methods_Problem_13_22.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-rlpJ5zPrqSuiP3A5sfp0kuh65dPt1kazAjmWBwrdYKlR6yiTg7xlH6ue9XgiOiu5AU0PAcnSSNWvLM0C2ermolc76XxIgB_wTIOq-mxQXsN63hsGRln3W7T9dxx9tWfTOJXR8x5v6IKc/s1600/Numerical_Methods_Problem_13_22b.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-rlpJ5zPrqSuiP3A5sfp0kuh65dPt1kazAjmWBwrdYKlR6yiTg7xlH6ue9XgiOiu5AU0PAcnSSNWvLM0C2ermolc76XxIgB_wTIOq-mxQXsN63hsGRln3W7T9dxx9tWfTOJXR8x5v6IKc/s640/Numerical_Methods_Problem_13_22b.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Golden Section Graph&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDo9jCubw87xR-RRdd3E6o5d6k3bbNuhInWbCn0OQJ5qWKKPKaMH1NtCNzaDJ4ba4VsnHtNeUUGiRM9sOBjdxluHHvndkD4J8fhuGh-cwEVotjpvkP5L2XU9LNIhhfBVFi3SU9cF6IC62N/s1600/Numerical_Methods_Problem_13_22graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;566&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDo9jCubw87xR-RRdd3E6o5d6k3bbNuhInWbCn0OQJ5qWKKPKaMH1NtCNzaDJ4ba4VsnHtNeUUGiRM9sOBjdxluHHvndkD4J8fhuGh-cwEVotjpvkP5L2XU9LNIhhfBVFi3SU9cF6IC62N/s640/Numerical_Methods_Problem_13_22graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/8121968299977290001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1322-numerical-methods.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8121968299977290001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8121968299977290001'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1322-numerical-methods.html' title='Problem 13.22 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaQvwei5feRnmTp26J3vSamydjfLvQdddDbmPhSIEiVrc8WRs_x4cwmdndhqVAGLv9PY4-fm1gJuFOvUE84g8-ciTfhRKrafTm057gAl2xG542fFIF5S_JwXjrww1FBcFh3MUf0F1-LHhT/s72-c/Numerical_Methods_Problem_13_22.PNG" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-5727419031165387508</id><published>2012-05-07T23:00:00.000-07:00</published><updated>2012-05-13T11:33:53.146-07:00</updated><title type='text'>Problem 13.21 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 13.21 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;An object can be projected upward at a specified velocity. If it is subject to linear drag, its altitude as a function of time can be computed as&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;z = z0 + m/c(v0 _mg/c) * (1 - e^-(c/m) * t) - mg/c * t&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;where z = altitude (m) above the earths&#39;s surface (defined as z = 0), z0 = the initial altitude (m), m = mass(kg), c= a linear drag coefficient (kg/s), v0 = initial velocity (m/s), and t = time (s). Note that for this formulation, positive velocity is considered to be the upward direction. Given the following parameter values: g = 9.81 m/s^2, z0 = 100m, v0 = 55 m/s, m = 80kg,and c = 15 kg/s, the equation can be used to calculate the jumpers altitude. Determine the time and altitude of peak elevation (a) graphically, (b) analytically, and (c) with golden section search until the approximate error falls below 1% with initial guess of tl = 0 and tu = 10s.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/6GImZXKv8mE?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGaCIdp0EHlxy2bkXt6OW-HzxYht0kTyUW-tWkpxd9bF8zHmY61841AC32KZe7vyd5FLeRWXdsJiM1hrCjXoaZ3gvxmbb-dkOTwrQgokmdE09JQ1taORKmUiewZf3UrDJwFqoA5XgO52QW/s1600/Numerical_Methods_Problem_13_21.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGaCIdp0EHlxy2bkXt6OW-HzxYht0kTyUW-tWkpxd9bF8zHmY61841AC32KZe7vyd5FLeRWXdsJiM1hrCjXoaZ3gvxmbb-dkOTwrQgokmdE09JQ1taORKmUiewZf3UrDJwFqoA5XgO52QW/s640/Numerical_Methods_Problem_13_21.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZP54RETNqWVdq93QQ6fYQ4li8B81vmukD4ClZYQaAoWnnJEXuFW7b0oPxFZmVeCxQW-D8Jo_juegdtk-1ywiw_D3dbu0iHccml_DQbH-S6sWE5R5Z4iYKy8GLNRi8ZWh8_srY2gaiDHzA/s1600/Numerical_Methods_Problem_13_21b.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;498&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZP54RETNqWVdq93QQ6fYQ4li8B81vmukD4ClZYQaAoWnnJEXuFW7b0oPxFZmVeCxQW-D8Jo_juegdtk-1ywiw_D3dbu0iHccml_DQbH-S6sWE5R5Z4iYKy8GLNRi8ZWh8_srY2gaiDHzA/s640/Numerical_Methods_Problem_13_21b.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Analytic&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Graph&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitwI32UXnZjK4dS_Tj1fdaV7tio-smt17aLrAd3hrSIhtzBWg0MfE79lJfU7ZNxJbFe7q_wfipWLbYf7jnkJAFt9thCsH0N1WocUiHTtiP6r-CJkvzCLVej3F0-nG4Pvfcw1qi_Z2MXbPh/s1600/Numerical_Methods_Problem_13_21_graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;566&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitwI32UXnZjK4dS_Tj1fdaV7tio-smt17aLrAd3hrSIhtzBWg0MfE79lJfU7ZNxJbFe7q_wfipWLbYf7jnkJAFt9thCsH0N1WocUiHTtiP6r-CJkvzCLVej3F0-nG4Pvfcw1qi_Z2MXbPh/s640/Numerical_Methods_Problem_13_21_graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Golden section Search&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwZEw6x80ruoseMUUxSwNwwaif_vHVvYQ3buvFYNiQNNOzSZNX2pcfR0Mh9kIiGYffZtUYDSXKk7KWBk3IClNYYtGqkIa8RrL2qxDwrFHqhMlvR27VzA1YhawWCRNeXBtcILi7u84kFFdX/s1600/Numerical_Methods_Problem_13_21_graphb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;563&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwZEw6x80ruoseMUUxSwNwwaif_vHVvYQ3buvFYNiQNNOzSZNX2pcfR0Mh9kIiGYffZtUYDSXKk7KWBk3IClNYYtGqkIa8RrL2qxDwrFHqhMlvR27VzA1YhawWCRNeXBtcILi7u84kFFdX/s640/Numerical_Methods_Problem_13_21_graphb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Solution&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;jumpers altitude =&amp;nbsp;192.8537 m&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;seconds &amp;nbsp;=&amp;nbsp;3.8699&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/5727419031165387508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1321-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/5727419031165387508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/5727419031165387508'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-1321-numerical-methods.html' title='Problem 13.21 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGaCIdp0EHlxy2bkXt6OW-HzxYht0kTyUW-tWkpxd9bF8zHmY61841AC32KZe7vyd5FLeRWXdsJiM1hrCjXoaZ3gvxmbb-dkOTwrQgokmdE09JQ1taORKmUiewZf3UrDJwFqoA5XgO52QW/s72-c/Numerical_Methods_Problem_13_21.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-3553701398640833991</id><published>2012-05-07T20:30:00.000-07:00</published><updated>2012-05-13T11:33:13.600-07:00</updated><title type='text'>Problem 13.17 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 13.17 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The trajectory of a ball can be computed with&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;y = (tan(theta0))*x - g/2*v0^2*cos(theta0)^2)*x.^2 + y0;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;where y = the height (m), theta0 = the initial angle(radians), v0 = the&amp;nbsp;initial velocity (m/s), g = the gravitational constant = 9.81 m/s^2,&amp;nbsp;and y0 = the initial height (m). Use the golden-section search to&amp;nbsp;determine the maximum height given y0 = 1 m, v0 = 25 m/s and theta0 = 50&amp;nbsp;degrees. Iterate until the approximate error falls below error = 1% using&amp;nbsp;initial guesses of xl = 0 and xu = 60m.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/LkpqhcQzikA?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOnNvtPV5iwL3J4L9T8Qe6kY2FzQSDGDxrqcg-AVrrSxusQZ9LxmP6X3Wokj-LygXm7-u-mSPYvTzBgtR5yRPzz7LStqRAdFPtZii4rZdovKagPV61ysEzuXQ4FNV7ozyqtyas2rogSmPl/s1600/Numerical_Methods_Figure_p13_17.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOnNvtPV5iwL3J4L9T8Qe6kY2FzQSDGDxrqcg-AVrrSxusQZ9LxmP6X3Wokj-LygXm7-u-mSPYvTzBgtR5yRPzz7LStqRAdFPtZii4rZdovKagPV61ysEzuXQ4FNV7ozyqtyas2rogSmPl/s640/Numerical_Methods_Figure_p13_17.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibkJjV_sUld-o2XLehHjJxt0TzWBmdJb87v3yGXh2tYGWb-hjwO-3_RbptEGBL5qFLrU_Y_AHKmMn2ad_CA9b776EUg0BwHhkzh3h6e57bGioiKJrFR0NqNpQofV-7ddP46atG5B28X6gI/s1600/Numerical_Methods_Figure_p13_17b.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibkJjV_sUld-o2XLehHjJxt0TzWBmdJb87v3yGXh2tYGWb-hjwO-3_RbptEGBL5qFLrU_Y_AHKmMn2ad_CA9b776EUg0BwHhkzh3h6e57bGioiKJrFR0NqNpQofV-7ddP46atG5B28X6gI/s640/Numerical_Methods_Figure_p13_17b.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Golden Section Search&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUhjxBJtfIzFNri-UFPZpjon_Zd4nIqKpxEXDoiW_KnpnfCaDMLXgQYilnsoUrtztfUtVWgpajogJH4Sx3qAG1DOFldQ273of60HoKJy3H7-6S3p4uBWHULfYoYaVvKeq2VVFTWElv-Ekk/s1600/Numerical_Methods_Figure_p13_17figure1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;566&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUhjxBJtfIzFNri-UFPZpjon_Zd4nIqKpxEXDoiW_KnpnfCaDMLXgQYilnsoUrtztfUtVWgpajogJH4Sx3qAG1DOFldQ273of60HoKJy3H7-6S3p4uBWHULfYoYaVvKeq2VVFTWElv-Ekk/s640/Numerical_Methods_Figure_p13_17figure1.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Maximum found using Parabolic Interpolation&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE8kfrYlF3rtxYBWmfG_2Rlxi3AfFJdfB-Z6dnETQrxn7N1mV3j9YmP9beZbGvgH22FS8P4vYKrn_lTb4Q8yfzkUKDfabyy2N1KK2qh3RPphb6kAgohgV4pdkPcjrqOopOtvKRmjm8OzH1/s1600/Numerical_Methods_Figure_p13_17figure2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE8kfrYlF3rtxYBWmfG_2Rlxi3AfFJdfB-Z6dnETQrxn7N1mV3j9YmP9beZbGvgH22FS8P4vYKrn_lTb4Q8yfzkUKDfabyy2N1KK2qh3RPphb6kAgohgV4pdkPcjrqOopOtvKRmjm8OzH1/s640/Numerical_Methods_Figure_p13_17figure2.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Maximum found using Newton&#39;s Method for finding optimum&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLsFYHkc0GOsgCGHWwYrPv-4U_4SD4d00_bZhlomCotidPrJ479z9fQCcmw3QdJCT1XVeXkveqO_dvqbi419_MSVXQ-bE325LUfdwsADHEm7DqfKKaOp6_eKtCJwnphysrU6V_OPFwsXSd/s1600/Numerical_Methods_Figure_p13_17figure3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLsFYHkc0GOsgCGHWwYrPv-4U_4SD4d00_bZhlomCotidPrJ479z9fQCcmw3QdJCT1XVeXkveqO_dvqbi419_MSVXQ-bE325LUfdwsADHEm7DqfKKaOp6_eKtCJwnphysrU6V_OPFwsXSd/s640/Numerical_Methods_Figure_p13_17figure3.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Solution&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;y =&amp;nbsp;19.6934&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;x =&amp;nbsp;31.3713&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/3553701398640833991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/numerical-methods-137.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3553701398640833991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3553701398640833991'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/numerical-methods-137.html' title='Problem 13.17 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOnNvtPV5iwL3J4L9T8Qe6kY2FzQSDGDxrqcg-AVrrSxusQZ9LxmP6X3Wokj-LygXm7-u-mSPYvTzBgtR5yRPzz7LStqRAdFPtZii4rZdovKagPV61ysEzuXQ4FNV7ozyqtyas2rogSmPl/s72-c/Numerical_Methods_Figure_p13_17.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-1662972695910609975</id><published>2012-05-07T08:16:00.000-07:00</published><updated>2020-04-25T09:49:58.703-07:00</updated><title type='text'>Problem 13.8 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 13.8 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Employ the following methods to find the maximum of the function from Prob 13.7&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;f(x) = -x^4 - 2x -8x^2 - 5x
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;(a) Golden section search ( xl = -2, xu = 1, error = 1%)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(b) Parabolic interpolation ( x0 = -2, xl = - 1, x2 = 1, iterations = 4). Select new points sequentially as in the secant method.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(c) Newton&#39;s method (x0 = -1, error = 1%&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/GnWJu95vBhs?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.amazon.com/Numerical-Methods-Engineers-Steven-Chapra/dp/007339792X/ref=as_li_ss_il?crid=31WT30B1HHJO5&amp;amp;dchild=1&amp;amp;keywords=numerical+methods+for+engineers&amp;amp;qid=1587832602&amp;amp;sprefix=numerical+methods+fo,aps,156&amp;amp;sr=8-1&amp;amp;linkCode=li3&amp;amp;tag=kc70-20&amp;amp;linkId=b6d18cf0db2fde9f7c216017f21c0f77&amp;amp;language=en_US&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=007339792X&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=kc70-20&amp;amp;language=en_US&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://ir-na.amazon-adsystem.com/e/ir?t=kc70-20&amp;amp;language=en_US&amp;amp;l=li3&amp;amp;o=1&amp;amp;a=007339792X&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &amp;quot;Amazon Ember&amp;quot;, Arial, sans-serif; font-size: 14.04px;&quot;&gt;As an Amazon Associate I earn from qualifying purchases.&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code Golden section search&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd2I7U5i2vlEDyKodaJJCzBI5YoycOnI2RsJE6jjRa_2VP8D9kzNkm1QlKDYG4YkLMb5N06xjrFIzprPZSXY-w2VgF9JMWnriNEf8jM_rr7QL0MThRK7yWL68IlRJ8a2iVHOphUP-ZzaLI/s1600/Numerical_Methods_Figure_p13_7code.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd2I7U5i2vlEDyKodaJJCzBI5YoycOnI2RsJE6jjRa_2VP8D9kzNkm1QlKDYG4YkLMb5N06xjrFIzprPZSXY-w2VgF9JMWnriNEf8jM_rr7QL0MThRK7yWL68IlRJ8a2iVHOphUP-ZzaLI/s640/Numerical_Methods_Figure_p13_7code.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQmlaf_vgqN-_HgEuReFR9-rYpBAeTC25aPjrlAQlc7h3jzExN-V8zOKFIL3smyreGex4M3TJRClxzPZskh-Q23o-bx2NahfIO0EL5zBdCjTlsKWDpKz0ad10IrxA258prcuvDxuBbfpwa/s1600/Numerical_Methods_Figure_p13_7codeb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;412&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQmlaf_vgqN-_HgEuReFR9-rYpBAeTC25aPjrlAQlc7h3jzExN-V8zOKFIL3smyreGex4M3TJRClxzPZskh-Q23o-bx2NahfIO0EL5zBdCjTlsKWDpKz0ad10IrxA258prcuvDxuBbfpwa/s640/Numerical_Methods_Figure_p13_7codeb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code Parabolic interpolation and Newton&#39;s Method&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuXkGzq2_jH_0c2uhSRhn4OzmJ6kST9BGazC5m2GfieB69snNfgRDY904BYrDy5Ek5EL3J_ub74nVBXk4akRKQFHlwWZFgTyyXJOFTNvuCqQ_aAhhxPcXb1e2uVsGMyqjJpO-fX2bQ8eTy/s1600/Numerical_Methods_Figure_p13_8codeb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;569&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuXkGzq2_jH_0c2uhSRhn4OzmJ6kST9BGazC5m2GfieB69snNfgRDY904BYrDy5Ek5EL3J_ub74nVBXk4akRKQFHlwWZFgTyyXJOFTNvuCqQ_aAhhxPcXb1e2uVsGMyqjJpO-fX2bQ8eTy/s640/Numerical_Methods_Figure_p13_8codeb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Golden section search plot after points were set up&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6teB3r6nhdoguo6F2l6qcGpvg_34uA6or1xyHBDLky_3FQ2bsAkQ86mBfUsW_ReE9Q7s0VQcjczSBKhF5i7OeVpcgCuqRVOSa3mmKgGoIGEBIvWfFG6fvcTIfAp7TGZW28XKHQWW42jWF/s1600/Numerical_Methods_Figure_p13_7graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6teB3r6nhdoguo6F2l6qcGpvg_34uA6or1xyHBDLky_3FQ2bsAkQ86mBfUsW_ReE9Q7s0VQcjczSBKhF5i7OeVpcgCuqRVOSa3mmKgGoIGEBIvWfFG6fvcTIfAp7TGZW28XKHQWW42jWF/s640/Numerical_Methods_Figure_p13_7graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Golden Section search plot showing approximation to local maximum&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbpkDXAMftHt0TSMGBI0tfuFYVLJnWDXlXijn51QI3csKMyIumNTwjZwqAK6L1IkmicsE4hDXifJZCIih3NaYcrnweX6lzjkJjD9IZ3-wHhX4VO0dMmRwJRFAZPGpJtzzMBNb1ZV7ioRYj/s1600/Numerical_Methods_Figure_p13_7graphb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbpkDXAMftHt0TSMGBI0tfuFYVLJnWDXlXijn51QI3csKMyIumNTwjZwqAK6L1IkmicsE4hDXifJZCIih3NaYcrnweX6lzjkJjD9IZ3-wHhX4VO0dMmRwJRFAZPGpJtzzMBNb1ZV7ioRYj/s640/Numerical_Methods_Figure_p13_7graphb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Parabolic Interpolation&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT0L_F-9T_89y94FWH6SjtgBMJotuU26aAsVkLYtGONmA-f48l22t2aLSKuM4odCexWxcUpwxyTDR0aihcUQAdP9YlmKTOZgbNTGUaOw03V9VnHCoTB6wfR11RWBt4uiYsRjmwyfBH7zl2/s1600/Numerical_Methods_Figure_p13_8coded.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT0L_F-9T_89y94FWH6SjtgBMJotuU26aAsVkLYtGONmA-f48l22t2aLSKuM4odCexWxcUpwxyTDR0aihcUQAdP9YlmKTOZgbNTGUaOw03V9VnHCoTB6wfR11RWBt4uiYsRjmwyfBH7zl2/s640/Numerical_Methods_Figure_p13_8coded.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Newton&#39;s Method&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6wuHR68LamFvS12rnTS5NY-T07GJTNcHA8vsD5R2DMu7vGxX42TjIqgnA-qX11QE_rjmdQ_JSHSKVwAl8uNGVRALASx3L31OjRuh7bQGHGjlhpASRh1RzEhS57lI6Ya4MArL5AqrWOi8w/s1600/Numerical_Methods_Figure_p13_8codec.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6wuHR68LamFvS12rnTS5NY-T07GJTNcHA8vsD5R2DMu7vGxX42TjIqgnA-qX11QE_rjmdQ_JSHSKVwAl8uNGVRALASx3L31OjRuh7bQGHGjlhpASRh1RzEhS57lI6Ya4MArL5AqrWOi8w/s640/Numerical_Methods_Figure_p13_8codec.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Solution&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Maximum = 1.4977 at x = -.4192&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGOz_4NH6Z_XJWlrqqjFhFGqhLe0DEb72Hn-RedtqliM8tptAzt86FkpPJzfV1CqYNfr5xzYjKwBrg728rDdmpQUHI-8DTHXy8HiFnNJbQGAs3A7oHh5B0PELaPabs8GEb3DDwbLi1DWQO/s1600/Numerical_Methods_Figure_p13_7solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGOz_4NH6Z_XJWlrqqjFhFGqhLe0DEb72Hn-RedtqliM8tptAzt86FkpPJzfV1CqYNfr5xzYjKwBrg728rDdmpQUHI-8DTHXy8HiFnNJbQGAs3A7oHh5B0PELaPabs8GEb3DDwbLi1DWQO/s640/Numerical_Methods_Figure_p13_7solution.PNG&quot; width=&quot;280&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/1662972695910609975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-138-numerical-methods.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/1662972695910609975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/1662972695910609975'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-138-numerical-methods.html' title='Problem 13.8 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd2I7U5i2vlEDyKodaJJCzBI5YoycOnI2RsJE6jjRa_2VP8D9kzNkm1QlKDYG4YkLMb5N06xjrFIzprPZSXY-w2VgF9JMWnriNEf8jM_rr7QL0MThRK7yWL68IlRJ8a2iVHOphUP-ZzaLI/s72-c/Numerical_Methods_Figure_p13_7code.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-590789080588463841</id><published>2012-05-06T12:27:00.000-07:00</published><updated>2012-05-13T11:32:14.976-07:00</updated><title type='text'>Problem 13.7 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Problem 13.7 Numerical Methods&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Consider the following function:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;f(x) = -x^4 - 2x -8x^2 - 5x&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Use analytical and graphical methods to show the function has a maximum for some value of x in the range -2&amp;lt;= x &amp;lt;= 1&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/56lVVNxGxjc?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd2I7U5i2vlEDyKodaJJCzBI5YoycOnI2RsJE6jjRa_2VP8D9kzNkm1QlKDYG4YkLMb5N06xjrFIzprPZSXY-w2VgF9JMWnriNEf8jM_rr7QL0MThRK7yWL68IlRJ8a2iVHOphUP-ZzaLI/s1600/Numerical_Methods_Figure_p13_7code.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd2I7U5i2vlEDyKodaJJCzBI5YoycOnI2RsJE6jjRa_2VP8D9kzNkm1QlKDYG4YkLMb5N06xjrFIzprPZSXY-w2VgF9JMWnriNEf8jM_rr7QL0MThRK7yWL68IlRJ8a2iVHOphUP-ZzaLI/s640/Numerical_Methods_Figure_p13_7code.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQmlaf_vgqN-_HgEuReFR9-rYpBAeTC25aPjrlAQlc7h3jzExN-V8zOKFIL3smyreGex4M3TJRClxzPZskh-Q23o-bx2NahfIO0EL5zBdCjTlsKWDpKz0ad10IrxA258prcuvDxuBbfpwa/s1600/Numerical_Methods_Figure_p13_7codeb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;412&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQmlaf_vgqN-_HgEuReFR9-rYpBAeTC25aPjrlAQlc7h3jzExN-V8zOKFIL3smyreGex4M3TJRClxzPZskh-Q23o-bx2NahfIO0EL5zBdCjTlsKWDpKz0ad10IrxA258prcuvDxuBbfpwa/s640/Numerical_Methods_Figure_p13_7codeb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Golden section search plot after points were set up&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6teB3r6nhdoguo6F2l6qcGpvg_34uA6or1xyHBDLky_3FQ2bsAkQ86mBfUsW_ReE9Q7s0VQcjczSBKhF5i7OeVpcgCuqRVOSa3mmKgGoIGEBIvWfFG6fvcTIfAp7TGZW28XKHQWW42jWF/s1600/Numerical_Methods_Figure_p13_7graph.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6teB3r6nhdoguo6F2l6qcGpvg_34uA6or1xyHBDLky_3FQ2bsAkQ86mBfUsW_ReE9Q7s0VQcjczSBKhF5i7OeVpcgCuqRVOSa3mmKgGoIGEBIvWfFG6fvcTIfAp7TGZW28XKHQWW42jWF/s640/Numerical_Methods_Figure_p13_7graph.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Golden Section search plot showing approximation to local maximum&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbpkDXAMftHt0TSMGBI0tfuFYVLJnWDXlXijn51QI3csKMyIumNTwjZwqAK6L1IkmicsE4hDXifJZCIih3NaYcrnweX6lzjkJjD9IZ3-wHhX4VO0dMmRwJRFAZPGpJtzzMBNb1ZV7ioRYj/s1600/Numerical_Methods_Figure_p13_7graphb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbpkDXAMftHt0TSMGBI0tfuFYVLJnWDXlXijn51QI3csKMyIumNTwjZwqAK6L1IkmicsE4hDXifJZCIih3NaYcrnweX6lzjkJjD9IZ3-wHhX4VO0dMmRwJRFAZPGpJtzzMBNb1ZV7ioRYj/s640/Numerical_Methods_Figure_p13_7graphb.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Solution&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Maximum = 1.4977 at x = -.4192&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGOz_4NH6Z_XJWlrqqjFhFGqhLe0DEb72Hn-RedtqliM8tptAzt86FkpPJzfV1CqYNfr5xzYjKwBrg728rDdmpQUHI-8DTHXy8HiFnNJbQGAs3A7oHh5B0PELaPabs8GEb3DDwbLi1DWQO/s1600/Numerical_Methods_Figure_p13_7solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGOz_4NH6Z_XJWlrqqjFhFGqhLe0DEb72Hn-RedtqliM8tptAzt86FkpPJzfV1CqYNfr5xzYjKwBrg728rDdmpQUHI-8DTHXy8HiFnNJbQGAs3A7oHh5B0PELaPabs8GEb3DDwbLi1DWQO/s640/Numerical_Methods_Figure_p13_7solution.PNG&quot; width=&quot;280&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/590789080588463841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-137-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/590789080588463841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/590789080588463841'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/05/problem-137-numerical-methods.html' title='Problem 13.7 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd2I7U5i2vlEDyKodaJJCzBI5YoycOnI2RsJE6jjRa_2VP8D9kzNkm1QlKDYG4YkLMb5N06xjrFIzprPZSXY-w2VgF9JMWnriNEf8jM_rr7QL0MThRK7yWL68IlRJ8a2iVHOphUP-ZzaLI/s72-c/Numerical_Methods_Figure_p13_7code.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-3151675294131694617</id><published>2012-04-15T11:47:00.001-07:00</published><updated>2012-05-09T19:36:45.791-07:00</updated><title type='text'>Problem 12.38 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 12.38 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
12.38 Linear algebraic equations can arise in the solution of differential&amp;nbsp;equations. For example, the following differential equation derives from&amp;nbsp;heat balance for a long, thin rod (Fig. P 12.38):&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;d^2T/dx^2 + h&#39;(Ta - T) = 0&lt;br /&gt;
&lt;br /&gt;
where T = temperature( degrees celsius), x = distance along the rod (m) ,&amp;nbsp;h&#39; = a heat transfer coefficient between the rod and ambient air (m^-2),&amp;nbsp;and T_a = the temperature of the surrounding air(C). This equation can be&amp;nbsp;transformed into a set of linear algebraic equations by using a finite&amp;nbsp;divided difference approximation for the second derivative (recall section&amp;nbsp;4.1.3),&lt;br /&gt;
&lt;br /&gt;
d^T/dx^2 = (Ti+1 - 2Ti + Ti - 1)/ deltax^2&lt;br /&gt;
&lt;br /&gt;
where Ti designates the temperature at node i. This approximation can be&amp;nbsp;substituted into Eq. (P12.38) to give&lt;br /&gt;
&lt;br /&gt;
-Ti - 1 + (2 + h&#39; deltax^2)Ti - Ti+1 = h&#39; deltax^2 Ta&lt;br /&gt;
&lt;br /&gt;
This equation can be written for each of the interior nodes of the rod&amp;nbsp;resulting in a tridiagonal system of equations. The first and last nodes&amp;nbsp;at the rods ends are fixed by boundary conditions.&lt;br /&gt;
&lt;br /&gt;
(a) Develop an analytical solution for Eq. (12.38) for a 10-m rod with Ta =&lt;br /&gt;
&amp;nbsp;20, T(x=0) = 40, T(x = 10) = 200 and h&#39; = 0.02.&lt;br /&gt;
&lt;br /&gt;
(b) Develop a numerical solution for the same parameter values employed in&amp;nbsp;(a) using a finite-difference solution with four interior nodes as shown&amp;nbsp;in Fig . P 12.38( deltax = 2 m).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;hp = 0.02&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;dx = 2;&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;Ta = 20&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;T_xe0 = 40;&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;T_xe10 = 200;&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;b = [T_xe0; ...&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;hp*dx^2*Ta; ...&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;hp*dx^2*Ta; ...&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;hp*dx^2*Ta; ...&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;hp*dx^2*Ta; ...&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;T_xe10]&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;A = [ 1 0 0 0 0 0; ...&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;-1 2+hp*dx^2 -1 0 0 0;&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;0 -1 2+hp*dx^2 -1 0 0 ;&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;0 0 -1 2+hp*dx^2 -1 0 ;&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;0 0 0 -1 2+hp*dx^2 -1 ;&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;0 0 0 0 0 1]&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;c_2 = -25.25&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;c_1 = 20-c_2&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;f_x = @(x) c_1* exp(0.141421* x)+c_2* exp(-0.141421* x)+20.&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;x=[0:0.01:10];&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;plot(x,f_x(x));&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;% c_1 + c_2 = 20&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;% c_1*exp(0.141421* 10)+ c_2* exp(-0.141421* 10)+20 = 200&lt;/span&gt;&lt;br style=&quot;background-color: white; clear: left; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto;&quot;&gt;% (20-c_2)*exp(0.141421* 10)+ c_2* exp(-0.141421* 10)+20 = 200&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/3151675294131694617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1238-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3151675294131694617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/3151675294131694617'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1238-numerical-methods.html' title='Problem 12.38 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-8452891587245024875</id><published>2012-04-15T11:44:00.005-07:00</published><updated>2012-05-13T07:55:00.155-07:00</updated><title type='text'>Problem 12.28</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
%i1&lt;br /&gt;
%j2&lt;br /&gt;
%i3&lt;br /&gt;
&lt;br /&gt;
%k voltage law the summation of the voltages of &amp;nbsp;a closed path is zero.&lt;br /&gt;
% this is comprable to work like walking in a circle&lt;br /&gt;
&lt;br /&gt;
%20 - 4(i2 - j2) - 2(i2 - i3) = 0&lt;br /&gt;
&lt;br /&gt;
%i3: -2(i3 - i2) - 8(i3 - j2) - 5 * i3 = 0&lt;br /&gt;
&lt;br /&gt;
%j2: -4(j2 - i2) - 6(j2) - 8(j2 - i3) = 0&lt;br /&gt;
&lt;br /&gt;
%[i2 j2 i3]&lt;br /&gt;
&lt;br /&gt;
% &amp;nbsp; &amp;nbsp; i1 i2 i3 &amp;nbsp; i1 j2 i3&lt;br /&gt;
A = [ 6 -4 -2; 2 8 -15; 4 -18 8]&lt;br /&gt;
&lt;br /&gt;
b = [20; 0; 0]; % from first eqaution set to 20&lt;br /&gt;
&lt;br /&gt;
A\b&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%20v - 6j2 - 5 i3 = 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp;-4 &amp;nbsp; &amp;nbsp;-2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; -15&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; -18 &amp;nbsp; &amp;nbsp; 8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 5.1759&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 1.9095&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 1.7085&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/8452891587245024875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1228.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8452891587245024875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/8452891587245024875'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1228.html' title='Problem 12.28'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-4144050958703397393</id><published>2012-04-15T11:44:00.003-07:00</published><updated>2012-05-13T07:56:04.584-07:00</updated><title type='text'>Problem 12.25</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4xRBtDOKggcPtEUBMSva2J93TG6uvK1pNIQW-LImEq2mzX8hQ-NR9GxUbps8hAF8AEOPIRJds-j1b6HJ-v1XDJ4BsXrNU72loIW6r4XaHBs7xF9f5wUkP2D8lCIXybOrIo3C2_VEVkFyV/s1600/Numerical_Methods_Figure_p12_25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4xRBtDOKggcPtEUBMSva2J93TG6uvK1pNIQW-LImEq2mzX8hQ-NR9GxUbps8hAF8AEOPIRJds-j1b6HJ-v1XDJ4BsXrNU72loIW6r4XaHBs7xF9f5wUkP2D8lCIXybOrIo3C2_VEVkFyV/s640/Numerical_Methods_Figure_p12_25.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
%12.25&lt;br /&gt;
%Solve the circuit in Fig. P12.25 for the currents in each wire. Use gauss&lt;br /&gt;
%elimination with pivoting.&lt;br /&gt;
&lt;br /&gt;
%Kirchhoff&#39;s current law&lt;br /&gt;
%At any node (junction) in an electrical circuit, the sum of currents&lt;br /&gt;
%flowing into that node is equal to the sum of currents flowing out of&lt;br /&gt;
%that node which is equal to zero.&lt;br /&gt;
&lt;br /&gt;
%x1 =&lt;br /&gt;
%x2 = i - i2 - i3 = 0&lt;br /&gt;
%x3 = i3 - i4 - i5 = 0&lt;br /&gt;
%x4&lt;br /&gt;
%x5 = i2 + i7 - i8 = 0&lt;br /&gt;
%x6 = i4 + i6 - i7 = 0&lt;br /&gt;
%x7 = i5 + i9 - i6 = 0&lt;br /&gt;
%x8 = i8 - i9 - i10 = 0&lt;br /&gt;
%x9 =&lt;br /&gt;
&lt;br /&gt;
%Kirchhoff&#39;s voltage law&lt;br /&gt;
%kvl = 110v -5i3 - 20i5 - 5i5 + 0i9 + 15i9 - 40 = 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%kv1 = 110v -5i3 - 20i5 - 5i5 + 0i9 + 15i9 - 40v = 0 entire loop&lt;br /&gt;
%kvl2 = 10i7 +10i6 +0i9 +15i9 - 50i8 = 0 right loop&lt;br /&gt;
%kvl3 = -5i3 - 5i4 - 10i7 + 20i2 = 0 left bottom&lt;br /&gt;
%kvl4 = -5i5 - 5i5 - 10i6 +5i4 = 0 left top&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%i1 &amp;nbsp; &amp;nbsp; &amp;nbsp;i2 &amp;nbsp; &amp;nbsp; i3 &amp;nbsp; &amp;nbsp;i4 &amp;nbsp; &amp;nbsp;i5 &amp;nbsp; &amp;nbsp; i6 &amp;nbsp; i7 &amp;nbsp; i8 &amp;nbsp; &amp;nbsp;i9 &amp;nbsp; i10&lt;br /&gt;
A = [0 &amp;nbsp;0 &amp;nbsp; &amp;nbsp; -5 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;-25 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; 15 &amp;nbsp; &amp;nbsp;-40; ...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp;10 &amp;nbsp; -50 &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0;...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;20 &amp;nbsp; &amp;nbsp; -5 &amp;nbsp; -5 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0; ...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; -25 &amp;nbsp; &amp;nbsp;-10 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0;];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;B = [110; 0; 0; 0];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;A\B&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp;-4 &amp;nbsp; &amp;nbsp;-2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; -15&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; -18 &amp;nbsp; &amp;nbsp; 8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 5.1759&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 1.9095&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 1.7085&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp;-2.7500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/4144050958703397393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1225.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4144050958703397393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4144050958703397393'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1225.html' title='Problem 12.25'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4xRBtDOKggcPtEUBMSva2J93TG6uvK1pNIQW-LImEq2mzX8hQ-NR9GxUbps8hAF8AEOPIRJds-j1b6HJ-v1XDJ4BsXrNU72loIW6r4XaHBs7xF9f5wUkP2D8lCIXybOrIo3C2_VEVkFyV/s72-c/Numerical_Methods_Figure_p12_25.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-4363222577143743038</id><published>2012-04-15T11:44:00.001-07:00</published><updated>2012-05-13T11:31:38.157-07:00</updated><title type='text'>Problem 12.19 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Problem 12.19 Numerical Methods&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Solve for the forces and reaction for the truss in Fig. P12.19. Determine the matrix inverse for the system. Does the vertical member force in the middle member seem reasonable? Why?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;(Click photo to enlarge)&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPa-1S3B-8fhdlG3shkhta4ivLBCDABCb_chpcrsXqHF_fnrZhm0tduLmu1C2WQFYfiI2XYYM6jbaz46OixRtoEoujBivDH5UbUtGZJoUTLteNtB_WR06N4DsyIwnMKulM2VKW6oEqyV96/s1600/Numerical_Methodss_figure_12_19_modified.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;324&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPa-1S3B-8fhdlG3shkhta4ivLBCDABCb_chpcrsXqHF_fnrZhm0tduLmu1C2WQFYfiI2XYYM6jbaz46OixRtoEoujBivDH5UbUtGZJoUTLteNtB_WR06N4DsyIwnMKulM2VKW6oEqyV96/s640/Numerical_Methodss_figure_12_19_modified.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;object width=&quot;320&quot; height=&quot;266&quot; class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://i.ytimg.com/vi/K_kHd3VVDeI/0.jpg&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/K_kHd3VVDeI?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; /&gt;
&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;
&lt;embed width=&quot;320&quot; height=&quot;266&quot;  src=&quot;http://www.youtube.com/v/K_kHd3VVDeI?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;First we must find the sum of the forces at each point on the truss&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;(1)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj00EXlhP6TnxvelRM7T8cPeyeehKtG0GKcKvP_Tnt7TCPf8YBafGjJa7CILQWwuaCgE2z4-oWWI5Up2TBoXNWSzFYrVNqga2_yES_qNsTtoI_K_zZNXYXUlY3USklhurjgUlzbPe-jtxS9/s1600/Numerical_Methodss_figure_12_19_modified_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj00EXlhP6TnxvelRM7T8cPeyeehKtG0GKcKvP_Tnt7TCPf8YBafGjJa7CILQWwuaCgE2z4-oWWI5Up2TBoXNWSzFYrVNqga2_yES_qNsTtoI_K_zZNXYXUlY3USklhurjgUlzbPe-jtxS9/s1600/Numerical_Methodss_figure_12_19_modified_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fx = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F1x + F16 + F12cos(60) = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fy = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F1y + F12 * sin(60) = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;(2)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW6Zctxo6kpfGd40tWDERhrYOLBJ4pVGNZIRYvGADzpp2ZPBUUmGkcSXWKYP58Taibu7IXes27R_J9FECbCPZmV8-CcY8U-UCIrn040lX3Y-bQ4pAV0rHWGyO3oFB0Wq_yqAtwWv5Gv7kc/s1600/Numerical_Methodss_figure_12_19_modified_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW6Zctxo6kpfGd40tWDERhrYOLBJ4pVGNZIRYvGADzpp2ZPBUUmGkcSXWKYP58Taibu7IXes27R_J9FECbCPZmV8-CcY8U-UCIrn040lX3Y-bQ4pAV0rHWGyO3oFB0Wq_yqAtwWv5Gv7kc/s1600/Numerical_Methodss_figure_12_19_modified_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fx = 0
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F12 * cos(60) - F26 * cos(60) + F23 = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fy = 0
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F12 * sin(60) + F26 * sin(60) = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;(3)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJuLz6FXVaZCpFGadwUPepWY9WSNooZxj9umO_yMezRe0J2ucpp8J0senmvH6qppjaZu761NOPef23A1t2c6RUXBKBaFgxi_zlTkXV5sDrNebVFCXpakRKSBJhtqiWc-yliSTZRwDkDzcr/s1600/Numerical_Methodss_figure_12_19_modified_3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJuLz6FXVaZCpFGadwUPepWY9WSNooZxj9umO_yMezRe0J2ucpp8J0senmvH6qppjaZu761NOPef23A1t2c6RUXBKBaFgxi_zlTkXV5sDrNebVFCXpakRKSBJhtqiWc-yliSTZRwDkDzcr/s1600/Numerical_Methodss_figure_12_19_modified_3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fx = 0
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F23 + F34 = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fy = 0
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F36 = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;(4)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSOZRl_3Dq9tmipaJqDQyI0mO3gMmMv8vVZ_ssh_Ahur1T4HN-SPUlKQafj7fzIGjr20_ULFGl7-sf7lpHVvwzhD0qQxtBuD07TOOTyz6hjzh4gz7IZgv3WqPTWOyjEYUk3kt_fyIO6EKx/s1600/Numerical_Methodss_figure_12_19_modified_4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSOZRl_3Dq9tmipaJqDQyI0mO3gMmMv8vVZ_ssh_Ahur1T4HN-SPUlKQafj7fzIGjr20_ULFGl7-sf7lpHVvwzhD0qQxtBuD07TOOTyz6hjzh4gz7IZgv3WqPTWOyjEYUk3kt_fyIO6EKx/s1600/Numerical_Methodss_figure_12_19_modified_4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fx = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;F34 + F46 * cos(45) - F45 * cos(45) = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fy = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F46 * sin(45) + F45 * sin(45) = 0
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;(5)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZPYji6UZB6RvBXeQ0GrBPRJbkEpNFd6Lme7rhrKwuhK9vO7i3oHayrIIRssPYAI1Fx1A2_ZwDg5bKQvv1vLFOFXaZqVjbEEE1EJ-jrza73_7wkPUd8uaREAxuwESIQKbb8_BdL68HnMO5/s1600/Numerical_Methodss_figure_12_19_modified_5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZPYji6UZB6RvBXeQ0GrBPRJbkEpNFd6Lme7rhrKwuhK9vO7i3oHayrIIRssPYAI1Fx1A2_ZwDg5bKQvv1vLFOFXaZqVjbEEE1EJ-jrza73_7wkPUd8uaREAxuwESIQKbb8_BdL68HnMO5/s1600/Numerical_Methodss_figure_12_19_modified_5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fx = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F65 - F45 * cos(45)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fy = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
F5y + F45 * sin(45)
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;(6)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhGWmU3lVZX4d-XfILhBTJoKZoYskEcVFd2hv3DudKBycoRwa7mpDw9CHHeCvcDXNgHJcW6dwEpffJ2LCoNjq4GhBgjozR_lUUjP1aJQTMrgDAdbHUp15OI5fSOBP3UhYvaAM8WrFfug6N/s1600/Numerical_Methodss_figure_12_19_modified_6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhGWmU3lVZX4d-XfILhBTJoKZoYskEcVFd2hv3DudKBycoRwa7mpDw9CHHeCvcDXNgHJcW6dwEpffJ2LCoNjq4GhBgjozR_lUUjP1aJQTMrgDAdbHUp15OI5fSOBP3UhYvaAM8WrFfug6N/s1600/Numerical_Methodss_figure_12_19_modified_6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fx = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
0 = F16 + F65 + F46 * cos(45) - &amp;nbsp;F26 *cos(60)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
sum of Fy = 0&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
3500 =&amp;nbsp;F26 *sin(60) + F36 + F46 * sin(45)&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;MATLAB Code&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
(Click photo to enlarge)
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcvg09twaMMQFfyDdlShyphenhyphenf0ixNtKIE1Xh_bqZBDM9yBpo8JHeEX1NsLzYQ9j81vXoEPJt67vspFib8KQ7eZvYiT7YILjtRZo1jPsbpQW0PqBpdM_LqYONQxnFqAeDeJCieGYmtsZQf0mG4/s1600/Numerical_Methods_Problem_12_19.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;556&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcvg09twaMMQFfyDdlShyphenhyphenf0ixNtKIE1Xh_bqZBDM9yBpo8JHeEX1NsLzYQ9j81vXoEPJt67vspFib8KQ7eZvYiT7YILjtRZo1jPsbpQW0PqBpdM_LqYONQxnFqAeDeJCieGYmtsZQf0mG4/s640/Numerical_Methods_Problem_12_19.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&amp;nbsp;MATLAB solution&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
A = Matrix of the forces&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
B = Forces&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
C = Solution Matrix (actual forces at positions)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
ans = the inverse of the A matrix&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
(Click photo to enlarge)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzOo4jdUqyxCqX4m2Gx-qdnK80qbiXF8_Q0pssS0dYEe9LsanCpsJAtgq1pkEX8eZSC1SRMAmJ1BUzdoImZK8M_uw_9ivDdwbwyhWeXT3JZ56I0vUEPcDLVFM_UTFN6cbxg0bvNwzXS2z-/s1600/Numerical_Methods_Problem_12_19_solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzOo4jdUqyxCqX4m2Gx-qdnK80qbiXF8_Q0pssS0dYEe9LsanCpsJAtgq1pkEX8eZSC1SRMAmJ1BUzdoImZK8M_uw_9ivDdwbwyhWeXT3JZ56I0vUEPcDLVFM_UTFN6cbxg0bvNwzXS2z-/s640/Numerical_Methods_Problem_12_19_solution.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFr0ImD-5YTE3GGeLqzadeUerBhyphenhyphenSjI86Ll9olZgallcVM7JZgJqcWCvmKK3g2_jYE2Vygt7GeHDm_cVaNwoJN3UHal-Har99pBu2kldx_nAuJA2Vln5HWsXIuSXWegVxfSWgeGqGs-OUL/s1600/Numerical_Methods_Problem_12_19_solutions.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFr0ImD-5YTE3GGeLqzadeUerBhyphenhyphenSjI86Ll9olZgallcVM7JZgJqcWCvmKK3g2_jYE2Vygt7GeHDm_cVaNwoJN3UHal-Har99pBu2kldx_nAuJA2Vln5HWsXIuSXWegVxfSWgeGqGs-OUL/s640/Numerical_Methods_Problem_12_19_solutions.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/4363222577143743038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1219.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4363222577143743038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4363222577143743038'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1219.html' title='Problem 12.19 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPa-1S3B-8fhdlG3shkhta4ivLBCDABCb_chpcrsXqHF_fnrZhm0tduLmu1C2WQFYfiI2XYYM6jbaz46OixRtoEoujBivDH5UbUtGZJoUTLteNtB_WR06N4DsyIwnMKulM2VKW6oEqyV96/s72-c/Numerical_Methodss_figure_12_19_modified.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-1338229908873606999</id><published>2012-04-15T11:43:00.000-07:00</published><updated>2012-05-13T11:30:59.500-07:00</updated><title type='text'>Problem 12.11 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 12.11 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;A peristalic pump delivers a unit flow (Q1) of a highly viscous fluid.The network is depicted in Fig. P12.11. &amp;nbsp;Every pipe section has the same&amp;nbsp;length a diameter. The mass and mechanical energy balance can be&amp;nbsp;simplified to obtain the flows in every pipe. Solve the following system&amp;nbsp;of equations to obtain the flow in every stream.&lt;br /&gt;
&lt;br /&gt;
Q3 + 2Q4 - 2Q2 = 0&lt;br /&gt;
Q5 + 2Q6 - 2Q4 = 0&lt;br /&gt;
3Q7 - 2Q6 = 0&lt;br /&gt;
Q1 = Q2 + Q3 == % -Q1 + &amp;nbsp;Q2 + Q3 = 0&lt;br /&gt;
Q3 = Q4 + Q5 == % -Q3 + Q4 + Q5 = 0&lt;br /&gt;
Q5 = Q6 + Q7 == % -Q5 + Q6 + Q7 = 0&lt;br /&gt;
&amp;nbsp;Q1 = Q2 + Q3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/lS5wWYBtWP4?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifnY6uliMK8rI2RivsPfDDcdbZRyRuG-jbbEhGPdrb2X_kROaMssJEET55QYvTnaDnu3wK-x8AbqOG2e-C-kLi_cav7EmKFXjS58-36lic5RFO5dKoAckHrzsIWkeXOMKLdSoWUtrnM_Jy/s1600/Numerical_Methods_Problem_12_11.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifnY6uliMK8rI2RivsPfDDcdbZRyRuG-jbbEhGPdrb2X_kROaMssJEET55QYvTnaDnu3wK-x8AbqOG2e-C-kLi_cav7EmKFXjS58-36lic5RFO5dKoAckHrzsIWkeXOMKLdSoWUtrnM_Jy/s640/Numerical_Methods_Problem_12_11.PNG&quot; width=&quot;572&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
x = solved for the system relative to Q1&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifHzfVd151X79tZVeam6RPn0pEywmoHkHkL8EHrkDI3AgAXDyyAy9agPG_KkMJ2nDqiXd9orUkf4olU2boqaesKkrY34xglW0m1ZjdvEWgKL-kqHqG8RLL_Il-2GCBD4pYxucWgIMzCbzc/s1600/Numerical_Methods_Problem_12_11_solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifHzfVd151X79tZVeam6RPn0pEywmoHkHkL8EHrkDI3AgAXDyyAy9agPG_KkMJ2nDqiXd9orUkf4olU2boqaesKkrY34xglW0m1ZjdvEWgKL-kqHqG8RLL_Il-2GCBD4pYxucWgIMzCbzc/s640/Numerical_Methods_Problem_12_11_solution.PNG&quot; width=&quot;548&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/1338229908873606999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1211-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/1338229908873606999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/1338229908873606999'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1211-numerical-methods.html' title='Problem 12.11 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifnY6uliMK8rI2RivsPfDDcdbZRyRuG-jbbEhGPdrb2X_kROaMssJEET55QYvTnaDnu3wK-x8AbqOG2e-C-kLi_cav7EmKFXjS58-36lic5RFO5dKoAckHrzsIWkeXOMKLdSoWUtrnM_Jy/s72-c/Numerical_Methods_Problem_12_11.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7580381826503066472.post-4947801286988172726</id><published>2012-04-15T10:58:00.003-07:00</published><updated>2012-05-13T11:30:25.562-07:00</updated><title type='text'>Problem 11.28 Numerical Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Problem 11.28 Numerical Methods&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
A pentadiagnol system with a bandwith of five can be expressed generally&amp;nbsp;as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
f1 g1 h1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;x1 &amp;nbsp; &amp;nbsp; r1&lt;br /&gt;
e2 f2 g2 h2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; x2 &amp;nbsp; &amp;nbsp; r2&lt;br /&gt;
d3 e3 f3 g3 h3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;x3 &amp;nbsp; &amp;nbsp; r3&lt;br /&gt;
... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . &amp;nbsp;= &amp;nbsp; .&lt;br /&gt;
&amp;nbsp; &amp;nbsp;... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;br /&gt;
.............dn-1 en-1 fn-1 gn-1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xn-1 &amp;nbsp; rn-1&lt;br /&gt;
..................dn &amp;nbsp; &amp;nbsp;en &amp;nbsp; fn &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xn &amp;nbsp; &amp;nbsp; rn&lt;br /&gt;
&lt;br /&gt;
Develop a program to efficiently solve such systems without pivoting in a&amp;nbsp;similar fashion to the algorithm used for traditional matrices in Sec&amp;nbsp;11.11. Test it for the following case:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/n26P0tr-VO4?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATLAB Code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEireawojZDzZ_xB6ruMnT_FNy9DATQxQmIR952lmCSQibFELLyYPyRm6Au18WqqXG81qwAL-GXhFqRZjdQHGxmVXO2v3xTnCyeYw6woSlIiY0fm5hLQvOAm689UpXyXRScSp7UEvPYUwEFv/s1600/Numerical_Methods_Problem_11_28.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;630&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEireawojZDzZ_xB6ruMnT_FNy9DATQxQmIR952lmCSQibFELLyYPyRm6Au18WqqXG81qwAL-GXhFqRZjdQHGxmVXO2v3xTnCyeYw6woSlIiY0fm5hLQvOAm689UpXyXRScSp7UEvPYUwEFv/s640/Numerical_Methods_Problem_11_28.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Solution&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
A = Matrix A&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
B = Matrix B&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
X = A\B&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
XX = linsolve(A\B)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKzJfCN0MQQEpjpDtxNsXGrjHBrslI7S2ZRinGpgpr5YFYW3IgmddF5j9zFiOaLPGpV3hgWES_EgS8yzcbHpMYEkZB7uEzbkIe9ZjBGBAJaxDgfeekfim_DzGmc6jhCRMt_Xxb__KR7cAx/s1600/Numerical_Methods_Problem_11_28_solution.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKzJfCN0MQQEpjpDtxNsXGrjHBrslI7S2ZRinGpgpr5YFYW3IgmddF5j9zFiOaLPGpV3hgWES_EgS8yzcbHpMYEkZB7uEzbkIe9ZjBGBAJaxDgfeekfim_DzGmc6jhCRMt_Xxb__KR7cAx/s640/Numerical_Methods_Problem_11_28_solution.PNG&quot; width=&quot;548&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://numericalmethodsforengineerscsc.blogspot.com/feeds/4947801286988172726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1128-numerical-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4947801286988172726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7580381826503066472/posts/default/4947801286988172726'/><link rel='alternate' type='text/html' href='http://numericalmethodsforengineerscsc.blogspot.com/2012/04/problem-1128-numerical-methods.html' title='Problem 11.28 Numerical Methods'/><author><name>Case</name><uri>http://www.blogger.com/profile/11508432287194348562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEireawojZDzZ_xB6ruMnT_FNy9DATQxQmIR952lmCSQibFELLyYPyRm6Au18WqqXG81qwAL-GXhFqRZjdQHGxmVXO2v3xTnCyeYw6woSlIiY0fm5hLQvOAm689UpXyXRScSp7UEvPYUwEFv/s72-c/Numerical_Methods_Problem_11_28.PNG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>