Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
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, %))

To judge results of functions coded in double precision against precise results (as they may be given by Maple) one has to respect decimal presentations on one side and IEEE on the other side.

For that one can use routines developed by Florent de Dinechin, which are worth to be better known.

Here is a Maple sheet showing how one can do it (looking at the complex valued power function using evalhf versus using MS VC2005 as an example).

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]

 

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}


 

 

There was some recent discussion about Maple's Standard GUI having two parsers. (See here, and its parent.)

I've been accumulating a list of some differences between the parsers of 2D Math and 1D Maple notation, for the same given pasted input.

In particular, I'm interested here in differences...

Hello,

I have a matrix of 2x2. the elements for example can be [x, x^2; 3x, 10x]. The determinant must be zero. Numerically, how do I construct a loop that finds me the solution of x?

 

Thank you.

 

First 1888 1889 1890 1891 1892 1893 1894 Last Page 1890 of 2254