MaplePrimes Questions

Hello,

I want to optimal control, i.e. determine command which minimize an onjective function.

So I want know how I can use the Maple function "optimization[NLPSolve]" in a custom block of Maplesim ?

(I do that in Matlab with "fminsearch" and a Matlab function block but I don't manage to do it with maplesim)

Hello,

I use Maple to solve dynamics of multibody systems. In the mechanical system i study, all my kinematic schemes use the parameter gamma and the project i work on, many people use the parameter gamma.

The issue is that i use the parameter gamma(t) depending of the time and if i use this parameter Maple treat this parameter as the Euler constant gamma and consequently make bad simplifications.

Is it possible to add a code lign to desactivate this...

An indefinite integral cancels out one differentiation:

int(diff(w(s),s,s),s)=diff(w(s),s);

But for a definite integral Maple does not recognize that:

int(diff(w(s),s,s),s=0..L) = int(diff(w(s),s,s),s=0..L);

What I would have expected is something like:

int(diff(w(s),s,s),s=0..L) = eval(diff(w(s),s),s=L)-eval(diff(w(s),s),s=0);

I cannot get Maple to recognize this even when assuming real or positive.

What I am really after is this: w(s...

Good morning sir,

 

I request you to support me How to generate the maple procedure for QR-Method in linear Algebra?

 

Good morning sir,

 

I request you to support me How to generate the iterations for Powermethod?

using Maple commands.

Hi,

While using pdsolve for a coupled system of pdes, the maple results doen't match with the desired ones.

Here is the system

restart:

Eq1:=diff(f(eta,tau),eta$3)+(f(eta,tau)+h(eta,tau))*diff(f(eta,tau),eta$2)-diff(f(eta,tau),eta$1)^2

+(1+epsilon*cos(Pi*tau))*theta(eta,tau)=Omega*diff(f(eta,tau),tau);

Eq2:=diff(h(eta,tau),eta$3)+(f(eta,tau)+h(eta,tau))*diff(h(eta,tau),eta$2)-diff(h(eta,tau),eta$1)^2

+c*(1+epsilon*cos(Pi*tau...

Why can't Maple solve this integral equation using intsolve? May be my error entering it?

sys:= diff(y(t),t)=2-t^2/2 - 1/4 * int(y(t1),t1=0..t);
intsolve(sys,y(t));

Error, (in unknown) invalid input: diff received 0, which is not valid for its 2nd argument

I solve it by hand, and wanted to verify the solution. I get y(t)=C* sin(t/2) -4*t and C can be found to be 12
 

Hello,

I just installed maple 15 as well as the latest update. However, when I was trying to plot, it gives me this:

Which had never happened before I reinstall my operation system.

Could anyone help me please? Thanks a lot!

I have a variable with some assumptions: assume(0<=W<=1).

Now, when I make a list and sort it, everything goes fine:

k := [W, (1/3)*W, (1/3)*W, (1/3)*W]:
sort(k, (a,b)->is(a>b))

I get [(1/3)W, (1/3)W, (1/3)W, W] as expected.

Now I try this:

k:= Vector[column]([W, (1/3)*W, (1/3)*W, (1/3)*W]) 
sort(k, (a,b)->is(a>b))

And Maple gets stuck on this computation. I have tried on both Windows and Linux, on several different computers.

ASK.zip

Hi all,

In short, I want to use

'ss' expression(1)

to simplify

'kappa' expression (2).

At the moment, I can only archieve it through solving for each variable and get to expression (5).

 

simplify using siderules failes in this case. Is there another way to do it?

 

Thanks,

 

Casper

Hi folks, the package PDEtools has a nice command declare that allow us to display PDEs using jet notation: say f[x]-g[y] instead of diff(f(x,y),x)-diff(g(x,y),y) but when I try to export it to LaTeX or just trying to copy and paste the display in a text file, I always get the long expression. If I try to copy as MathML I got junk... Any ideas on how to copy an expression displayed in jet notation to a text document?

Hello, I would like to use the LeastSquares subpackage in the LinearAlgebra package in order to solve the following problem:

 

Set of data: (1.0,2.33),(2.0,0.0626),(3.0,-2.16),(4.0,-2.45),(5.0,-0.357),(6.0,2.21),(7.0,2.75),(8.0,0.636),(9.0,-2.45).

I am trying to put the above data in the curve y=a+b*cos(x)+c*sin(x)+d*cos(2x)+e*sin(2x).

 

My attempt to solve this:

 

restart;

with(LinearAlgebra);

Find the eigenvalues and eigenvecotrs for A=[2 0.37 0]

                                                                [0  1.1 -4.29]

                                               ...

First 1519 1520 1521 1522 1523 1524 1525 Last Page 1521 of 2427