MaplePrimes Questions

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]
My students were excited to see ODE demonstrations with Maple 13. Now they ask me if there are some online features (similar to those in Wolfram Alpha or Mathematica Live)

 

Dear team,

I am PhD scholar in UK (University of Birmingham coming from Pakistan)

I want to solve a matrix of 24*24 matrix for eigen values but fail to do it. please help me or give me suggestion to solve it by maple.

i am also sending u matrix written in Maple 12

may i know functions for which the computational cost of evaluating their first derivative is higher than the function it self.

I want to plot the following equation

theta0 = 10.00000000*(2.718281828-exp(1.000000000*S))/exp(1.000000000*S)

I want that theta0 should be my x-axis in the plot and S should be the y-axis in the plot.

Can any one help me out?

Thx

Hi

 

I've to solve a EDP with boundary conditions with Maple :

EDP := [diff(u(x,t),t) = -0.35 diff(u(x,t),x)];
IBC := {u(x,0)=f(x), u(0,t)=u(10,t)};

(f is an function dirac of amplitude = 1. 0<x<10)

Reconstruct an analytic function w(x,y)=u(x,y)+I v(x,y) from its real part u(x,y):

how to define the function in Maple.

I'm confused with the definition in Mma,look at this sample:

analyticReconstruct[v_, {x_, y_}, z_] :=
  2 I (v //. {x -> z/2, y -> z/(2 I)}) - I (v //. {x -> 0, y -> 0});

analyticReconstruct[{2 x y, E^x Sin[y]}]

{z^2, -1 + E^z}


 

 

First 2052 2053 2054 2055 2056 2057 2058 Last Page 2054 of 2434