MaplePrimes Questions

How do I set 'symbolicname' in GetEquations()?

There is an error "invalid input" when I do like below.

with(MapleSim);

A := MapleSim:-LinkModel('filename' = "C:/Users/---.msim");
A:-GetEquations('symbolicname = []');
 

This is a just a general type question. Often reading questions posted to do with modules and packages I see "foo" used. I have put together some simple packages for routines I find useful. I am week in general programming knowledge. I would like to know is "foo" something special or a generic name used for testing? Is is an acronym? ...

hello how do i use bracekt for several lines, like in this picture I need to write this in maple.

i already know how to setup matrices for nX1 or 1Xn (as in vector) or multiples such as

nXn (square matrice) or nXm (a none square matrice)

I also know that we have this premade "sketch"

but I need for several line and some times I need on the right side and some time I need on the left side.

but rarely on both sides (and if I need on both side I will just use a matrice)

can you help me

thx

regards OrbitA

Hello, i stumbled across a function that does not want to plot regularly.

The translation: The tension U(t) (in volts) measured across a resistance in a electric circuit is given by U(t)=cos(2t)*U*e^t/10.

a. Plot the graph of y=U(t)
b.Calculate the limit t->infinity and acquire the horizontal asymtote of the graph of y=U(t). 
c. Calculate the intersecting points of the graph of U with horizontal asymptote (dont ask me how, while how can a function intersect with its own asymptotes??). 

So the question actually is how to graph this function?
Maybe then i can make up from that how the function intersects with its own asymptotes.

Thank you!

Greetings,

The Function.  


"U(t):=U*(e)^(-(t)/(10))*cos(2* t);smartplot(U(t));"

proc (t) options operator, arrow, function_assign; U*exp(-(1/10)*t)*cos(2*t) end proc

 

 

``

Download Question_for_maple_primes_4.mw

Copying and Pasting of parameters (entered data) or text in text boxes does not work on my MapleSim 2021.1 Windows10 installation.

I tired the usual keys and context menus. Cutting works.

Thats what I get back when I paste text here after cutting

<math xmlns='http://www.w3.org/1998/Math/MathML'></math>

Copy&Paste of components works.  

Is this a known issue?

Hi,

This is my first post here and I am really hoping someone can help me. I just started using Maple and I am using Maple 2021.

I generated numbers using a SEQUENCE and the sequence is called y. I am trying to extract the element (y[n]) and the index (n) of that element based on the CONDITION that y[n] has to lie in between 0 and 1 exclusive (so the element of the sequence or y[n] has to be such that 0 < y[n] < 1). How can I achieve this using select commad and also using a LOOP. Are there any other methods that can be used to achive this result. Any or all help would be really appreciated.

 

Thank you all.

I have piecewise functon:

k := piecewise(t < t1, kmax, t1 <= t, -kmax, 2*t1 + sqrt(2)*t1 <= t, kmax, 3*t1 + 2*sqrt(2)*t1 <= t, -kmax, 4*t1 + 2*sqrt(2)*t1 <= t, 0)

Everything is a constant except time t. 

I need to Integrate it 4 times. 

sol := int(k, [t = 0 .. t, t = 0 .. t, t = 0 .. t, t = 0 .. t])

I only get result for the first two conditions from the piecewise functon (t < t1, kmax, t1 <= t, -kmax)

I need the result for complete piecewise functon. Also converting to Heaviside doesn't work. I am a complete math moron. Ty

Hi,

I have made a maple file that is meant to test Maple's solution to the nonlinear pendulum equation.  I am doubtful that Maple is finding the correct solution.  Could someone comment on my analysis?

test_nonlinear_pendulum_solution.mw

As I upgraded to Maple 2021 I quickly noticed the missing text format bar. I've looked into the view tabs and done a bit of search, but I can't figure out how to get it back. I mostly use document mode, so I miss it dearly.

Thank you in advance.

Am calculating using the binomial function, and want to plot the output values. So, need to create a vector and plot the values.

Here is the loop,

x := RandomVariable(Binomial(45, 0.9));
for i from 0 to 45 do
    ProbabilityFunction(x, i);
end do;

Cannot seem to find a way to get the output into a list or vector, and then implement the dataplot function .

Many thanks in advance....

Dear Sir/Madam

I want to use explore commad in order to make a plot along with calculating another expression,simultaneously.

The following command does not give the desired result:

Explore([plot(a*x^2+b*x^3,x=-2..2),evalf(a^2+b^2)],parameters = [a = -1.00..1.00, b=-1.00..1.00],placement=right );

I want to have a diagram which depends on both "a" and "b" together with evaluation of the expression "a^2+b^2" somewhere near the control markers.

I appreciate if any one could help.

Thank you very much

 

I am interested in the inner workings of SignalProcessing:-Convolution. I know I can list it with a higher setting of verboseproc:

with(SignalProcessing);
interface(verboseproc=3); # actually, 2 is enough here...
eval(Convolution);

and get

Obviously the real work happens in IPP:-Convolution, but that seems unknown. How can I list that??

TIA,

Mac Dude

Convolution.mw

Dear Maple users

I have created a simple Explore command in order to display what happens with a Planck curve when the temperature T increases - using the slider. Especially I would like to show how the maximum of the curve lies in relation to the visible spectrum from 400-700 nm, that is from 4*10^-7 to 7*10^-7. My idea was to somehow have this wavelength interval representing the visible spectrum displayed behind the Planck curve as a vertical rectangle. If it was a fixed plot, I could do it using the display command, but is it possible to add an extra plot to an Explore command?

I have uploaded the temporary Maple file and an image to show my intention (I don't expect the coloring ...)

Planck_curve.mw

 

Maybe someone can help?

Kind regards,

Erik V.

 

Dear respected colleagues,

The first "ex 1" and second "non linear" codes were sent to me by a colleague. It would be appreciated if they can be modified to look like the one saved with "K2 Nonlinear_Fang 2009". Thank you all for your time and best regards.

ex1.mw

non_linear.mw

K2_Nonlinear_Fang_2009.mw

 

 

 

In mathematica, CommunityGraphPlot attempts to draw the vertices grouped into communities. 

g = Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 
   3 \[UndirectedEdge] 4, 1 \[UndirectedEdge] 4, 
   1 \[UndirectedEdge] 5, 5 \[UndirectedEdge] 6, 
   5 \[UndirectedEdge] 7, 7 \[UndirectedEdge] 8, 
   8 \[UndirectedEdge] 9, 7 \[UndirectedEdge] 9}, 
  VertexLabels -> "Name"];
ged = {{6, 7, 8, 9}, {5}, {1, 2, 3, 4}};# Gallai-Edmonds decomposition
CommunityGraphPlot[
 HighlightGraph[g, FindIndependentEdgeSet[g], 
  GraphHighlightStyle -> "Thick"], 
 Thread[Labeled[ged, {"D(g)", "A(g)", "C(g)"}]], PlotTheme -> "Web"]

This function is very useful, for example, if I get a partition of vertices, such as the gallai-Edmonds decomposition below, I use  CommunityGraphPlot to easily see the overall layout of the graph. I don't know if Maple has a corresponding function.

PS: The Gallai-Edmonds decomposition of a graph g is the partition {D(g),A(g),C(g)} of its vertices, where D(g) consists of every vertex v for which there exists a maximum matching of g that misses v, A(g) consists of every vertex v that is not in D(g) but neighbors some vertex in D(g) and C(g) consists of all remaining vertices.
First 378 379 380 381 382 383 384 Last Page 380 of 2431