File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
Username:
Password:
Save Password
Forgot your Password?
|
Admin Options
All Forums
Origin Forum
Origin Forum
Problem with datasets
New Topic
Reply to Topic
Printer Friendly
Author
Topic
dybdal
Denmark
3 Posts
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
rtoomey
USA
184 Posts
Posted - 01/31/2002 : 09:08:01 AM
The variable "Ea" is not initialized.
- rtoomey
dybdal
Denmark
3 Posts
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
dybdal
Denmark
3 Posts
Posted - 01/31/2002 : 10:05:38 AM
.
Edited by - dybdal on 01/31/2002 10:09:29
dybdal
Denmark
3 Posts
Posted - 01/31/2002 : 10:05:56 AM
.
Edited by - dybdal on 01/31/2002 10:10:05
dybdal
Denmark
3 Posts
Posted - 01/31/2002 : 10:06:09 AM
.
Edited by - dybdal on 01/31/2002 10:10:33
H.Steen
Norway
12 Posts
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
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000