What is the best way to solve numerically the following equation using Comsol 5.3.
##\frac{\partial T}{\partial t}=\frac{\partial ^2T}{\partial x^2}+\text{St}\left[1+\left(\frac{\partial T}{\partial x}\right)_{x=0}\right]\frac{\partial T}{\partial x}##
##T(0,t)=1##
##T(\infty ,t)=0##...
Hello everyone,
I have an equation derived as the det of a matrix, which I have solved in Mathematica 11 with Findroot and verified with the respective PhD Thesis' data. However, I now try to get more accustomed to Matlab (R2017b) and hence I tried to reproduce the problem and find its solution...
There is a question that puzzle me when I apply numerical method to principal value integral. Let me descibe it. We make use of the fact that the integral ##\int_0^\infty \frac{dk}{k^2-k_0^2}## vanishes, namely,
$$
\int_0^\infty \frac{dk}{k^2-k_0^2} = 0 .
$$
We use this formula to express a...
Hi all,
I am currently reading through this paper: https://iopscience.iop.org/article/10.1088/1367-2630/10/4/045030
and would like to reproduce their results for N=5.
My roadblock is with (9), which models the classical motion of the system. Now symbolically finding the eigenstates of the matrix...
It is very amazing help8ng and encouraging forum. I am a research student of MS PHYSICS at COMSATS UNIVERSITY ISLAMABAD. I hope this firum will be much helpful to help me finding some tedious numerical solutions of a research paper.
from numpy import log as ln
z = 3
k = 2
x = 1 - ln(1 + z) / ln(1 + k)
y = 1/5
print("The x=", x)
Q = x**y
print(Q)
The result is
The x= -0.26185950714291484
c:\Users\-\Desktop\... RuntimeWarning: invalid value
encountered in double_scalars
Q =...
Homework Statement
I've constructed a 3D grid of n points in each direction (x, y, z; cube) and calculated the potential at each point.
For reference, the potential roughly looks like the harmonic oscillator: V≈r2+V0, referenced from the center of the cube.
I'm then constructing the Hamiltonian...
I'm a bit lost in all the numerous methods for solving differential equations and I would be very grateful if someone could point me to some direction.
I want to solve the following boundary conditioned differential equation:
$$a_1+a_2\nabla f(x,y)+a_3\nabla f(x,y)\cdot \nabla^2...
From cosmology,
##H^2 = \frac{ρ}{3M_p^2} = \frac{1}{3M_p^2}(½\dot φ^2 + ½m^2φ^2)##
Suppose ##V(φ) = ½m^2φ^2##
where
##ρ## = density
##M_p## = Planck mass
I want to graph ##H## vs. ##φ## but there is a ##\dot φ## and I know this is a differential equation, can somebody help me what to do here?
Hi, I am trying to numerically calculate the tunneling probability for a wave function |psi> as a function of x. I have a double well potential. The wave function is initially in the left well. I do not know what exactly I have to find to show tunneling: the probability of being on the left well...
I think I have returned all my math back to teachers without any refund.
y=f(x);
h=xb-xa, which is very small.
My Q is to calculate curve length rather than area numerically.
But let me use area as example to show you what i want.
to calculate area between xa to xb, we have 2...
For starters... What does "data reduction" mean? The book starts throwing around this term (which is also part of the book's title) without even defining it.
homework question:
Show by numerical calculation that, for the Gaussian probability distribution, the full-width at half maximum...
Imagine:
I want to compute numerically a POTENTIAL STEADY and INCOMPRESSIBLE flow over an airfoil. The set up of the problem is:
\nabla^2\phi=0
\nabla\phi \cdot \overline{n}\big)_{x=surface}=0 no normal velocity component on the airfoil surface.
\nabla \phi=\overline{U_\infty} as...