Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
What would be an effective way to code a sequence of numbers Y(t):=Poisson random variable with mean X(t) and X(t):=M+phi*X(t-1)+alpha*(Y(t-1)-X(t-1)) for 0<alpha<phi<1, M>0? Thanks.
I am currently studying the phase portrait a differential equation: diff(y(t), t, t) = -piecewise((diff(y(t), t))*y(t) <><> 0 <><><> Initial conditions are: y(0) = 1; , diff(y(0), t) = 0; The phase portrait plots diff(y(t),t) with respect to y(t). I achieved the phase portrait using Simulink; with a few gain blocks, a switch and a X-Y scope, easily enough. When i was done, i wondered if i could analyze the equation with a more mathematical approach. I decided to try and plot the phase portrait using Maple 11. I have tried various commands to solve the differential equation with Maple 11 but so far i have confused myself.
The command > contourplot(-1,x=0..1,y=0..1,contours=[0],filled=true); is supposed to fill the whole space with red (color for negative values) but it does nothing this is also problem once I need to define a piecewise function which is constant according to some condition, e.g. > f:=(x,y)->piecewise(x>1/2,x*y,-1); > contourplot(f(x,y),x=0..1,y=-1..1,contours=[0],filled=true); this should fill the entire half plane x>1/2 with red, it fills only part of the first quadrant...
The simpliest version of my problem is this: > f:=(x,y)->fsolve(sin(x+y+z)=1,z) > f(5,5); still ok but now: > plot(f(x,5),x=5..10); sais: "Error, (in fsolve) x is in the equation, and is not solved for" it seems as Maple would not first evaluate x:=5 and then solve f(x) :'(
Hello! How can I solve a linear equation which depends on two parameters (a,b) for which the assumption a^2 + b^2 = 1 shall hold. This does not work by writing assume or assuming. The problem has the following form: tau := f(a,b) -> eigenvalues of a matrix U = U(a,b) M := U - tau*Id = M(tau,a,b) = M(a,b) find the kernel of M (eigenvectors of U) and simplify using a^2 + b^2 = 1. I do not want to write down the exact matrix and hope that this information is enough. If not, I will take some time to write it down. Greetings, yadaddy.
I have a Maple 11 Document and I'd like to print it. It currently has a couple graphs and text and mathematic equations on it. However, when I print the document the fonts are all jacked up. Minus signs show as vertical lines, fonts are on top of each other and it just looks terrible. I've tried exporting to HTML but the image quality is terrible on everything that wasn't entered as text. No apparent option to use anything but gifs which are the worst possible thing to use for quality. Any suggestions would be greatly appreciated. glenn
This is a new thread to continue a discussion that started under the topic What is wrong with my program? (by resolvent). Here are the first three responses:
Does anybody know how can I plot 3D chart with gridlines for Axes style set to boxed? and the second question: How can I plot 3D chart with 3D bars?
Hi everyone, I am a new member of your group. I have a problem about matrix conversion from Matlab to Maple. In Matlab 7.0 i have created a program,this program sends a result matrix namely AT.This matrix is not symbolic, it is totally numeric. I would like to see this matrix inside of Maple 10. So far i could not make it. I would be grateful if you could help me. Greetings.
Hello everyone I have a question about the use of ExportMatrix and ExportVector. I am currently working on a sheet, where a matrix is changed within a loop. At the end of each cycle of the loop, the eigenvalues of the matrix are calculated and given out in form of a vector. How can I export these eigenvalue-vectors to a textfile together with the index of the loop? I already tried to use ExportVector at the end of each cycle, but the command overwrites entries of previous cycles, so that only the very last eigenvalue-vector is noted. Thank you very much for any help.
Hi, I want to know if there is a function or simple way that retrieves the constant of an equation? e.g eq=2x^2+4y-6 the constant here is -6
ex how do i command # 1 3x+2y+z=2 # 2 4x+2y+2z=8 # 3 x-y+z=4 i can do the math. (3*#3)+ #1=-5y+2z=10 (4*#3) +#2=6y-2z=-8 add both together y=2 sub in one equation above 6y-2z=-8 z=10 sub into x-y+z=4 x=-4 set this up in maple for me
Simplest example I can think of. I want to define f(x) to be the absolute value function (yes, of course, without using the built-in Maple absolute value function) f:=x->x; is great for defining a function. I've used that many times to define n-vector-valued functions of m variables. But how do I do f:=x->x if x>0 f:=x->-x if x
Hi, I have a modeling equation and a set of data points, and I want to compute the accuracy of my equation relative to the data points. Is there anyway to compute the R squared value of my equation relative to these data points? All of the commands I can find in Statistics are used to fit an equation to the data points, which I don't want to do, I just want to have a qualitative measurement of how accurate my equation is.
How is it possible that the following program works correctly: printlevel:=2: for n from 1 to 10 do if (0=0 mod 5) then 0; end if; end do; It correctly outputs ten 0's. But, when I change 0 to n inside the if conditional printlevel:=2: for n from 1 to 10 do if (n=0 mod 5) then 0; end if; end do; I get nothing for output. I should get two 0's. n is 0 mod 5 exactly twice as n runs from 1 through 10. I have experimented with adding spaces and deleting spaces between keywords and parentheses and numerical values to test if that was the problem. Nothing works.
First 1951 1952 1953 1954 1955 1956 1957 Last Page 1953 of 2097