Items tagged with vector vector Tagged Items Feed

The first line below is my code for computing the angle between vectors U and v.

It works and gives correct answers.  But it appears on the screen with this  "Typesetting: delay"  for each of the dot products.

What does it mean?  Is there a package I should have loaded?

This is for a lab where I want students to use the formula as it appears in the textbook rather than using some built in function that makes it "too easy."

This is another elementary question (I tried searching MaplePrimes but couldn't find anything):

Suppose I'd like to use "solve" to solve a system of equations specified as vectors:

z := <yb,x1b,x2b>:
v1 := <v1y,v1x1,v1x2>:
v2 := <v2y,v2x1,v2x2>:
e1 := z = v1 + v2;
e2 := v1 <= UU*delta1;
e3 := v2 <= UU*delta2;

Invoking "solve([e1,e2,e3],[z,v1,v2])" does not work. 

How do I convert each element...

Hi

In matlab we have this command:

I = FIND(X) returns the linear indices corresponding to the nonzero entries of the array X.

[I,J,V] = FIND(X) also returns a vector V containing the values that correspond to the row and column indices I and J.

Is there a command in Maple like "find" in Matlab

Thanks in advance

r(t):= <t | t^(2) | (t^(2) )/(2) >

simplify(simplify(PrincipalNormal(r(t), t, normalized), symbolic),symbolic)

diff(r(t),t)

The three lines above are part of a worksheet that computes unit tangent vector, unit normal vector and components of acceleration for a parametric curve r(t) ,  a standard Calc 3 lesson.

I am...

Hello all,

I have a nonlinear model y=f(x,y,z,p) that I'd like to solve for various value of p (parameter), where f is a system of equations. This model is constrained by a set of inequalities c(x,y,z,p) <= 0.

I coded the model up in Maple in the following format:

f1 := ...;
f2:=....;
f3:=...;
f4:=...;
c1:= x>=0;
c2:= ....;
etc.

To solve this, I type:

hi

I have got an eq: Curl(A)=B;

Both A and B are vectors,  for example,             

A(x,y,z):=Ax(x,y,z) _i+Ay(x,y,z) _j+Az(x,y,z) _k;
B(x,y,z):=Bx(x,y,z) _i+By(x,y,z) _j+Bz(x,y,z) _k;

can I get A as a funtion of B? if I can, how to deal with it, and if not, what other known conditions should be added to solve it?

any help would be appreciated@。@

 

 I would like to select the color of the arrow for T,N and B.

Thank you for any suggestions.

Ralph Wallace

restart;
with(VectorCalculus):with(plots):
Display the tangent, principal normal and binormal vectors on a curve.
c:=sqrt(a^2+b^2);
                               ...

Hi,

Please take a look on this problem I have about converting a Vector to a List. At the end if the program, the list F contains the elements of the Vector Y, but not in the good order.
It gives a result which is correct for a small size of Vector, but not for h = 1000 !

 

#differents values of h are tried h := 100 and h:=1000
h:=1000;

E := Vector[1..h];
for u from 1 to h do
Y[u] := u;
end do;
for z from 1 to h do
   E[z...

My first equation is a vector equation which results in three separate equations and four unknowns:

W x V - [( A / |A|)* |W|*|V|*sqrt( 1 - b^2 * (|W|^2/|V|^2)] =0

Where W,V, and A are all vectors with three components.  The four unknowns are w[1], w[2], w[3], and also b.

The other equation i have is that w[1]^2 + w[2]^2 + w[3]^2 = |w|^2, where i know |w|^2.

This makes four equations and four unknowns.

I know v[1],v[2],v[3],a[1],a[2],a[3] and |w|.

The greatest benefits from bringing Maple into the classroom are realized when the static pedagogy of a printed textbook is enlivened by the interplay of symbolic, graphic, and numeric calculations made possible by technology.  It is not enough merely to compute or check answers with Maple.  To stop after noting that indeed, Maple can compute the correct answer is not a pedagogical breakthrough.

...

I have a complicated vector equation that I'm trying to solve.

(W x V) / [(W x V) . (W x V)] = A / (A . A)

where x is the cross product and . is the dot product.

Here is what I know, v1, v2, v3, a1, a2, a3, and i know the magnitude of w.

I need to find w1, w2, w3 in terms of v's and a's only. 

I tried using the solve function but I'm not getting anywhere using that.

Any help would be greatly appreciated.

 

Thanks.

@epostma Thank you , that really worked. My next question is, if the raw data is in a text file, other than data pasted into excel, how can i import the the two columns of data and do the similar calculation?

The text file is attached.

[0, 0, 0]
Voltage_1 (1) Current_1 (1)
+2.084844E-03 -1.539501E-11
+1.008272E+00 +7.418045E-11

Hello,

 

I have Tetrahedron and I know all it's points I need to compute it's volume.

I have computed the square of the triangle and all I need is the hight.

Please give me an answer including vectors.

 

Thanks a lot.

The Linear Algebra package seems only able to handle Vector and Matrix algebra when the dimensions are given specifically.

It would be very helpful if the package were to be extended to cope with the situation where some or all of the dimentions were given symbollically. Of course, assume could be used to indicate when two dimensions were equal.

Are there any plans in this direction for future releases of Maple?

 

 

with the following input:

with(VectorCalculus);

X := r -> sqrt(2/Pi)*alpha*exp(-alpha^2*(r.r));

a_0:=a*<1/(2*sqrt(3) , 1/2>;

r:=<x,y>;

K:=<k_1, k_2>;

assume(alpha::real);

assume(alpha>0);
assume(k_1>0);

assume(k_2>0);

assume(k_1::real);

assume(k_2::real);

eq1:=int( X(r-a_0) , x=-infinity .. infinity);

 

Why is the ouput :

 

1 2 Page 1 of 2