Maple 2016 Questions and Posts

These are Posts and Questions associated with the product, Maple 2016

Hello

I changed the color of the background of a worksheet in black (I introduced a Table for that reason) because the white color hurts my eyes. I still have a couple of things that I'd like to modify:

1. The blinking cursor is black and is now invisible. How can I change its color?

2. The default input color is red ; i'd like to change it in white. How can I do?

Thanks Nicola

Let us look in RealDomain and then in the RealDomain:-solve command. One is addressed to the usual solve command. The commands of the RealDomain package are not still documented since Maple 7 when the package was introduced. There is a general description only 

  • By default, Maple performs computations under the assumption that the underlying number system is the complex field. The RealDomain package provides an environment in which computations are performed under the assumption that the basic underlying number system is the field of real numbers.
  • Results returned by procedures are postprocessed by discarding values containing any detectable non-real answers or replacing them with undefined where appropriate.

The above is not enough. Here is an example which confuses me: 

RealDomain:-solve(exp(I*x) = -1, AllSolutions);
NULL

though 

solve(exp(I*x) = -1, AllSolutions);
                         Pi (2 _Z1 + 1)

and 

RealDomain:-solve(exp(I*x) = -1);
                               Pi

I lie awake thinking about that. Maplesoft staff help me!

I need yours hepl.  I work with the physics paсkage and I set:

with(Physics)

Setup(mathematicalnotation = true)

 Coordinates(X)

Setup(Dgammarepresentation = standard)

Setup(spaceindices = uppercaselatin)

Define(m, m5, y, p, mm, pp)

I try to square the next value: 

W := Dgamma[mu]*d_[mu]+M+Psigma[A]*aa[A]-mm*Dgamma[0]-m5*Dgamma[0]*Dgamma[5]+I*Dgamma[5]*Psigma[B]*pp[B]+I*Dgamma[5]*y

("*" is multiplication)

W*W

And after that I want to simplify it:

Simplify(W*W)

I guess that matter is owing to d_[`~mu`]. If I remove this term:

E:=Psigma[A]*aa[A]-mm*Dgamma[0]-m5*Dgamma[0]*Dgamma[5]+I*Dgamma[5]*Psigma[B]*pp[B]+I*Dgamma[5]*y

And if i do:

E*E

Then next error emerges:

What is it?

 

When transfering a particular worksheet from my home Windows 7 computer to an office Linux computer I lose some of the end of the worksheet, namely I lose a rather memory intensive animation at the end. And the office compute crashes when I attempt to run the animation. This seems strange since apparently the office computer (see below) is more powerful than my home computer.  When this happens there are apparently few if any other users of the office computer. I  would be grateful for suggestions for remedies for this problem or any ideas of what the problem could be.

Home computer: Windows 7 Intel(R) Core(TM) i7-2600 CPU@3.40GHz, 12 GB RAM 64-bit OS

Office computer: CentOS, Kernel Linux 2.6.32-573.12.1.l6.x86.64, Gnome 2.28.2, Memory 94.4GiB, 6 processors each an Intel(R) Xeon(R) CPU E5-2643 v2@3.5BHz, Available Disk Space 1061.0 BiB

I have solved a BVP using finite difference method in maple. But the comparsion with the dsolve solution shows big difference,

Why there is too much difference? Is there an elegant way to implement FDM?

FDM_Dbvp_sheet_1.mw

hi

i want save result in text file?

how i can do it?

for example eta and F(eta) in two  column

sample file is attache.

printf.mw

txtop1.txt

sample for save results::::

eta                     F(eta)

0.00000000, 0.00000000
0.10000000, 0.00096663
0.20000000, 0.00373543
0.30000000, 0.00810907
0.40000000, 0.01388926
0.50000000, 0.02087683
0.60000000, 0.02887169
0.70000000, 0.03767307
0.80000000, 0.04707963
0.90000000, 0.05688968
1.00000000, 0.06690139

Download txtop1.txt

 

 

 

Hello, 

I loaded Maple to my friend's PC. But we can not execute any command in worksheet. When we write some lines and hit enter, it does not respond in anyway. (excluding simple calculations such as: 2+3 etc.) What is the problem and how can we solve it? 

