MaplePrimes Questions

 

 

Spiral on the cone. 







Yes, of course, in Maple.  The same source

 

I have Maple package "DESOLVE" having two different types of files namely in format .mpl and .mws, where code is written in .mpl file and .mws is just a example worksheet, this package is available at following link;

http://cpc.cs.qub.ac.uk/summaries/ADYZ_v1_0.html

My problem is how to work with package?

One thing that I able to do is that I have opened the file type .mpl  in Maple worksheet and after executing whole whorsheet I able to to start working with package using with(desolv).

But when I type with(desolv) in new worksheet an error shows up.

How I can store this .mpl file in Maple library so as to use this package using "with(desolv)" in new worksheets

Desolv_worksheet_paper.mws?

Hello,

 

Remark by Markiyan Hirnyk:

The part of the body of this question disappears after my edit of its title only.

I want to have a matrix such that 

Crosslinking surfaces by a spiral.



My fantasy is a source.

eq1 := z = y*log(x): eq2 := z = y+x*log(x):

DispIntersecting := implicitplot3d([eq1, eq2], x = 0 .. 10, y = -30 .. 30, z = -40 .. 40, color = [blue, green]):

solve({eq1, eq2}, [x, y, z]);

assign(%):

DispIntersection := spacecurve([x, y, z], x = 0.1e-2 .. 10, color = red, view = [0 .. 10, -30 .. 30, -40 .. 40]):

display(DispIntersecting, DispIntersection, axes = boxed, scaling = constrained);

This is really weird.

restart;
eq:=phi(f(x,y(x),diff(y(x),x)),g(x,y(x),diff(y(x),x)));

Does any one see a "||" in the above? I do not. Then why Maple shows this:

r := cat("dsolve(",eq,",y(x))");

       r:="dsolve("||phi(f(x,y(x),y'(x)),g(x,y(x),y'(x)))||",y(x))"

This is Maple 2015 on windows. Running in worksheet mode

Here is screen shot

 

This problem does not show up all the time. For example, this works ok:

 

No "||" added. The problem with all the above, is that I can't make it all as a string in the first example above. I am trying to make a string of   "dsolve(" + ode + "),y(x)"

Here is the display options

 

thank you

Can somebody help me to find the solution?

I think there is something wrong with the definition of bvw1. If I use dsolve (in soln) with only bvw as Initial Condition,

I get a solution but if I also insert bvw1 as an Initial condition soln won't appear.

Here's what's written in the image:

'Imagine the course of a planet around a star with L=0.5 and e=0.7'

Solve Keppler's differential equation with Initial Conditions:'

pendulums

Of course, in Maple. Source http://www.mmf.lnu.edu.ua/

Dear all,

I am making a mpl file which looks like below:

font_size := thickness = 4, font = [bold, "TimesNewRoman", 30], labelfont = [bold, "TimesNewRoman", 30], axis[1] = [thickness = 3], axis[2] = [thickness = 3], captionfont = [bold, "TimesNewRoman", 30], legendstyle = [font = [bold, "TimesNewRoman", 30]];

I  export it as mpl, but when I want to read it in a worksheet, I get the error below:

Error, on line 1, syntax error, character `?` unexpected:
<?xml version="1.0" encoding="UTF-8"?>
^
Error, while reading ``/Users/..../font_size.mpl``

This is just a simple mpl, I get this error for all mpl s that I want to read!

Can somebody help me with this please? It is really annoying :(

Remark from Markiyan Hirnyk.

The body of this question disappeared when I was editing its title only.

 

abc
bca

if starting position is at first position,

i have to write a very long substitution, and need a temporary variable t and t2

subs(t2=c,subs(t=a,subs(a=b,subs(b=t2,subs(c=t,a*b*c+a*b)))));

if starting position is at second position, it will be

abc
acb

is there any simple method to do this circular shift of variables for a polynomial

 

 

 

I am able to get unlimeted numbers of equations describing my system. These equations are generally relate quotients of multivariate polynomials. Each additional equation I get is generally less than twice the length of the last, and it is not always the case that an equation is independant of the previous equations. Although I can get unlimited numbers of equations describing the system, it is not overdetermined.

I am interested in solving these equations for their variables. There are about 30 cases I am working on, the smallest number of evariables is six, the largest would be twenty.

I want to be able to solve these equations in the minimal time possible. But I don't understand the function solve well enough to do so.

How do I choose the equations to minimise the time taken for the command solve to proccess them?
How does the command solve work?

particularly:

  1. if I process the command solve([Eq1,Eq2,Eq3...Eqn],variables) would the command solve([Eq[1],Eq[2],Eq[3]...Eq[n],Eq[n+1]],variables) take longer if Eq[n+1] is not indipendant of the previous equations? 
  2. Is there a way of checking whether Eq[n+1] is independant of the previous vequations, fast enough for it to be useful to check the equations before they are processed?
  3. Does the ordering of the equations affect the speed of solve?
  4. Is there a way of pre processing the equations before they are put into solve that will save it time? (for example factorising them, simplifying them etc...)

 

 

Hello,

 

I'm trying to solve the integral u/(1-u) with Maple and noticed that it returned a result that doesn't accord to the solution I found by hand or the solution from WolframAlpha. This is a screenshot of the weird behaviour:

Does Maple do any weird conversions? Or did I do something wrong or is Maple wrong?

Thanks in advance,

Hello everyone!

Suppose, we have a differential polynomial

P := u(x) + (D@@2)(u)(x)

Given this, I am looking for a procedure which gives coefficients depending on the order given as input, for example, lets say, procedure name is fun_coeff which depends on two parameters, original polynomial P and the order n, then

fun_coeff(P, 3) should give [1, 0, 1, 0]

where each entry corresponds to the coeff of

 [u(x), (D@@1)(u)(x), (D@@2)(u)(x), (D@@3)(u)(x)]

in the polynomial, similarly

fun_coeff(P,4) should give [1, 0, 1, 0, 0]

corresponding to

 [u(x), (D@@1)(u)(x), (D@@2)(u)(x), (D@@3)(u)(x), (D@@4)(u)(x) ]

Thank you all for your time :)

First 1177 1178 1179 1180 1181 1182 1183 Last Page 1179 of 2429