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.
Hi!
I have a code that solve the poisson equation for FEM in temperature problems.
I tested the code for temperature problems and it works!
Now i have to solve an Electrostatic problem.
There is the mesh of my problem (img 01).
At the left side of the mesh we have V=0 (potencial).
There is a...
Use Euler’s Method with a step size of h=0.1h=0.1
to find approximate values of the solution at tt = 0.1, 0.2, 0.3, 0.4, and 0.5.
Compare them to the exact values of the solution at these points.
Given IVP
$$y'+2y=2-{{\bf{e}}^{- 4t}}\quad yt(0)=1$$
ok from a previous post we found that the...
Homework Statement
i have been trying to learn bessel function for some time now but to not much help
firstly, i don't even understand why frobenius method works why does adding a factor of x^r help to fix the singularity problem. i saw answers on google like as not all function can be...
$\tiny{2.7.2}$
1000
(a) Find approximate values of the solution of the given initial value problem\\
at $t = 0.1, 0.2, 0.3$, and $0.4$ using the Euler method with $h = 0.1$.(b) Repeat part (a) with h = 0.05. Compare the results with those found in (a).(c) Repeat part (a) with h = 0.025. Compare...
I saw this video for testing whether one has graphene or graphite and was wondering about the authenticity of the method. By mixing 50%h2o and 50%gasoline the graphene should separate/settle in between the two within a second after shaking. Here are some pictures of my own experiment before...
Homework Statement
Problem:
a continuous beam ABC simply presses, loaded with a distributed load q, the length of the beam is 2L.
EI=constant
find the reactions in the beam ,we use Castigiliano method.
Homework Equations
- U=(1/2EI)∫M^2 dx (U: Energy)
- dU/dP=d (d: displacement)
The...
Hello everyone, this is my first post here so please excuse me if its in the wrong area.
I am looking for the tabular approach to solve a complex gear train based off the spur gear differential design. Attached is a photo of the differential.
The requirements of the necessary differential...
Hi!
Am new to this forum, but I have looked around here for some time now, since am studying a course of logic in the context of computer science. I have a very important exam in a few days, and while I thought I got it, I got shocked when I was looking on previous graded exams to see what I...
Hi. I am practising for my test and since I don't have the correct answers, I don't know if what I'm doing is right.
I tried to solve this problem, can you check it and correct if it's wrong?
Here's a clearer picture of the circuit.
I suspect Uab isn't right, but am not sure. Thanks...
In ##c=1## units, from my SR courses I was told for example, that the Minkowski metric ## ds^2 = -dt^2 + dx^2 + dy^2 + dz^2 ## can be written in matrix form as the below..
\eta =
\begin{pmatrix}
-1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1
\end{pmatrix}
And it was just...
Homework Statement
I need to solve the DE
y’ = x^2y
using the power series method
Homework Equations
y = sum(0->inf)Cnx^n
y’ = sum(1->inf)nCnx^(n-1)
The Attempt at a Solution
I plug in the previous two equations into the DE. What is the general procedure for these problems after that...
Homework Statement
Hello,
using Simpson´s method, one can calculate the number of intervals needed to achieve a given accuracy, through the error formula. Is there any other way to know that the required accuracy is achieved other than computing the integral and comparing it to the result from...
Homework Statement
see attached, question 8a and b are what I'm attempting. I've also attached the VERY brief course notes that I'm required to work with.
I know Tc= 8 seconds from the graph (0.13minutes)
Gain set to 4. is PB therefore 100/4=25%?
I'm struggling to calculate the ratio of...
1. y' + y = x y2/32. The problem states we need to solve this ODE by using the method of integrating factors. Every example I found on the internet involving this method was of the form:
y' + Py = Q
Where P and Q are functions of x only. In the problem I was given however, Q is a function of...
Upon entering my first physics class, I've noticed that taking notes is radically different than in any other class. It seems that during lecture one has two options.
Option 1: Don't take very many notes at all, and instead focus on the lecture.
Option 2: Take good notes, and miss what the...
Homework Statement
Homework Equations
Finite difference method
The Attempt at a Solution
I have tried two different approaches, but still i am wrong in the question. Can anyone guide me how to attempt this question?
Thank you
Homework Statement
The Attempt at a Solution
I have deliberately made several obvious steps, because I keep ending up here. However I have no idea what to do from here. I thought about the fact, that differential equations have the solution ##x = x_{HOM} + x_{Inhom}##, but the ##x_{HOM}##...
How does the parallelogram method work to solve one of two forces with different angles? Or better said, how do you derive the method so that I can get a better understanding of it ?
Homework Statement
The z = 0 plane is a grounded conducting surface. A point charge q is at (0,0,a), and charge 4q at (0,-2a,a).
Calculate the potential in the region z > 0.
Homework Equations
V=∑kq/rThe Attempt at a Solution
[/B]
Use the method of images.
V1 = kq/r+ + kq/r-
V1=kq(1/sqrt(x^2...
Homework Statement
The following figure represent the traversal cut of a system with two cylindrical equal conductors of radius r0 length l at a distance d from one another and at the same distance h of a plane conductor (conductor zero). The dielectric that surrounds the conductors is the air...
<Moderator's note: Moved from a technical forum and thus no template.>
Problem:
One dimensional quartic oscillator, V(x) = cx^4 (c is a constant)
Use the trial function e^(-aplha(x^2)/2) to determine the value of the appropriate variational integral W.
I've attached a picture of my work.
I...
Homework Statement
a = [1 1;4 1]
Homework Equations
R = M^-1 * a * M
X = M * e^(R*t) * M^-1 * x
M is matrix of eigenvectors.
The Attempt at a Solution
lambda = 3, -1
initial conditions:
x = [1 1]' at t = .1
eigenvectors:
k1 = [1 2]'
k2 = [1 -2]'
M = [1 1;2 -2]
M^-1 = [.5 .25...
What I have done:
I changed all fractions to common denom and that gave me
5y-5x=1 (1) *I numbered the fractions
5y+2x=5 (2)
Then: 5y=5-2x
Substitute into equation 1
(5-2x)-5x=1
5-7x=1
x=4/7
Thing is my answer says I should be getting x=0
Any hints?
I mean by the best the one that use the least energy to produce the grater force capable of carrying weights .
Say you have a pulley attached to a ceiling with height of 3 meters, around the pulley is a string that attached to a 30 kg weight and on the other side of the string you want to use...
do you eliminate an independent current/voltage source one at a time or can you do all of them at once.
Let us say you have 5 independent voltage sources and 5 independent current sources. Do you short circuit 5 of those voltage sources and leave 5 independent current sources or do you have to...
When using the Mesh Current Method and you encounter a loop with a current source that is going opposite to the mesh current do you write it down as a negative current source?
Homework Statement
i) Determine the slope of the beam 1m from the wall.
ii) Calculate the deflection at the free end of the beam.
Homework Equations
Macauly's method of deflection: M = -RX + W[X-a]
Integrate once for slope
Integrate twice for deflection
The Attempt at a Solution
[/B]
It...
In the four-observation method of Gauss for orbit determination, the right ascension and declination of an asteroid is observed at specified times, and the heliocentric position of Earth is obtained from tables (or JPL Horizons) for those same times.
I can follow the procedure to the point...
Homework Statement
For which values of b will the quadratic function ƒ(x) = x2-2bx+7 have a minimum value of 6?
Homework Equations
y = ax2+bx+c
y = a(x-h)2+k
b(first one) = -2ah(second one)
c(first one) = ah2+k(second one)
The Attempt at a Solution...
I have been going through problems in my textbook and have a question.
The chapter is on gravitation and orbital mechanics. When answering the problems I seem to head towards different methods than what the book prescribes. My answers, primarily using known orbital equations, are close, but not...
I am trying to add 'pip' in Python/Scripts to path in Win10 but the method available to do this seems to have changed recently. I used to just double click on 'path' in 'system variables' and paste path to pip (or whatever) at the end of a string of similar paths separated by a semicolon. But...
I'm trying to understand the tight binding method but I'm struggling with a lot of the mathematical formalism. A lot of the mathematical formalism I read jumps into explaining it a few too many steps ahead of where my understanding is.
I understand it's an approach to calculating the band...
I am trying to write a program that calculates the root of chi-square. I am not getting the correct answer and I honestly am at my wits end trying to figure it out. I know my simp_p() method is returning the correct value, but for some reason my root_chisq() method is not giving me the correct...
Could someone please provide guidance on how to begin this problem? I've attached the preface to the assignment question.Show that the general solution of the differential equation
y″(x)=−y(x)
is
y(x)=Acos(x)+Bsin(x)
where A and B are arbitrary constants. Hint: You'll need the Taylor series...
Hello, dear scientists and forum users.
I have recently finished programming the restricted closed-shell and unrestricted Hartree-Fock matrix equations. They seem to work fine for small diatomic molecules. However, I cannot understand the restricted open-shell theory that was firstly published...
Hello, dear Quantum Chemists or Physicists.
I have been extensively researching the restricted closed-shell Hartree-Fock method, and wrote a code that is working for diatomic molecules, like H2 or He2++. I, however, have a few unresolved questions that do not allow me to proceed further in...
Hi,
This is a NEW method for solving differential equations - Case Studies. Please go to this website to see how:
http://www.sysins.com
Thanks.
Yousif Sammour.
Just got back from a conference where one of the invited speakers presented his work on using the Immersed Boundary method with Adaptive Mesh (to model cardiovascular flow):
https://cims.nyu.edu/~griffith/
This summer, I have an undergrad modeling pulsatile flow in an elastic tube using the...
Hello,
I was given following task:
A food processing company has to make a decision whether or not to expand its production facilities. A feasibility study showed the following estimates:
Initial cost outlay €800,000
Further outlay in 4 years €600,000
Residual value after 10 years €200,000...
Hey everyone,
I’m trying to simulate a 1D Shallow Water wave in FORTRAN using the Lax Wendroff Method. The case is fairly simple. I have a wave generator on one end of a water pool and a wall boundary on another. The waves start traveling towards the wall and are ‘reflected off’ the wall. The...
TIL learned about a new (to me) method of mutagenesis:
(I was going to do a TIL but it seemed too Biology-y, so its like TIL, Biology version!)
Someone made a piece of protein called Mini Singlet Oxygen Generator (miniSOG).
It makes reactive oxygen species (ROS) upon blue-light illumination...
Hey! :o
I am trying to understand the multiple grid method.
The idea is to use at each step different grids to solve a linear system of differential equations, so that we get the best approximation as possible.
It holds that the finer the discretization, the more accurate the solution ist...
Hi, I really need to have sources related to high order operator split method for nonlinear pdf ode equations. Could you provide me with sources about that books files videos links...??
I need to calculate the energy of the ground state of a helium athom with the variational method using the wave function:
$$\psi_{Z_e}(r_1,r_2)=u_{1s,Z_e}(r1)u_{1s, Z_e}(r2)=\frac{1}{\pi}\biggr(\frac{Z_e}{a_0}\biggr)^3e^{-\frac{Z_e(r_1+r_2)}{a_0}}$$
with ##Z_e## the effective charge considered...
Homework Statement
[/B]
I was reviewing this stuff and although I excelled at it once, I seem to forget some of it.
For example, please consider this:
Homework Equations
R_C=\frac {R_1R_2} {R_1+R_2} + R_3
Here's the correct formula for its error:
\Delta R_C=\frac {R_1R_2} {R_1+R_2} \left[...
Hey everyone.
I've attached a code I have written in FORTRAN implementing the SOR Method for a 2 D Laplace Equation.
Subroutines have been created, grid has been created and initial and BC's applied appropriately.
While computing the error of each iteration, I am unable to achieve the desired...
I have seen two approaches to the method of integration by substitution (in two different books). On searching the internet i came to know that Approach I is known as the method of integration by direct substitution whereas Approach II is known as the method of integration by indirect...