Items tagged with complex complex Tagged Items Feed

Why doesn't Maple evaluate ln(x) assuming x<0 to ln(-x) instead of ln(x).  I know that it can evaluate negative operands into complex numbers, but sometime I would just like it to say ln(-x).  It seems to work OK for sqrt(x) assuming x<0. 

Ratch

dsolve system

November 21 2011 by sama 5 Maple

Hello guys,

I am unfamiliar with maple and have problems with dsolve complex system:

dz*_i/dt=sum(sum(z_i-z_j),j=1..2),i=1..2).

where i not equal to j and z* is conjugate(z).

here is my code:

for i from 1 to 2 do

summ(i)=0

od;

for j from 1 to 2 do

for i from 1 to 2 do

if i <> j then

summ(i)=summ(i)+(z_j(t)-z_i(t));

end if

od;

od

for j from 1 to 2 do

Hi:

I am trying to use the Physics package to help me deal with non-commuting operators, but having some problems when trying to simplify expressions.The following should explain what i mean:

 

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

restart:
with(Physics):
# 'a' represents a quantum operator
Physics[Setup](noncommutativeprefix={a}, mathematicalnotation = true);

#we can try to expand to see that a and Dagger(a) do not commute!
expand((2*a+Dagger(a))^2);

I  Presented problems for the plot "DB magnitude spectrum."
The structure of vector data spec has the following configuration,Float (-infinity), inside.

N := 64;
T := 1;

f := .25;
A := 1;
phi := 0;
n := Vector(N, -> i-1, datatype = complex[8]);

x := cos~(2*Pi*n*f*T);

X := DiscreteTransforms[FourierTransform](x, normalization = none);...

Complexplot help

September 18 2011 by Twoacross 5

So im working on this question right now:

 Using “complexplot”, show all of the cube-roots of -8i (you will first have to 
find the principle cube root, convert to polar form, and then add appropriate
propportions of 2*Pi to the argument to find all other roots, using Maple for all
calculations).
Im going to attach my attempt to this post, all feedback is greatly appreciated and if im doing something wrong, if someone could lead me in the right direction.

I am trying to find all the complex roots of T:

 

> w := 60*(2*3.14159);
> R12 := .5;
> L12 := 3/w;
> Z12 := R12+s*L12+I*w*L12;
> kp := 0.5e-3;
> kv := 0.5e-3;
> Q1 := 384;
> Q2 := 375;
> apw1 := s+kp*(-Q1+w*L12/abs(Z12)^2);
> apw2 := s+kp*(-Q2+w*L12/abs(Z12)^2);
> aqv1 := 1+kv*(Q1+w*L12/abs(Z12)^2);
> aqv2 := 1+kv*(Q2+w*L12/abs(Z12)^2);

> T := apw1*apw2*aqv1*aqv2;

The complexplot3d command can color by using (complex) argument for the hue, and compute height z by magnitude. So, when rotated to view the x-y plane straight on, it can provide a nice coloring of the argument of whatever complex-valued expression is being plotted.

Another way to obtain a similar plot is to use densityplot (with appropriate values for its scaletorange option) and apply argument to the expression or function being plotted. For some kinds of complex-valued...

I have to evaluate several complex integrals involving square roots. Maple automatically assume the branch cut is all negative reals. Is there a way to change this? This would make my life alot easier! thanks!

Hi all. This is porbably a very elementary question. Maple outputs something of the form  " X +  0. I" after a computation, where X is a number. I'm confused as to what 0. I is. My first thought is that it's 0.1 * I, but then squaring X +  0. I  gives back X^2 + 0. I instead of the expected X^2 - 0. 01 + 0.2 X I. Could someone explain to me what Maple means by that? Thanks!

X +  0. I

Hi all,

For example, I have:

restart:

with(VectorCalculus):

z1:=1+I*5;

z2:=6-I*3;

I want to plot three vectors which are represented by z1, z2 and z1+z2.

I can plot them as:

PlotVector([<Re(z1),Im(z1)>,<Re(z2),Im(z2)>,<Re(z1+z2),Im(z1+z2)>],color=[red,blue,yellow]);

But the three vectors have origin at point x:=0 and y:=0.

I can change this by applying VectorSpace as:

vs1 := VectorSpace('cartesian', [0, 0...

Dear Maple users,

I am trying to solve a non linear equation for complex and real roots and I am using following command:

answer:=fsolve(func,x,{x=-100-100*I..100+100*I},complex); % here 'func' is a nonlinear function

to search for all possible roots in the given range. But fsolve does not return all possible roots. Mostly it returns one. But I am sure the function has more roots in the specified range

But, if my "func" is simple polynomial (e.g. func= x^5-3x^2+3x-1...

Hi,

I want to apply a complex differential operator to an expression "polynomial in the imaginary part * differential operator".

I have been unable to figure out how to do that using a formal operator and a concrete one that takes care of differentiating the polynomial.

In more detail:

Let $d$ be (my complex number is $x+iy$)

$d:=\frac{\partial}\partial x}- i\frac{\partial}{\partial y}$

which I want to apply to

$p(y) d$

Hi,

 

I am trying to export an array of complex numbers to MathML.

I would like the numbers to be formatted a.aa x 10aa + a.aa x 10aa i

Anybody know how to do this?

 

Regards.

1 2 3 4 5 6 7 Last Page 1 of 21