<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fweb.wallawalla.edu/class-wiki/index.php?action=history&amp;feed=atom&amp;title=Robert%27s_Octave_Assignment</id>
	<title>Robert&#039;s Octave Assignment - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://fweb.wallawalla.edu/class-wiki/index.php?action=history&amp;feed=atom&amp;title=Robert%27s_Octave_Assignment"/>
	<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Robert%27s_Octave_Assignment&amp;action=history"/>
	<updated>2026-05-18T07:32:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Robert%27s_Octave_Assignment&amp;diff=9758&amp;oldid=prev</id>
		<title>Silent protagonist: Created page with &#039;Solving a System of Non-Linear Equations: Octave can solve a system of non-linear equations of the form  f(x)=0  using the function fsolve  fsolve (fcn, x0, options)  [x, fvec, i…&#039;</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Robert%27s_Octave_Assignment&amp;diff=9758&amp;oldid=prev"/>
		<updated>2010-10-04T17:38:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;Solving a System of Non-Linear Equations: Octave can solve a system of non-linear equations of the form  f(x)=0  using the function fsolve  fsolve (fcn, x0, options)  [x, fvec, i…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Solving a System of Non-Linear Equations:&lt;br /&gt;
Octave can solve a system of non-linear equations of the form&lt;br /&gt;
&lt;br /&gt;
f(x)=0&lt;br /&gt;
&lt;br /&gt;
using the function fsolve&lt;br /&gt;
 fsolve (fcn, x0, options)&lt;br /&gt;
 [x, fvec, info, output, fjac]= fsolve (fcn,... )&lt;br /&gt;
Where fcn is a vector containing the system, and x0 is a vector containing initial guesses for each variable (nescessary for this particular algorithm). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To solve the system&lt;br /&gt;
 &amp;lt;math&amp;gt;−2x^2+3xy+4sin(y)-6=0&amp;lt;/math&amp;gt;&lt;br /&gt;
 &amp;lt;math&amp;gt;3x^2-2xy^2+3cos(x)+4=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter the following:&lt;br /&gt;
 %define a function for fsolve to use, containing the system&lt;br /&gt;
 functiony=f(x)&lt;br /&gt;
 y(1)=-2*x(1)^2+3*x(1)*x(2)+4*sin(x(2))-6;&lt;br /&gt;
 y(2)=3*x(1)^2-2*x(1)*x(2)^2+3*cos(x(1))+4;&lt;br /&gt;
 endfunction&lt;br /&gt;
 &lt;br /&gt;
 %call fsolve, and place the results into a vector&lt;br /&gt;
 [x,fval,info]=fsolve(@f,[1;2])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See pg 331 in the Octave Manual for more info.&lt;/div&gt;</summary>
		<author><name>Silent protagonist</name></author>
	</entry>
</feed>