MaplePrimes Questions

I know that the angle between two vectors u = (2, 1, 1) and v = (9, -1, 4) equal to 30 degree. How to find the some options of two vectors u = (a, b, c) and v = (x, y, z), where a, b, c, x, y, z are six integer numbers so that  the angle between two vectors u and v equal to 30 degree?

Bagaimana cara menemukan domain f (x) = x 2 -x + 3?

Dan bagaimana saya bisa menemukan rentang y = f (x) -g (x) jika fungsinya diketahui f (x) = x 2 -x + 3 dan g (x) = 3x-5?

Given a Graph say G with its adjacency matrix say. 

Consider a edge uv in the graph say 

how to find the number of vertices of 

Case1 : The number of vertices of graph G whose distance to the vertex v is smaller than the distance to the vertex u.

Case 2:  The  number of vertices of graph G whose distance to the vertex u
is smaller than the distance to the vertex v.

To u is adjacent to V that is uv is a edge here. 

I installed Maple 2021 on windows 10. And wanted to try it to see if the hangs I used to have are fixed now.

First I noticed that Physics package does not come pre-installed with Maple 2021, which is little strange. I would have expected Maple 2021 to come with latest Physics version.

Because when I did Physics:-Version() it says "`The "Physics Updates" package is not installed`"

Then I typed  Physics:-Version(latest) to install it, it gives error

Error, (in Physics:-Version) unable to determine the Physics Updates version, could you please report the problem to support@maplesoft.com
 

 

I remember something similar in earlier version of Maple but can't find or remember where that post now.

May be Physics needs to be updated at Maple site to work with Maple 2021? I am asking, because Latex() does not work without Physics installed.

Edit:

I think in Maple 2021, latex() now is the same as the earlier Latex() command from Physics? I remember a post saying this now. Since I see now latex() have different help page from old latex() help page.

So may be that is why Latex() did not work. I can easily change this in my code to change it to use latex() instead of Latex() in this case. 

Windows 10

 

 

 

Hello!

I have a difficulty with a function used in procedure. The procedure uses a multivariable function and if the specific choice of the function is not made the procedure seems to give proper result, but In case I make a specific choice of the function and then try use this procedure gives me incorrect result.

To be more exact I use Physics package (there is a need to calcute combinations of covariant derivates ). The calculations are performed in a curved space with a defined metric.

So here is the procedure:

SD2 := proc (psi) SumOverRepeatedIndices(g_[`~kappa`, `~lambda`]*(d_[kappa](d_[lambda](psi(X)))-Christoffel[`~sigma`, kappa, lambda]*d_[sigma](psi(X))))^2-SumOverRepeatedIndices(g_[`~kappa`, `~rho`]*(d_[kappa](d_[lambda](psi(X)))-Christoffel[`~sigma`, kappa, lambda]*d_[sigma](psi(X)))*g_[`~lambda`, `~tau`]*(d_[rho](d_[tau](psi(X)))-Christoffel[`~gamma`, rho, tau]*d_[gamma](psi(X)))) end proc;

If I turn to the procedure :

SD2(psi);

the result is  correct.

But  then I specify a psi function:

psi:=(t,r,x,y,z)->chi(r)+q*t;(here q is supposed to be a constant)

and turn to the procedure once again:

SD2(psi);

It gives me a wrong result.

I don't know what is the reason.

Thank you.

 

 

How do you print [0,infinity) in Maple 13 like
?

RealRange does not seem to work.


Thank you!

mapleatha

This has always made me wonder everytime I type it.

The first command I always type on a new worksheet is restart.  I don't think I have never done this. 

Is there a reason it needs to be manually entered and how many people DO NOT start a worksheet with a restart?   

Is there a reason to not make this automatic with initial loading of a worksheet?
 

Thanks,

Bill

The plot command below results in the following graph:

However, I want the x-axis to go from 0..24 and the y-axis from 0..100. I can adjust the shafts temporarily via Axes-Properties so that I get the following plot:

However, as soon as I recalculate the plot command, I get back the original plot. Is there any parameter in the plot command where I can set x-min, x-max, ymin, ymax?

Regards,

Christer

I'm adjusting a Maple 2015 code for it works correctly in Maple 2020.
A being some matrix, this command executed in Maple 2015 returns a plot with the desired color.

matrixplot(A, heights=histogram, color="X11 Thistle1")

When executed in Maple 2020 the color of the bars is desperatly black.
Note that syntaxes like color=red or color=ColorTools:-Color([1, 0, 0]), despite what seems to be said in the matrixplot help page (wherein the reference to plot:-color help page) keep returning a black plot.
The only thing I'm able to do to turn the plot to red is this

F := (x, y) -> 1:
matrixplot(A, heights=histogram, color=F)


How can I obtain a plot with the color I want?

PS: maybe I'm not very astute, but it looks like the help pages are not very explicit on this point.

Requesting a code to compute the following self referencing integer sequence :

a(1)=1, a(2)=0. Thereafter, if a(n) is a novel term then a(n+1)=Min{|a(n)-a(k)|; 1<=k<n}. Otherwise, if a(n) seen before (most recently at a(m)), then a(n+1)=n-m.

First few terms are:

1,0,1,2,1,2,2,1,3,1,2,4,1,3,5,1,3,3,1,3,2,10,5......

Desirable to have option for graphing results up to some value of n.

Thanks in advance for any assistance

David.

 

Hello, I'm a student in high-school, and i was wondering if it is possible to have multiple people writing in the same document at the same time. It would make groupwork a lot easier if I could do the writing like e.g.: google docs.
-Max  

Hello there, 

I would think that those two expressions are same as long as L::positive, omega::positive, R::positive, but when I tried in Maple, I could not get that result. The following worksheet shows my attempts. Would you please tell me how to get the answer, true, instead of false from the expression comparison?


 

restart:

arctan_expression := arctan(omega*L/R);

arctan(omega*L/R)

(1)

arctan_expression2 := arctan(R, L*omega);

arctan(R, L*omega)

(2)

evalb(arctan_expression = arctan_expression2) assuming L::positive, omega::positive, R::positive;

false

(3)

is(arctan_expression = arctan_expression2);

false

(4)

 


Best Regards, 

In Kwon Park 

Download Q20210308.mw

 

Here's another possible bug related to special characters (like ø, æ, å).

SubString considers each of the characters to be consisting of 2 different other ones.

Related to https://www.mapleprimes.com/questions/231765-Special-Characters-In-Maple-Workbook-Code.

with(StringTools)

a := "Øyeblikk"

"Øyeblikk"

(1)

SubString(a, 2 .. ())

"�yeblikk"

(2)

SubString(a, 1 .. ())

"Øyeblikk"

(3)

SubString(a, 3 .. ())

"yeblikk"

(4)

``

Download SubString.mw

PLs, correct my code about how to find the derivative by using the loop concept in maple?

help_derivative_in_loop.mw

Hi,

I'm using Maple on a linux partition and for some time now I can't really use it anymore. For example, when I open a help window, I can't scroll through the content, and scrolling gets stuck if an image needs to be displayed. I think my partition is too full and does not have enough free space left. Doesn't Maple create a temporary file that is too big for the space available?  But I have another partition that is not in the same format as the linux partition but is nevertheless readable and writable. Is it possible, if the problem is a temporary file, that this file is written to this other partition to avoid this storage problem?
Or could it be due to a memory problem (RAM?) that did not occur before?

First 435 436 437 438 439 440 441 Last Page 437 of 2431