MaplePrimes Questions

Let a list of n positive integers be given, e. g. [2,1,4].
Let us consider all sums of  all its members signed by +-, e. g
-2-1-4=-7, -2+1-4=-5, -2-1+4=1, ... .
How to find the sum having the minimum  absolute value with Maple?

Write the equation for the plane P contains the straight line 

d: x = 2 + t, y = t, z = 2 + 2t,

so that, the distance  

Problem: Write the equation of the straight line (d) through the point A(1,-2,3), cut the straight line 

Delta: x = 3*t+1, y = t, z = t-1 and parallel to the plane (P): x + 2*y + 3*z + 4 = 0.

We know that, if the straight line (d) through the point A and parallel to the plane (P), then (d) lies on a plane (Q), which (Q) through the point A and parallel to the plane (P).

 

i need to write a program for my calculator to solve these eqution 

Vr =any number i enter it

Ir =any number i enter it

L= any number i enter it 

Z= any number i enter it

Y=any number i enter it

w=sqr (ZxY)

Zc= sqr (Z\Y)

A=D= cosh wL

B=Zc sinh wL

C= (1\Zc) sinh wL

Vs = AxVr + BxIr

Is = CxVr + DxIr

Vs= the number we get from the Vs eqution 

Ir = the...

Here is a simple example from the Maple Help (nersion 9.03):
###
i := 5; cat( "The value of i is ", i, "." );
###
which yields
  "The value of i is 5."

I would like to use the same syntax to generate a string to be printed at the beginning of a data file (so that I can remember what are the figures in the files); for instance I want to specify that this set has been generated choosing the value of a parameter alpha to be 0.618. So I write

Write the equation of a pane (P) which passes through the point E(2,1,0) and F(1,2,1) such that distance from the point A(1,-2,-1) to the plane (P) twice distance from the point B(2,4,3) to the plane (P).

My main idea is based on, if the line (d) passes through...

is(sum( (1+i)(k-1), k = 1 .. 8) = sum( (1+i)(k-1), k = 8 .. 1))
                                                       false

Is that a bug in sum that got fixed in a newer Maple or maybe I missed something?...

Dear All,

I am trying to solve the following equation in Maple but could not find the actual result:

P:=1/2 * Real (E x H*)

How to find the real value of (E x H) with H*= H conjugate.   And also which command to solve for the value P.

Your help will really be appreciated

Thanks in advance

A.Q

Soton

 

Please write for me a proceduce in order to write the eqution of the common perpendicular to the two skewline 

d: x = 3*t - 7, y = -2*t +4, z = 3*t + 4 and

l: x = m + 1, y = 2m - 9, z = -m - 12.

I did:

with(geom3d);

line(d,[3*t-7,-2*t+4,3*t+4],t);

line(l,[m + 1,2*m - 9, - m - 12],m);

u:=ParallelVector(d);

v:=ParallelVector(l);

with(linalg);

w:=crossprod(u,v);

a:=crossprod(u,w);

Something simple enough, I want show (g^n) / (g^n -1) = 1 / 1 - g^(-n) step by step in maple. 

The problem I'm having is getting maple to freeze the terms.  Maple likes to simplify before I can have it do what I want.  I suppose I could make everything a name and show it manually but I would like to force maple to do it. 

first setting

h:=g^n/(g^n-1)

so first multiply the numerator and denominator by g^(-n)

HI,

 

I've got a MapleCode with exports the data in the end into an ".txt"-File. Now it's necessary to create an"Tab" instead of the semicolon, which is produced now between A and B.

Now: "A;B"

Should be: "A    B" (Tab between).

 

> fd := fopen("C:/ZZZ_TEST4.txt", WRITE);
                      ...

I wrote a program in order to find coordinates orthocenter of the triangle. Please comment for me. This is my code:

restart;

with(geom3d);

point(A,1,-3,0);

point(B,-2,1,1);

point(C,3,1,2);

line(AB,[A,B],t);

line(BC,[B,C],t);

ab:=ParallelVector(AB); 

bc:=ParallelVector(BC);

eq1:=Equation(plane(P,[C,ab],[x,y,z]));

eq2:=Equation(plane(Q,[A,bc],[x,y,z]));

eq3:=Equation(plane(ABC,[A,B,C],[x,y,z]));

i just installed maple 15 in my macbook but i can't find classic worksheet, is it only for window?

How can I replace/substitute a combination of variables with a new variable?

For example, if ...

h:=(1+i)^2+(1+i)^3*A+(1+i)^4*B

I want to assign the value g:=1+i

so that h returns g^2+g^3*A+g^4*B

Do I have to change the 1+i to a name? or can it be done as it is?

I am learning about programming; I have this equation:

2*K2*alpha*t=ln[(A0+E(beta-1/2)/(A0-E(beta+1/2)

The values of t, E are a list of values.

and K2 alpha and beta are unknown but i dont know how to do for graph the part of ln vs time and fit it to a line.

First 1777 1778 1779 1780 1781 1782 1783 Last Page 1779 of 2429