MaplePrimes Questions

Hi, I am new to using maple and am having problems.

I have 3 values called R[1], R[2], and R[3] which correspond to 0, -20, 12 respectively. I would like to be able to find and output the smallest positive integer. Is there a maple function to do this? 

Thanks in advance for any help.

if i define

 

r[1]=4

r[2]=-7

r[3]=2

r[4]=-1

 

how can I find the number r that is the minimum, and define it as x?

so in this case, the minimum is -7 (r[2]), so i would want to define x as 2. 

p := (g+Delta*g*Zeta/omega-g*Zeta)*a[1]*b[2]+(g+Delta*g*Zeta/omega-g*Zeta)*a[2]*b[1]+(-Delta*g*Zeta/omega+g-g*Zeta)*a[2]*b[2]+(-Delta*g*Zeta/omega+g-g*Zeta)*a[1]*b[1]

q := factor(add(op(i, p), i = 1 .. 2))

q := g*(omega+Delta*Zeta-Zeta*omega)*(a[1]*b[2]+a[2]*b[1])/omega

here,throuth factor ,simplify the expression .yet,if i want the expression like this:

(g+Delta*g*Zeta/omega-g*Zeta))*(a[1]*b[2]+a[2]*b[1])

how do i?

thanks

Hello Maple experts,

I have some problems.  I can show a plot of f1, after assuming  n= 200 [Here x and y are positives and less than 1]

 

> f1 :=  (x, y,n) -> add(add(  `if` (.5 <= x+j*y+(1/n-(1/n)*x-(1/n)*y)*k and j*y+(1/n-(1/n)*x-(1/n)*y)*k < .5 , (1/(n+1)*(n+2))* factorial(k+j) *  factorial(n+1-j-k)/(factorial(k)*factorial(n-k)), 0), k = 0 .. n), j = 0 .. 1) :

> with(plots);

> listcontplot(...

How would I go about plotting four individual points in three dimensions, all on the same set of axes?  I'm trying to create a visual of a tetrahedron.  Thank you.

Hello. I am trying to do a project for school. But the following code is causing Windows 7(x64) to error. First, I get a message from mserver.exe saying: mserver has stopped working.

I click "Close the program" and I get "Kernel connection has been lost."

This is happening whenever I run the for loop in the attached code. I must get this fixed, people are counting on my code, but I do not know how to fix Maple. I am using Maple 14, build 479326 in Worksheet mode.

Hi. I'm new to Maple. I like the idea, but am rally confused by the interface. Can someone answer a few questions please?

How come this works, but displays wrong (the quotes display):

printf("%5a  %12a  %12a   %12a  %12a  %12a  %12a\\n", "-", "--", "--", "--", "--", "--", "--");

 

But this doesn't work (replaced quotes with apostrophe):

printf("%5a  %12a...

The following works:

  u+v*w;
  patmatch(%,a::name*b::name +c::name,'p');
  p;

                                 true
                        [a = v, b = w, c = u]

hi , can anyone tell me what's wrong with this!! please!

thank you in advance!

> crout := proc (A::array, n::integer)

local L, U, j;

L := matrix(n, n, 0);

U := matrix(n, n, 0);

L[1, 1] := A[1, 1];

L[2, 1] := A[2, 1];

U[1, 2] := A[1, 2]/L[1.1];

for j from 2 to n-1 do

what can I do I stuck in it,

f:=c1*a+c2*b:

where c1 and c2 is constant of three terms

a,b are variables in x

 

Hello everyone,

I have a great problem with maple (cause I'm a beginner)  My problem is When i write the following
for i from 1 to M do x[i]=evalf(a* cos(t[i])) end do;
I get a numbers for x[i], like t[1]=0, then x[1]=3.
until now no problem.
But when i calling x[1] in another place in the same file. i get x[1]=0.
Could any one help me.
Amr

did someone know the program of crout matrix decomposition?!


thank you in advance :)

Hello everybody,

 

I have a numerical list of points' coordonées defined as :

{P1,P2,P3, ...}

where P1 is defined by [r,theta,phi] radius, azimut, elevation.

Can I plot this in a cartesian coords whitout calculing X=r*cos()*sin() .... ?

Thank's

Dear friends,

 

A simplified version of my problem now is the following. I need to represent the contourplot in the plan (x,y)  of a conditional double sum:

 

contourplot( sum(  sum(   (i+j)!/k! * (101-j-k)!/(100-k)!    , j=0..1), k= 0..100), x=0..0.5, y=0..0.5)

 

where the sum runs under the condition that (j,k) satisfies  (  x+j*y+(1-x-y)/100*k >= 0.5  and  j*y+(1-x-y...

I want one of a sequence of questions to not show it answer. The other questions need to show their answers, but this one

cannot. I could make a separate assignment for this question but that seems rather painful. I use latex => .qu so the

solutions that don't require touching the editor is a plus.

First 1926 1927 1928 1929 1930 1931 1932 Last Page 1928 of 2431