Common method of fitting the experimental data to the model is using the least squares method.
The goal is to find parameters such that sum of squares of differences between experimental and model values (objective function) are minimized.
Objective function is commonly differentiable with...
Hello everyone, I am a couple of months away of starting my PhD in Numerical Relativity and I am seeking recommendations for references to get a batter understanding on the mathematical foundations of GR and topics of Numerical Relativity.
So far I have had an undergraduate introductory course...
I am attempting this homework exercise part b).
I've modified my code but I get error overflow message. My goal is to modify my code so it returns kinetic and potential energy of Earth's orbit.
I made a new f(z,t) and modified the rows 99 and 100 with dz[2]=-G*M*m/r, and dz[3]=0.5*m*y**2 but...
I am attempting this homework exercise but my plot does not show the whole trajectory. I don't know if it is something wrong with my equations or if it is a plotting matter.
Cheers!This is my code:import matplotlib.pyplot as plt
import numpy as np
import scipy.integrate as spi
G =...
I'm interested in learning orbital mechanics but I haven't taken a class in numerical methods yet. Do I really need to take a whole class in numerical methods before learning orbital mechanics, or can I get by if I self-learn a smaller portion of the syllabus of a numerical methods class? If so...
Summary: How to calculate the equilibrium angle of a bar that is lifted on its two ends with ropes attached to fixed lifting points?
Hello and good day all,
First of all I would like to apologize in advance for my english, I am not a native speaker so some grammar errors may be left.
My...
Hi, I am solving heat equation with internal heat sources both numerically and analytically. My graphs are nearly identical but! analytical one have problem at the beginning and at the end for my domain. Many people have used the same technique to solve it analytically and they got good answers...
Background in teaching (mathematics and physics)
Signed up here as an alternative to physics.stackexchange.
Pursuing inspiration for complicated dynamical systems.
Actively working on cutting edge numerical methods and educational (free) software
Glad to answer questions in my field.
Are there any standart ways to solve such systems?
\[ \begin{cases} m(t, x) - f(t, x)= \int_{0}^{t} q(\tau,x) \, d\tau \\ u(t,x) = \int_{-\infty}^{+\infty} \frac{1}{2 \sqrt{\pi s t}} e^{-\frac{(x-\xi)^2}{4st}} f(t,x-\xi) \, d\xi \end{cases} \]
Unknown functions are \( f(t,x) \) and \( q(t,x)...
As neural networks are 'universal approximators' for nonlinear functions, in general how do they perform in comparison to traditional numerical methods for nonlinear PDEs? Just googling, I can find papers on applications to Navier Stokes and other problems, but I don't really have the...
Homework Statement
So this is a problem for my numerical methods class. We are doing integration and derivation. The part that I am stuck on is why does the midpoint method and trapezoidal method both have error of order ##h^2##, when the first one is one point integration method while the...
Homework Statement
When a rocket launches, it burns fuel at a constant rate of (kg/s) as it accelerates, maintaining a constant thrust of T. The weight of the rocket, including fuel is 1200 kg (including 900 kg of fuel). So, the mass of the rocket changes as it accelerates:
m(t) = 1200 - m_ft...
Hi there. I have to solve a system of coupled ordinary differential equations. I have some initial values, but in different points of the domain. The equations are all first order. Let's suppose the system looks like this:
##\displaystyle\frac{dy_1}{dz}=y_1+y_2+0.01##...
Homework Statement
Hi, can someone explain how they get this stability function.
Homework Equations
http://blob:http://imgur.com/840ee1fe-f09c-49ab-bdbb-7f953777f900
The Attempt at a Solution
I have attempted to do it two ways, and I'm not sure if I'm just having an awfully bad day at maths...
I'm writing a program to compute an ODE solution of the Kepler's problem based on Runge-Kutta 4th order method and today I've past the whole day trying to made it work, but I've failed, maybe you could help me to kill the problem ?
The solutions is cartesian.
int main(){
int n...
i have few more doubts about these two numerical methods type questions ...
An equation containing the derivatives of one or more dependent variables, with respect to one or more independent variables, is said to be a differential equation
a question usually starts like this ...
find the...
i have few doubts about differential equations and numerical methods ...
in a differential equation question ... you are given an instantaneous rate of change...
and you are supposed to find the function that gives , this instantaneous rate of change
is this same as ...
f(0)=1...
I am looking to numerically solve the (complex) Time Domain Ginzburg Landau Equation. I wish to write a python simulator to observe the nucleation of fluxons over a square 2D superconductor domain (eventually 3D, cubic domain).
I am using a fourth order Runge Kutta solver for this which I made...
Hi there. I want to evolve a system of non linear coupled ODEs
\frac{dx}{dt} = \frac{-k}{x^5(56-y^8)^{9/2}}(85+y^{5} + y^{6})
\frac{dy}{dt} = \frac{-k}{x^4(56-y^5)^{7/2}}(44+y^2)
Let's say I have the initial conditions. What numerical method someone could use to solve this? adaptive step...
Homework Statement
I don't even know if this is the correct forum for this question, but here we go. This exercise is from my numerical methods for engineers class, and it says the following:
The coefficient of saturation of oxygen dissolved in fresh water is given by the equation:
$$...
Hey all, I seek to find where the derivative of a nth order polynomial is at a 0, so far I have used secant method to find it, which works, but issue is is that that returns only one root, sliding the interval could work, but then itd always point to the edge of the interval, any help...
i was trying to work with few problems for my computer oriented numerical method ...which i had in college ...
i am not in college anymore ... but i failed that subject ... i am trying to improve this maths field as much as i possibly can , because its a difficult subject for me ...
let met...
I am studying numerical and programming course in this semester, I was asked to know the applications of this course (numerical methods like Bisection, Newton Raphson, Secant, Simpson, Euler and Lagrange) in geophysics and how can I exploit these methods in seismic or in geophysics in general...
Mod note: Removed the color formatting, and surrounded the code with [ code ] tags.
@whatisreality, please use a tag at the beginning of your code, and a tag at the end. Inserting colors by hand is distracting and makes your code difficult to read.
I have to write a piece of code to calculate...
Homework Statement
I'm trying to write a program to solve a system of 3 non-linear equations using the Newton-Raphson method. I'm stuck on trying to figure out what the formula for a system of 3 unknowns is. I can't remember the derivation at all and after endless hours of googling and looking...
So my university offers two programs focused on particle physics. One is simply masters in nuclear/particle physics, the other is masters in mathematical modelling with focus on particle physics.
I want to go into mathematical modelling and I'm choosing what I will focus on. I'm not really...
Hello everyone! I am currently playing with an old analog computer, which could solve time-dependent ODE/PDEs pretty fast, without time-stepping. But the problem with analog computer's solutions is that they are not very accurate. I am very curious that is there any numerical method/solver which...
I am doing a project on image processing and I need to solve the following set of equations:
nx+nz*( z(x+1,y)-z(x,y) )=0
ny+nz*( z(x+1,y)-z(x,y) )=0
and equations of the boundary (bottom and right side of the image):
nx+nz*( z(x,y)-z(x-1,y) )=0
ny+nz*( z(x,y)-z(x,y-1) )=0
nx,ny,nz is the...
Homework Statement
[/B]
use richardson extrapolation to estimate the first derivative y=ln(x), x=5 using steps of 2, 1, 0.5. Four decimal points. obtain true relative error for the last estimate and comment on its value.
Homework Equations
[/B]
deriv ln(x)=1/xThe Attempt at a Solution
I know...
Not sure whether to post this here or in QM: I trying to numerically solve the Schrödinger equation for the Woods-Saxon Potential and find the energy eigenvalues and eigenfucnctions but I am confused about how exactly the eigenvalues come about. I've solved some differential equations in the...
Hi,
I'm asking this because I ordered this book today, but there is a 4-day shipping minimum. I have to do a few problems from this book, and if anyone owns this, is it possible to tell me the problem statements?
Also, if I'm not allowed to ask for this, please let me know.
The problems I...
Hi - trying to write a Fortran95 program to solve a trivial 1st order DE (dy/dx=-xy), the idea being that once it works it can be used for different forms of f(x,y). I use Euler to get the starting point, then A-B's 2 step formula for the next 2 starting points. It is when I apply the A-B...
Homework Statement
A program finds the area under the Gaussian Distribution Curve between ±σ using Simpsons Rule.
Modify the program to investigate the effect of the number of strips.
Do this by using a DO loop in the main program for the
following sequence of number of strips (n); n-2, n-4...
Homework Statement
I have a differential equation that I need to solve numerically by writing a program.
x0, y0, x_dot0, y_dot0, α are all given
Hello, I have the following differential equation: http://puu.sh/d78KC/107bd6c71f.png
I want to rewrite it so I can solve it numerically by writing...
Hy
I want to know how to make linearization for some function,...what should by in Non-linear least squares problems.
In my book I have only this example how to do:
http://i.imgur.com/MUFiHkr.pngSomeone could me help how to do, some receipt of method what I need to do?
Non-linear least...
Hi,
Are there any numerical techniques I can use to solve differential equations with periodic boundary conditions? I know of several techniques for other kinds of boundary conditions (such as Runge-Kutta method, Euler method etc.), but I am interested in knowing how to numerially solve...
I had tried to solve but the problem is here initial guess is given as 1 and 1000 but both has positive value of function , so wat to do now how to determine x3 which is x1+x2, wat to take x1 and x2 in second iteration, just guide me how to solve
Thanks a lot for ur replies
Okay, I'm in a bit of a pickle here. Got the exam on thursday and (surprise) I am utterly clueless.
I cannot grasp a lot of concepts, but here's some I'd like to at least get an idea of:
Factorization method. I only scrapped that it is a special case of Gauss' Exclusion method, that you take a...
I am currently doing my bachelors in Mechanical engineering engineering and planning to pursue physics after completion. I have to choose an elective the coming semester. One of the electives offered is 'Numerical Methods for Engineers' and the modules covered include Error in numerical...
Homework Statement
Numerically determine the period of oscillations for a harmonic oscillator using the Euler-Richardson algorithm. The equation of motion of the harmonic oscillator is described by the following:
\frac{d^{2}}{dt^{2}} = - \omega^{2}_{0}x
The initial conditions are x(t=0)=1...
Can anyone tell me for which problems you should use these numerical methods:
- finite difference method
- finite element method
- boundary element method
- method of moments
For example I read that finite element method is often used for car crash simulations, and that it gives very...
I am doing a little research project into numerical methods of solving ODEs where I do 1 half of learning about the basics of numerical methods and then look at a particular method (Linear multistep) and then the second half is looking at a particular example, applying what I've learned and...
I'm looking for a good book on numerical methods. I know most of the basic algorithms but one that delves more into things like adaptive quadrature and that type of thing is what I'm looking for. Any texts people could recommend?
Hi all, first post :)
I have a system of z-propagated nonlinear PDEs that I solve numerically via a pseudo-spectral method which incorporates adaptive step size control using a Runge-Kutta-Fehlberg technique. This approach is fine over short propagation lengths but computation times don't...
This is actually a request, I don't know if these are the correct forums for me to post these kinds of things, but yeah. Alright. I intended to study and learn numerical methods with PDEs on my own.
And sadly the only thing I can comprehend is the Liebmann method. :cry: And I got so little...
So I'm taking an applied numerical methods course this year, and we are not putting any emphasis on Matlab. Well, we do use it on homeworks and assignments, but he does not teach us more than the very basics (for, while loops, if iterations). The weird thing is that all the math we learn in the...
Hi, I'm a new user of this forum and i wanted to know how i can use calculus and interpolation in my projects.
I'm a student in engineering and i usually do home made electronics and computer programming projects, i would like to include calculus to my projects and understand the practical side...