Maple 13 Questions and Posts

These are Posts and Questions associated with the product, Maple 13

I want to write this down in the maple:

V is a vector field namely(in cartesian coordinates) V:=VectorField(<u(x,y,z),v(x,y,z),w(x,y,z)>)

Now I want to make a vector like this:

(V.Del)V

which if write into components will be:

u*(diff(u, x))+v*(diff(u, y))+w*(diff(u, z))

I have a peace of a programm of finding the shortest way in graph! And I need to animate this way! Help please! 

This is a code of programme:

 

> restart: with(networks):
> new(G): n:=6:
> addvertex(i$i=1..n,G); 
1, 2, 3, 4, 5, 6
> addedge([seq([i,i+3],i=1..3),[1,2],[2,3],[4,5],

> [5,6],[1,5]],weights=[12,16,20,11,15,13,14,26],G):
> draw(Linear([1,4],[2,5],[3,6]),G);

 > T:=shortpathtree(G,1):

arclengthproblem.mw

When a try approximating this problem by five decimal places, it doesn't do it. How do you fix this?

Hi all,

      i am new to maple before getting this software i need to know how it works in order know that i want trial version of maple software how to get this trial version please suggest me some idea...

I have 91 points and to take the sum of the y-coordinates, I do

sum('points[k,2]','k'=1..91);

 

But if I want to take the sum of the points on just the even indeces i.e k=2, 4, 6, 8, 10...etc, I try to do

sum('points[2k,2]','2k'=1..91)     

but Maple gives me an error. I'm doing something wrong here. Help me please me fix the syntax error!!

Hi, I am trying to isolate the following expression for omega

 

a*(cos(omega)*cos(beta*omega)+b*sin(omega)*sin(beta*omega))+c*sin(beta*omega) = 0

 

However, when I try to do so I get a Warning - solutions may have been lost

 

Thanks for any help that can be offered

I'm trying to see when a matrix becomes singular, so I took its determinant and checked when it would vanish using solve.  The problem is that solve gives me a solution that doesn't satisfy the original equation, either symbolically or numerically.  Am I doing something wrong, or is this a bug in solve?

Here's what I'm getting:

WrongSolution.mw

 

 

 

Let's say I do this:

points:=[[285,0],[290,0],[300,0],[315,0],[325,0],[330,0],[335,0]]

 

The syntax example that my professor gave to get the sum of the points of the x-coordinate is as follows:

sum('points [k,1]', 'k'=1..7);

 

Now here's my question: how do I use the sum command to define a function that uses the Simpson's rule. I know I can't use the simpson's command since I'm dealing with a bunch of points and not a function.

Hello,

 

I'm doing a math assignment for numerical methods and I had to answer a question - solving Newton's method in maple to submit. I need to solve the question to an accuracy of 10^-5. I don't have access to the software right now as I only have it on the computers at our school, but I did take a maple course in my first year of university and have some experience with it. I wrote up this formula, but I'm not 100% sure if its correct. Could someone...

hello,

I am trying to evauate a function 23.45*sin((360*(x+284))/284) for x=1..365

how can i do it without having to type in eval(a,x=x1) 365 times....

thank you in advance for your suggestions

sincerely,

Judith

Hi everybody,

I have just started to learn using maple and now I have a trouble.

I thought programming was similar to C language, and I tried to write this simple code:

> restart:
> a := 2;
   b := 5;
>
> for i from 1 by 1 to 4 do
   if a = b then 
        print('before'); 
        plot(x^2, x = -2 .. 2); 
        print('later')
   end if; 

I am looking for a way to check if multiple variables are different. Let's say I have 4 variables named a, b, c and d. You can do it with "a!=b and a!=c and a!=d and b!=c and b!=d and c!=d", but it quickly becomes impractical when you have more variables.

 

Can anyone shed some light on this?

Thanks!

Hi, I have 2 sets of data:

P := array([1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05]);
Q := array([892, 1012, 1060, 987, 680, 739, 809, 1275, 946, 874, 720, 1096]);
p=P(t), q=Q(t) i.e. both p & q are a function of parameter t  t=1..12
 
2 functions: 
x=ln(p)
y=ln(q)
I'm trying to display x against y , ie x=ln(p) on the horizontal axis, y=ln(q) on the vertical

Hey guys,

I have the function f(x) =(sin(x) + 1)/(x^2 + 1) where x =-Pi/2 and 3Pi/2

 

1) I first set up an intgral for the function:

I cannot set up a link between the student version of Maple 13 and Matlab.

I have followed the instrutions in ?Matlab,setup and things still do not work. I have even done everything manually. On the prompt I have done many variations on the following:

$ export PATH=$PATH:/Library/Frameworks/Maple.framework/Versions/13/bin

First 35 36 37 38 39 40 41 Last Page 37 of 55