亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? efinder.m

?? 找到了本征模式
?? M
字號:
function Efinder
tic

%Efinder: Finds the numerical values for eigen energies that satisfy the 
%Schroedinger equation for the potential inputted. 
%Note: hbar has been scaled to 1.

%To use: =>enter mass (m=___)
%        =>enter energy range (energyrangefrom=___ ,  energyrangeto=___ )
%        =>enter the increments for the range (steps=___) 
%        =>enter the potential (at the bottem of this file in the 
%          format described there)
%        =>run
%_________________________________________________________________________

%The data will be saved to a file called Energy.txt in your workspace. The 
%data should be straightforward, but it will say nothing about which energy
%level is which (i.e. ground state,...), but it should be clear that lower
%eigen energy values correspond to the lower energy states.

%Furthermore, sometimes the energy levels are too close together for the 
%program to 'see' them, and therefore it does not collect data for those 
%particular energy levels and leaves a gap in the data. This is due to
%the energy step size, 'steps1', being larger than energy difference 
%between the energy levels. As long as you are careful about the range of 
%energies given to the program to search through, it should not be a 
%problem, though if you believe it has occurred, it can be corrected as
%described below in the commented section next to 'steps'.

%Other explanations can be found in the body of this file.



%I make no claim that there is not a better way to find the eigen energies
%that satisfy the Schroedinger equation, but using this technique of taking 
%advantage of the wave solution behavior, which this program does, the energy 
%levels for 'nearly' any potential can be ascertained numerically (I say 
%'nearly' because I have not tried them all!). 

%I hope the explanation provided is adequate, but if there are any questions
%or suggestions feel free to contact me at <isaac.obryant@und.nodak.edu> or
%leave an evaluation on the MatLab website.

%Efinder was created by Isaac O'Bryant with help from Ramesh Dhungana. 
%Physics, University of North Dakota,(c) 7/29/2005



%Here begins the program Efinder___________________________________________

format long
global e
global pot
global m
global precision




m =              ;  %enter the 'mass' used in the Schroedinger equation

precision=6      ;  %will give data correct up to at least the sixth decimal 
                    %place in this case. Change it accordingly.
                  

energyrangefrom= ;  %enter the lower end of the energy range being considered here 
energyrangeto=   ;  %enter the upper end of the energy range here
                    %(you must supply a finite range of energy values for
                    %the program to search through and that should also be
                    %appropriate for your specific situation) 

steps=           ;  %enter how many increments the above range should be 
                    %separated into (e.g. steps=300)
                    
                    %(Note: if the separation between energy levels is less
                    %than |energyrangefrom-energyrangeto|/(steps) this
                    %program will not find these energy levels; correct by
                    %breaking up original energy range into several smaller
                    %energy ranges and rerunnig this function again for each 
                    %smaller set of ranges, or by increasing the step size)
                    
                    
                    
%(optional)________________________________________________________________                  
%this will find the bottem of potential wells and use this value as part of
%the range this function will search through to find eigen energies. If you
%are dealing with such a situation in which this might be useful, uncomment
%the following remarks and comment or delete 'energyrangefrom' and 
%'energyrangeto' above and then add your potential in for pot1, making sure
%to use tt in place of t as you will need to do at the bottem of this file.

%tt=-6:.01:6;
%pot1=(-.2)*((sech(tt)).^2);    %(E.g 'pot1=(-.2)*((sech(tt)).^2)');
%potbottem=min(pot1);           %of course here the minimum is -.2, but this
                                %way is more fun and it will work for other
                                %functions as well, though the range of tt
                                %may need to be adjusted accordingly


%energyrangeto= 0;
%energyrangefrom= potbottem;




%here are the initial conditons____________________________________________

tspan = [-40,40];    %tspan is used in ode45 and may need to be changed 
                     %depending on your potential  

options= odeset('RelTol', 1e-10,'AbsTol',[1e-10 1e-10]);
y0 = [0;1];
ee=[0;1];
n=1;
data=[0 0];



%Here is the while loop____________________________________________________


