MaplePrimes Questions

Dear All,

 

Can someone help me,  to write following matlab code in MAPLE  (only two highlighted lines).   I shall be very thankful to you.

 

w0=[0.01*aCM];                          %initial values
 
options=optimset('Display','off','TolFun',1e-24,'TolX',1e-18,'LargeScale','on','MaxFunEvals',5000); % Option to display output

for i=1:length(z) 

Hi
I run Maple 15 on an Acer laptop with Windows 7 and have the following problem:

When my Maple documents become "too" long, some of the vectors I have created seem to become tables instead (without me doing anything) rendering vector multiplications and additions/subtractions impossible (they'll throw an error; something like it not being possible to multiply a vector and a table. As if one of the vectors in my multiplication has become a table). Should it...

Dear Sir/Madam,

I have a list with positive and negative values. Now I want to count the amount of values less than 0. I tried a few things from the ListTools but nothing is working. I hope you can point me in the right direction.

Kind regards,

Nine Klaassen

Master student TU Delft

how can I caculate the Clifford Algebra in using symbolic expression?

Can maple solve this kind of inequality:
piecewise(x > k, x-k, 0) > q * piecewise(x*(1+a) - k > 0, x*(1+a) - k, 0) + p * piecewise(x*(1+b) - k > 0, x*(1+a) - k, 0)
where p, q, a, b, k are parameters?

I'm trying solve-command with allsolutions option but it doesn't work :(

 

Thanks for answering :)

Hi

How can I use loop-varible in a definition of piecewise function? For example, when I do:

for k to 5 do

f[k] := x -> piecewise(x > 0, k, 0);

end do;

f[3](1);

f[2](1);

 

I get:

f[3](1) = 6

f[2](1) = 6

Hi all, I found that the expression:

(2x+7)/5+(6x-3)/3

automatically simplifies to

12/5*x+2/5

Is there a function that will return

(12x+2)/5

which is one fraction, instead?

Hello everyone, I am new on Maple, I am trying to solve a system of six nonlinear algebraic euqation..and can't get it to work..if someone can help me.. model2.mw

still have problems,
1.
restart:
f := proc (x) options operator, arrow; piecewise(0 <= x and x < 4, 50, 4 <= x and x < 5, 0, 5 <= x, f(x-5)) end proc;

plot(proc (t) options operator, arrow; evalf(Int(f, 0 .. t, epsilon = 0.1e-3, digits = 15)) end proc, 0 .. 20);


in the above figure,there is a discont point in the interval [16..18],but in fact,it's a continuous curve.

2.
how to use fsolve deal with two periodic functions?

i define two variables as follow:

restart:

omega:=1

omega[i]:=2

i find the 'omega' i had defined  renewd by

omega:=table[i=1]

then type:

omega,omega[i]

result is:    omega, 2

how can i define these two variables in one worksheet?

hello everyone, I have a numerical methids exam in acouple of hours and I just dound out that maple 11 on our campus computers has an old student package tht doesnt include numercalanalysis , is there anyway to update it ?

diff(y1(t), `$`(t, 2)) = -y1/sqrt(y1^2+y2^2)^3, y1(0) = 1, y1(0) = 0

How can i solve this problem ,when i try to execute the error occur.since the y1(t) and y1 cannot both occur in the system.

Hi everyone,

 

I would like to do:

f:=unapply(x**2,x);
j:=unapply(2*f(x),f(x));
 
Basically it is to define j(f(x))
But this is doesn't work. What is the right way to do it?\
 
My final goal is to calculate int(j(f(x)), f(x)=-infinity..infinity).

I have the following lines of code:

 

W:=sum((k^(2*i))*sum((e^(j))*w[i,j](r,t),j=0..2),i=0..2);

P:=sum((k^(2*i+1))*sum((e^(j))*w[i,j](r,t),j=0..2),i=0..2);

for c from 0 to 2 do

  for d from 0 to 2 do

    rw[c,d]:=coeff(coeff((k/(2*r))*(diff(W,r)*diff(P,t)-diff(W,t)*diff(P,r)),k,2*c),e,d)

  end do

end do;

 

I mean to compute the coefficients in front of powers of e inside...

Hi everyone,

 

Is it possible to perform an integral over vector without writing a multiple integral over each component?

I am integrating over a vector of dimension 12, so I am trying to find another way to calculate rather than writing 12 integrals.

 

Thanks

First 1752 1753 1754 1755 1756 1757 1758 Last Page 1754 of 2434