Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

symbolic mathematical programming....?

is it possible to do symbolic mathematical programming in the following way:

for example

let a=b+c

let d=a+c

let b=x

let c=y

print "d"

let x=1

let y=2

the evaluate "d"

output...d=b+2c; d=5

what if a,b,c=an integral Expression or a differential equations or a partial differential equations, a curl or a div...

a curl is actually the surface area of an integral

a div is actually the gradient of a partial differential equations...

what if u don't add or substract a, b, c but multiple or divide them also.

u evaluate each expressions and simplifies them and print the final answer. each expression

can be evaluate by maple 15. all u have to do is add, substract, multiply and divided them and then use the evaluate and display inline function to simplify the expressions........

for example:

let b=integral x^2

let c=differentiate (3x^5+2x+1)

let a=b+c

let d=a+c

print "d"

let x=1......

evaluate "d"

output....d=x^3/3+c1+2(15x^4+2x)=30x^4+x^3/3+4x+c1, d=34.33+c1......

u can further solve the equation by inputting the boundary values...say if when x=0, d=34.33, so c1=0.

would that gives u a simple symbolic mathematical programming method....?

Update:

p.s. the current mathematical package evaluate each expression one by one........but i want to do mathematical manipulation of all the equations at once and get one single long equation for inspections....

but the problem is u have to input the boundary values and evaluate each integral expression and find the constant before u can evaluate further........

Update 2:

p.s. the mathematical manipulation is merely add, subtract, multiple and divide of equations to form one big single equations at the final output...u do that like u do in normal computer languages like fortran or c++ except each valuable is an integral, differentiation, curl or div expression....

to get around the boundary values problem, u have to use an interactive input/output language like basic where the computer have to ask for the boundary values and u input the boundary values, solve the constant before the computer can further evaluates the expressions....

1 Answer

Relevance
  • ?
    Lv 7
    9 years ago
    Favorite Answer

    I don't know what language (if any specific one) you are using, but most scripts for symbolic math packages look something like the. wxMaxima is an excellent package and its free. Google for it.

Still have questions? Get your answers by asking now.