integration in c++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2004
Posts: 15
Reputation: axiss is an unknown quantity at this point 
Solved Threads: 0
axiss's Avatar
axiss axiss is offline Offline
Newbie Poster

integration in c++

 
0
  #1
Apr 16th, 2006
does anyone know where I can find some help on integration functions in c++?
Me fail English?
Unpossible
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: integration in c++

 
0
  #2
Apr 16th, 2006
Originally Posted by axiss
does anyone know where I can find some help on integration functions in c++?
By integration functions do you mean stuff like this:

http://img20.imageshack.us/img20/1562/int4kv.png

where the the upper and lower bounds are defined?

http://img476.imageshack.us/img476/5171/cut20ln.png
Piworld
[Tis simple as Pie]
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: integration in c++

 
0
  #3
Apr 17th, 2006
I don't think there is any built in standard function to do it in C++. You need to use numerical techniques to solve this. Try implementing trapezoidal, simpson etc.. in C++.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 71
Reputation: AhmedHan is an unknown quantity at this point 
Solved Threads: 1
AhmedHan's Avatar
AhmedHan AhmedHan is offline Offline
Junior Poster in Training

Re: integration in c++

 
0
  #4
Apr 18th, 2006
The best way is to create your own classes in such situations. It is not difficult to find sample code on the net. Even if you find it, it won't be handy, because your own code can't take the place of someone else's.

I think it is a waste of time to try understanding sample codes written by other people. In stead, you should write your own code. Yeah, it may take more time but, it will be educatinal for you.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 15
Reputation: axiss is an unknown quantity at this point 
Solved Threads: 0
axiss's Avatar
axiss axiss is offline Offline
Newbie Poster

Re: integration in c++

 
0
  #5
Apr 28th, 2006
thanks for for help. I've programmed a simple runge-kutta function, it's not a good approximation but according to my lecturer it's good enough for this project
Me fail English?
Unpossible
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: integration in c++

 
0
  #6
Apr 28th, 2006
Originally Posted by iamthwee
By integration functions do you mean stuff like this:

http://img20.imageshack.us/img20/1562/int4kv.png

where the the upper and lower bounds are defined?
iamthwee, DaniWeb actually has built-in Tex functionality by using the tex bbcode. There is no need to hotlink tex from an image upload service

iamthwee=x^2
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,342
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 237
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: integration in c++

 
0
  #7
Apr 28th, 2006
Originally Posted by cscgal
iamthwee, DaniWeb actually has built-in Tex functionality by using the tex bbcode. There is no need to hotlink tex from an image upload service

iamthwee=x^2
Does it work for you? It doesn't appear to work for me.
y=x^2
[Unparseable or potentially dangerous latex formula.
Error 4 ]
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: integration in c++

 
0
  #8
Apr 28th, 2006
Exactly, come on now dani... sort this and the code formatting problem like
I 've told you to. Use a javascript hack!
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: integration in c++

 
0
  #9
Apr 29th, 2006
Embarassed Dani says she forgot to install LaTeX on our new webserver.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC