MaplePrimes Questions

I have attached the problem here. I need to say sorry, because I did not provide the whole code. So, automatically It will be error if you execute it.

If you see the attachement, you will see "Result_Eva_GB_X2[3] := []". It makes a problem if I want to make comparison. So I want the result of "Result_Eva_GB_X2[3] := []" is [0].

Actually the result of Result_Eva_GB_X2[3] := [] is complex number, because I did not want the complex I made select(x->is(0<x<1)....) to eliminate the complex number and negative result. So the question is How do I make the result of Result_Eva_GB_X2[3] := [] is [0]?

I have tried to add "Selection Statement (if)" (If the result is Undefined ([]) then Result_Eva_GB_X2[3] := [0]) But it can not work. Or maybe the selection statement that I made was wrong.

Please Help me. Thank You very much

2Ask.mw

How can I find the numeric value of this PDE:

Where

I want the numeric values i.e theta(2,2) , theta (1,3) and the likes.

Is Symbolic Laplace and Inverse Laplace transform possible on Maple? if Yes, how do I find the inverse laplace of this function 

Thanks.

Respected member!
Please help me to find the solution of attached problem, I am a new user so pleaes forgive any mistakes.
 

``


``


``

NULL

NULL

restart

R := 2.0

2.0

(1)

ODEforNum := r^3*((D@@4)(F))(r)+r^2*R*((D@@3)(F))(r)*(F(r)-2/R)+R*((D(F))(r)-r*((D@@2)(F))(r))*(r*(D(F))(r)+3*(F(r)-1/R)) = 0:

numsol := dsolve({BCSforNum, ODEforNum}, numeric, output = listprocedure)

Error, (in dsolve/numeric/bvp/convertsys) unable to convert to an explicit first-order system

 

``


 

Download mplprimes.mw

Hello

I'm having trouble scaling Maple 16 to be usable on a QHD+ resolution 13" screen. I was wondering if anyone know if it's possible to scale the interface of Maple through some option or if there is another trick to fix it.

Thanks in advance!

How can i get a positive random matrix of order 6 ?? to do the cholesky decomposition

Hello.

I have a Pde solution in from of the sum.

pde := diff(u(x, t), t) = diff(u(x, t), x$2)

symbolic := pdsolve([pde, u(x, 0) = 1, u(0, t) = 0, u(1, t) = 0])

symbolic := u(x, t) = Sum(-(2*((-1)^_Z9-1))*sin(_Z9*Pi*x)*exp(-Pi^2*_Z9^2*t)/(Pi*_Z9), _Z9 = 1 .. infinity)

 

I tried a subs or eval command dosen't work.

 

Thanks.

pdex1.mw
 

restart

pde := diff(u(x, t), t) = diff(u(x, t), `$`(x, 2)):

ics := [u(x, 0) = 1, u(0, t) = 0, u(1, t) = 0]:

pds := pdsolve(pde, ics, numeric, time = t, range = 0 .. 1, spacestep = 1/4024, timestep = 1/4024):

symbolic := pdsolve([pde, u(x, 0) = 1, u(0, t) = 0, u(1, t) = 0])

u(x, t) = Sum(-2*((-1)^_Z9-1)*sin(_Z9*Pi*x)*exp(-Pi^2*_Z9^2*t)/(Pi*_Z9), _Z9 = 1 .. infinity)

(1)

eval(rhs(symbolic), `~`[_Z9] = n)

Sum(-2*((-1)^_Z9-1)*sin(_Z9*Pi*x)*exp(-Pi^2*_Z9^2*t)/(Pi*_Z9), _Z9 = 1 .. infinity)

(2)

subs(`~`[_Z9] = n, rhs(symbolic))

Sum(-2*((-1)^_Z9-1)*sin(_Z9*Pi*x)*exp(-Pi^2*_Z9^2*t)/(Pi*_Z9), _Z9 = 1 .. infinity)

(3)

subs[eval](`~`[_Z9] = n, rhs(symbolic))

