Andriy

270 Reputation

13 Badges

13 years, 93 days

MaplePrimes Activity


These are questions asked by Andriy

Could you please look at the following piace of code:

>assume(d::complex):
>z:=t=a/d:
>additionally(d≠0):
>z:=z*d;

The result of last command is

z:=d~t=d~*a/d~

that is not z:=d~t=a.

If I skip the command additionally(d≠0): then everything is good. However I need this command. Could you help to handle this problem?

Hello.

I have following peace of code:

>restart;
>assume(a::complex);
>z1:=t=conjugate(a)*b;
>z2:=a^2;
>a:=solve(z1,a);
>z2;

I need to get (conjugate(t))^2/b as a result of last operation but get a~^2. What do I have to change in code? Of course, I can skip

>assume(a::complex);

and it will get me exactly what I need. But I have to use this command for other reasons.

Thank you.

######################################

I need to solve elementary equation, where "t" is real and all other variables are complex values:

Hi.

I need to plot some function f(x,y) on a right hexagon pllaced on (x,y)-plane. I can define my hexagon in following way:

if -(4*pi)/3/sqrt(3)<x<(2*pi)/3/sqrt(3) then -sqrt(3)*(x-4*pi/3/sqrt(3))<y<sqrt(3)*(x-4*pi/3/sqrt(3))

if -(2*pi)/3/sqrt(3)<x<(2*pi)/3/sqrt(3) then -2*pi/3<y<2*pi/3

if (2*pi)/3/sqrt(3)<x<(4*pi)/3/sqrt(3) then -sqrt(3)*(4*pi/3/sqrt(3)-x)<y<sqrt(3)*(4*pi/3/sqrt(3)-x)

My haxagon looks like

Hi. I have a question that concerns indices of vector of functions within for-loop.

I have a following piece of code:

First 6 7 8 Page 8 of 8