Go Down

### Topic: arduino maths integral calculus (Read 3956 times)previous topic - next topic

#### Nuwan_Senanayake

##### Jun 25, 2013, 05:13 pm
can arduino perform integral calculus how to do it?? is there a library to do that???

#### PeterH

#1
##### Jun 25, 2013, 06:06 pm
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.
I only provide help via the forum - please do not contact me for private consultancy.

#### Nuwan_Senanayake

#2
##### Jun 25, 2013, 07:26 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

#### pito

#3
##### Jun 25, 2013, 07:29 pmLast Edit: Jun 25, 2013, 07:31 pm by pito Reason: 1
Any microcontroller can provide an integral calculus.

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

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

#### dtp1

#4
##### Jun 25, 2013, 08:48 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.

#### PeterH

#5
##### Jun 26, 2013, 12:49 am

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?
I only provide help via the forum - please do not contact me for private consultancy.

#### KeithRB

#6
##### Jun 26, 2013, 12:57 am
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?

#### holmes4

#7
##### Jun 26, 2013, 01:55 amLast Edit: Jun 26, 2013, 03:00 am by holmes4 Reason: 1
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

#### el_supremo

#8
##### Jun 26, 2013, 02:53 am
Quote
algebra statements such as a=b+c in c/c++

That's not an algebraic statement. It's an assignment statement.

Pete
Don't send me technical questions via Private Message.

#### holmes4

#9
##### Jun 26, 2013, 03:01 am
Opps (re wine) just corrected my statement.

Mark

Go Up

Please enter a valid email to subscribe