MaplePrimes Questions

Hi, I was trying to do the following but fail. May I know what does the error mean and how could I rectify it please? Thank you very much.

NULL

Hi, I have M as a 9x9 matrix. I would like to write that if any values in it is smaller than (1e-4) and not equal to zero, then show 0. If not, just reveal its original value. Please help. Thanks.

Hi, could someone please give me an example of how to use "if...and...end if" please?

I tried to write

a:=4; b:=8; c:=3;:

if b>a and c then a end if

I am trying to say if b is larger than a and at the same time larger than c, show me the a value.

Thanks.

How to find the limit limit(u(x,t),t=infinity), where u(x,t) is the solution of the Cauchy problem:
pde:=diff(u(x,t),t)=diff(u(x,t),x,x)+exp(-t) with the initial condition
ic:=u(x,0)=arctan(x) ?

How to solve this problem:

 style = line option is not executed within the command Statistics [PointPlot].

Statistic[PointPlot]

 

 But right click on the graph Style / line is obtained as expected. Except that when you run the initial command, Statistics [PointPlot] ... back to the previous graph.

Hi,

If I have a 18x18 matrix, among are some which values are zero. If I would like to know how many of it are zero and how many are non-zero, what should I write please?

Thanks.

hi

i have the following ode

.7246228659*(diff(f(x), x, x, x))+f(x)*(diff(f(x), x, x))+.6666666666-.6666666666*(diff(f(x), x))^2

with boundary conditions

f(0) = 0, D(f)(0) = a, (D(f))(b) = 1   (b corresponds to infinity and we can assume it 4 or 10 such that the solution converge)

i know the the solutions exist up to a critical value of "a" that beyonds no solution exist. for example for the following ode the critical value is...

Hello!

 

I'm currently trying to program Euler's Nummerical Method to solve a second order differential equation, that I've split into two parts: 

f1:=v:

f2:=-(0.006549/0.7038)*v-sin(x/1.03)*9.82

 

In an attempt to solve this equation by using Euler's in Maple, I typed in the following commands: 

 

EulerSystem:=proc (f1,f2,t0,x0,v0,h,n) local t,x,v,i,p;
t[0]:=0; x[0]:=x0; v[0]:=v0;

Hi,

I would like to have logical operator which will spit out true if my variables are proportional to each other, something like:

a:= A*some*other*stuff;

b:=A;

evalb(a ~ b);

gives true

 

Is there an easy way to do this? 

Hi,

I'm trying to have students solve a simple fraction problem like  $a - ($b + $c)  /   ($d - $e), where each letter is a programmed variable and where $d, $e and its difference do not give zero.  The answer could be either a fraction, or an integer (if the fraction can be simplified).  If I use the Maple-graded type of question, this is possible, but the student can also write the initial fraction problem and get a good mark for it ! ...

Greetingsi

Maple does not simplify the expression -2*Pi*sin(Pi*a)/(-1+cos(2*Pi*a)). How can I make it do so? 

 

Thanks,

Maple 15 64-bit on Windows 7

Hi! I'm running Maple 15.01 64Bit on my Xubuntu 12.04.

I also got Maple 15 installed on my Windows7 64Bit computer to verify the results.

 

So let's see what is going wrong:

 

What does work?

int(x^n, x);

Gives me on both machines the correct result:

Hi,

Question 1:
In matlab, i write "Ck=zeros(18,18,6)" which will give me the answer Ck(:,:,1), Ck(:,:,2), Ck(:,:,3)... Ck(:,:,6).
I tried writing Ck:=ZeroMatrix(18,18,6) but it doesn't work. May I know what is the right way to write it please?

Question 2:
Relating to the above question, I now have several Ck matrix, Ck1, Ck2, Ck3... Ck6. and also several P matrix, P1,P2,P3...P6. Each Ck and P matrix are 9x9matrices. How can I write A:=Ck*P to give...

The input signal is given above. I don't kown how to get ti in MapleSim whether use custom component or not. Is there anybody can do me a favor. Thank you very much.

 

Hi, I have a list of 15 numbers. I am trying to fit it into a triangular matrix. It will be a 6x6 matrix with zeros in the diagonal lines.

The first number will go into the M12, second number will go into M13, followed by M14... then, the six number will go into M23, seventh number into M24 and so on.

Here is what I got so far:

Z is a diagonal 6x6 matrix

node:=3
for i from 1 to (node*2-1) do

First 1723 1724 1725 1726 1727 1728 1729 Last Page 1725 of 2428