MaplePrimes Questions

Hi,
I want to solve equations (1) and (2) to obtain the values of certain quantities, for example x and f. In fact, both equations must be satisfied simultaneously for \tau and f. Since there are other parameters in these equations (for example \tau, M, etc.), and I do not know the optimal values of these parameters, I would like to solve equations (1) and (2) over given ranges for tau, M, and so on. I know that I should use loop commands, but I keep encountering errors. Please guide me.
fsolve.mw

In this kind of contour plot i have two line but when i change time variable t just contour of one line wil move the other is not do any movement and is stop how i can  make the second plot one second line move too? also there is any way for ploting this kind any other option?

line-2-done.mw

Hello everyone

I have the following probability distribution, where x ranges from zero to infinity:

with(Statistics):

X := RandomVariable(Distribution(PDF = unapply(piecewise(And(0 < x, x < infinity), exp(-6)*6^x/x!), x)))

How do I tell Maple that this distribution is discrete?

Regards,

Oliveira

I have a function that calculates a volume in mm^3, but for the purposes of plotting, I would like to plot the values as m^3.

How do I specify that the units to be plotted are m^3, have Flow convert the values to m^3, from mm^3 and show that the units for the axis are m^3?

I have tried using the useunits[m,m^3] function, but the graph does not change the value of the units, and it does not display the units of the result on the graph axis.

Also, is there a good quick reference for all of the options available for the plot command?  The user manual has very little, and the tutorial file only gives limited examples also.

I am trying to integrate a function in Maple Flow, that uses units.

When I use units of metres, the integration works.  If I mix the units, or I use millimetres throughout the equation, it does not work.

I have attached the sample worksheet, which shows the problem.

CrossSectionalDeepDive.flow.zip

The following problem is old and quite challenging. I found it in a publication from 1959. I have the source and my own solution. I was able to solve it quite laboriously a few years ago using MC14 – but not recently with Maple. Therefore, I'm interested in instructive Maple solutions, just as previous puzzle solutions here have helped me further in using this software. I thank you for that.

A wolf observes a goat. It is grazing in a meadow, tied to a rope. Naturally, he wants to catch the goat and considers whether his starting position is favorable. He estimates that he and the goat will be moving at the same speed at the beginning of the hunt and throughout the pursuit, and that the goat will constantly hold the rope taut to maintain its distance for escape reasons. Now, as he approaches the goat at a constant top speed, the same speed as the goat is fleeing in a circular arc, he asks himself: Where do I need to start from to guarantee success? Are there starting positions that rule out a successful hunt? What happens if I manage to sneak into the grazed area first?

i did for two of them base on the information but one of them is not make my odetest to be zero? where is problem

test.mw

I have already plotted the Nusselt number as a line graph. Now, I would like to plot it as a bar graph instead of line graphs. Specifically, I want to create grouped bar charts that combine several parameters (such as Gr, Rb, N[t], N[r], M, Sc) in a single figure. Each group should correspond to one parameter, with bars representing distinct values (e.g., 0.1, 0.4, 0.6, 0.8). For reference, I have attached a sample figure from another work. Could anyone please help in this regard?

Group_bar_graphs_help.mw

How do I enter a number as an actual percentage?  I know that I can enter a number as a fraction, and then redisplay the number formatted as a percentage, but I would like to be able to type in that a variable is 10%, not have to type in that it is 0.1, then convert it to percent.  I would like Maple Flow to figure out what it is, because I typed in, in effect, it's units.

In the plane, the concentric circles k1 and k2 are given with center M. Circle k1 is the unit circle (radius = 1), and k2 has twice the area of ​​k1. From the outside, five congruent circles k3 are placed tangent to k1, each with a radius r yet to be calculated. Prove that the circles k3 can be arranged such that any two adjacent circles k3 and k2 can have a common intersection point, and these intersection points form the vertices of a regular pentagon. The radius r is to be calculated exactly (no approximation) as a term.

Suppose I have a metric g, and I want to perform a conformal transformation g = exp(2Phi(X))*g, is there a straightforward way to do this for curvature quantitieies (Christoffel, Ricci Scalar etc)? I was able to do it rather easily for the Christoffel symbols, as seen below, but it required me making a substitution for each index pair. While this isn't horrible, it would be nice if there was a way to do it without this procedure.

** Edited to make it Phi(X) 

restart;

with(Physics):CompactDisplay(Phi(X)):

Phi(X)*`will now be displayed as`*Phi

(1)

Setup(metric=arbitrary):

_______________________________________________________

 

