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 for Programming
 LabTalk Forum
 integrate

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
shyamigcar2 Posted - 06/11/2020 : 04:16:39 AM
How to integrate or differentiate given a equation like for example

y = ∫(x^3 + 4sinx)dx, lower limit 10; upper limit = 50.
4   L A T E S T    R E P L I E S    (Newest First)
shyamigcar2 Posted - 06/12/2020 : 10:24:31 AM
In my origin the integrate function is integ1 and the syntax is different. May be because of this reason it did not work.

In origin there is not function to directly integrate a function like in a calculator.
YimingChen Posted - 06/12/2020 : 09:53:14 AM
This should work.


dataset ds1 = data(10,50,0.1);
dataset ds2 = ds1^3 + 4*sin(ds1);
int nn = ds1.GetSize();
double dd = integrateXY(ds1, ds2)[nn];
dd=;


James
shyamigcar2 Posted - 06/12/2020 : 09:31:03 AM
Thank you for the efforts towards explaining me integration. Thank you very much

But my doubts was not this. I wanted to integrate using the labtalk scripts or using codes in the scripting window. I will be helpful if you can provide me the codes for the same.
YimingChen Posted - 06/12/2020 : 08:41:09 AM
Please check the figure below:


James

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