Pages: [1]   Go Down
Author Topic: arduino maths integral calculus  (Read 1519 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

can arduino perform integral calculus ??? how to do it?? is there a library to do that???
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12568
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Edison Member
*
Karma: 60
Posts: 2066
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any microcontroller can provide an integral calculus.

http://en.wikipedia.org/wiki/Integral

http://en.wikipedia.org/wiki/Numerical_integration
« Last Edit: June 25, 2013, 12:31:20 pm by pito » Logged

California
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Shannon Member
****
Karma: 223
Posts: 12568
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Edison Member
*
Karma: 32
Posts: 1388
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 HP-41 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 Offline
Edison Member
*
Karma: 50
Posts: 2207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Edison Member
*
Karma: 43
Posts: 1556
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
algebra statements such as a=b+c in c/c++
That's not an algebraic statement. It's an assignment statement.

Pete
Logged

Where are the Nick Gammons of yesteryear?

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 50
Posts: 2207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Opps (re wine) just corrected my statement.

Mark
Logged

Pages: [1]   Go Up
Jump to: