Hi,
The order of your statements is wrong, the statement with y= should be the last, so try it this way:
D=(1+4*Kd*(x-I)-((1+8*Kd*(x-I))^0.5))/(8*Kd);
IP=(1+2*Kip*(x-2*D)-((1+4*Kip*(x-2*D))^0.5))/(2*Kip);
I=x-IP-2*D;
y=(IP/x)*deltaip+(2*D/x)*deltad+(I/x)*deltaf;
Also try the 8.5 demo.
We now have a Fitting Function Builder tool, where you can put in some initial values and test the function to see if it is generating values, while you are creating it. So that makes it easy to check if function is okay, BEFORE you try fitting with it.
See: http://originlab.com/www/helponline/Origin/en/Category/The_Fitting_Function_Builder.html
Easwar
OriginLab