`Systems of spacetime coordinates are:`*{X = (x1, x2, x3, x4)}

 

`Default differentiation variables for d_, D_ and dAlembertian are:`*{X = (x1, x2, x3, x4)}

 

`The arbitrary metric in coordinates `*[x1, x2, x3, x4]

 

`Signature: `(`- - - +`)

 

_______________________________________________________

 

Physics:-g_[mu, nu] = Matrix(%id = 36893488152300428092)

(2)

Christoffel[~alpha,beta,nu,definition]

Physics:-Christoffel[`~alpha`, beta, nu] = (1/2)*Physics:-g_[`~alpha`, `~mu`]*(Physics:-d_[nu](Physics:-g_[mu, beta], [X])+Physics:-d_[beta](Physics:-g_[mu, nu], [X])-Physics:-d_[mu](Physics:-g_[beta, nu], [X]))

(3)

Simplify(eval((3),[g_[mu,beta]=exp(2*Phi(X))*g_[mu,beta],g_[mu,nu]=exp(2*Phi(X))*g_[mu,nu],g_[beta,nu]=exp(2*Phi(X))*g_[beta,nu]]))

Physics:-Christoffel[`~alpha`, beta, nu] = exp(2*Phi(X))*(Physics:-d_[nu](Phi(X), [X])*Physics:-g_[beta, `~alpha`]+Physics:-d_[beta](Phi(X), [X])*Physics:-g_[nu, `~alpha`]-Physics:-d_[`~alpha`](Phi(X), [X])*Physics:-g_[beta, nu]+Physics:-Christoffel[`~alpha`, beta, nu])

(4)

expand((4))

Physics:-Christoffel[`~alpha`, beta, nu] = (exp(Phi(X)))^2*Physics:-d_[nu](Phi(X), [X])*Physics:-g_[beta, `~alpha`]+(exp(Phi(X)))^2*Physics:-d_[beta](Phi(X), [X])*Physics:-g_[nu, `~alpha`]-(exp(Phi(X)))^2*Physics:-d_[`~alpha`](Phi(X), [X])*Physics:-g_[beta, nu]+(exp(Phi(X)))^2*Physics:-Christoffel[`~alpha`, beta, nu]

(5)
 

 

Any thoughts appreciated, thank you!

MyConformal.mw

It is possible to perform the simplest QFT calculations with second quantization, in Maple? Bosons in a box. See attached example. bosons_in_a_box.mw

Sure any general purpose programming language is capable of performing this task with enough effort. What I am interested in is if the physics tools has a standard way of dealing with these calculations. The general impedement when attempting the calculation is that integrations are perfomed by replacements with delta functions or kronecker delta functions, and its not clear how to force the Maple Physics package to recognize this or if that's possible. Part of the problem is that integrations in maple are defined in one dimension at a time where as in QFT the integration element is almost always atleast three dimensional, d^3x or dxdydzy, the later of which can get extremely cumbersome with even a small number of fields under consideration. I don't find much of what I am refering to mentioned in the help pages and I doubt these types of QFT calculations are possible to perform in Maple without addressing these issues.

bosons_in_a_box.mw

Hello everyone!
I have had an issue for the past weeks, where it seems like Maple has a problem identifying the correct units and also sometimes having an issue with defining a variable.

In the picture below you can see I have defined rho, m and tried to Solve V. I get m^3, which is fine but I cannot change the unit in the right bar (see picture).

I even tried to just take square root of my V to see if I could then change units. It seems like it thinks I'm playing with weight.
I even had 2 teachers trying to help me find a solution, without luck.

I have tried executing the whole document and also only bits of the document without luck.

Does anyone know this problem and has a solution?

Thanks in advance! 

- Jacob

Hi 
How can I plot f3=0 for different values of Tch and qc?

1.mw

For the derivation of the results that I need for my research, I use advanced calculus, special functions etc.

Consider a derivation of the form LHS = RHS1 = ... RHSn.

Suppose that I have a LaTeX file describing this derivation, with fine details of the derivation in notes written using pencil on paper. 

To check this derivation for errors, such as a wrong sign, I could retype LHS and RHSn into Maple and check for equality using symbolic algebra.

To provide a more detailed check of this derivation, I could type LHS, RHS1, ..., RHSn into Maple and check the sequence equalities LHS = RHS1, ..., RHS(n-1) = RHSn using symbolic algebra.

However, this is a laborious and, itself, an error-prone process.

Is there some way of submitting my LaTeX file (or its compiled version) and/or an image of my handwritten notes for checking by Maple, line-by-line, using symbolic algebra?

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