while (abs(ee(end-1)-ee(end))>(1*10^(-1-precision))) | ((ee(end-1)-ee(end))==0)
    E1=[energyrangefrom;data(:,1)]; %the first range it looks at is from
    E2=[energyrangeto;data(:,2)];   %energyrangefrom to energyrangeto, then
    previous=[];                    %it uses the values from the 'for' loop
    t=[];
    y=[];

    if n>1
        steps=20;   %after it finds some energy levels, it switches to this 
    end             %stepsize and defines the energy levels more accurately 
                    %each time it goes through the while loop      
                    %(the first iteration it looks through the whole  
                    %range and finds all the energy levels using the
                    %step size you inputted for steps)
    

    for e = linspace(E1(n),E2(n),steps)	
        [t,y] = ode45(@schrod,tspan,y0,options);
        y1=y(:,1);
        ee=[ee;e];
        result=y1(end);

        if isempty(previous)
            previous=[result];
        end

        previous=[previous;result];

        if (previous(end)>0) & (previous(end-1)<0)
            data=[data;ee(end-1),ee(end)];
        elseif (previous(end)<0) & (previous(end-1)>0)	
            data=[data;ee(end-1),ee(end)];
        end	
    end

    if n==1
        if length(data)>2 
            level1=(length(data)-1);
            level2=1;
        elseif length(data)==2 
            level1=0;
            level2=0;
        else        %this might not be working, I'm not sure...
            disp('No energy levels found in this range')
            fprintf(1,' E1=%10.9f  E2=%10.9f\n',E1(n),E2(n));
            break
        end
    end
    n=n+1;

    if n>40      %just in case...
        break
    end
end
datal=[data((end-level1):(end-level2),1)];


fprintf(1,'This data is only reliable up until the %1.0fth decimal place, \n',precision);
fprintf(1,'as you specified. The following %1.0f energy levels were found  \n', length(datal));
fprintf(1,'by the program Efinder: \n');
fprintf(1,'   \n');
fprintf(1,'   %11.10f  \n',datal);
fprintf(1,'   \n');



fid=fopen('Energy.txt', 'a');     %Saves data from the program to Energy.txt 
fprintf(fid,'This data is only reliable up until the %1.0fth decimal place, \n',precision);
fprintf(fid,'as you specified. The following %1.0f energy levels were found  \n', length(datal));
fprintf(fid,'by the program Efinder: \n');
fprintf(fid,'   \n');
fprintf(fid,'   %11.10f  \n',datal);
fprintf(fid,'   \n');
fclose(fid);
toc


%__________________________________________________________________________

function ydot = schrod(t,y)
%The function schrod stores the Schroedinger equation. 
%Enter the potential below like: 

            %ydot = [y(2);-2*m*(e + (-your potential))*y(1)];

%(e.g. if: potential= -a*((sech(t-l))^2+(sech(t+l))^2)
%then: ydot = [y(2);-2*m*(e +.a*((sech(t-l))^2+(sech(t+l))^2))*y(1)]; )

format long
global e
global pot
global m


ydot = [y(2);-2*m*(e + (     )*y(1)];

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩久久久久久| 91一区在线观看| 亚洲欧美激情一区二区| 久久久久国产精品麻豆| 精品国产亚洲在线| 精品毛片乱码1区2区3区| 欧美一区日韩一区| 欧美v日韩v国产v| 日韩三级视频中文字幕| 欧美精品电影在线播放| 色哟哟欧美精品| 色综合天天综合网天天狠天天| 成人av在线网站| 91麻豆福利精品推荐| 色综合av在线| 欧美高清dvd| 久久综合五月天婷婷伊人| 日韩欧美专区在线| 精品福利一区二区三区免费视频| 精品国一区二区三区| 久久久久久久久99精品| 欧美激情综合五月色丁香小说| 欧美激情综合五月色丁香小说| 椎名由奈av一区二区三区| 亚洲免费av网站| 青青青爽久久午夜综合久久午夜| 亚洲va国产天堂va久久en| 免费精品视频在线| 白白色 亚洲乱淫| 欧美男人的天堂一二区| 欧美成人vps| √…a在线天堂一区| 亚洲福利一区二区三区| 极品瑜伽女神91| 在线免费观看成人短视频| 欧美一区二区三区视频在线观看| 久久夜色精品国产欧美乱极品| 亚洲日穴在线视频| 日本欧美肥老太交大片| 久久黄色级2电影| 久久久www免费人成精品| 亚洲三级久久久| 国产美女主播视频一区| 色999日韩国产欧美一区二区| 69久久夜色精品国产69蝌蚪网 | 日韩欧美国产综合在线一区二区三区| 精品国产一区二区亚洲人成毛片| 国产精品久久久久一区二区三区| 成人免费一区二区三区视频| 亚洲电影一区二区三区| 国产精品一区二区久激情瑜伽| 欧美日韩一区在线观看| 欧美激情在线看| 青青草一区二区三区| 国产精品一区二区免费不卡 | 欧美性感一区二区三区| 久久久久久久久久久99999| 夜夜亚洲天天久久| 国产成人精品网址| 91精品国产高清一区二区三区蜜臀| 国产精品理伦片| 久久99久久精品| 欧美日韩另类国产亚洲欧美一级| 国产精品―色哟哟| 国产精品资源在线观看| 91精品国产综合久久久蜜臀图片| 中文字幕不卡在线播放| 韩国三级中文字幕hd久久精品| 久久成人久久爱| 国产在线精品一区二区夜色| 欧美日本国产一区| 亚洲高清在线精品| 在线视频国产一区| 亚洲香蕉伊在人在线观| 91网站在线观看视频| 国产欧美日韩综合| 精品在线亚洲视频| 亚洲精品一线二线三线无人区| 免费欧美日韩国产三级电影| 欧美日精品一区视频| 国产精品嫩草影院av蜜臀| 国产精品亚洲а∨天堂免在线| 久久久五月婷婷| 国产一区91精品张津瑜| 久久九九久久九九| av中文一区二区三区| 国产精品高潮久久久久无| av男人天堂一区| 亚洲综合在线观看视频| 一本色道久久综合精品竹菊| 亚洲视频免费观看| 欧美三级电影精品| 开心九九激情九九欧美日韩精美视频电影 | 成人久久视频在线观看| 亚洲国产岛国毛片在线| 国产91在线|亚洲| 综合久久给合久久狠狠狠97色| 色8久久人人97超碰香蕉987| 亚洲一二三区在线观看| 亚洲图片欧美视频| 日韩女优制服丝袜电影| 国内精品视频一区二区三区八戒| 国产色婷婷亚洲99精品小说| 国产成人超碰人人澡人人澡| 日韩理论在线观看| 欧美日韩二区三区| 久久国产婷婷国产香蕉| 久久久亚洲高清| 欧美伊人精品成人久久综合97| 麻豆91精品91久久久的内涵| 久久综合九色综合久久久精品综合 | wwwwxxxxx欧美| 国产乱一区二区| 一区二区三区成人在线视频| 91精品国产综合久久福利软件 | 久久久久久麻豆| 色悠久久久久综合欧美99| 三级欧美在线一区| 国产精品久久久久影院亚瑟| 欧美日韩国产a| 成人aaaa免费全部观看| 日韩激情中文字幕| 中文字幕日本不卡| 欧美va亚洲va香蕉在线| 色吧成人激情小说| 成人性生交大片免费看视频在线| 亚洲国产日日夜夜| 国产精品女主播av| 精品剧情v国产在线观看在线| 色猫猫国产区一区二在线视频| 成人avav影音| 欧美人妇做爰xxxⅹ性高电影| 国产精品99久久久久久久vr| 一二三四区精品视频| 国产精品美女久久久久久久久 | 久久综合久色欧美综合狠狠| 色噜噜久久综合| 成人一区二区三区中文字幕| 日韩av电影免费观看高清完整版在线观看| 国产目拍亚洲精品99久久精品| 欧美一区二区女人| 欧美视频在线一区二区三区 | 欧美日韩一区二区三区免费看| 盗摄精品av一区二区三区| 久国产精品韩国三级视频| 无吗不卡中文字幕| 亚洲成人综合视频| 亚洲女性喷水在线观看一区| 久久久另类综合| 精品国产区一区| 精品国产免费久久| 久久综合狠狠综合久久激情| 91精品综合久久久久久| 欧美日韩一区二区三区在线| 一本大道久久精品懂色aⅴ| 东方aⅴ免费观看久久av| 国产麻豆精品视频| 国产成人高清视频| 成人高清视频在线| 国产91色综合久久免费分享| 精品一区二区免费视频| 久久精品国产亚洲a| 久久精品国产久精国产爱| 91麻豆视频网站| 高清视频一区二区| 日本精品一区二区三区高清 | 久久精品国产77777蜜臀| 中文天堂在线一区| 欧美日韩一区二区三区视频| 欧美成人精品3d动漫h| 欧美影院一区二区| 国产一区二区三区在线看麻豆| 亚洲18女电影在线观看| 激情久久五月天| 亚洲精品一区二区三区福利| 精品久久国产老人久久综合| 久久久久亚洲综合| 亚洲欧美综合另类在线卡通| 亚洲精品第1页| 日韩专区中文字幕一区二区| 免费高清不卡av| 成人高清视频在线观看| 欧美视频精品在线| 精品成a人在线观看| 国产精品三级av| 午夜欧美在线一二页| 国内不卡的二区三区中文字幕| 不卡的电影网站| 欧美日韩成人综合在线一区二区| 欧美一区二区三区免费观看视频| 国产亚洲欧美一级| 午夜精品视频一区| 国产精品一区二区不卡| 91黄色免费版| 国产亚洲va综合人人澡精品 | 中文字幕一区视频| 午夜精品久久久久久久| 国产伦精品一区二区三区免费迷 | 在线精品视频免费播放| 精品捆绑美女sm三区|