MaplePrimes Questions

Hi, I am having problems with a slow procedure for doing a large number of recursive calculations. Here is the code: g_exp := proc(u,t,lambda,beta) global k, g, f, d, i, t1, sum2, j: g := array(0..u+t): f := array(0..u+t): g[0] := evalf(exp(-1*lambda)): f[0] := evalf(1-exp(-beta*(0.5))): for k from 1 to (u+t) do f[k] := evalf((1-exp(-beta*(k+0.5)))-(1-exp(-beta*(k-0.5)))): g[k] := evalf((lambda/k)*sum(i*f[i]*g[k-i],i=1..k)): end do: d := array(0..u+t-1,1..t); d[0,1] = evalf(g[0] + g[1]); for i from 1 to (u+t-1) do
In my worksheet I have a variable Q which has a value of 0.000002859716408. I am in a document block and type The value of Q and then I press ctrl= and the line reads The value of Q = 0.000002859716408 But what if I had wanted the value to be outputted in scientific format, e. g. The value of Q = 2.85972e-06 Is there any way I could have gotten this output ? Thanks
It's according to my project, again. I want to plot a pentatope (4-simplex) with Maple. I've tried using plot3d with animate but it's look doesn't work. Thanks for your help.
A couple of question on the following snippet.

Maple Equation

Maple Equation

Maple Equation

Maple Equation

I'm trying to find some articles on people's experiences (good, bad, indifferent) about their use of Maple TA. Does anybody know of any good ones? Some time ago I could download articles from the Maple conferences in pdf form, but when I went looking more recently I couldn't find them Thanks, Alasdair
How do I find critical numbers of a function or graph, such as the function, f(x)=abs(x^3-2x^2+1) ???????? Please help me
Hi, how do I plot something of the form x+y+z=3 for a range of x,y,and z? I thought this should be a simple 3d plot, but I haven't been able to figure it out. Thanks ahead of time.
I am creating help pages for a package, and want an example worksheet to open as a worksheet rather than a help page. For example, clicking the "Package Overview help page template" hyperlink on the "Templates" help page brings up a worksheet rather than a help page. The mouseover of the hyperlink implies it was saved as a help page (presumably in a help database) rather than as a worksheet. I see the active=true option under INTERFACE_HELP, but am not sure how I convert my worksheet to this form - surely I would lose the formatting styles. An option under "save to database" seems logical, or an active=true option for makehelp, but these do not seem to exist.
How can I add blank spaces after each comma in the following so that the output will be easier to read? print(X_bar[1] = Mean_SampleMeans1, S[1]^2 = Var_SampleMeans1, S[1] = SD_SampleMeans1); X_bar[1] = 5.993500000, S[1]^2 = 5.102310060, S[1] = 2.258829356 I am using Maple 10 worksheet mode (Mac). Maple ignores any additional spaces after commas in the input. Thanks for your help. Thomas
Nowadays i am trying to program a kind of computer algorithm to generate a random mathematical formula, and I'm having an argument with another mapleTA programer, the question is this one: What is more efficient, have a question for all the types of formulas with random variables or have only one question with a code like: $a = range(-5,5); $ea= range(1,5); $eb= range(1,5); $ec= range(1,5); $eq1 = switch(rint(7),maple('$a*x^$ea*y^$eb*z^$ec'),maple('$a*x^$ea*y^$eb'),maple('$a*x^$ea*z^$ec'),maple('$a*y^$eb*z^$ec'),maple('$a*x^$ea'),maple('$a*y^$eb'),maple('$a*z^$ec'));
I'm trying to insert a random polynom in a mathml question, let me explain: code: $a = range(-5,5) $b = range(-5,5) $c = range(-5,5) $eq = maple('MathML:-ExportPresentation(($a)*x+($b)*y+($c)*z = 0)) question:
Hello, is there a way to give new properties to built-in operators, such as `+` or `*`? For example, I have my own type MYTYPE and procedure for adding MyAdd(a::MYTYPE, b::MYTYPE). Now, I would like to use: a + b instead of MyAdd(a,b). Is it possible? Thank you. Karel
I seem to be having some trouble with scalar multiplication. Perhaps you all can help out. Here is what I have; with(LinearAlgebra): A:= matrix(3,3,[1,2,3,4,5,6,7,8,9]); ScalarMultiply(A,3); I was hoping that would work, but after the ScalarMultiply command I get "Error, (in LinearAlgebra:-ScalarMultiply) expects its 1st argument, MV, to be of type {Matrix,Vector}, but received A" Any ideas where I am going wrong? Thanks in advance.
Probably me doing something wrong but just wanted to know.... I wanted to assign a value to a variable... delta x but I wanted to use the greek delta with the x. (e.g. Δx) Maple doen't like it, and flags the error. Error, first argument to _Inert_ASSIGN must be assignable I know it is only cosmetic but I just wanted know if its possible. Thanks, dgiznya
How do I find the numeric value of these equation.I want actual value of all symbols( alpha,beta and gamma) 1) b_2 = -3.464909430*RootOf(-gamma^2+alpha*beta+(-gamma^2-4*alpha*beta)*_Z+(gamma^2+4*alpha*beta)*_Z^2, label = _L1)+1.732454715 2) b_1 = RootOf(-gamma^2+alpha*beta+(-gamma^2-4*alpha*beta)*_Z+(gamma^2+4*alpha*beta)*_Z^2, label = _L1)/alpha 3) Z = -.5772156649*alpha/(2.*RootOf(-gamma^2+alpha*beta+(-gamma^2-4*alpha*beta)*_Z+(gamma^2+4*alpha*beta)*_Z^2, label = _L1)-1.)
First 2335 2336 2337 2338 2339 2340 2341 Last Page 2337 of 2409