PC: Windows 10 

Maple 2016.1

How do I solve a differential equation in maple? Is there a specific identity that you can use?

Hello all, 

A question concerning NetCdf files was asked in 2012 and is still unanswered today.
Browsing the questions only returns this item, suggesting the NetCdf topic is not a concern in the Maple community.
Nevertheless, does it exist some capabilities in reading and writting NetCDF files ?
If not, are there some planned development on the subject ?

Let's hope now for not having to wait four years for an answer, all responses will be greatly appreciated, even negative.

years


PS : NetCdf capabilities already exist in Sage or Mathematica

Hi.

I´m making a work sheet where I use the VectorCalculus package to evaluate surface of a plane.

When I try to evaluate a regular tripple integral after loading the VectorCalculus package I get the following error:

Error, (in VectorCalculus:-int) the domain must be an equation with a list of names on the left hand side

If I use the task menu to remove the package it works just fine, however I want it all as executable syntax within my worksheet so I tried "unwith(VectorCalculus)" but the package wont be removed by using this command.

How can I go about solving this issue?

https://i.gyazo.com/0f56ebe62bc54c7db303ab2ae05a601c.png

Hello people in mapleprimes,

I have an expression, which apparently can be factored with (beta-1)

e1 := -(beta-1)*L*s*lambda*Omega^3+(beta-1)*L*s*g^k*epsilon*(T*lambda-T+1)*Omega^2+(beta-1)*L*s*(T+lambda-1)*Omega-(beta-1)*L*s*g^k*T*epsilon*lambda;

I want this expresson factored with (beta-1) but keeping other terms the same as

e2:=-L*s*lambda*Omega^3+L*s*g^k*epsilon*(T*lambda-T+1)*Omega^2+L*s*(T+lambda-1)*Omega-L*s*g^k*T*epsilon*lambda;

Is this possible?

I hope you will help me for this.

Thanks in advance.

taro

question_q1_11_28_2016.mw

 

 

How does one retrieve document properties of some target file.

I tried ..

with(DocumentTools):
Retrieve("c:\\Users\laptop22\Documents\Start2Test.mw", "GetDocumentProperty('all')")

however that ended in error

***************edit added****************
From the help pages

Why Apply Document Properties?

The Document Properties feature allows you to record data associated with your document, such as the author or date of creation. This data is not displayed in your document but could be read by an external processing tool.

It does say read by external processing tool, but Maple has the command Retrieve so I would think it is also possible within Maple, maybe not with Retrieve since it is specifically looking for labels.  But perhaps there is another way?

hi...why solve for this equation dos not answer?

thanks

4.mw
 

restart; dsys3 := {diff(w(x), x, x, x, x, x, x)+diff(w(x), x, x, x, x)+diff(w(x), x, x)+(1-2)*w(x) = -90, w(0) = 0, w(1) = 0, ((D@@1)(w))(0) = 0, ((D@@1)(w))(1) = 0, ((D@@2)(w))(0) = 0, ((D@@2)(w))(1) = 0}; dsol5 := dsolve(dsys3, numeric, abserr = .1, output = array([.5]))

array( 1 .. 2, 1 .. 1, [( 1, 1 ) = (array( 1 .. 7, [( 1 ) = (x), ( 2 ) = (w(x)), ( 3 ) = (diff(w(x), x)), ( 4 ) = (diff(diff(w(x), x), x)), ( 5 ) = (diff(diff(diff(w(x), x), x), x)), ( 6 ) = (diff(diff(diff(diff(w(x), x), x), x), x)), ( 7 ) = (diff(diff(diff(diff(diff(w(x), x), x), x), x), x))  ] )), ( 2, 1 ) = (array( 1 .. 1, 1 .. 7, [( 1, 7 ) = (HFloat(-1.3899459757465982e-7)), ( 1, 3 ) = (HFloat(4.5022670883498417e-8)), ( 1, 1 ) = (.5), ( 1, 6 ) = (HFloat(2.2858770405958895)), ( 1, 5 ) = (HFloat(2.6615438731474126e-8)), ( 1, 4 ) = (HFloat(-0.04747952956114616)), ( 1, 2 ) = (HFloat(0.0019672907400671725))  ] ))  ] )

