MaplePrimes Questions

Happy New Year Maple Comminity,

Attached is a file I'm working on. I have created two sub-programs called BEven and BOdd, and my goal is to call this two program inside another program called Ym. I do not no if I have do this correctly, I have also pasted the equtaions I was tring to solve.

Would anybody please help me, to see if I have coded the equations correctly. If not please help.

Regards,

Moses

I want to solve the following equationg for beta assuming SteL<0, SteV<0, h>0, R1>0, beta>0

sqrt(Pi)*beta=-1/h*SteL/(exp(h^2*beta^2)*erf(h*beta))+R1*SteV/(exp((beta/R1)^2)*erfc(beta/R1));

Can any one help me out?

I want to get data from implicit plot.

How can i do it.

The case which i am considering is

Pi^(1/2)*beta = 1.878297101/exp(20.00000001*beta^2)/erf(4.472135956*beta)-2.100000000*R1/exp(beta^2/R1^2)/erfc(beta/R1);

implicitplot(A, R1=0..1, beta=0..1);

I want to get the data fron this plot.

Can any one help me??

Thx

 

Hi,

i'd like to know why Maple can't solve this equation:

solve(x^2=sin(x),x);

What the best way to follow Maple's reasoning here when it tries to solve this, there are a few commands like trace and showstat, but they don't give much info to me. Is there a blog or guide where someone shares his experience in debugging ? 

regards

Bogosort

I'm trying to implement bogosort procedure and don't really have any idea where to start from. I know that its a method used by randomly putting a list back in order. Ive programmed bubble and cocktail but dont really understand how i would could a random sort.

Any help would be greatfull!!

 

Is there a way to plot POINTS in plot3d?  POINTS is described in the PLOT and PLOT3D Data Structures help section.

I have made it work in a 2d plots, but I want to plot points in 3d (a sort of 3d scatter plot).   In the Structures help section it says that the POINT structure is used to define a set of points in 2 or 3 space (if a z value is also supplied).

In the plot3d/options help it makes reference to defining symbols for ploting points.  But I can't figure out or find any examples of how it is done. 

Any help would be appreciated.

Hi, I have a list L:= { [ a, 34], [ b, 45]....}. how would I find the lowest value in this list? I am looking for a method besides just using the code min ( L[ ] )

How do I Read a file into maple.  I searched mapleprimes but it appears to be obscure topic. 

I keep getting Error, invalid terms in product.  I've tried backslash for the path name and forward slash for the pathname.  How would I read a textfile for example if it's a file on the F drive under the folder name Jan2010?

f(x) = 4*cos(x)-exp(x)

g := proc (x) options operator, arrow; x-(4*cos(x)-exp(x))/(-4*sin(x)-exp(x)) end proc

tot := 1.3

for i while i < 10 do tot := subs(x = tot, g(x)), print(%) end do:tot

Hello,
I am not quite confortable with Maple.
Is some body able to help me in calculating the discrete Fourier transform of  a 2-dimensional matrix and performing its corresponding 3-dimensional plot? For the moment, I am using Maple 11.
Thank you in advance

 

test := proc(x::integer, {y::posint:=1}, {z::posint:=1}, $)
  printf("%a\n", 'procname'(args));
  if x > 100 then
    procname(x-y-z-1, 'y'=10);     # not working (nor ''y'', uneval(y), evaln(y) etc.)  
  elif x < 100 then 
    procname(x-1, args[2..nargs]); # working  
  else
    NULL;
  fi;
end:
test(1000);
Error, (in test) invalid input: too many and/or wrong type of arguments passed to test; first unused argument is 1 = 1

For example,how to plot n points on a sphere,the points contiguous are isometric.

or plot a one point alpha,and then can generate n points whose center is alpha.

of course,they are all on the same sphere,

 

For m=1,2, how do I show with Maple that the first two moments of the Borel-Tanner distribution are simple functions of k and lamda, e.g., k/(1-lambda) for the mean? How do I get the closed-form expressions with maple? Code:

simplify(sum(x^m*k*x^(x-k-1)*lambda^(x-k)*exp(-lambda*x)/factorial(x-k), x = k .. infinity)) assuming lambda > 0, lambda < 1, k::posint; evalf(subs(k = 1, lambda = .8, %))

What's wrong? 
Should I use for this function NLPSolve?

restart;
with(Optimization);
print(`output redirected...`); # input placeholder
  [ImportMPS, Interactive, LPSolve, LSSolve, Maximize, Minimize, NLPSolve,
    QPSolve]
First 2052 2053 2054 2055 2056 2057 2058 Last Page 2054 of 2434