Sum(-2*((-1)^_Z9-1)*sin(_Z9*Pi*x)*exp(-Pi^2*_Z9^2*t)/(Pi*_Z9), _Z9 = 1 .. infinity)

(4)

``


 

Download pdex1.mw

 

Hello dear! Hope you will be fine. I want to simplify the equation (4) like equation (3) in the attached file please correct it. I shall be thankful to you.

Help.mw

With my best regards and sincerely.

Muhammad Usman

School of Mathematical Sciences 
Peking University, Beijing, China

I want to write a function func(n) get a^ib^jc^k from expand (a+b+c)^n

Example

When n = 1 then (a + b + c)^1 = a + b + c and func(n) return {a, b, c}.

When n = 2 then (a + b + c)^2 = a^2 + b^2 + c^2 + 2ab + 2bc + 2ca and func(n) return {a^2, b^2, c^2, ab, bc, ca}.

When n = 3 then func(n) return {a^3, b^3, c^3, a^2b, b^2c, c^2a, ab^2, bc^2, ca^2, abc}.

I have solution using 3 loops but in think it's not nice, someone can help me. Thanks you very much.

The piecewise plot below displays a sphere truncated by the plane z = 2 - y.

f := proc (x, y, z) options operator, arrow; piecewise(z <= 2-y, x^2+y^2+z^2-16, z-2+y) end proc; implicitplot3d(f, -4 .. 4, -4 .. 4, -4 .. 4, style = surface, numpoints = 50000);

The 3 transforms below when executed in display(T(sphere([0, 0, 0], 4, numpoints = 50000)), scaling = constrained) display the truncated sphere differently:

1) the truncating plane only partly conforms to the boundary of the truncated sphere

2) the truncated sphere is correct provided that the else condition coordinate is in the truncating plane and truncated sphere

3) the truncated sphere is correct but hollow

 

1) T := transform(proc (x, y, z) options operator, arrow; `if`(z <= 2-y, [x, y, z], [x, y, 2-y]) end proc)

2) T := transform(proc (x, y, z) options operator, arrow; `if`(z <= 2-y, [x, y, z], [0, 0, 2]) end proc)

3) T := transform(proc (x, y, z) options operator, arrow; `if`(z <= 2-y, [x, y, z], [`&+-`(sqrt(16-y^2-z^2)), y, 2-y]) end proc)

Please explain the different behavior of the three transforms.           

Good evening sir.

 

I request your valuable support with regard to the above cited query.

 

 

With thanks & regards.

 

Mr.M.Anand

Associate Professor in Mathematics

how can i find e relative maximum or minimum of a function on maple ??

Hi.

I got 2 surfaces given by z=(r,theta)

I have plotted them by converting to cartesian, it gave me a good representation, but i dont get the surface entirely closed. I then used the task template vizual integration and got the solid i needed.

The problem with the rough representation cartesian conertation gives is that the integrals for volume, flux etc becomes so complex maple struggle to calculate it and since the surface is not completly closed it gives me the wrong value.

How can I plot cylindrical and spherical cordinates? 
 

I have checked the following helping page in maple: Set Coordinate System for 3-D Plots

plot_cylindrical.mw

I have the planes:

Plane 1: x + 3y - 5z = 0
Plane 2: x + 4y - 8z = 0
Plane 3: - 2x - 7y + 13z = 0

and I want to plot them in a 3d space with plot3d.

I tried to assign each plane to its own variable like this:

P1 := x+3y:
P2 := x+4y:
P3 := -2x-7y:

plot3d([PlaneOne, PlaneTwo, PlaneThree], x = -8 .. 8, y = -20 .. 20, plotlist = true, color = [blue, red, green])

The planes plot, but they aren't showing correctly.

Here's how they should look, and here's how they look.

Please help. I don't know what I'm doing wrong

Hi everyone,

I need to assign the output of the timer block to a variable which is then will be used in a trapeziod signal to add a time offset. Please see the visual below.

Thanks for your time,

Canberk

First 1039 1040 1041 1042 1043 1044 1045 Last Page 1041 of 2434