Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Let A(-5,-3,-3), B(0,1,-2) be two points and

(d): x = t - 3, y = 2*t, z = t+2.

Find the coordinates the point M on (d) so that the area of the triangle ABM obtain minimum value.

 

This is my code.

restart; with(LinearAlgebra):

A:=: B:=: M:=:

u:=A-B: v:=A-M:

T:=CrossProduct(u,v):

S:=minimize(1/2*Norm(T,2), location = 'true');

M:=subs(op(1,op(1, S[2])),M);

 

Let A(-2, -1, 3), B(0, 1, 4) be two point and

(d): x = -t-2, y = t+1, z = -t-1 be a line.

Find coordinates point M lies on (d) so that area of the triangle ABM equal to 3*sqrt(5).

This is my code

restart; with(LinearAlgebra):

A:=: B:=: M:=:

u:=A-B: v:=A-M:

T:=CrossProduct(u,v):

sol:=solve(1/2*Norm(T,2)=3*sqrt(5),{t});

for i from 1 to 2 do print('M'[i]=(subs(op(sol[i]), M[1]), subs(op(sol[i]), M[2]),subs(op(sol[i]), M[3]))) end do;

Problem. Write the equation of the plane passing the point H(1,1,1) and cut the coordinates axes Ox, Oy, Oz at A, B, C respectively so that H is centre of the circumscribed of the trianlge ABC.

This is my code.

restart:

with(geom3d):

with(LinearAlgebra):

A:=:

B:=:

C:=:

H:=:

f:=(x,y,z)->x/a + y/b +z/c-1:

solve([f(H[1],H[2],H[3]) = 0, Norm(H - A, 2) = Norm(H - B, 2), Norm(H - A, 2) = Norm(H - C, 2)],{a,b,c}): assign(%):

Simply using display(array) we can create larger zoomed sized plots that I think some people would like but only for 2d but what about 3d plots ? - read on. 

Now this expands only the width of the plot and works for all 2d plots.
a:=plot(sin(x)):
display(array([a]))  # displays plot at screen width size

What I think most people want is an easy way to adjust plot sizes from the default Maple install without having to load any special packages ...

I've made exam questions for students that they have to answer by doing some calculations in Maple.

I would like to let them copy the commands they used to a Maple TA text field.

However, the standard worksheet in our computer lab uses 2-D math. Copying this 2-D math to Maple TA works fine with "paste as plain text", but copying 1-D math also works with ctrl-v in Maple TA, which is more convenient for students under stress.

Since I am not allowed change...

Am i undestand right that all GUI-changed properties of plot are not accessable via command-line because with already pictured plot there are no binded variables and no method to bind? For example after manual streching and moving i need to work in interest area of graph i.e. includding new textplots there and so on. See only way to work with via DocumentTools component and it events to get e.g. xrange  and yrange. Is there better way?

My problem: Write the equation of the line (Delta) passing the point A(-2;3;4), perpendicular to the line

(l): x = -t + 1, y = 2t, z = 3t + 1

and have a distance from the point B(1;2;-4) obtain

a) maximum;

b) minimum.

Can you write for me a code? Thank you.

Problem. Let A(-1,3,-2), B(-3,7,-18), C(2,-1,-3) be three points and (P):
2*x - y +z  + 1 = 0 be a plane. Find the coordinates of the point M lies on the plane (P) so that MA^2 + 2MB^2 + 3MC^2 obtain the minimum value.
This is my code.
restart: with(geom3d):
A:=: B:=: C:=:
M:=: o:=:
eq:=solve([seq(o[i] = (A-M + 2*(B-M) + 3*(C-M))[i], i=1..3)]);
point(T, -1/6, 7/3, -43/6); # put T by my hand
plane(P,2*x - y +z + 1 = 0,[x,y,z]):

Hi!

how I import maple code in matalb for matlab simulink?

 

Problem. Let (P): 2x -y +2z + 9 = 0 be a plane and two points A(3,-1,2), B(1,-5,0). Find coordinates of the point M lies on (P) such that scalar product of two vectors MA and MB obtain  the minimum value. 

Hi,

I have a rather burly system of PDE that I need solved in maple.  It's a little complicated to explain the set-up, but I am solving for some coefficients of a function expansion where each coefficient is solved in terms of some other known functions. 

Basically the problem is the technique and code works perfectly for another application, but it fails me here.  For one, when I try rifsimp(%,[a[0](x,y,t),b[0](x,y,t),c[0](x,y,t)]), it runs for...

Plase write for me a code for the following problem:

Let (d): (x-1)/2 = (y+2)/1 = z/1 be a line and

(P): x + 2y -z - 3 = 0 be a plane.

Write the equation of the line (Delta) lies in the plane (P), perpendicular to the line (d) and the distance between (d) and (Delta) equal to sqrt(2).

I just purchased Maple 15 student edition. I am attemping to create a plot. When I type the command I encounter a problem. The following keys will not work, ()[]{}. When I enter the ( the curser disapears and I am unable to enter any more keystrokes.  If I enter to many keystrokes Maple freezes and I can must close the program.

I want to connect Maple to a database with around 10 000 time series.
I have played around with Microsoft Access, SQL Server and MySQL.
However, none of them seems to be up to the task.

One of the problems that I had was that the connection (tcp-ip) between
Maple and the database was very slow also the databases them self did not
handle the large amount of data very well. Maples database
examples are not very helpful either. They only show "cute" examples

There is a cool option of dropping one graph from multigraph (after that it goes as separated one). How to get  this dropped structure itself? I.e. i have "graph" component with command AllPlots that itself is

AllPlots:=plots[display](AllPlotsStructure,...);

AllPlotsStructure is a list of plot/textplot.

After all i removed one structure by drag-and-drop on component. How to update AllPlotsStructure correctly?

First 231 232 233 234 235 236 237 Last Page 233 of 2097