Numerical simulation of the solution to the sine gordon equation on the whole real axis is considered in this paper. Numerical solution of kleingordon and sinegordon equations. Also, if you could correct your syntax you might have better luck. Now im confused with the sinegordon theory which is also 2 dimensional like equation 1. Sine integral function for numeric and symbolic arguments. The sinegordon sg equation is a partial differential equation, which is defined as utt. Of particular interest is the domain wall collision to 2d sinegordon equation which to the authors knowledge have not been presented in the literature. Contribute to saulwiggincomputational engineeringwithmatlab development by creating an account on github. The numerical examples were calculated using a matlab program.
All the results are calculated by using the symbolic calculus software matlab 20a and mathematica. Legendre spectral element method for solving sinegordon equation. Instead, use syms to declare variables and replace inputs such as solve 2x 1,x with solve 2x 1,x. The three sides of the triangle are named as follows. Compute the sine integral function for these numbers. Depending on its arguments, sin returns floatingpoint or exact symbolic results. Blue waters undergraduate petascale education program.
The proposed method provides a reliable technique which is computer oriented if compared with traditional techniques. Pdf a numerical solution for sinegordon type system. Several new exact travelling wave solutions with the form of jacobiamplitude function are derived for the general sine gordon equation by using some reasonable transformation. For analytic solutions, use solve, and for numerical solutions, use vpasolve. Of particular interest is the domain wall collision to 2d sine gordon equation which to the authors knowledge have not been presented in the literature. The name of the transient version of the sinegordon equation is a play on words on the similar form of the klein gordon equation specify a region. Gnicodes matlab programs for geometric numerical integration. The main difference is that the sum of sines equation includes the phase constant, and does not include a constant intercept term.
Computationalengineeringwithmatlabsinegordonsoliton. Sine of angle, returned as a realvalued or complexvalued scalar, vector, matrix, or nd array of the same size as x. Sine gordon equation using the average vector field avf discrete. The opposite side is the side opposite to the angle of interest, in this case side a the hypotenuse is the side opposite the right angle, in this. The sine gordon equation has attracted wide attention over the years in the description of classical and quantum mechanical phenomena 19, and within the framework of quantumfield theory 917.
Numerical simulation of twodimensional sinegordon solitons. In this paper, we study the legendre spectral element method for solving the sine gordon equation in one dimension. Is there any function in matlab that accepts coordinates of two points an gives the related linear equation back. For real values of x in the interval 1, 1, asindx returns values in the interval 90, 90. In this paper, we develop a numerical method for the ndimensional sinegordon equation using differentiation matrices, in the theoretical frame of matrix differential equations our method avoids calculating exponential matrices, is very intuitive and easy to express, and can be implemented without toil in any number of spatial dimensions. To give the clear overview of this method we consider three examples of klein gordon equation and sine gordon equation. Finding the equation of a line passing 2 points matlab. Sine of argument in degrees matlab sind mathworks italia.
Derivation of the explicit scheme formula for the sine gordon system. Convert a secondorder differential equation into a system of differential equations that can be solved using the numerical solver ode45 of matlab. Geometric numerical integration is synonymous with structurepreserving integration of ordinary differential equations. The sinegordon equation is a nonlinear partial differential equation. In this paper, we propose a numerical scheme to solve the twodimensional dampedundamped sinegordon. Our computations were performed using matlab 7 software on a pentium iv. The nonlinear sinegordon equation arises in various problems in science and engineering. If you do not specify var, the symvar function determines the variable to solve for. In this paper, we propose a numerical scheme to solve the twodimensional dampedundamped sine gordon. Problem with a numerical solution of sinegordon like coupled equations in matlab.
Consider the onedimensional sinegordon nonlinear hyperbolic equation 1. We study the stability and convergence of the method and show the convergence of our method. Example 1 25 we consider the nonlinear kleingordon equation with, and in the interval with the initial conditions. Kaya 7 has implemented the decomposition method for solving the sinegordon equation by using a number of initial values in the form of.
I am curious if your original equation function that you are trying to plot is yt25 sin3 t. Discrete singular convolution method for the sinegordon. Notes on the sine gordon equation david gablinger january 31, 2007 abstract in this seminar, we will introduce the sine gordon equation, and solve it using a baecklund transfomation. Solving an equation containing sine and cosine matlab. This matlab function returns the sine function of x. Modified cubic bspline collocation method is discussed for the numerical solution of onedimensional nonlinear sine gordon equation. The nonlinear sine gordon equation arises in various problems in science and engineering.
In the present chapter, we consider two prototypical kleingordon models. This code is meant as a supplement to 1, and is an implementation of a moving mesh energy preserving solver for the 1d sinegordon equation using the average vector field avf discrete gradient. Numerical solution of nonlinear sinegordon equation by. In this paper, numerical solutions of the secondorder twodimensional sinegordon equation obtained by polynomial differential quadrature method have been discussed. Furthermore, we also give a numeric solution using a splitstep algorithm, and also present two physical applications of the sinegordon equation. The fractional sinegordon equation is considered as an interpolation between the classical sinegordon equation corresponding to. Modified cubic bspline collocation method is discussed for the numerical solution of onedimensional nonlinear sinegordon equation. Numerical simulation of the ndimensional sinegordon. Inverse sine in degrees matlab asind mathworks australia. Because these numbers are not symbolic objects, sinint returns floatingpoint results. In this section, we give the basic theory of the sinegordon equation and the variety of its travelingwave solutions, as spatiotemporal models of nonlinear excitations in complex physical systems. Equations 1 and 2 are actually the solutions to these pdes. Support for character vector or string inputs has been removed. In section 5 we also explore the relationship between the lyapunov equations and the sylvester equation and show how their solutions are related to each other in a simple but interesting way.
The sinegordon equation has attracted wide attention over the years in the description of classical and quantum mechanical phenomena 19, and within the framework of quantumfield theory 917. The sine of an acute angle is defined in the context of a right triangle. New travelling wave solutions for sinegordon equation. Extended capabilities tall arrays calculate with arrays that have more rows than fit in memory. The name of the transient version of the sinegordon equation is a play on words on the similar form of the klein gordon equation. In this paper, numerical solutions of the secondorder twodimensional sine gordon equation obtained by polynomial differential quadrature method have been discussed. Sine of argument in degrees matlab sind mathworks united. The given equation is decomposed into a system of equations and. Plot symbolic expression, equation, or function matlab. This paper gives three new solutions to solve the 2d sine gordon equation.
The matlab system was used for the numerical computations. This equation is closely related to the fourier series described in fourier series. The eqworld website presents extensive information on solutions to various classes of ordinary differential equations, partial differential equations, integral equations, functional equations, and other mathematical equations. If this is the case, then you need to change your parenthesis so that sin is a function of the independent variable x or t. The representation on solutions of the sinegordon and klein. Any one has the builtin function for solving sine gordon equation or how can i find it in matlab if any. On multisoliton solutions of the sinegordon equation in. I am curious if your original equationfunction that you are trying to plot is yt25 sin3 t.
Based on nonlinear spectral analysis, exact nonreflecting boundary conditions are derived at two artificially introduced boundary points. A numerical solution for sine gordon type system slideshare. We focus, in particular, on two of their principal solutions, namely the kinklike heteroclinic connections and the timeperiodic, exponentially localized in space breather waveforms. Were going to play with the concepts of sine series, iterations, vectorizing programs. But avoid asking for help, clarification, or responding to other answers. Open live script gausslaguerre quadrature evaluation points and weights. Sep 03, 2015 newtons method for solving nonlinear systems of algebraic equations. This matlab code solves the classical nonlinear sinegordon equation on graphs. This is the range along the abscissa horizontal axis. Writing a matlab program to solve the advection equation. Dehghan and mirzaei used a numerical method of the boundary. The sinegordon equation firstly appeared in the study of the differential geometry of surfaces with gaussian curvature k.
For more information on the numerical method and on the interpretation of these results, please, refer to our preprint. Highorder solution of onedimensional sinegordon equation using. A matlab differentiation matrix suite applied mathematics. Furthermore, we also give a numeric solution using a splitstep algorithm, and also present two physical applications of the sine gordon equation. Numerical solution of kleinsinegordon equations by. Im supposed to generate a 6 seconds long sine wave that has amplitude of 1. Sine integral function matlab sinint mathworks india. Dehghan and shokri solved a onedimensional sinegordon equation using collocation points and approximating the solution using thin plate splines radial basis function. Numerical solution to the sinegordon equation defined on. In mathematics, the sine is a trigonometric function of an angle. Depending on its arguments, sinint returns floatingpoint or exact symbolic results. Legendre spectral element method for solving sinegordon. The method is based on collocation of modified cubic bsplines over finite elements, so we have continuity of the dependent variable and its first two derivatives throughout the solution range.
If f is an equation or function of two variables, then min,max specifies the range for both variables, that is the ranges along both the abscissa and the ordinate. Problem with a numerical solution of sinegordonlike. Collision of wave packets in the sinegordon equation universiteit. Notes on the sine gordon equation david gablinger january 31, 2007 abstract in this seminar, we will introduce the sinegordon equation, and solve it using a baecklund transfomation. These solver functions have the flexibility to handle complicated. We propose a method to deal with the general sinegordon equation.
We propose a method to deal with the general sine gordon equation. Discrete sine gordon dynamics on networks, submitted, 2016. Several new exact travelling wave solutions with the form of jacobiamplitude function are derived for the general sinegordon equation by using some reasonable transformation. Any one has the builtin function for solving sinegordon equation or how can i find it in matlab if any. Numerical solution of kleinsinegordon equations by spectral. Solve a coupled stationary nonlinear sinegordon equation. In this article, were going to explore a number of ways to calculate the sine series without actually using the sine or cosine function. Numerical solution of kleinsinegordon equations by spectral method coupled. In this seminar, we will introduce the sinegordon equation, and solve it. This matlab code solves the classical nonlinear sine gordon equation on graphs. Thanks for contributing an answer to computational science stack exchange. In this section, we give the basic theory of the sine gordon equation and the variety of its travelingwave solutions, as spatiotemporal models of nonlinear excitations in complex physical systems. S solve eqn,var solves the equation eqn for the variable var. A direct method for solving sinegordon type equations request pdf.
Oct 07, 2014 im supposed to generate a 6 seconds long sine wave that has amplitude of 1. Firstly, we discretize the equation by legendre spectral element in space and then discretize the time by the secondorder leapfrog method. The equation describes nonlinear waves in elastic media, and it also has applications in relativistic field theory drazin and. Y asindx returns the inverse sine sin1 of the elements of x in degrees. You can solve algebraic equations, differential equations, and differential algebraic equations daes. To give the clear overview of this method we consider three examples of kleingordon equation and sinegordon equation. If this is the case, then you need to change your parenthesis so that sin is a function of the independent variable.
The matlab environment was used for the numerical computations. The sine function usually expressed in programming code as sinth, where th is an angle in radians is one of the basic functions in trigonometry. Newtons method for solving nonlinear systems of algebraic equations. In this paper, we develop a numerical method for the ndimensional sine gordon equation using differentiation matrices, in the theoretical frame of matrix differential equations. Numerical solution to the sinegordon equation defined on the. This paper gives three new solutions to solve the 2d sinegordon equation. Sinegordon equations, numerical simulation, matlab. Solve algebraic equations to get either exact analytic solutions or highprecision numeric solutions. Adaptive energy preserving methods for partial differential equations. Now i want to find the linear equation of a line passing through these 2 points.
Compared with previous solutions, our solutions are more general than some of the previous. These notes, prepared for the durham summer school 2002, are complementary to the monograph of e. If f is a univariate expression or function, then min,max specifies the range for that variable. If you do not specify var, the symvar function determines the variable to.
1497 1613 1174 1322 1303 489 520 1560 1235 1280 307 356 798 556 1682 435 325 954 1254 1006 1514 863 1099 306 619 1454 988 847 1497 1144 441 780 45 564 159 860 67 649 513 691 733