Maybe this is the wrong website to ask, but hopefully somebody knows...
How do I break a string in Maple and store it in a list of substrings?
i.e.
my string is : "i love the weekends"
and I want to break it into substrings of size 2...
so i would look like this
substrs;
substrs = [[i ][lo][ve][ t][he][ w][ee][ke][nd][s ]]
...
I am trying to use a Taylor polynomial programmatically in Maple, but the following does not seem to work...
T[6]:=taylor(sin(x),x=Pi/4,6);convert(T[6], polynom, x);
f:=proc(x)
convert(T[6], polynom, x);
end proc;
f(1);
All of the following also do not work:
f:=convert(T[6], polynom);
f:=convert(T[6], polynom, x);
f:=x->convert(T[...
How would I use the subprocess module in Python to start a command line instance of MAPLE to feed and return output to the main code? For example I'd like:
X = '1+1;'
print MAPLE(X)
To return the value of "2".
The best I've seen is a SAGE wrapper around the MAPLE commands, but I'd like to not install and use the overhead of SAGE for ...
First, I know almost nothing about the interfacing of this type and this is the first time, I'm trying it out. I am looking to use one of the Statistics/Simulation software either Maple or Mathematica or R for calculations and use C#/Java to handle other areas like persistence and data collection and so on.
Can you tell me which one of ...
How is possible to join dots of a scatter plot after plotting, and make a line from a dotted plot?
...
I have an equation which has been reduced to the form
eqn1 := f(x,y,z) = T;
Now I have another equation that involves T as a variable
eqn2 := g(T,x,y,z);
I want to replace T with f(x) in eqn2. If I had eqn1 in the form
eqn1better := T = f(x,y,z);
Then the following command would do what I want.
algsubs(eqn1better, eqn2);
So ...
i am trying to make a 100 x 100 tridiagonal matrix with 2's going down the diagonal and -1's surrounding the 2's. i can make a tridiagonal matrix with only 1's in the three diagonals and preform matrix addition to get what i want, but i want to know if there is a way to customize the three diagonals to what ever you want. maplehelp doe...
how should i write the initial conditions and solve two coupled differential equation?
for ex. like:
s1 := diff(n[D](t), t) = a-b*n[D](t)^2-c*n[D](t)-d*n[D](t)*n[T](t)
s2 := diff(n[T](t), t) = b*n[D](t)^2-c*n[D](t)-d*n[D](t)*n[T](t)
dsolve({s1, s2});
where a,b,c,d are constant coefficients.
...
Please refer to the screenshot.
I assigned Qswap to a matrix and when I try to view Qswap, it has nothing assigned to it!
Help will be appreciated =)
...
hi every one!
when i solve numerically a system of two differential equations:
s1:=diff(n[Di](t), t)=...;
s2:=diff(n[T](t), t)=...;
ics:={...}; #initial condition.
sys := {s1, s2, ics}:
sol:=dsolve(sys,numeric);
with respect to "t",then the solution (for example)for "t=4" is of the form, sol(4):
[t=4, n1(t)=const1, n2(t)=const2].
...
I realy know nothing about Maple, so any help would be nice. I am attempting to import a .pdb file into Maple, as part of converting some Mathematica code to Maple. I need something that that can accomplish something equivalent to the Import command in Mathematica. I have tried using readdata, ImportData and fopen with little success. If...
I need to plot this in maple
3x1+y+z<=180
x<=12
x+y+4z<=190
How can I do a plot in Maple? I'm using Maple 13
...
Is there a package in MATLAB, Maple or Mathematica which does this?
...
Hey everyone,
I'm trying to perform the following integral in Maple:
simplify(int(a*x^2*e^(-a*x^2), x = -infinity .. infinity))
But instead of returning an answer, Maple just returns back the integral statement itself:
int(a*x^2*e^(-a*x^2), x = -infinity .. infinity)
In the prettier form though (with the actual integral sign, etc)...