Items tagged with parameters parameters Tagged Items Feed

Hello,

I am working on a physics problem that involves a bead on roating hoop. You need to use Lagrangians to solve this problem but this is not where i am strugling. My school expects us to use maple because it is the program the provide but none of the teachers know how to usem it (they use mathmatica) so they cant help us. We have the equation: θ"= [ω2*cos(θ)-(g/R)]sin(θ) and the initial cond. θ'(0)=0 and θ(0)=θ

Hi everyone.

I have a system of differential equations with some parameters, and I need to numerically solve for several values of these. How can I do it in a simpler way than solving the system everytime declaring different values for the parameters?

And I need plots and quantities depending on the solution of the system.

Hope I made myself clear.

PS: It's maple 14 by the way.

Using the same post for a different question, also related:

Hello everyone.

I have 2 systems of differential equations which depend on variables from each other, of course the differential variable for each is different. 

Not to get into the details of the system, since they are rather large, the problem is as follows:

I've managed to get with the parameters option a solution for x(z), in essence x(parameters=[a,b])(z). I've managed in turn to generate a procedure that would give me the avg value of x (xm...

I would like to see all the solutions for the following:

int(1/(a-(b+c)*t),t);

but the result only gives

(ln((-b-c)*t+a)/(-b-c)

For example, I can imagine that if b=-c in the integrand that the solution should be

t/a

and not undefined as it would be by substituting b=-c into the Maple result.

I tried

int(1/(a-(b+c)*x),x=0..t,AllSolutions);

but I didn't find that this gave the answer I was looking for either.

Hi all,

During simulation I need to use a parameter as a feedback, which is previously determined in a Modelica Custom Component. In this case, can we use Zero Order Hold (ZOH) block/function to hold the previous value? If yes, how should we choose the parameters of ZOH?

Thanks

Can maple solve this kind of inequality:
piecewise(x > k, x-k, 0) > q * piecewise(x*(1+a) - k > 0, x*(1+a) - k, 0) + p * piecewise(x*(1+b) - k > 0, x*(1+a) - k, 0)
where p, q, a, b, k are parameters?

I'm trying solve-command with allsolutions option but it doesn't work :(

 

Thanks for answering :)

Hi all,

I wonder if it makes sense to use tables as datatype for efficient maple code. I need this datatype to pass parameters to a procedure which is called many times.

In particular, I have the following criteria:

* efficient (fast) to access for read and write.

* potentially thread save ( I can also imagine having individual copies for each thread)

* present in future Maple versions

* easy to transform into C-code later

I have written lists of parameter values and functional forms which I read at the top of the worksheet and use subsequently when I need numerical output.

For instance,

Parameters1 := [ s = 2 ];
Functions1 := [ U = 'proc(c) (c^(1-s)-1)/(1-s); end proc' ];
eval(eval(U(c), Functions1), Parameters1);
                             ...

Consider the following function defined as an integral with parameters:

 

f:=a->int(a*x,x=0..1);

 

If one tells Maple to integrate this function int(f(x),x=0..1); evaluates to 1/3 although the correct answer would  be 1/4. This is because for Maple f(x)=int(x^2,x=0..1). (Isn't this quite a serious bug?) If one would rename one of the variables, the evaluation would work. My problem is that I want to define a sequence of functions...

Hello,

 

I'm trying to increase the number of parameters in the maplesim optimization template (nowadays we have six parameters)

 

I have a problem where I need to tune a model and I have more parameters -

How can I increase the number above six?

I'm trying to create Skewed Normal distribution with the following PDF

 

sqrt(2)*exp(-(1/2)*(x-mu)^2/sigma^2)*(1/2+(1/2)*erf((1/2)*(alpha*x-mu)*sqrt(2)/sigma))/(sqrt(Pi)*sigma)

 

I'm using the following command for that (referenced from http://en.wikipedia.org/wiki/Skew_normal_distribution

Hallo,

I would like to parse function name of parameters (type is function) in my procedure.
I expact for the one parameter this fun::Or(name, function(name). This is exactly the same type like the second parameter in procedure rsolve

For example:
The value of the parameter fun is y(n) and I would like to parse function name y and function variable 

Dear All

I have an equation that is related to some other equations. The main equation and some of the others are in the sum format. I want to solve the main equation in parametric format.

main equation: i want to solve it for m based on other parameters (n,p,alpha,c and perhaps k)

sum(m/(k*p*c+m*i^alpha), i = 1 .. n)-m = 0

there are some other requirements:

1/k = sum(1/i^alpha, i = 1 .. n)

sum(k/i^alpha, i = 1 .. n) = 1

plot error ?

May 27 2011 by kh2n 215 Maple

Robert Israel helped me to plot  F2 vs k 

http://www.mapleprimes.com/questions/120380-Explicate-Plotting

I tried to modify his code to get reults for F2 vs S from equation A1, but i am still facing problems with it

The maple code is

restart:with(MultiSeries):with(plots):

parvalues:={C=2.02,H_liq=8.74,R=22.11,R1=0.0006};...

Hi all,

I have this piecewise function:

Mr := theta->piecewise(theta>=0 and theta<=(Pi/(2*p))-(beta/2),0,theta>(Pi/(2*p))-(beta/2) and theta<=(Pi/(2*p))+(beta/2),Br/mu0,theta>(Pi/(2*p))+(beta/2) and theta<=((3*Pi)/(2*p))-(beta/2),0,theta>((3*Pi)/(2*p))-(beta/2) and theta<=((3*Pi)/(2*p))+(beta/2),-Br/mu0,theta>((3*Pi)/(2*p))+(beta/2) and theta<=2*Pi/p,0);

I want to calculate the Fourier serie of this function without giving...

1 2 Page 1 of 2