(1)

"restart;w(x):=C1* (sinh(x))+C2* (cosh(x))+C3 *(sin(x))+C4 *(cos(x))+C5 *(sin(x))+C6 *(cos(x))+90"

proc (x) options operator, arrow; C1*sinh(x)+C2*cosh(x)+C3*sin(x)+C4*cos(x)+C5*sin(x)+C6*cos(x)+90 end proc

(2)

A1 := evalf(subs(x = 0, w(x)))

90.+1.*C2+1.*C4+1.*C6

(3)

A2 := evalf(subs(x = 1, w(x)))

1.175201194*C1+1.543080635*C2+.8414709848*C3+.5403023059*C4+.8414709848*C5+.5403023059*C6+90.

(4)

A3 := evalf(subs(x = 0, diff(w(x), x)))

1.*C1+1.*C3+1.*C5

(5)

A4 := evalf(subs(x = 1, diff(w(x), x)))

1.543080635*C1+1.175201194*C2+.5403023059*C3-.8414709848*C4+.5403023059*C5-.8414709848*C6

(6)

A5 := evalf(subs(x = 0, diff(w(x), x, x, x)))

1.*C1-1.*C3-1.*C5

(7)

A6 := evalf(subs(x = 1, diff(w(x), x, x, x)))

1.543080635*C1+1.175201194*C2-.5403023059*C3+.8414709848*C4-.5403023059*C5+.8414709848*C6

(8)

solve({A1, A2, A3, A4, A5, A6}, {C1, C2, C3, C4, C5, C6})

``

solve*{A5, A6, C1, C2, C3, C4, C5, C6, 1.*C2+1.*C4+1.*C6, 1.*C2*upsilon^2-1.*C4*kappa^2-1.*C6*varsigma^2, C1*sinh(upsilon)+C2*cosh(upsilon)+C3*sin(kappa)+C4*cos(kappa)+C5*sin(varsigma)+C6*cos(varsigma), C1*upsilon^2*sinh(upsilon)+C2*upsilon^2*cosh(upsilon)-1.*C3*kappa^2*sin(kappa)-1.*C4*kappa^2*cos(kappa)-1.*C5*varsigma^2*sin(varsigma)-1.*C6*varsigma^2*cos(varsigma)}

(9)

``

``

``


 

Download 4.mw

 

hi every body...

general solution of six order differential equation for example following equation

diff(w(x), x, x, x, x, x, x)+A*(diff(w(x), x, x, x, x))+B*(diff(w(x), x, x))+(-chi*omega^2+C)*w(x) = 0

is 

w := C1*sinh(upsilon*x)+C2*cosh(upsilon*x)+C3*sin(kappa*x)+C4*cos(kappa*x)+C5*sin(varsigma*x)+C6*cos(varsigma*x)

??

OR

w := C1*(cosh(upsilon*x)-sinh(upsilon*x))+C2*(cosh(upsilon*x)+sinh(upsilon*x))+C3*(cosh(kappa*x)-sinh(kappa*x))+C4*(cosh(kappa*x)+sinh(kappa*x))+C5*(cosh(varsigma*x)-sinh(varsigma*x))+C6*(cosh(varsigma*x)+sinh(varsigma*x))

or another form? is correct both of them or no??

please see maple attaced file.

please help me

thanks...

3.mw
 

restart; dsys3 := diff(w(x), x, x, x, x, x, x)+A*(diff(w(x), x, x, x, x))+B*(diff(w(x), x, x))+(-chi*omega^2+C)*w(x) = 0

diff(diff(diff(diff(diff(diff(w(x), x), x), x), x), x), x)+A*(diff(diff(diff(diff(w(x), x), x), x), x))+B*(diff(diff(w(x), x), x))+(-chi*omega^2+C)*w(x) = 0

(1)

dsol5 := dsolve(dsys3):

