MaplePrimes Questions

F2:

 + | 0 1        × | 0 1
 --+----        --+----
 0 | 0 1        0 | 0 0
 1 | 1 0        1 | 0 1

F3:

 + | 0 1 2       × | 0 1 2
 --+------       --+------
 0 | 0 1 2       0 | 0 0 0
 1 | 1 2 0       1 | 0 1 2
 2 | 2 0 1       2 | 0 2 1

F4:

Actually I reach that in mathematica not easy,

Show[Plot[
  Piecewise[{{0, x < -0.5}, {1/5, x < 1.3}, {2/5, x < 1.7}, {3/5,
     x < 2}, {4/5, x < 2.8}, {1, x > 2.8}}], {x, -2, 5},
  Ticks -> {{-0.5, 1.3, 1.7, 2, 2.8}, {1/5, 2/5, 3/5, 4/5, 1}},
  PlotStyle -> {Thickness[0.01]}],
 ListPlot[{{-0.5, 1/5}, {1.3, 2/5}, {1.7, 3/5}, {2, 4/5}, {2.8, 1}},
  PlotStyle -> PointSize[0.03]]]

is this identity true (i believe it is)?

 

p*int(f,x=0..infinity) = sum ((int(f,x=n..n+p)),n=0..n+p) + sum((p-n)*(int(f,x=n-1..n)),n=1...p-1)

 

p*(int(f(x), x = 0 .. infinity)) = sum(int(f(x), x = n .. n+p), n = 0 .. n+p)+sum((p-n)*(int(f(x), x = n-1 .. n)), n = 1 .. p-1)

 

If it is true how we understand it, and understand it through Maple.

I have a set of data. The number of times an event occurred each day. So my data set looks like, [[daynum, numevents]] == [[1,3],[2,1],[3,5],...] where daynum is the day number, and numevents is the number of times an event occurred that day. What I want to do is plot these like a histogram, or barchart, or column graph (I'm not very good at stats, so I may not know what I'm talking about here) - anyway, something like that - with daynum on the horizontal axis and numevents on the vertical axis. And the numevent should be a tall rectangle with height = numevent value.

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! 

First 2089 2090 2091 2092 2093 2094 2095 Last Page 2091 of 2434