MaplePrimes Questions

Hi, sometimes when i multiply matrix, some of the values turn out to be "Float(undefined)". How do I set all of these "Float(undefined)" to the value zero? Please help. Thanks

Hi, I have a diagonal matrix "B", which is for example [[2,0,0],[0,8,0],[0,0,4]]

I would like to have 1.5 to the power of each position in the diagonal matrix.

For example [[1.5^2,0,0],[0,1.5^8,0],[0,0,1.5^4]].

I try to write it as follows but fail :

Test 1
theta:=Matrix(3):
for j from 1 to 3 do
theta:=zip(`^`,(DiagonalMatrix(Vector(3,1.5))(j,j)),(B(j,j)))
end do:

Test 2
zip(`^`,1.5,B)

Please help. Thanks.

hi

I have a problem when i want to write some data on a file.

the main program is work,but when it wants to write,this error is shown:

Error,invalid input: writedata expects its 2th argument, data, to be type of {set,hfarray,list,matrix,array(1),list(list)}, but received HFloat(-0.08716693)

the program is:

restart

fd:=fopen("e:/teta.txt",read)

fg:=fopen("e:/c.txt",write)

g:=readdata(fd,3)

with(linalg)

I am using maple 14, and am trying to solve the time derivative of the funtion below

X[3]=L1costheta1+L2cos(theta1+theta2)+L3cos(theta1+theta2+theta3)

 

wrt theta

Mapletrighelp.mw

Hi all,

I am calculating the following :

Fa:=(Fa1*cos(wt))*cos(theta)

Fb:=(Fa1*cos(wt-120))*cos(theta-120)

Fc:=(Fa1*cos(wt-240))*cos(theta-240)

Ftotal:=Fa+Fb+Fc

Ftotal:= Fa1*1/2(3*cos(wt-theta)+cos(wt+theta)+cos(wt+theta-240)+cos(wt+theta-480))

Problem:

The exact solution I am looking for is: Ftotal:=3/2*Fa1*cos(wt-theta...

when i try to solve the equation given below the following problem occured. pleae tell me how can i solve this boundary value problem.

> ode := diff(y(eta), eta, eta, eta)-(diff(y(eta), eta))*(diff(y(eta), eta))+y(eta)*(diff(y(eta), eta, eta)) = 0;
                                    ...

Hi, I am new to maple.  Is it possible to use desolve to obtain a numerical solution that gives both the solution y(x) and its derivative.

 

I am OK with sol:=dsolve({eq,ic}, numeric).  This will give me y(x), but I also need y'(x).

 

Thanks

 

Chris

I want to find coordinates M of the bisector of the interior angle at the vertex A of the triangle ABC.

with(LinearAlgebra):

A:=<1,-1,-3>:

B:=<2,1,-2>:

C:=<-5,2,-6>:

CrossProduct(B-A,C-B);

M:=<x,y,z>:

AB:=Norm(B-A,2):

AC:=Norm(C-A,2):

k:=AB/AC:

I want to write the equation of the plane which equidistant the two the planes P and Q. This is my code

restart:

with(geom3d):

plane(P,2*x+3*y-6*z+1=0,[x,y,z]):

plane(Q,x -4*y-8*z+1=0,[x,y,z]):

point(M,x,y,z):

E:=distance(M,P)- distance(M,Q);

simplify(%);

but, i can simplify(E). Please help me.

Dear All

Hi

 

I want to solve a non-homogeneous ordinary differential equation by Maple 15.

 

 

I tried solving that by issuing the following commands; however I could not.

 

 

> Digits:=40:

 

I am Maple admin for the Universiity of Tennessee site license.  I currently have two users who cannot open Maple 16.  This is the error they see:

------------------------------------------------------------------

The window header says:   Java Virtual Machine Launcher

The message in the window says:  Could not find the main class: Files.   Program will exit.”

-----------------------------------------------------------------

Hello everyone,

I have been trying to use MAPLE 16 for Boolean algebra computations. BooleanSimplify( ) command in Logic-Mathematics is giving me incorrect results, in the following code:

with(Logic):

f:=(not(x1)and not(x2) and not(x3)) or (x1 and x2 and x4);   #Create a 4 variable function f

g:=((x1 and x2) or (x2 and x3)) or (x3 and x4);    #Create another 4 variable function g

f2:=f &or g;

f3:=Canonicalize(f2,{x1,x2,x3,x4},form=DNF...

I have a set which is represented as a list L (in particular in L there are no repeated values!).

I would like to determine for which index j the element op(j,L) realizes the minimum of L. Is there a built-in function to accomplish this task?

More generally, call OL the list L rearranged in increasing order;  is there a way to determine the permutation which transforms the list L in the list OL?

Hi:

For many reasons, until recently, I have been always using Classic interface under Maple through Maple 16. When trying Maple 16 with Java interface I have noticed several quirks which were not present under the Classic interface of earlier versions through (at least) Maple 13. One of them is this:

The shortcut keys such as CTRL+Insert and SHIFT+Insert do not work and I am forced to use a mouse and copy/paste icons in Maple. This really slows down my keyboard...

hi;
Using Maple 16. In Document mode. Tools->OutputDisplay->2D Math

I want when the output comes out, to be LEFT justified and Not Centered.

The reason is that when I export to Latex, it comes out as

      \[\displaystyle \,{.....

And I do not want the result to be centered. 

I want the math just to be that each equation in the output to start from the 
left edge of the page. So that if I have 3 equations in the output, in my 
latex document, I want them to look like

xxxx
xxxxxxxxx
xx

and not like this

          xxxx
       xxxxxxxxxxx
           xx

I do not mind if it is centered inside Maple itself, on the screen. I just do not
want it to be centered like the above in Latex export. Otherwise
I have to edit the Latex by hand each time I export the Maple document
to Latex and remove the \[displaystyle Latex code by hand. not good.

I looked at the export options also for Latex, and do not see anything
there. I think if I tell it not to show 2D display as displayed equations this should fix things.

I tried 2D Math notation and also Typeset Notation. They both behave the same.

Any ideas?

First 1699 1700 1701 1702 1703 1704 1705 Last Page 1701 of 2428