1 Pages (9 items)
Double Integrals - Messages
#1 Posted: 5/18/2010 12:05:53 PM
Hello All
1
I would like to thank for making this great program available, all the work that has been done!!

2
I am confronted with the problem of solving a double integral over a rectangle area...
basically id like to calculate an area of a rectangle, with the dxdy elements multiplied by the distance from the origin.
ex something like this:
int(int(sqrt(x^2+y^2))dx)dy
...i can get smath to show the double integral, but it keeps complaining that one of the variables is undefined.
Is this currently not solvable, because to get to the "outside" integral, some symbolic evaluation of sqrt(x,y) is necessary?
thanks for any help and best regards,
Mike Stamm
1
I would like to thank for making this great program available, all the work that has been done!!

2
I am confronted with the problem of solving a double integral over a rectangle area...
basically id like to calculate an area of a rectangle, with the dxdy elements multiplied by the distance from the origin.
ex something like this:
int(int(sqrt(x^2+y^2))dx)dy
...i can get smath to show the double integral, but it keeps complaining that one of the variables is undefined.
Is this currently not solvable, because to get to the "outside" integral, some symbolic evaluation of sqrt(x,y) is necessary?
thanks for any help and best regards,
Mike Stamm
#2 Posted: 5/18/2010 12:14:30 PM
Um, that looks wrong.
I'd a thunk the area of a rectangle was more like something like
integral smally bigy integral small x bigx dx dy
rather than the scary thing you posted
I'd a thunk the area of a rectangle was more like something like
integral smally bigy integral small x bigx dx dy
rather than the scary thing you posted
#3 Posted: 5/24/2010 9:56:21 AM
Hi Greg
Im not worried about the f(x,y) function, im just interested in evaulating a double integral int(int(f(x,y)))dxdy, on A This doesnt seem possible at the moment, correct?
I think the integral is correct by the way, i would like to weight the dA elements by the distance from center...
Mike
Im not worried about the f(x,y) function, im just interested in evaulating a double integral int(int(f(x,y)))dxdy, on A
I think the integral is correct by the way, i would like to weight the dA elements by the distance from center...
Mike
#4 Posted: 5/25/2010 11:03:16 AM
#5 Posted: 5/25/2010 5:36:17 PM
Hello,
I think that the numerical integration incorporated in SMath is ment to solve the single definite integrals only. I think it is based on the numerical algorithms for the single definite integrals. Moreover, the SMath author - Andrey Ivashov - can give you more precise answer to this.
Regards,
Radovan
I think that the numerical integration incorporated in SMath is ment to solve the single definite integrals only. I think it is based on the numerical algorithms for the single definite integrals. Moreover, the SMath author - Andrey Ivashov - can give you more precise answer to this.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#6 Posted: 5/25/2010 9:49:30 PM
Hi.
It's simple. Numeric integration represented in SMath Studio by int(..) function, this function uses Simpson method to integrate. When you write double integral using int(int()) then SMath Studio first of all tries to solve most prioritized operation - inner int(..)... but it is impossible, because function to integrate has two variables - this is not a behavior of simple Simpson. So, as a result, program shows an error, that one of the variables is undefined.
Please, use special numerical methods for double integral solving.
Best regards, Andrey Ivashov.
It's simple. Numeric integration represented in SMath Studio by int(..) function, this function uses Simpson method to integrate. When you write double integral using int(int()) then SMath Studio first of all tries to solve most prioritized operation - inner int(..)... but it is impossible, because function to integrate has two variables - this is not a behavior of simple Simpson. So, as a result, program shows an error, that one of the variables is undefined.
Please, use special numerical methods for double integral solving.
Best regards, Andrey Ivashov.
#7 Posted: 5/26/2010 8:35:06 AM
Hello Radovan and Andrey
Thank you for the explanations.
Does Smath have "special numerical methods" for solving dbl integrals built-in? If not, will it in the future?
Best Regards
Mike Stamm
For example, Maxima has the "dblint" function available, as follows:

Thank you for the explanations.
Does Smath have "special numerical methods" for solving dbl integrals built-in? If not, will it in the future?
Best Regards
Mike Stamm
For example, Maxima has the "dblint" function available, as follows:

#8 Posted: 10/2/2014 1:05:30 PM
If the variables can be separated, SMath can do multiple integrals in symbolic mode.
** sorry about the confusing spaces below, the forum interpreter evaluated some ( as smilies when typed without spaces.
example: to evaluate
int ( int ( ab ) da ) db
write it as
int ( b * int ( a ) da ) db
and select symbolic for the optimization mode
(Only the integral needs to be in symbolic mode. The rest of the worksheet can be evaluated numerically if that speeds calculation.)
If a numeric answer is needed, write as follows with symbolic optimization for the first line and numeric optimization for the second:
ans := int ( b * int ( a ) da ) db
ans =
To integrate something like sqrt ( a+b ), a variable substitution can sometimes be used to convert to a single variable, depending on the nature of the problem.
** sorry about the confusing spaces below, the forum interpreter evaluated some ( as smilies when typed without spaces.
example: to evaluate
int ( int ( ab ) da ) db
write it as
int ( b * int ( a ) da ) db
and select symbolic for the optimization mode
(Only the integral needs to be in symbolic mode. The rest of the worksheet can be evaluated numerically if that speeds calculation.)
If a numeric answer is needed, write as follows with symbolic optimization for the first line and numeric optimization for the second:
ans := int ( b * int ( a ) da ) db
ans =
To integrate something like sqrt ( a+b ), a variable substitution can sometimes be used to convert to a single variable, depending on the nature of the problem.
1 Pages (9 items)
-
New Posts
-
No New Posts