MaplePrimes Questions

Search Questions:

...flies around in the spatial Cartesian coordinate system and impacts the coordinate planes xy, xz, and yz with exactly one impact. This creates circular impressions on the coordinate planes in this order, with the radii r1, r2, and r3, which are assumed to be known. From these, the sphere's radius r and the coordinates of its center can be determined?

Is there a short-cut for jumping to a specific output label in a Maple worksheet?

I have a Maple worksheet with over 200 labels:  (1), (2), ....., (236) etc?

"Find" does not seem to work.

Thanks

Frank Garvan

In the 3D figure, the z-axis currently extends only to zero; please extend it to include positive values. Also help needed in setting the optimal point which is not clearly visible now—how to adjust the view and labeling to highlight only its z-value. How can we Improve the overall clarity and positioning of the figure to enhance visual readability.

Q_figure.mw

Download Q_figure.mw

How to solve two boundary problems in one graph not getting graphs shown in pdf
symetry_paper_work.mw
symmetry_graphs_pdf.pdf

i  can determine the pdes by one variable which is work so good but in some of the pdes i have two function i can separate by hand but how i can do by maple?

Download linear.mw

i did a lot of trail to avoid for find my parameter in the last step of that i get this `[Length of output exceeds limit of 1000000]` and i don't know how to fix it i need to find that parameter but when i do substitution  is said this there is any way for hundle this situation 

help-parameter.mw

I have Maple 2016 and Matlab 2016b installed on my Windows destop.

When I run

with(Matlab);
openlink()

in a Maple worksheet the following error window appears.

After closing the window I also see the following error message,

Error, (in Matlab:-openlink) there was a problem finding or loading matlink.dll. Refer to ?Matlab,setup for help configuring your system to work with the Matlab-link.

How to fix the connection from Maple to Matlab?

Like i said before i have to change it to Maple 2025 should i download the 2025? and will my data disappear? or not?

Best regards MR

My goal is to export images of curves where the output image has no background or equivalently, a fully transparent background. Is there a standard way to perform this task? I know that I can do this with the help of external software but I want to do it at the export stage in maple and avoid increasing the number of tools needed to perform the job. Eventually, I may want to generate many thousdands of curves/images with transparent backgrounds. 

Below I show how to make a plot while choosing a background with the color blue. I have found no way to select a fully transparent background. I expect this background transparency will be applied at the export image stage. 

how_do_I_plot_with_no_background.mw

To give an explicit example of what a plot with no background looks like, I make a plot in an unrelated software of a curve with no background. It's impossible to differentiate a white background from a transparent background in this environment, so we also show the same image embedded in an unrelated colored background also generated in an unrelated software.

In the image below, we can see how a image of a curve with a transparent background can be embedded over top of any other image without the blue square shown the the first example.

Getting an error while solving. Can we get a condition like  delta ( > or <)  delta3 × constant?
Note: All parameters are positive and greater than zero.          tau, tau1, delta, delta3, delta0 are between 0 and 1. 

restart

``

ineq := (1-delta-tau1)*d*Cv+w*delta*d+Rm*tau1*d+s2*d*(delta0-delta-tau1)+g1*tau1^2*d^2+g2*delta^2*d^2 <= R0m*tau1^2*d^2+(1-delta[3]-tau1)*d*Cv+w*delta[3]*d+s2*d*(delta0-delta[3]-tau1)+g2*(delta[3]+tau1)^2*d^2

(1-delta-tau1)*d*Cv+w*delta*d+Rm*tau1*d+s2*d*(delta0-delta-tau1)+g1*tau1^2*d^2+g2*delta^2*d^2 <= R0m*tau1^2*d^2+(1-delta[3]-tau1)*d*Cv+w*delta[3]*d+s2*d*(delta0-delta[3]-tau1)+g2*(delta[3]+tau1)^2*d^2

(1)

NULL

``

temp := collect(ineq,delta);

