Hi,
Please look at following steps as an example
1. Open NLSF dialog
2. Select Function:New
3. Change Number of Parameters as 3. Select Derivative check box
4. Type following equation and derivative definition in Functon Definition Text box. Please note that each definition should be seperated by semicolon
y = P1 + P2 * x + exp(P3 * x); //User-defined equation
dy_P1 = 1; //Derivative definition of P1
dy_P2 = x; //Derivative definition of P2
dy_P3 = x * exp(P3 * x);//Derivative definition of P3;
5. Click Edit in Code Builder button to make sure the code and be successfully compiled in code builder
6. Save the Function.
If your new derivative equation fail to compile in Step5. It might because equation is not correct in OC format. Would you mind to show us your codes in Functon Definition Text box.
Echo
OriginLab Corp
Edited by - Echo_Chu on 04/09/2008 05:53:55 AM