MaplePrimes Questions

Hi all,

I try to solve the following nonlinear programming problem:

NLPSolve((int((c[0]+c[1]*u+c[2]*u^2)^2, u = -a .. a))^(4/5)*(int(u^2*(c[0]+c[1]*u+c[2]*u^2), u = -a .. a))^(2/5), variables = [c[0], c[1], c[2]], [int(c[0]+c[1]*u+c[2]*u^2, u = -a .. a) = 1, int(c[0]*u+c[1]*u^2+c[2]*u^3, u = -a .. a) = 0])

but this error message appear:

Hi all,

I have an array [1..2503] y-axis for different values,  x-axis [0..180], 

when I plot these two arrays its not possible.   but if I change x-axis [1..2503] then plot is ok... I want to plot x-axis [0..180] and y-axis [1..2503]

 

Regards

A.Q   Soton

I have to solve the following set of equations. But it allways appears the Error "recursive assignment". Has somebody a solution for me? Is there a Problem with the Equations?

DGL1 := m[1]*(D(D(x[1])))(t)+d[1]*((D(x[1]))(t)-(D(x[2]))(t))+c[1]*(x[1](t)-x[2](t))+e^(-0.4e-1*t)*sin(t)+1.5 = 0;
DGL2 := m[2]*(D(D(x[2])))(t)+d[2]*(D(x[2]))(t)+d[1]*(DF[4]-(D(x[2]))(t))+c[2]*(x[2](t)+x[f])+c[1]*(F[4]-x[2](t)) = 0;

init := (D(x[1]))(0) = 0, x[1](0) = 1.5, x[2](0) = 5;

How to solve the equation 2017*x^2013+2015*y^2013-2033*z^2013-2011 = 0 over the integers with Maple?
I tried it with the Direct Search v.2 package:
>with(DirectSearch):
>SolveEquations([2017*x^2013+2015*y^2013-2033*z^2013-2011 = 0], {z > -100000, x >= -100000, y >=-10000, x<= 10000, y <= 10000, z <= 10000, assume=integer, AllSolutions);

Okay so my proff wrote the following procedures to sort a list and they obviosuly work. Now I want to write a procedure that can merge two sorted lists (using SelectSort). I am trying to write merge as a procedure but to no avail. Can anyone help me out?

getListSize := proc (L)

local vv; vv := Vector(L);

return LinearAlgebra[Dimension](vv)

end proc

 

swap := proc (L, i, j)

local temp, vv;

vv := Vector(L);

Whoever is in charge of the question post management, please do not delete my question again without even notifying me. I have deleted the original post (which was a follow-up question to an old thread) so that my question can be viewed by others as a fresh post. Thank you!

Now to the question:

I am trying to solve a fourth-order ODE. Two of the boundary conditions are y(1)=0 and diff(y(x),x)=0 at x=1. The other two boundary conditions are y(x) and diff(y(x...

I want to create a package, lets call it Accellib. I want to be able to load it using the usual with(Accellib); construct.

So I have created a module, included the option package and right now one procedure, the name of which is exported. Within the worksheet; this works. This package will grow as more stuff gets added. I want to put it into a directory of my choice, which is NOT the directory where Maple stores the packages from its distribution; I like to keep them...

Hi All,

I am trying to apply a learning algorithm to a pendulum. The algorithm has Modelica custom components and also MapleSim custom components. I need to reinitialize the simulation  (i.e new initial states for the pendulum) without stopping the simulation. I think I have to use a Modelica custom component since there is a "if" condition and there is a function called "reinit()" in Modelica, but I am not sure how this works...

 

if you have...

Hello.

for one of my projects I require to solve differential equations I have obtained from an euler-lagrange system.

I solved them and obtained values of angles and their derivatives as listprocedures. I want however to be able to calculate values for different speeds noted as vx2 and vy2 as well as the angle of the speed verctor wich would be in that case arctan(vy2/vx2). It doesn't seem however that maple is going to do that. It gives me a pretty huge message...

I am fairly new to Maple and trying to understand the dsolve command for numerical solutions and plotting graphs of radial distances and trajectory plots.
This is my code below. All of it successfully brings up a solution apart from the very last command and I don't understand why it is not working. 
I believe the last plot is plotting a trajectory plot but I am not sure. I am meant to use the solution to plot the trajectory plot (X(t),Y9t))=(r(t...

Hi everybody:

was wondering if someone could help me figure out what change took place in Maple 16 so that the expression shown below does no longer work

A:=a->Matrix(2,2,[[a,3*a],[a,4]])

It worked OK until 15

thanks

karamand


I want to find the diffrential equation of

Given a vector with six elements called, say, c, how do I assign the sum of its values to a name called d without having to write d=c[1]+c[2]...?

Thanks in advance.

Find the value of the integral I=∫√(tanx)dx

The following is a differential equation with separable variables.  It is solved with dsolve and "manually".  Why is the dsolve solution so complicated?

Ratch

First 1748 1749 1750 1751 1752 1753 1754 Last Page 1750 of 2434