MaplePrimes Questions

I am trying to use the command FileTools[Text][ReadFile] to import the contents of a text file as a string in maple, but I want to be able to identify when line breaks occur, instead of the white space that I get.

Is this possible?

Recently i'm noticing that mathematica is basically a mind-reader with their FullSimplify function, whereas maple even with simple expressions does not show what I would consider optimal (I agree this will be somewhat subjective).

Here is a trivial example:
ex1:=(2*sqrt(N__s) + N__s + 1)/(2*N__s + 2);

none of these are any help
simplify(ex1);
simplify(ex1, size);
simplify(ex1, symbolic);
simplify(ex1, sqrt);
simplify(ex1, sqrt, symbolic);

The ideal expression I would like to see here is:
1/2 + sqrt(N__s)/(N__s + 1)

Am I doing it all wrong (suppose I don't know of this simple form beforehand)?

Mathematica gets it right - see the following screenshot:

I'm finding this a lot... especially when hyperbolic functions and sqrt's are involved ("symbolic" option helps sometimes, but often the expressions are still not what I would consider "simplifed").

Why do I get an error when using this:/// during readin of a xml attachment in Maple workbook?

Exceltools Import works without problems.

ReadXML.zip

Is there any programming or package to solve my problem. I am poor in programming. 

Thanks sincerely!

 

Hello,

I am trying to solve some coupled equations. however, I keep getting the error ' invalid subscript selector.

Does anybody have any solution for this?

here is the file : -

error.mw

 

Thanks !

Regards,

Mota

I am so sorry for all of the questions. I am getting extremely frustrated with Maple. 

I want to plot a 3D rendering of 4x^2+9y^2 but I want the full paraboloid to show. However, all I keep getting is cut off versions.

 

In some coordinate systems availiable in the plot command, there are constants specified symbollically, for example,for logarithmic, the constant "a" is specified (see ?coords help page) is there a simple way to retreve the numerical value for these transformation parameters, or does it need to be obtained by appropriate manipulation of the data set?

how can I obtain the corresponding polynomial for a  propositional formula ?

I must say that using the help for this package is not intuiative. ( in general for all )
Once on a page for command i can't  go back to the home page where the mainpage is for the package
Example i was doing something with gradient command and try figure out how to make a function out of it
 

At the examples nothing to find about this .. via contectpanel : evalVF (evaluate vectorfield)
So i want to look at the eval command in the student vectorcalculus package 
This could be easy if there was a button to see all commands ( a home button) on the gradient page

Now i must type in help again .. 
evalVF gives a column vector notation , but mixing both notations ? ( as vector , as column vector)  
 

 

gf := Gradient(exp(x*y^3*z^2))   

 

This i can evaluate via contectpanel for  f(x,y,z)  in a point and as output a colomn vector 

Making a vectorfunction for gf is not possible via contectpanel ? , or do i miss something

Note: perhaps showing the package commands in the working document is a idea 
   

buy := proc(ss,windowlength,syseq1,syseq2a,syseq2b)
try:
p := dualaxisplot(listplot(ma, color = red), listplot(me, color = blue), style = line, gridlines = false);
catch:
p := dualaxisplot(listplot(me, color = red), listplot(me, color = blue), style = line, gridlines = false);
end try:
return p:
end proc:


CheckGraph := proc(text,graphparam1,graphparam2)
  local maplet, choice:
  maplet := Maplet(
    [
      [Plotter['PL1'](graphparam1)],
      [Plotter['PL2'](graphparam2)],
      #[Plotter['PL2'](graphparam2)],
      [text, ComboBox['CoB1']("No Refund", sort(["Jackpot"], lexorder))],
      [Button("OK", Shutdown(['CoB1'])), Button("Cancel", Shutdown())]
    ],
  ):
  choice := Maplets[Display](maplet):
end proc:

graph1 := buy(0,100,rhs(sol[parse(result1[1])][1]),rhs(sol[1][1]),rhs(sol[2][1]));

>graph1
can show graph but after using Plotter['PL1'] , it can not show graph in dialog

CheckGraph("Has Jackpot?",graph1,graph2):

 

how to plot dualaxisplot in dialog?

I would like to factor an algebraic expression that contains exponentials.
Maple spits it back unfactored. Did I enter it wrong?

factor(exp(4*y) + 2*exp(2*y) + 1);

Good afternoon everybody,

I am a beginer user in maple and I am having problems to plot a system of differential equations. My code is

----------------------

restart; with(VectorCalculus); with(LinearAlgebra); with(DEtools);
> p := 2*u*x*y^2; q := (x-1)/x;
> doth := simplify(-(sqrt(6)*x^3*(y-1)^2+u*((3+sqrt(6))*x^3*(y-1)^2+3*y^2-9*x*y^2+3*x^2*(y^2+2*y-1)))/p); ddotphi := simplify((y-1)*(sqrt(6)*x*y^2*(x-1)+u*(3*y^2-(6+sqrt(6))*x*y^2+x^2*((3+sqrt(6))*y^2+6*y-3)))/p);

>ode1 := diff(x(t), t) = x(t)*(1-x(t))*doth-x(t)^2*ddotphi/sqrt(6); ode2 := diff(y(t), t) = y(t)*(y(t)-1)*doth; ode3 := diff(u(t), t) = sqrt(3/2)*u(t)*(1+u(t))*q;

>DEplot3d([ode1, ode2, ode3], [x(t), y(t), u(t)], t = -2 .. 2, x = 0 .. 1, y = 0 .. 1, u = -1 .. 0, [[x(0) = .9, y(0) = .25, u(0) = -.95], [x(0) = .9, y(0) = .25, u(0) = -.5], [x(0) = .85, y(0) = .2, u(0) = -.15], [x(0) = .25, y(0) = .5, u(0) = -.5], [x(0) = .7, y(0) = .5, u(0) = -.6]], linecolor = [red, green, black, navy, maroon], thickness = 2, axes = boxed, labels = [x(t), y(t), u(t)], arrows = medium, stepsize = 0.1e-1, orientation = [30, 65]);

--------------------------

and the next error appears

Error, (in DEtools/DEplot/direction3d) unable to store 'HFloat(HFloat(undefined))+HFloat(HFloat(undefined))*I' when datatype=float[8]

 

I have no idea what to do, and searching for solutions I have only found things that I dont understand.

 

Thank you very much in advance

I want the legend to be produced to look like the third to last example. https://fr.maplesoft.com/support/help/Maple/view.aspx?path=plots/contourplot 

However, mine keeps coming out like this.

hello how do i solve these equations and what type exactly are they ? so i can find more information

(i dont understand if this is a partial-something)

for the following function

f(y,z)=y*sin(z) + 2*cos(y)

i need to evaluate it at the following point

fy(pi/2,pi)  and  fz(pi/2,pi)

this is the part i dont understand how to do, i keep getting 0 in the equation.

 

thanks for you! and your time

First 501 502 503 504 505 506 507 Last Page 503 of 2428