MaplePrimes Questions

My first question is :   How can I count the number of recent calls to a procedure (not exprofile) ?

for example:

X := proc ()
Sample(RandomVariable(Normal(0, 1)), 1)[1]
end proc;
X();  X() ;

should return 2
 

 

My second question is:  

I have a procedure as seen below which I plot in a component plot  Do(%Plot0=X(%Slider_mu,%Slider_sigma,%Slider_t));

The Do call has 3 sliders inputs in the form of mu, sigma, tt.

ComplexExpand[(1 + I)^n + (1 - I)^n]

this is in mathematica

 

I am taking a LA course, no problem with the math.  But Maple I don't know, and we are using Maple 12 student edition.  I have never used Maple and our underly-helpful teacher's answer is "go watch the training videos".

Here

how to convert the vertical output to horizontal,and how to cite the result.

 

 for n to 20 do evalf(f(n)) end do;

Dear all

I am using the Phyiscs package in Maple, and I have an expression with 6 Dirac-Kets and symbols infront that conform to selection rules. e.g.

alpha*(a + b)|E1> + beta*(a - b)|E2> + beta*(3a + b)|E3>  + alpha*(a + 4b)|E4> + beta*(9a - 6b)|E5> + alpha*(3a + 6b)|E6>

However when I apply the command;

expand(Dagger(%).%)

I know very little about the Kalman filter. The thing that I do know is that the Kalman filter has great potential.

However I am not sure that I want to invest time doing reasearch on it because I am not sure I

will be able to come up with an working model in Maple. Does anyone have any experience with Kalman filter in Maple ?

Does anyone want to explain how such a model works ?!

Greetings All

I just wanted to test some values in the Rydberg Formula:

eq1 := 1/L = R(1/nfinal^2-1/nstart^2)

sol1:= solve(eq1, L)

and the answer looks correct:

1/R(-(-nstart^2+nfinal^2)/(nfinal^2*nstart^2))

 

But when I go and try and solve for these other variables I get

solve(eq1, nfinal)  ----->  I get an "Error, (in evala/Reduce/ff/monomial) numeric exception: division by zero"

solve(eq1, nstart)  --->   I get nfinal^2/(-1+RootOf(R(_Z)*L-1)*nfinal^2)

http://demonstrations.wolfram.com/LearnTheGameOfGo/

here is a simple expamle,but it's not a game.

And the computer's AI can be developed.

If anyone know should use which programming language,I know C,C++,matlab,mathematica,

and what's that I should learn?

 

Hi,

I often use  the display(plot1, plot2, ..., axis[1]=[tickmarks=[0,100,200,300,400], gridlines=[5, subticks=true]], axis[2]=[tickmarks=8, gridlines=[8, subticks=true]]) command to plot several plots in one and to adjust the gridlines to what looks better than the default.

I'm spliting up a number into a list but I'm not sure if this is the best way.

a:=74.367854;

b:= convert(a, string);

with(StringTools);

c:=Select(IsAlphaNumeric,b);

d:=Explode(c);

e:=seq(parse(d[i]),i=1..nops(d));

                                            7,4,3,6,7,8,5,4

I need the formal solution to the inverse of (d(m) = sum of c(k)/(k-m)! from k = m+1 to j  for all m from 0 through j-1). Egorychev's theory of turning summations into complex integrals seems to work only on his chosen examples, namely, where the summation index, k, is the lower variable in the binomial coefficient, not the upper variables as in my case k-choose-m, if one redefines c(k) as c(k)*k! and d(m) as d(m)*m!  Any ideas?  Thanks! 

Hi, I got a simple question. I want to use the add function but with an increment rather than 1. for example add(a[i], i = 1 .. 4) gives a[1]+a[2]+a[3]+a[4], whereas I want to have a[1]+a[3] for instance. Please let me know how I can define it that way. Thank you,

00:00:10,980 --> 00:00:12,780
it will not have gone though both slits.

> Why these spineness appeared in some certain value?for example

> But if x is not the value +-1.5,it doesnt appear.

Good Morning,

Would anybody in the community please help me  to trouble shoot the problem with fsolve not producing result.

Regards,

First 2084 2085 2086 2087 2088 2089 2090 Last Page 2086 of 2428