cloz54

65 Reputation

4 Badges

10 years, 359 days

MaplePrimes Activity


These are questions asked by cloz54

Hi, again:

Is there a way to connect Maple with Sqlite?

Thanks in advance

C.L.

 

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) 

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 

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?

 

Thanks in advance

C.L. 

 

 

1 2 3 Page 3 of 3