[Scilab-users] numderivative Heart function
Rafael Guerra
jrafaelbguerra at hotmail.com
Sat Dec 9 00:26:33 CET 2017
Hi Hermes,
Very confusing problem formulation...
To find solutions of Hxy(x,y) with fsolve along the x=0 slice, it might be easier to use a sliced function H0y as input:
clear all;
function val=Hxy(x, y)
val=(1.25*y-sqrt(abs(x))).^2+x.^2-1;
endfunction;
function z=H0y(y) // slice of Hxy along x=0
x=0;
z= Hxy(x, y);
endfunction;
y1=fsolve(1,H0y);
disp(y1)
y2=fsolve(-1,H0y);
disp(y2)
0.8
- 0.8
Regards,
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20171208/e7bcd17f/attachment.htm>
More information about the users
mailing list