## 65 Reputation

10 years, 75 days

## Sqlite Connector...

Maple

Hi, again:

Is there a way to connect Maple with Sqlite?

C.L.

## expand product of sum and difference of ...

Maple

Hi, friends:

Having an expression like this:

ee:=(c^2+a^2-b^2)*(a^2-c^2)^3*(a^2+c^2)^3;

What is the right way to get:

ee:=(c^2+a^2-b^2)*(a^4-c^4)^3 ?

I have tried:

ee:=applyrule((X::algebraic^k::integer + Y::algebraic^k::integer)^n::integer *
(X::algebraic^k::integer - Y::algebraic^k::integer)^n::integer = (X^(2*k)+Y(2*k))^n, ee)

## MySQL - Changing x^y to POWER(x,y)...

Maple

Hi:

I am using Maple + MySql and can execute queries like this:

nZero:=10^(-6);

ee:=7*u+6*v-2*w;

ss:=convert(ee,string):

sql:=sprintf("SELECT n FROM centers WHERE  ABS(%s)<%a ", ss, nZero ):

Problems arise when ee contains `^` operator, because MySql does not understand this operator, but the function POWER() , ie, in MySql x^y must be written as POWER(x,y).

Example

## Factoring real numbers...

Maple 16

Hi, Everybody:

It is possible to fin this result with Maple:

Factor[18*R*r - 3*s^2 + 9*r^2] - >  3*(3*r^2 + 6*r*R - s^2)

i.e. factoring at least integers terms?