Preben Alsholm

13743 Reputation

22 Badges

20 years, 332 days

MaplePrimes Activity


These are replies submitted by Preben Alsholm

In Maple 14 the result doesn't simplify so easily. However, doing simplify(xxx, symbolic); on the real looking solution does give the same result as Maple 13 does with just simplify.

In Maple 14 the result doesn't simplify so easily. However, doing simplify(xxx, symbolic); on the real looking solution does give the same result as Maple 13 does with just simplify.

Use 'numframes', not 'frames'. See the help page for DEplot (not DEplot3d).

Use 'numframes', not 'frames'. See the help page for DEplot (not DEplot3d).

@hirnyk Yes, that was my point. It was intended as a counterexample to Axel Vogt's argument.

@hirnyk Yes, that was my point. It was intended as a counterexample to Axel Vogt's argument.

@Axel Vogt It was for you.

@Axel Vogt It was for you.

Take F(x) = x^2*sin(1/x) for x<>0 and F(0) = 0. Then F is  differentiable everywhere. The derivative at zero is zero by a direct application of the definition of differentiability.

However, F'(x) = 2*x*sin(1/x) -cos(1/x) doesn't have a limit at 0. 

Edited: This a counterexample to Axel Vogt's argument.

Take F(x) = x^2*sin(1/x) for x<>0 and F(0) = 0. Then F is  differentiable everywhere. The derivative at zero is zero by a direct application of the definition of differentiability.

However, F'(x) = 2*x*sin(1/x) -cos(1/x) doesn't have a limit at 0. 

Edited: This a counterexample to Axel Vogt's argument.

@Axel Vogt It seems that you are right. I'm glad that I said, "If Maple is right .. ".

eq:=(-t)^5=abs((t^2+t+1)/(-t));
eq2:=eval(eq,t=x+I*y) assuming x::real,y::real;
expand(%);
sys:={Re(lhs(%))=rhs(%),Im(lhs(%))=0} assuming real;
sol:=solve(sys,{x,y}):
evalf(sol):
L:=remove(has,[%],I);

Here Maple finds 3 solutions, but clearly if t is a solution then conjugate(t) is a solution, thus 5 solutions.

@Axel Vogt It seems that you are right. I'm glad that I said, "If Maple is right .. ".

eq:=(-t)^5=abs((t^2+t+1)/(-t));
eq2:=eval(eq,t=x+I*y) assuming x::real,y::real;
expand(%);
sys:={Re(lhs(%))=rhs(%),Im(lhs(%))=0} assuming real;
sol:=solve(sys,{x,y}):
evalf(sol):
L:=remove(has,[%],I);

Here Maple finds 3 solutions, but clearly if t is a solution then conjugate(t) is a solution, thus 5 solutions.

Since we are in the complex plane, abs(z) is not just either z or -z.

Since we are in the complex plane, abs(z) is not just either z or -z.

Not knowing the constants I just picked some, and did the following with no problem:

E_horiz := sqrt(E_theta^2 + E_phi^2):

param:={W=1, h=2, k0=3, kx=3, ky=4, l=5, epsr=6, seq(JX[i]=1/(1+i),i=1..80),epsre=7}:
res:=eval(E_horiz,param):
plot(res,theta=0..2*Pi);

First 208 209 210 211 212 213 214 Last Page 210 of 231