Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I want to write a code to generate Legendre Polynomials using the Gram-Schmidt Process. I have no experience with programing. Here is how the process should work:

Given "(f) = {f[0]=1, f[1]=x , f[2]=x^(2) , f[3]=x^(3) , ... , f[n]=x^(n)} "
       
Find the Legendre Polynomials: "{P[0] , P[1] , P[2] , P[3] , ... , P[n]}"

First,  P[0]=f[0]=1

then, the rest are defined recursively by

P[1]=f[1]-(()/())*P[0] = x

Hi All,

 

I want to create a MapleSim Custom Component which has a vector input and the output is a matrix. In this case how can I define the system (Dynamic system sys:=DynamicSystems[?])? Hence, how can I assign these input/output to component ports?

 

Thanks

I have a problem with animations using a density plot as background.

The density plot covers the animation.

 

Here is an example:

plt:=densityplot(-(x^2+y^2),x=-1..1,y=-1..1);
animate(plot,[[sin(r)*cos(t),sin(r)*sin(t),t=0..2*Pi],thickness=10],r=0..Pi,background=plt);

 

Can this be solved? 

 

Best regards

  anthei 

Hi,

I am trying to create a do loop to generate y values from a series of vectors containing the x's. In the end, I will be exporting this data to Excel, so I want to put it into a Vector.

My problem is that sometimes I have 11 x's and sometimes I only have 9 x's.

 
observed := rtable(1 .. 2, 1 .. 3)
for k from 1 to 2 do 
for j from 1 to 3 do 
observed[k][j] := evalf(subs(HK[1] = C1[k, 1...

Hi guys,

 

I am fairly new to Maple so please go easy on me!

 

I have seen the Mathieu equation in my chemistry book regarding quadrupole mass spectrometer. I want to know how I can use Maple to solve the equation and to plot a 'stability diagram'?

 

The equation is seen here (in this link):

I have Maple 12. I am trying find integer partition of 20 into size 5 each. This can be accomplished in mathematica, using the command of 

 

IntegerPartitions[20,{5}]

 

Maple does have Partition command but there is no way to use that command to produce an output of size n partition.

 

For example Partition(20,5) results in partitions of 20 with 5 being the largest integer. That is not what I want. I need to...

How do i solve a simple trigonometric equation? For example sin(2*x) = -sqrt(3)/2.

I am unable to find where the problem is within a plot. Here is the error message: Error, (in plot) incorrect first argument [(k-1)*r*(cos(t)+cos(k-1)*t/(k-1)), (k-1)*r*(sin*t-sin(k-1)*t/(k-1)), t = 1 .. 1, r = 1 .. 1, k = 3 .. 3]

Is there a symbol or something that i am supposed to be looking for in the error message so i know where the error is occuring?



How to draw slope field associated to differential equation: dy/dt = sin(ty) on Maple software?

I know I can use try catch but why doesn't this work?

is(tan((1/2)*Pi) = "Error, (in tan) numeric exception: division by zero")
Error, (in tan) numeric exception: division by zero

It is a string value error that should be true in the test shouldn't it?   

Hi,

I asked a similar question some time ago : http://www.mapleprimes.com/questions/123925-Shortcut-Key-AltShiftF6.

I'm still on Maple 13, and I still have not found a way to switch between tabs/windows using the keyboard.I am in the one Maple session (ie I haven't started a new one).

I tried all suggested combinations, including all combinations of Ctrl, Alt and Shift...

Hi,

A simple question. How do you echo 2+2 to the output without Maple calculating it and putting 4 in the output ?

thanks,
Andrew

Firstly applogies for if this question has been asked before.

I am trying to plot a simple epidemic model for where I can change the rates.

My equations are:

de1:= diff(X(t),t)=a*X(t).Y(t);

de2:=diff(Y(t),t)=a*X(t).Y(t) - b*Y(t);

where X is susceptibles and Y is infected.

I would like to be able to produce a graph with the susceptible and infected plotted. Where i can change the initial conditions of X(0) and Y(0) using sliders...

Let r is radius of circle inscribed and R is radius of circle circumscribing atriangle ABC.

Prove that p[tan(A/2)+tan(A/2)+tan(A/2)]=r+4R where p=(1/2)(a+b+c).

I have two inequalities in the complex variable z, called "ineq" and "ineq2".  When I issue the following plotting command, I can show the region of the complex plane that satisfies both inequalities:  It appears as a black region:

 

plots[implicitplot](eval(ineq = ineq2, z = x+I*y), x = -8 .. 8, y = -8 .. 8, gridrefine = 3, filled = true)

 

Now, I would like to generate a similar overlap plot, but for three inequalities,...

First 1631 1632 1633 1634 1635 1636 1637 Last Page 1633 of 2249