MaplePrimes Questions

Dear guys

In my program I have a loop and after some calculation I want to write the results. I use:

" writedata("D:\\arvin\\bao-cmb-h.txt", convert(T, array), float);"

but maple give me an error:

" Error, (in convert/list) object too large "

how can I write my data?

Thanks.



I have a strange error when i try to plot an ODE with "numeric,method=gear,parameters=[...]" as options activated. After this implementation I give the parameter a value: ODE(parameters=[123]); -> works. But when I type "odeplot(ODE, [x(t),y(t)],10..20,numpoints=100);" for example, i get the errormessage:

" Error, (in dsolve/numeric/gear) Array index out of range"

But when i remove the option "method=gear", so that the ODE is solved with default runge-kutta...

I'm developing an application that I'd like to use elements of an array as parameters in MapleSim components - is there a way to use Maple arrays/vectors in MapleSim?

 

Also is there a way to open a file and read its contents (data) as the starting point (parameter set) for a MapleSim simulation?

Why does the following derivative vanish?

f:=k->(y->y^k);

h:=z->f(2)(z);

D(h);

 

Note: I am aware that setting h:=f(2) would give the correct result. However, I would like to use the arrow -> notation in a more complicated problem. Also, it seems odd that the plot(h) displays the graph of z->z^2, while D(h) gives 0.

The quantity ω(x):= limsup_T->+infinity Pi/T*ν(x,T) is said to be the frequency of a function x:[0,infinity)->R,
where ν(x,T) equals the number of zeros (taking into account  the multiplicities) of the function x on the interval [0,T].
a) To estimate from above the frequency of any non-zero solution of the ODE diff(x(t),t$2011)+x(t)=0.
b) To find the frequency of the function x(t):=sin(t)+sin(Pi*t).

Edit.

I have a variable number of pointplots c[1] .. c[i] and i want to plot all in a single plot.

I tried display(c[k],k=1..i); or display(c[k]$k=1..i); but i got an error. Typing evey list like: display(c1,c2,c3,....); is not possible because i is variable. What can i do?

I used the folowing command to solve a system of equations:

fsolve(equations,variables);

then the results were on the following form:

{u1=.1,u4=1,u5=3,u2=4,u3=0}

but I want to rearrange as:

{u1=.1,u2=4,u3=0,u4=1,u5=3}

please help me and i will very grateful for you... 

When i try to get all roots for an ODE, i try to use fsolve:

  fsolve((rhs(ODE_4))(t)=0,t=10..20);

where ODE_4 is an ODE (dsolve, numeric, output=listprocedure), where i want to find the root of the 4th variable in the ODE (4 should be an index).

Then i only get the fist root after t=10 and the computation stops. What can i do to get ALL roots in the given interval?

"Find the local maxima and minima in some noisy signal"

I have a data array which I want to determine the peaks in the measurements.
For this task I tried to translate the code found  from MatLab to Maple.
As you can see I get the values(peaks) on the x axis displaced.
By using GlobalSearch get the same peaks with the coordinates correctly.
As much as I seek and analyze command lines can not find the error or errors.

When I use the differential geometry package and setup a spherecial metric with greek letters using the palette it protects the variables displaying the actual greek symbol but it protects the basis elements (vectors and forms)  using the spelled versions i.e. dphi, dtheta.  In all subsequent calculations for other tensors like connection and curvature it displays the spelled names dphi dtheta whereas i would like to have the actual greek synbols displayed which it does in for example sin(φ...

Good morning.

 have a problem with maple that it can work and i need to know know how can i uninstall maple on ubuntu ( linux)

i can see that there isn't exist the folder uninstall.

help me please.

 

I want to plot the zeros of an ODE dependent on the change of a parameter of the ODE. My idea is to make a loop where i save the zeros to the given parameter into a file, so that i get multiple files with the zeros in it, and then make a plot with the parameter as x coordinate and the zeros as y coordinates. How can i make this possible in Maple? How can i set a variable filename, for example "parameter name = value".txt?

Hello again,

After i execute this code deltaT is no longer a Matrix, can anyone say me why?

(Supposing the first for loop only goes until 8 for instance deltaT remains a Matrix and the plot works so far...)

deltaT :=Matrix(1..19,1..6,fill=1)

 i := 0;
> j := 0;
> interfaceenergy := -1;
> sig := -200*10^6;
> for a from 1 by 1 to 19 do  interfaceenergy:=interfaceenergy+1; i:=i+1; j:=0;
> for b from 1 by 1 to 6 do sig:=sig+200*10^(6...

The Maple documentation claims that Alt-Shift-F6 allows you to cycle between open windows in Maple. Well, it doesn't. So, I'm wondering what shortcut (if any) allows you to do this. Also, why is the documentation misleading?

How do i plot a graph  of  (H .vs. X/(2.Pi.sqrt(2))) for different values of time =t

H is the film thickness

When I plot my values, I get a normal graph of H .vs. X, but I need to see the above mentioned graph.

Please suggest solutions.

The command which I wrote for my graph generation, looks like this:::::::::

> IBC := {h(x, 0) = 1+0.1e-2*sin(x/sqrt(2)), (D[1](h))(0, t) = 0, (D[1](h))(2*Pi*sqrt(2), t) = 0, (D[1](D[1](D[1...

First 1841 1842 1843 1844 1845 1846 1847 Last Page 1843 of 2429