MaplePrimes Questions

Hi,

 

I was wondering if it is possible for me to generate plots from command-line Maple. What I need to do is access a linux server remotely via PuTTy and then set Maple running on creating a plot (that takes it a couple of days). Is it possible to do this?

I can't seem to find out how after googling for a while, I was thinking it would be something like "maple <inputfile.mpl> outputfile" on the command-line then I'd just let it go and it...

Hello,

To label plot axes as Greek letters, one should use the "labelfont=[SYMBOL]" parameter, but this option makes both axes in Greek letters. Is it possible to make only the horizontal axe as a Greek letter, while the vertical axe remains as an English word?

Thanks in advance.

I have a procedure, lfGn, with two or three real arguments, and I wish to find the maximum value of the procedure.  I was trying the Optimization package, and found this to be extremely slow.  Optimization was called with the following code: the first few lines just set some variables, for use in the last line, which does the call.

max2lfGn := proc (X::Vector) local a, d, e, f, H, m, s;
e := 10.^(1-floor((1/2)*Digits));
a:= Statistics:-Mean(X);
d := Statistics:-StandardDeviation(X);...

Mazimize only gives me the first maximum it finds. I want to find all maximums in an interval, or just the largest NUMERICALLY. is there a workaround?

I should convert factors of a generic equation into standard form (scientific notation) :

 

 example_eq := 345.1234 x1(t) + 34.5691 u1(t) - 5423.8932 y1(t) + ... many other terms...


Is there some maple command or procedure to convert automatically every factor of a generic (very long)   equation ?

 

Manipulating a system of long equations maple gave in output the following error message:

I have a function in maple with one variable (say f=2*x). I would like to generate a nx2 matrix with the variable (x) in the first column from 0 to 100 and the function value (f) in the second column. I would then like to export this numerical data. How can I do this in Maple?

Problem exporting labels.

 'labeldirections' = [horizontal,vertical]

displays properly inline, but the labels vanish when exported.

 'labeldirections' = [horizontal,horizontal]

doesn't work either, but if omitted altogether the labels are properly exported with plotsetup(ps)

So we've also lost the ability to export vertical labels.

Based on the dates of some plots I produced in earlier work, it looks like some export...

sc_vs_t.mw

sc_vs_t.pdf

 

I want the solution of an ODE for different values of d say d=3,4,5,6... etc (see the mw file). I want to plot a(t) vs t for these different values of d.

Now what is wrong with my code ?  How to fix it ? 

I also  added a Mathematica work of the same thing (see the pdf) ,...

Dear guys, Can anyone tell me why my program does not work for some initial values? All my equations are:

> alpha := (6*h^2)^(1-n)*(1-k)^(1-n)*((1-m+k)/(2*n-1-k));

> eq := z-> 1=(m*(1+z)^3-k*(1+z)^2)*h^2/(H^2)+(((2*n-1)-(k*(1+z)^2*h^2/H^2))*((1-m+k)/(2*n-1+k))*((((H^2/h^2)-k*(1+z)^2)/(1-k))^(n-1)));

> Y := z->if not type(z,numeric) then 'procname(z)' else (fsolve(eq(z), H=h)) end if;

> l := dsolve({D(L)(z) = L(z)/(1+z)+(1+z...

lets say I have the folowng

a:=1

b:=3

c:=5

is it posible to have it like this

h:=a+b*c=1+3*5=16

hi I'm new to maple and I want it t perform some filtering

I want it to select a nummber in array within given condiitions

> t := [1, 4, 9];

>

> for i from 1 to 3 do if t[i]>2 and t[i]<t[i+1] then  s:=t[i] else s:=t[i]+7end ;
print(`output redirected...`); # input placeholder
Error, unterminated loop
Typesetting:-mambiguous(for i from 1 to 3 do  if t(i)gt2  then s

I have a function with one variable which I would like to plot the Kurtosis (statistical term) of (for a specific range). The purpose is to produce a plot which will show the 'peakiness' of the curve.

Say y = x^3 + 2*x^2 + 3*x;

For the range, say x = 0..10, I would like to plot the kurtosis (Maple function is also called Kurtosis). I have been able to do this numerically with a matrix of data but am unsure how to do this in Maple.

Your assistance is much appreciated.

Hi, 

I am relatively new to Maple and I am seeking an efficient way to create a probability histogram for a discrete probability distribution. For example,

x:      1     3   5    7

p(x): 1/8 1/4 1/2 1/8

 

I would like rectangles with height corresponding to the probabilities with bases centered at each x value, allowing for the possibility of gaps in the distribtuion.

 

What is meant by events? I have seen this error numerous times.

   "Simulation problem: maximum number of event iterations reached (100) at t= ...."

How do I model so that I can avoid them?

http://www.solitaryroad.com/c681.html

refer to this link, dsolve the differential equation can not get generating function.

would you mind demonstrating the steps with maple?

First 1818 1819 1820 1821 1822 1823 1824 Last Page 1820 of 2429