Method Definition and 1000 Threads

In mathematics and computational science, the Euler method (also called forward Euler method) is a first-order numerical procedure for solving ordinary differential equations (ODEs) with a given initial value. It is the most basic explicit method for numerical integration of ordinary differential equations and is the simplest Runge–Kutta method. The Euler method is named after Leonhard Euler, who treated it in his book Institutionum calculi integralis (published 1768–1870).The Euler method is a first-order method, which means that the local error (error per step) is proportional to the square of the step size, and the global error (error at a given time) is proportional to the step size.
The Euler method often serves as the basis to construct more complex methods, e.g., predictor–corrector method.

View More On Wikipedia.org
  1. T

    Python Scientific Computing: Method of Undetermined Coefficients in Python

    In a self learning project I am fooling around book https://faculty.washington.edu/rjl/fdmbook/ I want to do some of the computation myself to better understand the concepts but the book is Matlab based and Matlab is too expensive. Does anyone by any chance have some of the codes provided by...
  2. A

    Calculating the surface tension using the method of Lecomt de Nouy

    Hello! I am having unexpected difficulties with this problem.A friend showed me an article regarding the Lecomde ring method,and at the bottom was this little problem that to solve.I've done it like this. $$ y = \frac{F}{4\pi r} $$ where F is the given force and r is = 0,0325 in meters. The...
  3. Tuca

    I Solving Schrödinger's equation for a hydrogen atom with Euler's method

    Hi, first-time poster here I'm a student at HS-level in DK, who has decided to write my annual large scale assignment on Schrödinger's equation. My teacher has only given us a brief introduction to the equation and has tasked us to solve it numerically with Euler's method for the hydrogen atom...
  4. M

    MHB Fixed point,, Jacobi- & Newton Method, Linear Systems

    Hey! :giggle: Question 1 : Let $g(x)-=x-x^3$. The point $x=0$ is a fixed point for $g$. Show that if $x^{\star}$ is a fixed point of $g$, $g(x^{\star})=x^{\star}$, then $x^{\star}=0$. If $(x_k)$ the sequence $x_{k+1}=g(x_k)$, $k=0,1,2,\ldots$ show that if $0>x_0>-1$ then $(x_k)$ is...
  5. M

    A Example of Ritz method with Bessel functions for trial function

    Hi PF! Do you know of any examples of the Ritz method which use Bessel functions as trial functions? I’ve seen examples with polynomials, Legendre polynomials, Fourier modes. However, all of these are orthogonal with weight 1. Bessel functions are different in this way. Any advice on an...
  6. A

    Can we use the disk method in this integral?

    Goodd day, I have a question regarding an exercice I have already posted Bvu was very nice and provided this darwing I already have the solution But y question is : can we use the disk method? because as you can see even though the intersection was at x=-1 the sphere goes deep into the...
  7. A

    Problem integrating with the disk method

    Good day I have the following exercice and it's solved using spherical coordinates I totally agree with the solution but I have issue to find out why mine does not work I used the the integration by disk I divided the region of integration to 2 A1 and A2 (A2 is the upper half sphere and A1 is...
  8. D

    AC - Node Voltage Method for difficult circuit

    Hi! I'm trying to understand and solve this circuit by Node Voltage Method. I have to calculate u(t). In my mind, I don't have any idea if any current should go through Z1 in my calculations. I would be grateful if you could write even equations for this circuit. Is 'a' just a prefix to multiply...
  9. Celso

    Superposition in separation method of variables

    Each different boundary condition means a different charge configuration, how can this problem be solved using superposition?
  10. wrobel

    A Exploring the Method of Characteristics: A Teaching Perspective

    This just to share a teaching experience. Questions about the method of characteristics are raised from time to time in this forum. Hope the following text will be of some use. This is what we tell to students in courses of analytical mechanics :)
  11. B

    Finding the ratio of the fluxion of x using Newton's method

    I was asked to find the ratio of the fluxion of x to the fluxion of 1/x using Newton's synthetic method of fluxions. I do not understand how to do this.
  12. T

    What could be some future developments of Explicit Finite Method?

    Hello everyone, I have to submit an assignment by Monday and there is only one part of the assignment missing, which is future developments of the Explicit Finite Difference Method. However, I can not do it because I really do not know what exactly he is asking me for on there. Could someone...
  13. T

    Matlab report help please (Finite Difference Method)

    We have to submit a Matlab (my worst module) assignment to show the heat transfer on a plate. However, I have the 2 codes almost done but I am struggling to write the report. To calculate the temperature on a 2D aluminum plate we need to use the Explicit Finite Difference Method. The problem...
  14. G

    B Need assistance with an unusual quadratic solution method

    I have come across this strange method of solving degree 2 polynomials but I do not find the explanation provided to be very helpful. Here is the method description: "In the 16th century, mathematician Francois Viete solved quadratic equations by a unique substitution method. To solve an...
  15. patric44

    Temperature Distribution of Current Carrying Wire in Matlab

    hi guys i was trying to solve this non linear ode using the shooting algorithm in Matlab : i am not sure how to solve it using the normal shooting algorithm i have , since no other boundary at x = L/2 was given to check the shooting ?! function dTdx = bar_temp(x,y) k = 72; h = 2000; epsilon =...
  16. Fallen6

    Solve IVP: Undetermined Coefficient Method

    Summary:: Initial value problem Solve the given initial-value problem differential equation by undetermined coefficient method. d^2 x/dt^2 + w^2 x = F sin wt , x(0) = 0, x'(0) = 0 I get the sol = C1 cos wt + C2 sin wt, but i always get 0 when I plug into the equation, anyone can help me...
  17. Amrator

    Generating Random Numbers with the Acceptance-Rejection Method

    I'm trying to write a C++ program to generate random numbers using the acceptance-rejection method. To plot the graphs, I'm using ROOT by CERN. I am checking if y values taken from the rectangular boundary are less than or equal to the function ##f(x_{i}) = e^{-k(x_{i} - x_{0})^{2}}##. void...
  18. D

    Engineering Finding the reaction force using the unit load method

    I just wrote down what I think and have no idea of it...please help me with this question
  19. D

    Engineering Determine deflection and deflection angle using Unit Load Method

    relevant equations: My questions: (1)Not sure whether I did correct especially for the deflection angle (2)The limit taken for calculating defection Yc , I didn't understand why is from 0 to L/2 instead of the sum of 0 to L/2 and 0 to L, how is the limit determined? Kindly advise, thanks
  20. M

    MHB What conditions guarantee convergence of Newton's method for approximating pi/2?

    Hey! 😊 I have calculated an approximation to $\frac{\pi}{2}$ using Newton's method on $f(x)=\cos (x)$ with starting value $1$. After 2 iterations we get $1,5707$. Which conditions does the starting point has to satisfy so that the convergence of the sequence of the Newton iterations to...
  21. greg_rack

    Best straightforward method to calculate the direction of the Lorentz force

    Hi guys, I'm being introduced to magnetism, and the direction of the Lorentz force is quite confusing since it's involving a vector product. Which method would you recommend me in order to easily deduce the direction?
  22. jaychay

    MHB Can Integration by Parts Solve This Tricky Question?

    Can you help me with this question ? I am really struck with this question. Thank you in advance.
  23. jaychay

    MHB Find the volume by using shell and disk method

    Can you check it for me please that I have done it right or not ? Thank you in advance.
  24. jaychay

    MHB Find the volume by using shell and disk method

    Can you check it for me that I done it right or not ? Thank you in advance.
  25. jaychay

    MHB Find the area by using disk method

    The problem is to solve for the area R. Can you please help me ? I have tried to do it many times. Thank you in advice.
  26. jaychay

    MHB Find the volume using shell and disk method

    Can you please help me ? I have tried to do it but I end up getting the wrong answer.
  27. I

    Bouncing calculation of this balance equation with the Iteration Method

    I need to solve the following equation for [OH-]: Kw/[OH-] + (10^-5)Kb/(Kb+[OH-]) = [OH-] by using the iteration method. I guess that [OH-] = 10^-7 M. I plug this into the left hand side of the equation and find [OH-] = 1.39*(10^-7) M. I plug this value back into the left hand side, and get...
  28. B

    2D vs 3D Method of Characteristics for Rocket Nozzle Design

    Hi all, I'm working on programming a simple 2D method of characteristics program to design the nozzle wall contour for a supersonic rocket nozzle. I'm wondering roughly what sort of difference I should expect from a 2D vs 3D method of characteristics program and where I could find a good...
  29. O

    I Derive local truncation error for the Improved Euler Method

    I'm trying to find the local truncation error of the autonomous ODE: fx/ft = f(x). I know that the error is |x(t1) − x1|, but I can't successfully figure out the Taylor expansion to get to the answer, which I believe is O(h^3). Any help would be greatly appreciated!
  30. H

    Method of image with Green function

    A conducting sphere of radius a is made up of 3 different shells, upper part a/2 z -a/2, the middle part -a/2 z a, the lower part -a z -a/2 where the center of the sphere is at the origin. The upper part V and the lower part has -V potentials, while the mid part is grounded. Find the...
  31. hackedagainanda

    Simultaneous equations substitution method

    I'm really stuck on this one, I was able to get the answer but not by the substitution method. So its the weight as A and B so I get A + B = 24 A(3) = B(5) so in my head I calculate a few pairs, 3 x 5 = 15 but 3 + 5 only = 8 so the next pair would be 10 and 6 which is still to small so I move...
  32. C

    New method of traveling on water

    My question concerns what I call R.P.S. (Rotating Planing Surfaces). This version uses freely rotating disks to plane across the surface of the water somewhat similar to wheels on a car going down the road. Specifically what the lift / drag ratio might be and will it be higher than a typical...
  33. A

    Java Main() method in java - pre defined or user defined?

    although we cannot change the syntax of the main() method but programmer does create main() everytime in the program.so i want to ask if it should be pre defined method.
  34. J

    MHB Diff-in-Diff Regression: 6 Var, Interaction Terms & Estimate

    I am doing a difference-in-difference analysis on a set of survey data for a health education program and I need to find statistical significance for the difference-in-difference estimate. I know that I find this using a regression. I need to use a regression in a mixed logistic model including...
  35. J

    I Can this particular method solve these quadratic equations?

    Given are two equations: $$S_1 = ax^2+2hxy+by^2 + c=0$$ $$S_2 = a'x^2+2h'xy+b'y^2 + c'=0$$ This source states that there are several methods to solve for ##x## and ##y##. One of them is the following quote:"Treat equation ##S_1## as a quadratic equation in ##x## and solve it for ##x## in terms...
  36. Amit1011

    What substitution/other method to use to solve this differential equation?

    Differentiating eq1 mentioned above, and using eq 2, i got : $$v\frac{dv}{d\theta}=R\frac{dv}{dt}$$ From this, i got:$$ \frac{d\theta}{dt}=\sqrt{(2/R)(g(1-cos\theta )+asin\theta)}$$ After this point, I am not able to understand what substitution or may be other method could be used to solve...
  37. LCSphysicist

    Lagrange method to find extremes

    ƒ(x,y) = 3x + y x² + 2y² ≤ 1 It is easy to find the maximum, the really problem is find the minimum, here is the system: (3,1) = λ(2x,4y) x² + 2y² ≤ 1 how to deal with the inequality?
  38. Frigus

    What is the logic behind the mirror symmetry method of solving circuits?

    I recently encountered mirror symmetry method of solving circuits and by it solving circuits became very easy but problem I am facing with it is that I can't figure out logic behind it. For example if we try to simplify this circuit Then we say that if ##I## current flows from Point A to C then...
  39. jisbon

    Engineering Heun's Method for Second Order ODE (Eng Maths)

    Question: So I got around on doing this example, and I'm pretty sure I messed up somewhere, would appreciate if someone could point out what I did wrongly. 1) For any second ODE, I should let: ##y_{1}= y ## and ##y_{2}= y' ## Hence, ##y_{1}'= y' = y_{2} ## and ##y_{2}'= y'' = xy(x)+x^2-y(x) =...
  40. R

    I Derive Lorentz Transformation by Visualizing Space-Time Coordinates

    This approach is seeming intuitive to me as I can visualize what's going on at each step and there's not much complex math. But I'm not sure if I'm on the right track or if I'm making some mistakes. Here it is: ##A## has set up a space-time co-ordinate system with some arbitrary event along his...
  41. Kaguro

    Mixed method of solving differential equations

    I use the operator method here: (D^2 + D+3)y = 5cos(2x+3) ## y = \frac{1}{D^2+D+3} 5cos(2x+3) ## ## \Rightarrow y= \frac{5}{-(2)^2+D+3}cos(2x+3) ## ## \Rightarrow y= \frac{5}{-4+D+3}cos(2x+3) ## ## \Rightarrow y= \frac{5}{D-1}cos(2x+3) ## At this, if I revert back to write: (D-1)y = 5cos(2x+3)...
  42. agnimusayoti

    Finding the Fundamental Frequency of a Combination: Boas's Method

    This problem came from Problems, Section 3 Chapter 7 in ML Boas, Mathematical Methods in Physical Sciences. Boas suggested to make a computer plot. From my computer plot (I use online graphing calculator) and find that the period of the sum is 2. Instead of using computer, I want to find the...
  43. Leonardo Machado

    A Boundary conditions in the time evolution of Spectral Method in PDE

    Hi everyone! I am studying spectral methods to solve PDEs having in mind to solve a heat equation in 2D, but now i am struggling with the time evolution with boundary conditions even in 1D. For example, $$ u_t=k u_{xx}, $$ $$ u(t,-1)=\alpha, $$ $$ u(t,1)=\beta, $$ $$ u(0,x)=f(x), $$ $$...
  44. L

    Deterministic method for cost estimation

    This is for my Engineering master project. I am doing a feasibility study on a couple of different designs of small gas fuelled power stations for remote areas. A big part of it is the CAPEX costs. Most companies hold that kind of info very closely. Does anyone have any insights on this kind...
  45. Ackbach

    MHB Brokenness of Scientific Method: Up to Half of Papers May Be Wrong

    Excellent read on the brokenness of the scientific method: there are many, many issues, ranging from conflicts of interest, data falsification, lack of proper incentives, abysmal lack of statistical knowledge, etc. As many as HALF of scientific papers published today might simply be wrong! In...
  46. G

    Method of characteristics: Discontinuous source

    Hello all, this question really has me and some friends stomped so advice would be appreciated. Ok so, the relevant (dimensionless) continuity equation I have found to be $$\frac{\partial\rho}{\partial t} + (1-2\rho)\frac{\partial \rho}{\partial x} = \begin{cases} \beta, \hspace{3mm} x < 0 \\...
  47. E

    Create a method to measure a varying voltage from a power line

    I feel like i am spinning my wheels at the start here. so I figured that i would start with some type of wire loop that I could change its diameter. This would allow there to be a change in flux through the loop creating a current through the wire. i could then read the current through the...
  48. M

    I Alternating Direction Implicit method for solving 2D Heat diffusion

    I'm trying to compute a 2D Heat diffusion parabolic PDE: $$ \frac{\partial u}{\partial t} = \alpha \{ \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} \} $$ by the ADI method. I am actually trying to go over the example in this youtube video. The video is in another...
Back
Top