MaplePrimes Questions

I am trying to plot a vector field with fieldplot, but the vector field components contain a numerical integration (i.e. evalf(Int(...,...)). However, maple refuses to plot it, and gives me this error mesasge

"Error, (in plots/fieldplot) no non-zero vectors found"

maple has no problem evaluation the vector field at any value of x, and y, and takes only a fraction of a second for each point. However, if i change the integral inside the vector field components to int(...

The following example tries to do the same thing two different ways.

Calling a procedure "M1" directly by name works fine.

Calling the same procedure by substitution fails to substitute, and when the substrituion is forced using "apply" I get an error message.

Why does the substitution not work, and where is the error?

Because of the complexity of my problem, I need to use substitute (or anything else equivalent) instead of directly calling the procedure by name.

I am new to maple, and looking for som tourturial to get me started. My school dont offer any education in the program.

 

Can maple do the same things as matlab? i have a little program i wrote i matlab. Is it possible for me to write that i maple?

% Afkøling af 1L mælk
% 08.02.2011/RBE

clc                   % sletter skærmen

thanks, this worked for me. As for the

eqn1 := u = V * cos(a) * cos(b);

eqn2 := v = V*sin(b);

eqn3 := w = V*sin(a)*cos(b);

res:=solve({eqn1, eqn2, eqn3}, {V,a,b});

map(sin, res[3]);

simplify(%);

gives sin(b) = v / ( RootOf( _Z^2 - v^2 - w^2 - u^2);

map(x->x^2, %);

simplify(%);

gives

sin(b)^2 = v^2 / (v^2 + w^2 + u^2), which has no _Z , but is not right. is there a better way to eliminate _Z ?

The equations are x+2y+3z=4, x +ky+4z=6, x+2y+ (k+2)z=6. I entered the eqautions and got up to this point. > eqlist := [eqn1, eqn2, eqn3]; and got the equations repeated back to be
> varlist := [x, y, z]; and got the 3 variables repeated back to me. When I tried to genrate the matrix, I put in. A := genmatrix(eqlist, varlist, flag), and got genmatrix([x+2*y+3*z = 4, x+ky+4*z = 6, x+2*y+z(k+2) = 6], [x, y, z], flag). What did I enter wrong? did I have to incorporate...

If I try like this

F := sin(x);

G := cos(x);

f := proc (x) options operator, arrow; F end proc;

g := proc (x) options operator, arrow; G end proc;

h := proc (x) options operator, arrow; f(g(x)) end proc;

h(x)

but it doesn't work.

 

PS: I want to make my own function Compostiton(F,G)

I need to define a tridiagonal matrix in maple in such a way that

 

[1 0 0 0 0. . . . . . . . . . . . . . . . 0]

[a(1) b(1) c(1) 0 0 . . . . . . . . . .0]

[0    a(2)  b(2)  c(2) 0 0 0 . . . . .0]

[0     0     a(3)  b(3) c(3) 0 0  . . 0]

[0 . . . . . . . . . . . . . . . . . . . . . . .]

[0.. . . . . . . . . . . . . . . . . . . . . . .]

Hello, MaplePrimes!

I want to create a custom component to solve a pulley dynamics problem using MapleSim. But I don’t know, how to do it, I’m a beginner in MapleSim.

So I decided to start my work with a simple model – I decided to create a custom component, which is equivalent with a standard component from MapleSim component library – Wheel Axle.

I’ve read a Help topic on Wheel Axle, from where I’ve found out differential...

I am trying to go from body-referenced aircraft velocities u, v, w, to angle of attack a, sideslip b, and total speed V. This is a standard problem for beginning aeronautics, I'm just wondering the best was to solve it with maple. Spefically, I would like to use the following relations to get short expressions for the derivatives of u, v, and w.

Given that

u = V * cos(a) * cos(b)

v = V*sin(b)

w = V*sin(a)*cos(b)

and all variables above...

Hi there,

I need to create permutations of this given set Z:=[2,5,7,8,10] with Maple and substitute these numbers in a given polynomial. 

To create the permutations i did this on maple:

> Z:=[2,5,7,8,10];

> C := combinat[permute](Z, 3):

how do I labelled the outcome of the permutations "C" as [a,b,c] so that I can then subtitute each permutation into the polynomial f:=4a+2b+c?

 

Thankyou for any help!

:)

Can anyone help me understand why the following happens?

N := GraphTheory[Digraph]({[1,3],[3,9],[9,27]});

GraphTheory[IsNetwork](N);

and

M := GraphTheory[Digraph]({[1,2],[2,4],[4,8]}); 

GraphTheory[IsNetwork](M);

both indicate that the graph is not a network.  On the other hand, for numbers n other than 2 and 3, Maple does recognize the graph {[1,n],[n,n^2],[n^2,n^3]} as a network.

This procedure that I wrote:

For the function

 

F(u)= u(x)u(y)                    

 

the first Frechet derivative is given as

 

F'(u)v = v(x)u(y) + u(x)v(y)

that is the Frechet derivative of F(u) acting on v.

 

So how do I get maple to give me the Frechet derivative of  F(u)= u(x)u(y)  ?

F(u...

I have an equation which has no explicit solutions, but I would like to plot the solutions. I have construction a function which, for every argument, produces a numerical answer to the equation, but this function can't be plotted. Below is a simplified (equation has trivial explicit solution) function which shows the difficulty.

> Fe := p->fsolve(eval(1-x+p = x), x)
p -> fsolve(eval(1 - x + p = x), x)

Here we exercise the function to produce floating results.

Hello.

My question is quite simple : how can we define the size in pixels of a plot ?

After plotting we can change the size of the image with the mouse but it is quite approximative.

For example is it possible to display (by default) all the plots of a worksheet in 800x800 pixels ?

Thank you very much.

Hello everybody !

I am trying to display some solutions for the differential equation :

eqdiffyx75:=

diff(y(x), x) = y(x)*(4.384477959*10^15/(1/(y(x)*x^2))^.25-1.330000000*10^16/x)/(x*(1.102240000*10^15*y(x)^2-2.192238980*10^15/(1/(y(x)*x^2))^.25))

When I make a DEplot, with the command : DEplot(

First 1905 1906 1907 1908 1909 1910 1911 Last Page 1907 of 2434