The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Problem with datasets

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000