tag:blogger.com,1999:blog-19285568432719756202014-10-05T02:22:46.128-04:00Non-Linear SchrÃ¶dinger EquationMikehttp://www.blogger.com/profile/15540466147942950385noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-1928556843271975620.post-91746312470692543722008-07-07T15:20:00.002-04:002008-07-07T15:39:06.397-04:00ApplicationSo, I've been doing background research for the past week about applying this program. The first topic I'm looking into is optics, and the book I'm reading about this is "Applications of Non-Linear Fiber Optics" by Govind P. Agrawal. The current application I'm working with involves not solitons, but continuous waves (I'll be doing solitons later). Specifically, the equation comes from nonlinear dispersion curves (detailing continuous wave beams). After solving a nonlinear coupled-mode equation by assuming constant refraction index and a model for the total power of the forward and backward propagating waves, we can derive the Nonlinear-Schroedinger Equation. Furthermore, using a multiple-scale method (more on that later), we can prove equivalence between the linear and nonlinear case using this equation (essentially, a part of the equations drops to 0 for the nonlinear case). <br /><br />Once equivalence is demonstrated, we describe the equation and the variables within. I'll post the equation as it's written in Agrawal's book once I get the LaTex add-on on my computer (I've been having comp trouble all week). Once I get that on, I'll describe the variables and how we can manipulate the equation to demonstrate different physical properties.Mikehttp://www.blogger.com/profile/15540466147942950385noreply@blogger.com0tag:blogger.com,1999:blog-1928556843271975620.post-52406708050134424412008-06-22T20:39:00.001-04:002008-06-22T20:40:17.467-04:00WorkUgh...<br />Organizing my results; reading some textbooks about non-linear optics; getting my presentation ready.Mikehttp://www.blogger.com/profile/15540466147942950385noreply@blogger.com0tag:blogger.com,1999:blog-1928556843271975620.post-90810814523106329822008-06-18T09:56:00.003-04:002008-06-18T10:04:21.961-04:00Running EquationsSo, I've worked out a few bugs with the program. Some times, it would spit out both the initial conditions and the results in (ye) such that my analysis was sometimes incorrect. I fixed some of the logic statements in the program and that cleared up the issue. Later, as I was testing a few other equations, I was getting problems that I hadn't seen before. The lines of code that were generating the error were in both my code and ode45. After tinkering with it for a bit, I changed the solver to ode113 and that seemed to clear up the issue.<br /><br />I would like to note, however, that some of the equations will generate complex answers. It graphs according to the real part, and I do not think it does any analysis of the unreal part. I think this is what caused the problem with ode45. I will redo some of my analysis of earlier equations to ensure that my answers are consistent.<br /><br />In the mean time, I've been conducting some background research to give me a better basis for both presenting the material and analyzing my results. Specifically, I need to explain how these equations arise naturally, what the initial conditions mean, and what my data indicates. For this reason, I started looking at the Quantum Optics book.Mikehttp://www.blogger.com/profile/15540466147942950385noreply@blogger.com0tag:blogger.com,1999:blog-1928556843271975620.post-21117871898031588902008-06-12T22:18:00.008-04:002008-06-12T22:27:25.194-04:00Program Now Works!So I got my program to work last night and was doing some number crunching today along with some background research. Here are some interesting bifurcation diagrams I've made so far.<br /><br />This one (below) demonstrates when you have a particular set symmetrical equations. As I mess around with the parameters it does some of this (notice that the region in the lower left hand corner of the graph towards the origin)...<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S6nwJ7CAKUU/SFHaA486XyI/AAAAAAAAABU/3KrHi2qpY_U/s1600-h/apoint4bpoint4.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_S6nwJ7CAKUU/SFHaA486XyI/AAAAAAAAABU/3KrHi2qpY_U/s200/apoint4bpoint4.jpg" alt="" id="BLOGGER_PHOTO_ID_5211185952667098914" border="0" /></a>And this, where it would appear as if the region bulges outwards and forms a quarter of a circle...<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_S6nwJ7CAKUU/SFHaXGYze4I/AAAAAAAAABc/igj8_QRkjPQ/s1600-h/apoint9999999999bpoint9999999999.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_S6nwJ7CAKUU/SFHaXGYze4I/AAAAAAAAABc/igj8_QRkjPQ/s200/apoint9999999999bpoint9999999999.jpg" alt="" id="BLOGGER_PHOTO_ID_5211186334230870914" border="0" /></a><br /><br />At a certain point, however, the entire graph turns suddenly blue. I'm toying around with the numbers to see what happens. Also, I'm going to modify my program so it has different colors indicating not only which line terminates the system, but also if it crosses 0r not. I'll upload some images with the formal equations tomorrow (right now I'm using a computer without LaTex on it).Mikehttp://www.blogger.com/profile/15540466147942950385noreply@blogger.com0tag:blogger.com,1999:blog-1928556843271975620.post-13419676580754227322008-06-09T17:58:00.001-04:002008-06-09T18:33:13.510-04:00Programming TroubleSo, the program nears completion, however, I anticipated that it would be done by today at the latest. There are still some bugs to fix. First, it is not robust doing the step size... it claims I'm trying to make a matrix of non-integer values (which I'm not). I think it's the program, since it works with only some step sizes, but not all. Another problem, which is an integral part of the program, is getting it to graph in two colors. We can then infer the location of the bifurcation line as the region where the points change color.<br /><br />Fortunately, the program as is should be easy to convert to the 3-D case, which should be interesting (I don't know how I'd graph that, but then again, I have some time to think about it). I'm only worried that MatLab will be just finicky with the program and not want to do it.<br /><br />I'm going to see if I can resolve these problems tonight, then I'll do some more background research and applications. By the way, <a href="http://www.colorado.edu/physics/2000/bec/">here's an interesting link about its applications</a>.<br /><br />It doesn't explicitly talk about how it applies, but it gives the gist of what's going on during this natural process. The nonlinear equation comes into play <a href="http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B7GVT-4FXNRS6-3&_user=650606&_rdoc=1&_fmt=&_orig=search&_sort=d&view=c&_acct=C000035099&_version=1&_urlVersion=0&_userid=650606&md5=ba76888b5b7dd641d6c9e8eaef5e1a8f">here...</a><br /><br />Well, that's it for now; I better get cracking at this thing if I want it to be handle equations like that one above for any case...Mikehttp://www.blogger.com/profile/15540466147942950385noreply@blogger.com0tag:blogger.com,1999:blog-1928556843271975620.post-58504027035618815792008-06-06T14:02:00.000-04:002008-06-06T15:25:14.679-04:00First Post<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_S6nwJ7CAKUU/SEmNrxOlLDI/AAAAAAAAAAU/Wrlc1ESIcu8/s1600-h/ugh.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 264px; height: 199px;" src="http://bp3.blogger.com/_S6nwJ7CAKUU/SEmNrxOlLDI/AAAAAAAAAAU/Wrlc1ESIcu8/s320/ugh.jpg" alt="" id="BLOGGER_PHOTO_ID_5208850227119074354" border="0" /></a>So, I am near finishing my programming. There are some bugs left with the logical statement I am using for the bifurcation diagram (including getting the program to write the correct 'te' value in the data matrix). I can get it to plot some points, but I'm sure that some of these points are not correct values. I will post later to indicate what my progress is on these problems.<br /><br />I stumbled through a few interesting obstacles today. I streamlined some of the code, and I figured out h<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_S6nwJ7CAKUU/SEmO3xOlLEI/AAAAAAAAAAc/YtNALJT6y50/s1600-h/abitbetterbifur.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp3.blogger.com/_S6nwJ7CAKUU/SEmO3xOlLEI/AAAAAAAAAAc/YtNALJT6y50/s200/abitbetterbifur.jpg" alt="" id="BLOGGER_PHOTO_ID_5208851532789132354" border="0" /></a>ow to get the plot function to work. My first graph looked more like some cellular-biology phenomenon more than a bifurcation diagram. After reworking the code, I got something a bit better. I know that the values are wrong, but it looks like it's getting there. I suspect that I'll have to crank out some work this weekend to get the program done by Monday.Mikehttp://www.blogger.com/profile/15540466147942950385noreply@blogger.com0