john9ab

0 Reputation

2 Badges

14 years, 114 days

MaplePrimes Activity


These are questions asked by john9ab

Hi all,

Is there some way i can find the width of a plot?

I have the equation below:

Prob:=(w,T)->(B^2)*(sin(w*(T/2))^2)/((w/2)^2);

 B^2*sin(1/2*w*T)^2/w^2

plot(Prob(w,6),wf=-3..3);

Which produces a gaussian looking plot, the plot reaches zero at some...

Hi, Im trying to show the first few energy levels of a particle in a 1-D box. The plots are looking how i want them to look, but i can't stop it from producing loads of unwanted code. It seems to have been produced from P1 and P2 and putting a colon after them doesn't supress the output.

Can anyone see how i can stop the blue code from being shown and keep the plots?

I'm trying to make an infinite square well of width a, and i want to plot individual solutions along with the walls of the well at x=a and x=-a, does anyone know how to modify my code to show the solution and the vertical lines at x=a and x=-a, id like to also show that the wavefunction is zero at the walls, but due to the equation it continues past them, is there some way i can either modify the equation to stop the plot at x=a and -a (preferable) or blank out the graph after the walls?

Hi,

Is there some way i can label the x axis with numbers and an 'a'? I want to make an infinite square well of width 'a' so i'd like to keep the central zero and put an 'a' and '-a' on the x axis on either side of the origin.

So far i have this:

restart;

a:=1;

for n from 1 by 2 to 3

Page 1 of 1