Items tagged with parameter parameter Tagged Items Feed

I am trying to compute the diffusion coefficient from the diffusion equation. I can compute the analytical solution and evaluate it for the parameters I know and for the known time t to get this function:


Hi all,

I'm currently running a parameter space search via Maple scripting. The pseudo-code goes something like this:


fopen text file to write data to;

initialize parameters (variable) x, y, and z;

for x number of iterations

   A:-Simulate(model.msim, with [parameters]);

   Update parameters with new values;

   Write to text file;

end do;

fclose(text file)

Hi everyone,

In MapleSim, I know that after running a model simulation, one can save the data via 'export data in excel or csv' format...

But is it possible to automate this process via a script? For example, if I wanted to see what the model data looks like by varying one parametere between 10 to 50?


for i = 1:50

   variable_in_model = i;

   run MapleSim model;

   save MapleSim model data;

Hey there, this is my first post here, so hello to everyone.


I have (so far) one question. I have a circle equation like


I know, that on a paper, I can convert it to the "normal" circle equation, from which I can read the middle point and radius of the circle. And now my question is, how to convert in in maple? I am using the 11th version.


I have tried solving this equation and (x-a)

How can I plot standing waves with extra parameters. That is how can I plot something like 2A*sin(kx)*cos(wt) and vary the parameters to see what would happen if different types of waves traveling in different directions collided.

How to do subj? Straightforward way doesn't compile:


myint:= proc(u::float)::float;
return int(exp(x^6), x=0.0..u);
end proc:

createcomp:=proc (expr::evaln, exprfunc::evaln);
return Compiler:-Compile(exprfunc,optimize);
end proc:
s:=createcomp(global_expr, global_exprfunc);

"Error, (in Print) cannot translate value of lexically...

How to calculate the integral
restart; int(cos(a*x)*cos(x)^(a-2), x = 0 .. (1/2)*Pi) assuming a>1
with Maple? Mathematica 8.01 produces a very doubtful answer
In[1]:=Assuming[a > 1, Integrate[Cos[a*x]*Cos[x]^(a - 2), {x, 0, Pi}]]
Out[1]=((-1)^a* a* HypergeometricPFQ[{1, 1 - a, 1 + a}, {3/2, a}, 1/2]* Sin[a *[Pi]])/(-1 + a)

Hi, I have 2 sets of data:

P := array([1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05]);
Q := array([892, 1012, 1060, 987, 680, 739, 809, 1275, 946, 874, 720, 1096]);
p=P(t), q=Q(t) i.e. both p & q are a function of parameter t  t=1..12
2 functions: 
I'm trying to display x against y , ie x=ln(p) on the horizontal axis, y=ln(q) on the vertical

How do I allow an infinite amount of parameters ( parameters don't seem to exist in Maple) such as the ones in the piecewise procedure (except for the optional parameter)?

My question is related to this discussion on "querying events"

I thought I might start a new thread.

The following loop is an illustration of the sort of thing I'd like to do with dsolve and events: I loop over a parameter of the "event" and extract information on the solution at different values of the parameter. Here is the code (successfully tested on Maple 15 / Standard / Windows)...

Hi, this may be a stupid question, but I have trouble getting it right...

I want to create a matrix from a function that uses some of the arguments of the fuction as indices, but want to carry on the other arguments, here is an example of what I have:


MyMatrix:=Matrix(3,3,(k,l)->MyFunction(a,b,c,k,l)); # this is working but not what I want

MyMatrix now contains a,b,c as variables but not as function parameters ...

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?


I have a procedure that takes multiple parameters, in which I want to fix all but one, and then define a single variable function that maps x to this remaining unspecified parameter, so I can give it to the plot() routine. I would like to define a number of such single variable functions for different values of the parameters and plot them all on the same axes.

Ideally, I would like to find a way to make the following, instead of returning 14, return 21,...

Hi All,

I have a question that I see has been seldom discussed except certain posts by Mr. Lopez. This concerns the estimation of optimum parameters of the solution of a system of differential equations to fit experimental data. I referred to the Maple document provided by Mr. Lopez on the Maplesoft website.

1 2 3 4 5 6 Page 4 of 6