T O P I C R E V I E W |
dybdal |
Posted - 01/31/2002 : 07:23:25 AM I have my x-values in Data1_A and I am trying to execute the following script to calculate the y-values (and store them in column Data1_D):
Ea=10000; H=1000; Tu=350; Data1_C=exp((-Ea/(8,314))*((1/(Data1_A))-(1/Tu))); integrate Data1_C; Data1_D=H*Data1_C*exp(-(_integ_area));
My problem is I don't get any values in column Data1_D?
Edited by - dybdal on 01/31/2002 10:08:23 |
6 L A T E S T R E P L I E S (Newest First) |
H.Steen |
Posted - 01/31/2002 : 12:11:02 PM Hi,
I think the problem is the number format,
In the line
Data1_C=exp((-Ea/(8,314)) .....
I change the number 8,314 to 8.314 and it worked on my computer.
(The result might depend on regional settings in Control Panel)
Helge
|
dybdal |
Posted - 01/31/2002 : 10:06:09 AM .
Edited by - dybdal on 01/31/2002 10:10:33 |
dybdal |
Posted - 01/31/2002 : 10:05:56 AM .
Edited by - dybdal on 01/31/2002 10:10:05 |
dybdal |
Posted - 01/31/2002 : 10:05:38 AM .
Edited by - dybdal on 01/31/2002 10:09:29 |
dybdal |
Posted - 01/31/2002 : 10:05:27 AM Sorry I forgot to copy the first line:
Ea=10000;
I have tried to initialize all variables, but it doesn't solve my problem.
Edited by - dybdal on 01/31/2002 10:11:13 |
rtoomey |
Posted - 01/31/2002 : 09:08:01 AM The variable "Ea" is not initialized.
- rtoomey
|