Matlabparticle in a box

Matlabparticle in a box - %1DParticleinaBox% % clearall clc...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
%%%%%%%%%%%%%%%%%%%% 1D Particle in a Box%%%%%%%%%%%%%%%%% %%%%%%% clear all clc close all n=100;                   %number of discretized segments a=10*10^-9;              %length of the box [m] deltax=a/n;              %legnth of discretized segment     x=0:deltax:a; u=0;                     %potential energy h=6.624*10^-34;          %planck constant [J*s] hbar=h/(2*pi);           %reduced planck constant m=9.10938188*10^-31;     %mass of an electron [kg]
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 04/17/2010.

Page1 / 2

Matlabparticle in a box - %1DParticleinaBox% % clearall clc...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online