MaplePrimes Questions

I simplified the real task and

the principal problem is how to assign a condition( if x < 3 then t := 0 elif x >= 3 then t := 5 end if) to a variable t which depends on x (x is a argument of function g(x))?

Is it possible at all without writing the procedure?

Here is the code:

g := proc (x) options operator, arrow; 2*x+t end proc; if x < 3 then t := 0 elif x >= 3 then t := 5 end if; plot(g(x))

Hi, may I know how do I change only the diagonal to certain values please? Thank you.

with(LinearAlgebra):
M:=RandomMatrix(6):
G:=DiagonalMatrix(RandomVector(6)):

Question 1: How do I change the diagonal part to a certain value for example 'a'?
Question 2: How do I change the diagonal part to the vector G?

 

Hi, I have a statement and when b is greater than 3, I would like two outputs which are z and y. But I can't seem to have it working. Please help. Thanks.

a:=2:b:=4:c:=7:d:=2:

this is what i wrote:
if b>3 then z:=a and y:=c elif b<3 then z:=d and y:=a end if:

Hi, may I know what is the function "ismember" in matlab called in maple please? Thanks.

With the command, subpicture,I take the portion of it that interests me.
How I manage to include this sub-image in another image (img)?

Preview(correctedT)

imgs := GetSubImage(correctedT, 100, 125, 20, 120)
Preview(imgs)

Hey there,

i have an System in the form below.

I try to plot s over the angle t which is used in the functions (S,DS and DDS) but because maple uses t in the functions (s, v and a) as the time the calculated eigenfrequency doesnt fit to the System.

The eigenfrequency should be omega:=sqrt(c[0]/m[1])=1035 (over 360 degrees) but because of the angle time switch the eigefrequency is 1035 (over 1).

Has someone an idea how i can tell maple that t is an angle in degree? ...

Hi, here is what I have, I would like to get A[1],A[2],A[3]...A[20] which are 18x18 matrix.
Then I would like to specify certain value for example A[4](2,3), or A[5](1,8) etc.... But there seem to be something wrong with my definition of A[m], I could not write A[m](i,j).
When i type A[4], it does not give me a 18x18 matrix. Please help. Thanks. 

with(LinearAlgebra):
interface(rtablesize=infinity):

lam:=RandomMatrix(18);

I’ve created a basic model of a two-lane road.

Is there a way to get Maple 16 into my linux menu (Linux Mint)?  My workaround has been to copy the Maple executable to the desktop.

What changes should I make to make it sum up?

with(LinearAlgebra):
interface(rtablesize=infinity):

for k from 2 to 21 do
A[k]:=Matrix(18);
P[k]:=Matrix(18);
Ct[k]:=Matrix(18);
for i from 1 to (k-1) do
Ct[k]:=A[k-i].P[i];    ####what changes to make here? 
end do:
end do:

I would like to get
Ct[2]=A[1].P[1]
Ct[3]=A[2].P[1]+A[1].P[2]
Ct[4]=A[3].P[1]+A[2].P[2]+A[1].P[3]
.....
Ct[21]=A[20].P[1...

Hi everyone,

 

I need to expand a sum inside a single multiple integral into separate integrals, as in:


  /                          /                  /
 |                 ...


I need to solve some  transcendental equations, using Maple 16 which i need to transform or bind with java later. My problem is I cant evaluate.

Equation I would like to evaluate is  k= ln((M-m)/m(k-1))offcourse I  defined m and M, prior to c.
Both  eval(k) and evalf (k)  only return k,  I need value for further calculations.

Dear All:

 I have a curve about mosfet  Coss Vs. Vds . the detail math relationship can be found in the following picture: 

  

 Can anyone fitting this picture by simple math function.

 PS: pls don't considering piecewise function 

i am successfully transforming a 2D plot, when doing the exact analog thing to a 3D plot i get the error message 

Error, (in t) invalid input: unknown uses a 3rd argument, z, which is missing

 

i have no idea what's going on, please advise.

 

i made a minimum example:

this works:

> restart:with(plots):with(plottools):
> norm2:=x->x[1]^2+x[2]^2:
> N:=[0,1]:
> phi:=(x,y)->N+2*([x,y]-N)/norm2([x,y]-N):

hi! I have this worksheet with some errrors and I don't know how to solve this.proiect_dm.mw

please help me!

First 1721 1722 1723 1724 1725 1726 1727 Last Page 1723 of 2434