Offline
Newbie
Karma: 0
Posts: 19


« on: June 25, 2013, 10:13:03 am » 
can arduino perform integral calculus ??? how to do it?? is there a library to do that???



Logged





UK
Offline
Shannon Member
Karma: 223
Posts: 12630



« Reply #1 on: June 25, 2013, 11:06:42 am » 
Depends what you mean by 'perform integral calculus' but if you mean can it generate a formula for the solution of an integral equation then the answer is no.
However, if you (the programmer) solve the integral calculus to generate a formula for the result and reduce it to an arithmetic expression, the Arduino can evaluate that expression for specific data sets. Alternatively, if you want to integrate a sequence of discrete values then the code to do that is also simple.
The question would be much easier to answer if it was less vague and more specific about what you want to achieve.



Logged

I only provide help via the forum  please do not contact me for private consultancy.




Offline
Newbie
Karma: 0
Posts: 19


« Reply #2 on: June 25, 2013, 12:26:34 pm » 
then can u mention a microcontroller to do integral calculus???? its important to mention in my research project that the microcontrollers that can perform integral calculus functions.... thans



Logged





Rapa Nui
Offline
Edison Member
Karma: 60
Posts: 2073
Pukao hats cleaning services


« Reply #3 on: June 25, 2013, 12:29:46 pm » 


« Last Edit: June 25, 2013, 12:31:20 pm by pito »

Logged





California
Offline
Newbie
Karma: 0
Posts: 14


« Reply #4 on: June 25, 2013, 01:48:22 pm » 
Does the Arduino provide native support "integral calculus" through the Arduino programming language? No.
Can you find a library that someone has already written to do this? I don't know, but I would guess someone out there has done it so it's worth looking for.
Can you program your own library, or your own functions to do it? Yes. As someone has said, finding discrete integrals is really pretty simple with just about any programming language out there.
I would seriously doubt there are any microcontrollers out there that support it natively. Heck, even supercomputers rely on software to do that for them.



Logged





UK
Offline
Shannon Member
Karma: 223
Posts: 12630



« Reply #5 on: June 25, 2013, 05:49:07 pm » 
its important to mention in my research project that the microcontrollers that can perform integral calculus functions.... thans
Then it's important that you understand what it means when you say 'perform integral calculus functions'. What do you think it means?



Logged

I only provide help via the forum  please do not contact me for private consultancy.




Offline
Edison Member
Karma: 33
Posts: 1447


« Reply #6 on: June 25, 2013, 05:57:24 pm » 
To further clarify PeterH's point: Do you you mean numerical integration? To *evaluate* an integral under some set of conditions? i.e., "trapezoidal rule" (My HP41 can do that!)
or
Do you mean to input the symbolic math notation and have the micro solve the integral in symbolic math notation, like Maple?



Logged





Poole, Dorset, UK
Offline
Edison Member
Karma: 52
Posts: 2313


« Reply #7 on: June 25, 2013, 06:55:54 pm » 
Very few languages can do any kind of algebra. Statements such as a=b+c in c/c++ in the vast majority of programming languages are not related to algebra.
Mark


« Last Edit: June 25, 2013, 08:00:02 pm by holmes4 »

Logged





Offline
Edison Member
Karma: 48
Posts: 1632


« Reply #8 on: June 25, 2013, 07:53:44 pm » 
algebra statements such as a=b+c in c/c++ That's not an algebraic statement. It's an assignment statement. Pete



Logged





Poole, Dorset, UK
Offline
Edison Member
Karma: 52
Posts: 2313


« Reply #9 on: June 25, 2013, 08:01:01 pm » 
Opps (re wine) just corrected my statement.
Mark



Logged





