Items tagged with equation equation Tagged Items Feed

Hi guys. I need to do a Runge-Kutta method to solve two equations and I'm having trouble at using functions. My program is as shown below:

restart; A := Matrix();

dt := 0.1e-2;

diff(x(t), t) := v;

diff(v, t) := a(x(t), v);

xo := 0; vo := 0;

for i to 1000 do

xn := xo+v.dt;

vn := vo+a.dt;

dx1 := vn.dt; dv1 := a.dt;

dx2 := (vn+(1/2)*dv1)*dt; dv2 := a(x(t)+(1/2)*dx1, (1/2)*dv1)*dt;

dx3 := (vn+(1/2...

Hi all, I am having two simultaneous equations , i dont know how to solve these two equations, any one help to solve these equations..

Im knowing the approximate/accurate answer for the equations,
These are the values for my equations

alpha=1.53222, beta= -0.555345, kappa= -0.399943,


Thank you



I am working on a project where Maple's output is fed to another software which requires all it's input in specific format. So, I want to print this expression,say

y=+2.*x+.2, in this software, but it takes input as

y=2*x+0.2, So now I have to change

+2. to 2.0 or 2 (if it's starting of the equation)

-2. to -2.0

.2 to 0.2


Is there any way to convert all the numbers in the equation to...



I am working on a Maple project and it require me to pass a differential equation in a specific order like

x'=y & y'=x^2.(It is differentaiting w.r.t 't'(say))

However when I convert the equation into string it converts something as

diff(x(t),t)=y(t) & diff(y(t),t)=x(t)^2


Is there any way to stop maple from evaluating into maple/math format?

Is there any way to pass an equation without changing it's existing form?...

What is the number of all the solutions of the equation frac(x*floor(x)) = 1/2 belonging to RealRange(1,100)? How to count it with Maple?


I'm trying to solve system of linear and nonlinear equations with inequalities and it looks like this:


    SX := solve(
                       seq(diff(EX,WX[k+1])=0, k = 0..m), # these are linear

x = a*(3*cos(t) - cos(3*t))
y = a*(3*sin(t) - sin(3*t))

is there a library or function to convert above parametric equations into one equation in terms of x and y?

sys := x = a*(3*cos(t) - cos(3*t));
k := solve(sys, t);
simplify(subs(t=k[1], y = a*(3*sin(t) - sin(3*t))));

any simpler form?


I have this matrix with coefficients that I need to estimate;

I get there after some simple calculations and I know that my matrix it´s equal to the zero matrix; I have something like:


A:=Matrix(3, 3, [5*a-4,  5*sqrt(a) *sqrt(b)-5, 7*sqrt(a) *sqrt(c)-6,  

        8*sqrt(a) *sqrt(b)-5, 8*b-2,  8*sqrt(b) *sqrt(c)-9,   


I am using the function solve() to find roots of a trig. equation. Such as for sin(k*x) = 0, Maple retuns x = 0, whereas I expecting to get  x = n ∏/k, for n = 0,1,2,.... I am sorry I am new to Maple, can anyone help me get what I am looking for?

Thank you


Has anyone seen this form of a nonlinear equation with respect to X, but linear with respect to Y & Z?  I provided a contour plot within the region for all 3 variables between -2 & 2.  The plot is actually Z*conjugate(Z) so that the magnitude is above ZERO.  If I am correct I may have seen this before in orbital mechanics, but my undergrad years are a bit...

As many of you know now the MRB constant = sum((-1)^n*(n^(1/n)-1),n=1..infinity).

Here are some equations involving various forms of that summation.

The first one involves convergent series and is too obvious. The others involve divergent series.

The last two, however, are new!


Let c=MRB constant and a, c~, x, and y = any number.


sum((-1)^n*(c~*n^(1/n)-c~),n=1..infinity)= c*c~.

evalf(sum((-1)^n*(n^(1/n)-a),n=1..infinity)) gives c-1/2*(1-a).

evalf(sum((-1)^n*(x*n^(1/n)+y*n),n=1..infinity)) gives (c-1/2)*x-1/4*y.

And it appears that

evalf(sum((-1)^n*(x*n^(1/n)-a),n=1..infinity)) gives (c - 1/2)*x + 1/2*a.

I would like to know if there is any way to coax maple into spitting out the solution (1,1,1) for the system of equations {x2+y2+z2=3, x+y+z=3}. So far all I have come up with is


This produces


as desired, but I would like to accomplish this without specifying the polynomial...

I'm new to using Maple. I'm trying to evaluate an equation where all unknowns are given. So to say use Maple

as a kind of desktop calculator with the possibility to change certain input variables and see what the outcome is.


I'm wondering why the trigonometric functions are not evaluated.


I want to solve the equation (1 + 1/x)*(1 + 1/y)*(1 + 1/z)=2 with integer solutions. I tried 

isolve((1 + 1/x)*(1 + 1/y)*(1 + 1/z)=2);

and I get {x = -1, y = -2, z = 0}. Is this a bug?

4 5 6 7 8 9 10 Last Page 6 of 16