MaplePrimes Questions

Hello,

I am working on a physics problem that involves a bead on roating hoop. You need to use Lagrangians to solve this problem but this is not where i am strugling. My school expects us to use maple because it is the program the provide but none of the teachers know how to usem it (they use mathmatica) so they cant help us. We have the equation: θ"= [ω2*cos(θ)-(g/R)]sin(θ) and the initial cond. θ'(0)=0 and θ(0)=θ

Hi,

I am working with equations on Maple which depends on a parameter (epsilon), which can assume only the values +1 and -1 (I intent to replace this value only in the end of calculation). When, however, Maple computes the expressions, the result contains severals powers of epsilon, for instance epsilon^7 or epsilon^4. Since actually we have that epsilon^7=epsilon and epsilon^4=1, respectively, it would be very usefull to me if Maple 

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...

First 1729 1730 1731 1732 1733 1734 1735 Last Page 1731 of 2434