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
 Doubt About Integration In Origin 8.5.1

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
KayMish Posted - 12/07/2014 : 01:44:24 AM
How does Origin perform integration when done in the 'Set Column Values' window?

To provide my specific example:
I have a simulated function, y = x^4*exp(x)/(exp(x)-1)^2. So I first made a column with x values and then I made a new column, B, and set column values as generated by the above mentioned function.

Now, I have a different column, T, with values from 1-300

(just in case: these are temperature values and I wish to estimate the specific heat curve such that for each temperature value T, the corresponding value must be the integral of the function y, up to the limit T.)

So I set the column values of Col(D):Specific Heat as Integral(Col(B)) and I am getting a curve which looks like a specific heat curve, but I am not sure how exactly the integration has been done and so I don't know if the values I have are correct.
Does the value of each row in Col(D) correspond to the integral of the whole of Col(B) up to the limit T,
or is it numerically integrating the values in Col(B) up to that particular row?

Please help me figure out!
Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
SeanMao Posted - 12/10/2014 : 04:32:08 AM
Hi,

Suppose you have temperature data in column A and used y = x^4*exp(x)/(exp(x)-1)^2 formula to set column values in column B.

Now you want to integrate col(B) to certain temperature value T stored in column A, you can run following scripts:

range rr = [Book1]Sheet1!col(B);
integ1 iy:=rr; // X function integ1 is used to numerically
               // integrate col(B) from X beginning (default)
               // up to current X value 


You can refer to the link below to see what options funciton integ1 has and how to use them:
http://www.originlab.com/doc/X-Function/ref/Integ1

If you want to know the algorithm of this function, please refer to the link below:

http://www.originlab.com/doc/Origin-Help/Math-Integrate

Regards!

Sean

OriginLab Tech. Service

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