I know the 'factor' function won't do it. But is there any function available in Maple that will take for example 2*p^2 + 4 as an argument and return 2(p^2 + 2) as a result? i.e. I want to factor integer coefficients.
I was having a problem to write a Maplet for model selection. My problem is that, the variables from Combobox are not received by the procedure that should make the model selection. I am trying to apply the function parse to transform the string from ComboBox and add it to the variable that will be send to procedure FORMULCAO. Here is the code:
> option package;
> local maplet;
> export Model;
> global deptemp,N, NDOM, MODE;
> use Maplets[Elements] in
> maplet := Maplet([
> "Time Dependence: ",
> ComboBox['CoB1']("stationary", sort([
I would like to define new type in my package but I don't know how. What should I change in followng code to make it work? Thank you.
march('create', ".", 3);
MyModule := module() option package;
export p, `type/FS`;
`type/FS`:=proc(t); # define new type
if t=`a` then
p:=proc(S::FS) local coeff, t;
savelibname := ".":
I am new to Maple. I have been trying to solve a nonlinear equation, but have been fraught with problem. I would appreciate any help. Solution through 'solve' would be great but 'fsolve' will be ok too.
For the solve
Typical values of E are 10^-19; and KT is about 10^-15.
How do I solve an equation such as this:
Finite time of T periods so there is a boundary condition of z(T+1)=0. Need to solve backwards for z(t).
on one of my procedures, i have the following error message
"Error, first argument to _Inert_ASSIGN must be assignable"
And I absolutely don't know what _Inert_ASSIGN refers to...
May somebody help me ?
I've got the following inequality with `in`(z, complex):
I have Maple 10 and it doesn't want to solve it for me.
Furthermore how could I plot the area of this inequality in gaussian complex number plane?
I hope you can help me.
if i have random points in xy plane and for each point i have few measured values how can i fit a surface through that points?
I have the following equation which I want to plot V against t for t=0..10 and V=0..3000.
Ive tried to solve numerically and came with the following:
V=105.5074910 LambertW(11.24090800 (e)^((-3.232551942 (e)^((-4.081632653 t))-0.0003554250000 (e)^(((2.500000000)/(10. t+3.))))))+341.0584450 (e)^((-4.081632653 t))+0.03750000000 (e)^(((2.500000000)/(10. t+3.)))]]
Im not sure how or if this can be done in Maple.Any help would be very appreciated
I have the following question:
Is there in Maple (v 10) something like the Matlab "find" command, which, in short, returns a position of a vector (or array, etc.) entry satisfying a given condition??
I am writing my output using printf(...) procedure. Sometimes I would like to use bold font. Is it possible to interfere with maple 10, like this
kernelopts(.... turn bold on :-) .....)
printf("something in bold\n");
kernelopts(.... turn bold off :-) ....)
printf("something not in bold\n");
Is any way to do this?
Since the book entries do not yet have their own tracker (like the forums, blogs, etc), I figured I would give a particular entry I crafted on advanced maple programming
a bit of a boost by making a blog entry of it, at least until Will get the tracker back online.
I did spend a huge amount of time on that book entry, so I want it to get some
Sorry if a question like this has already been answered, but I didn't find any similar ones.
I have a matrix that may look like this:
only much larger... maybe with RowDimension 200000.
Is it possible to use LinearAlgebra:-Map involving some conditioning on different rows.
"Map the first element of each row to zero if the second and third elements are equal".
I can do operation in different columns like:
I am trying to export a command from Maple 10 into, say, Word. I noticed that when the command exceeds a certain length (??) then it's being put into two lines. whereas the original was just one. I am using cut and paste special. It happens regardless of what format you use for paste special. ditto concerning the paragraph format in word.
any help appreciated.
If I enter something like:
P := 1 [[atm]]
And then right click to convert this to torr, it does so like this:
P := 1 [[atm]] -> 760 [[torr]]
But then, if I check the value of P, it is still given in [[atm]]. How can I make the new units append to the previous value?
In general, I'm having a difficult time working with units in Maple. Any suggestions?