Question to the "zerosys"-function [message #7317] |
Fri, 01 November 1996 00:00 |
Michael Slameczka
Messages: 9 Registered: November 1996
|
Junior Member |
|
|
Well I hope that this will be an easy thing:
In the help file to the zerosys function is the following example:
.run
function f,x
return,[x(0)+x(1)-3,x(0)^2+x(1)^2-9]
end
pm,zerosys("f",2),format='(f10.5)'
it returns as result:
0.00000
3.00000
Now to the problem:
I have as function the following string:
function f,x,a,b
return,[x(0)+x(1)-a,x(0)^2+x(1)^2-b]
end
how can i include the values for a and b in the zerosys function?
pm,zerosys("f",2,3,9),format='(f10.5)'
does not work!
thanks forthe help
michael
------------------------------------------------------------ ------------
Michael Slameczka
Laboratory for Biomechanics
Wagistrasse 4
8952 Schlieren
Switzerland
Phone: +41 1 633 63 58 / 62 11
Fax: +41 1 633 11 24
email: slameczka@biomech.mat.ethz.ch
------------------------------------------------------------ ------------
|
|
|