Maple 13 Questions and Posts

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

I have a procedure that gets two lists A and B, I want to restore the name of the entry lists as string. How can I do that?

 

f(A,B) [procedure]

e.g. a(MyList,LL)

 

I want to restore a:="MyList" and b="LL"

 

TIA


This is the Affine Scaling Algorithm outlined by:

Linear and nonlinear programming with Maple: an interactive, applications ...
Paul E. Fishback,Paul F. Fishback

hey all,

does somebody know how to make a relay with hysteresis? like this :http://en.wikipedia.org/wiki/Preisach_model_of_hysteresis

you somehow have to know from which side x is comming from, memory?

i've someting in a piecewise format, but de hysteresis is not working, becaus i don't know how to detect where x is comming from (from the right or the left)

 

 

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!

First 34 35 36 37 38 39 40 Last Page 36 of 54