H := subs(36*B*A+108*chi*omega^2-108*C-8*A^3+12*sqrt(-12*A^3*chi*omega^2+81*chi^2*omega^4+54*A*B*chi*omega^2+12*A^3*C-3*A^2*B^2-162*C*chi*omega^2-54*A*B*C+12*B^3+81*C^2) = E, (4*I)*A^2*sqrt(3)-I*sqrt(3)*E^(2/3)-(12*I)*B*sqrt(3)-4*A^2-4*A*E^(1/3)-E^(2/3)+12*B = F, (4*I)*A^2*sqrt(3)-I*sqrt(3)*E^(2/3)-(12*I)*B*sqrt(3)+4*A^2+4*A*E^(1/3)+E^(2/3)-12*B = G, 4*A^2-2*A*E^(1/3)+E^(2/3)-12*B = S, rhs(dsol5))

 

_C1*exp(-(1/6)*3^(1/2)*(E^(1/3)*F)^(1/2)*x/E^(1/3))+_C2*exp((1/6)*3^(1/2)*(E^(1/3)*F)^(1/2)*x/E^(1/3))+_C3*exp(-(1/6)*(-3*E^(1/3)*G)^(1/2)*x/E^(1/3))+_C4*exp((1/6)*(-3*E^(1/3)*G)^(1/2)*x/E^(1/3))+_C5*exp(-(1/6)*6^(1/2)*(E^(1/3)*S)^(1/2)*x/E^(1/3))+_C6*exp((1/6)*6^(1/2)*(E^(1/3)*S)^(1/2)*x/E^(1/3))

(2)

convert(H, trig)

_C1*(cosh((1/6)*3^(1/2)*(E^(1/3)*F)^(1/2)*x/E^(1/3))-sinh((1/6)*3^(1/2)*(E^(1/3)*F)^(1/2)*x/E^(1/3)))+_C2*(cosh((1/6)*3^(1/2)*(E^(1/3)*F)^(1/2)*x/E^(1/3))+sinh((1/6)*3^(1/2)*(E^(1/3)*F)^(1/2)*x/E^(1/3)))+_C3*(cosh((1/6)*(-3*E^(1/3)*G)^(1/2)*x/E^(1/3))-sinh((1/6)*(-3*E^(1/3)*G)^(1/2)*x/E^(1/3)))+_C4*(cosh((1/6)*(-3*E^(1/3)*G)^(1/2)*x/E^(1/3))+sinh((1/6)*(-3*E^(1/3)*G)^(1/2)*x/E^(1/3)))+_C5*(cosh((1/6)*6^(1/2)*(E^(1/3)*S)^(1/2)*x/E^(1/3))-sinh((1/6)*6^(1/2)*(E^(1/3)*S)^(1/2)*x/E^(1/3)))+_C6*(cosh((1/6)*6^(1/2)*(E^(1/3)*S)^(1/2)*x/E^(1/3))+sinh((1/6)*6^(1/2)*(E^(1/3)*S)^(1/2)*x/E^(1/3)))

(3)

NULL

``


 

Download 3.mw

 

 

The DFT windowing functions in the SignalProcessing package seem to be inconsistent in the type of data they will accept, and the type they return.

BartlettHannWindow,  BlackmanHarrisWindow, BlackmanNuttallWindow,   BohmanWindow, CauchyWindow, CosineWindow, ExponentialWindow, FlatTopWindow,  GaussianWindow, HannPoissonWindow, ParzenWindow, PoissonWindow,  RectangleWindow, ReiszWindow, RiemannWindow, TaperedCosineWindow, TriangleWindow, TukeyWindow

accept Arrays, containing almost any data type (haven't tried them all!) as input. and always return a Vector[row].

But

BartlettWindow, BlackmanWindow, HammingWindow, HannWindow, KaiserWindow

require that the option datatype=float[8] be set in the Array() constructor, which is used as input and always return an hfarray.

Thus, for example

with(SignalProcessing);
sig:= Array( -50..50,
                        fill=1
                    ):
BartlettHannWindow(sig); # this works
BartlettWindow(sig);# this fails with datatype unsupported error

Very confusing!!!!

First 39 40 41 42 43 44 45 Last Page 41 of 61