The Vim editor ships with a maple.vim file, which is a "maple mode". It was first created by Charles Campbell, and I provided some updates (up to Maple 9.5). I am about to rev that up to Maple 11, so I would like to know if there are any feature requests which I should consider rolling-in at the same time? If you have little bits of vim scripts which you yourself use, by all means, send them along! [You'll get full credit for that, I am fine with being just an aggregator...
Assuming that I have the following
row1 = a, b, c
row2 = a, b, c
row3 = b, c , a
I would like to obtain for each column the frequencies:
column1 a: 2, b: 1, c:0
column2 a:0, b:2, c: 1
column3 a:1, b:0, c:2
How could I do it with maple?
Do I need to use some package?
Thanks in advance,
I am trying to evaluate a number of N[i,j] variables and part of the process of finding them includes "Int" and afterwards "evalf". In case I calculate them manually as in (functions, variables and constants previously defined):
G11 := diff(psi2, a, a);
dpsi2 := diff(psir2, a, a)+diff(psiz2, a, a);
Izr := -E*(Int(u*G11, [z = -infinity .. infinity, r = 0 .. infinity]))+Int(u*((j*g0+j^2/r^2+(1/4)*g0^2*r^2-2/rho)*G11+dpsi2), [z = -infinity .. infinity, r = 0 .. infinity]):
Izr2 := evalf(Izr);
N[1,1] := (a*a)*Izr2;
I obtain neat results for Izr2 and N[1,1] (i.e. the integration is done and results in a number).
Suppose I've plotted 3 functions:
Now I'd like to have these 3 plots following one after another (in a successive manner) in 1 plot like diagram. How can I perform such a task?
How can I have a plot in reverse range? For example instead of plot(x^2,x=0..1), I'd like to have sth as plot(x^2,x=1..0), i.e. the horizontal range begins from 1 and ends to zero (also the vertical range is from (1)^2=1 to (0)^2=0).
Does anyone know how to derivate such function:
and avoid in result: Float(undefined) in points where function is not continuous. You can see what I'm writing about in file trajectory
The problem is that I have a big simulation of constrained robot and I need to derivate my equations which are not continuous and I cannot change it.
Thanks for any help.
P.S. I forgot to write I use MAPLE version 8
I have a problem with Maple 11, and I was wondering if anyone can provide insight.
When I create a function, say:
r := t-> [t^2, 2t, 3t^3];
And then somewhere further down my document I do...
Etc... there are times where it appears that maple 'forgets' what my functions are and I'm forced to click on my initial function definition and press Enter again to 'remind' maple what 'r' is. I don't understand why this happens... if I say x=2 in a programming language, it stays =2 until I redefine it otherwise, but with maple my functions don't remain what I define them to be and I don't understand why my functions simply don't 'stick'???
I was wondering if there is anyone fairly well versed in the modular linear algebra package who can help me figure out how to solve a problem.
I am doing some research about some coding theory, and I find myself needing to row reduce a matrix with entries from the integers modulo 2.
I am using Maple 11 on a Mac, and have read the help file on the RowReduce command in the LinearAlgebra[Modular] package, which explains all of the parameters I need to include. I thought I understood the parameters, but I get an error each time I try to do use the command. The error I get states that the matrix is singular, which shouldn't be a problem since I am not trying to invert anything.
How do I get the ln's in ln(2*x-2*a)/a-ln(2*x)/a to combine? How do I get maple to convert exponentials into hyperbolics and back? In general, is there a good reference for collect, combine, convert, simplify, expand, factor and all similar functions? How to massage an expression into the form you want seems to be an enormous and/or hit or miss affair. Thanks.
How Do I Do Conditional Probability with Maple?
I use Maple 10 Retail Student.
My word problem is "Should You Switch". What I want to know is how Do I use Maple to a) compute it and verify my work b) Use Maple for this.
You are a contestant on a game show where a million dollars is hidden between on of three closed doors. You geuss door 1 BUT before opening that door the game show host opens door 2 and shows you that nothing is hidden there. He offers you the chance to switch your geuss to door 3. Should you switch?
How do I use Maple to verify my work?
In the attached document X is a function in p and F. Solving X for F returns three possible solutions in p. When I put p=6 all three solutions contain complex numbers.
However, when I put p=6 at the very top of the file, transforming X into a function of only F, Maple finds two possible solutions for F both without complex numbers (11.1 and 3371.9, whereas 11.1 is the "right one").
How come that Maple doesn't yield the same results when I define p=6 later in the file?
I'd be very greatful for any suggestions and help!
Hello, I ran into some problems with the y-axis labeling and tickmarks, and would appreciate any help you could offer. Thanks!
The y-axis plotted below has two 10^(-6) labels,
and the tickmarks on the y-axis do not look correct
either (more than 10 subtickmarks per order of magnitude!).
> dBv := 37.43; dBv := 31.29; dBv := 25.75; dBv := 20.86; dBv := 16.54; dBv := 12.58; dBv := 9.28; dBv := 6.02; dBv := 3.32; dBv := 1.25; dBv := -1.54; dBv := -3.38; dBv := -5.45; dBv := -7.2; dBv := -8.04; dBv := -8.29; dBv := -10.06; dBv := -9.32; dBv := -10.53; dBv := -9.71;
I ran into this in my Modern Algebra class; and decided it might be of interest.
We were given the problem to:
"Find the least prime p s.t. 2^(p-1) congruent to 1 (mod p^2)"
EVERY prime p > 2 has the property, 2^(p-1) congruent to 1 (mod p), by Fermat's Theorem (since 2 does not divide such prime p).
But, mod p^2 is another story.
This was given in a class where everything is done by hand calculation, based on theorems. I couldn't come up with any way to determine it other than brute force.
Here is a tiny Maple snippet which finds it:
How do I get Maple 11 to show the symbol instead of the text when using textplot and labels=[ ] in plot?
For example, I want my labels to have the symbol lambda, but when I try labels=[\lambda,x] I just get the text "lambda."
Likewise, I'd like to be able to plot text with subscripts, i.e. text1:=textplot(0.6,0.8,"p_gt^*") gives me that exact text on the graph when what I really want to show up is the label p* with the subscript "gt."
I am trying to export a worksheet from Maple11 to LaTeX using the "export as" function. It produces a .tex-file that uses the "maplestd2e"-package. When I compile the document I see the output of the computations and all figures, but I don't see the maple-commands that I have entered to obtain the output.
It works fine if I use Classic Worksheet mode, which uses the "maple2e"-package.
Any suggestions on how I can export the Maple input commands to LaTeX using the standard Maple11?
How do I force maple to simplify an expression containing exp(ix) and exp(-ix) to an expression contating sin(x) and cos(x) (if possible). Example: I want maple to recognize
or (slightly more complicated) to recognize
sin(x)/cos(x) or tan(x)