g2*delta^2*d^2+(-Cv*d-d*s2+d*w)*delta+(1-tau1)*d*Cv+Rm*tau1*d+s2*d*(delta0-tau1)+g1*tau1^2*d^2 <= R0m*tau1^2*d^2+(1-delta[3]-tau1)*d*Cv+w*delta[3]*d+s2*d*(delta0-delta[3]-tau1)+g2*(delta[3]+tau1)^2*d^2

(2)

new := simplify(temp - remove(depends,lhs(temp),delta) - select(depends,rhs(temp),delta));

-d*(d*g2*delta[3]^2+(2*d*g2*tau1-Cv-s2+w)*delta[3]+(-delta^2*g2+g2*tau1^2)*d+(-w+Cv+s2)*delta+(-Cv-s2)*tau1+s2*delta0+Cv) <= -d*(d*(g1-R0m)*tau1^2+(-Cv+Rm-s2)*tau1+s2*delta0+Cv)

(3)

simplify(solve(new,delta));

Warning, solutions may have been lost

 

Error, invalid input: simplify uses a 1st argument, s, which is missing

 
 

NULL

Download Q_on_solve.mw

Hi

I hope everyone is fine and doing well. I want to constrcut the set of monomials {p[0],p[1],...,p[m-1]} for any value of m for example, for m=6 the monoial is define as:

p[0]:=1;

p[1]:=x;

p[2]:=y;

p[3]:=x^2;

p[4]:=x*y;

p[5]:=y^2;

and similarly for m=10 the monomials should be given as:

p[0]:=1;

p[1]:=x;

p[2]:=y;

p[3]:=x^2;

p[4]:=x*y;

p[5]:=y^2;

p[6]:=x^3;

p[7]:=x^2*y;

p[8]:=x*y^2;

p[9]:=y^3;

I am waiting for your positive response. Please take care and thanks


A classical probability result says that if G1 and G2 are two independent Gamma random variables with same scale parameter (let's say 1 to simplify) and shape parameters a1 and a2 respectively, then Gk / (G1 + G2 ) is a Beta random variable with parameters (ak , a3-k ) (k=1..2).

In the attached file it is shown that (Maple 2015) function Statistics:-PDF fails in computing the PDF of Gk.
Noting strange here if you observe that even in the extremely simple case Z = X / (X+Y), where both X and Y are independent Uniform random variable with support [0, 1), Maple 2015 already fails in computing PDF(Z).

An alternative to Statistics:-PDF is to write explicitely the double integration which defines CDF(Z) (to begin with, and later PDF(Gk)) and ask Maple to do the integrations.
This approach works for Z but requires helping Maple when X and Y are still independent Uniform random variables but with respective non instanciated supports [0, a1) and [0, a2).

Applying to the Gamma-Gamma case the recipies I introduced in the Uniform-Uniform case does not give any result, unless in the very particular case where the shape parameters a1 and a2 are (strictly) positive integers.

All the details are in X_over_(X_plus_Y).mw

Do you have any idea how to prove with Maple the probability result mentioned at the head of this question?

PS: The "classical method" to do compute PDF(Z) consists in changing the integration variables < x1, x2 > into < x1 = v1v2, x2 = v2 (1-v1) > (see for instance Stack exchange)... but even after having dome it I still cannot get the desired result.

Thanks in advance.

Hi,

I use Maple 2024 (X86 64 LINUX), and am trying to calculate the sum of the prime factors of integers.

My code is as simple as something like this:

SumPrimeFactors := proc(n)
    local f, L, p;
    f := ifactor(n);
    L := [op(f)];
    return add(convert(op(1, p), integer), p in L);  # Sum base primes
end proc:

However, the above code returns the following result when I set n = 360:

> SumPrimeFactors(360);
                                     5 +  (2) +  (3)

while what I had expected is just an integer, 10 (= 5+2+3).
It seems the operation convert(op(1, p), integer) is not working properly, and "(2)" is recognized as an expression, not an integer, even after the convert operation.

I have no idea how I should rectiy it.
I would be glad if someone gives me a way to get it solved.
Thank you very much.

I encountered a strange issue during running in Maple. Is it possible for the comparison table to display values exceeding 8 GB when the system has only 8 GB of RAM? Is this an inconsistency?

1 2 3 4 5 6 7 Last Page 1 of 2427