diff options
Diffstat (limited to '50/DEPENDENCIES/jacob28.sce')
-rwxr-xr-x | 50/DEPENDENCIES/jacob28.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/50/DEPENDENCIES/jacob28.sce b/50/DEPENDENCIES/jacob28.sce new file mode 100755 index 000000000..0553cd801 --- /dev/null +++ b/50/DEPENDENCIES/jacob28.sce @@ -0,0 +1,9 @@ +function [J] = jacob28(x)
+
+//Evaluates the Jacobian of a 2x2
+//system of non-linear equations
+
+J(1,1) = 2*x(1)+x(2); J(1,2) = x(1)+2*x(2);
+J(2,1) = 3*x(1)^2; J(2,2) =3* x(2)^2;
+endfunction
+
|