MaplePrimes Questions

I'm using the commands:

RungeKutta(d/dt(y(t))=-y(t),y(0)=1,t=1,submethod=rk4,output=plot,numsteps=10);

Euler(d/dt(y(t))=-y(t),y(0)=1,t=1,output=plot,numsteps=10);

Each of these commands yields its own serperate graph.  How can I plot both on graph to see how the approximations vary?

 

Thanks!

Hi,

I am presented with a list of known roots to a polynomial. How can I reconstruct the original polynomial with a variable "x"  from the given roots?

The list of roots is: [-1/2,2/3,7/3,4+3I,4-3I]

Hi,

I have the following function:

y(t) = _C1*exp(-2*t)*sin(6*t)+_C2*exp(-2*t)*cos(6*t)

My start parameters are y(0)=1, and y'(0)=2

How do I isolate _C1 when y(0)=1?

 

Thanks in advance

My code works fine when not part of a procedure it is only until I turn it into a procedure when I have problems. After running the proc once I get:

"Error, (in opt) cannot determine if this expression is true or false: min(`.`(Transpose(Vector(1, {(1) = 7})), ..."

Strangely if I execute the proc() code a second time and try again I get an answer out. Any suggestions as to how I can solve this problem?

I have (which I believe is where the problem lies),

Hi 

 

Hi have made my first package in maple, and need some help. I've got a funktion, and need maple to put something into this function.. 

 

Dams := proc (a, b, c)

local A, f;

 f(x) := a;

printf("\nDin funktion er %a", f(x));

 A := diff(a, b);

printf("\nDen differentierede funktion er %a", A);

use x = c in f(x);

 printf("\n%a i ligningen ", f(x));  ...

I found in the help a reference that animation in uniparametric:

"plots[animate] - create a 2-D or 3-D animation on one parameter".

I need multiparametric animate. If it does not exist..it would be difficult to find somewhere the procedure written to get ANIMATE( for one parameter)?. If available, maybe it would be hard but possible to get something that performs a multiparametric animate.

Otherwise, if somebody knows that in MAPLE is impossible to implemente...

In the name of God

Dear my friends

Hi

Can Maple work with differential operators without introducing a known function?

For example, assume that we have

diff(diff(f(x),x)+f(x),x);

How can we apply differential operators such as diff or D without applying any known function as:

diff(diff(...,x)+...,x);

if...

I have two issues.

if I say

int(exp(I*k*x),x=-Pi..Pi) assuming k::integer

Maple answers me with 

0

which is wrong, as one would expect the result to be a kronecker delta (k=0 is a type-integer for mapel). Is there a way to make Maple understand it is doing a mistake?

Related to this there is another point.

If I write

int(exp(I*(k-q)*x),x=-infinity..infinity)

Maple does not write (or convert) the result...

In the name of God

Dear my friends

Hi

 I have a function as the following:

 temp:=phi(Lambda(tau, 0), tau, 0)+((D[1](phi))(Lambda(tau, 0), tau, 0)*(D[2](Lambda))(tau, 0)+(D[3](phi))(Lambda(tau, 0), tau, 0))*q;

 I have equivalent functions for Lambda(tau,0) and phi(Lambda(tau,0),tau,0) as the following:

 c[0](tau) instead of Lambda(tau,0)

y[0](c[0](tau),tau) instead of phi(Lambda(tau,0),tau,0)

Is there a simple way to allow for the input of a list of equations into a procedure?

I have these three equations:

f[1] := x[2]+3*x[4]+x[5]-x[6]=2;
f[2] := x[1]+2*x[2]-x[3]+x[4]+3*x[6]+x[7]=13;
f[3] := x[1]+x[2]-3*x[3]-x[4]+x[5]-x[8]=26;

Ideally I would want something like proc([f[1],f[2],f[3]]). Is something like this possible?

 

P.S. I have tried proc(f::algebraic) but got the error message:

Error, invalid input:...

I try to get the answer of int by newton cotes method,

but after runnig,it gives a complex number for the answer.

I think its because of singular point.

Is there any method which find singulaitis and make integarl to some parts without that singular point automatically?

thanks

i am wondering if anyone can give me some examples of functions that would help show the relationship between smooth functions and convergence of the fourier series so that i can graph these functions using maple over the period [-Pi,Pi]

 

Caitlin

I have 2 equations... f[1] := x[2]+x[3]+x[5]+x[6]=16; and f[2] := x[1]+x[2]-x[3]+x[4]+3*x[6]+x[7]=28; 

 

Is there a method that will allow me to count the number of equations?

Is there a method to display the indeterminants or variables which are in the equations i.e x[1],x[2],x[3],x[4],x[5],x[6],x[7]?

Is there a method to find the maximum indeterminant or variable from both the equations i.e x[7]?

 

Dear Maple helpers. Here a toy-version of my huge problems.

 

I want to do following:

 

1). Assuming (0 <a=1/2,  b=1/2, c=1/2)

 

I want  to plot (the surface of)  

 

f(x,y,z) = x^a * y^b * z^c   in the space (x,y,z) for

f(x,y,z)=50, 100 and 150, and with  x=0..40 ,  y=0..40, z=0..40

 

I tried with plot3d but it is not possible.  How could I do with Maple 14?...

I have a problem changing a maple matrix to a matlab code without getting the error

Error, (in PrintTarget) assigning to a long list, please use Arrays ( I don't know how to use arrays ) thanks Big in advance

Here is my code:

> J[p1] := Matrix(3, 4, {(1, 1) = -sin(theta[1](t))*`&Delta;x`[1]-cos(theta[1](t))*`&Delta;z`[1], (1, 2) = 0, (1, 3) = 0, (1, 4) = 0, (2, 1) = cos(theta[1](t))*`&Delta;x`[1]-sin(theta[1](t))*`&Delta;z`[1], (2, 2...

First 1925 1926 1927 1928 1929 1930 1931 Last Page 1927 of 2434