What I've done is using the TOV equations and I what I found at the end is:
##e^{[\frac{-8}{3}\pi G\rho]r^2+[\frac{16}{9}(G\pi\rho)^{2}]r^4}-\rho=P(r)##
so I am sure that this is not right, if someone can help me knowing it I really apricate it :)
Fitness function for window length of filter
On a sinusoidal signal with amplitude 1, and period P, an exponential moving average (EMA) (with alpha = 1/n), and a linear weighted moving average (LWMA) (with window length n) are calculated; when you subtract the EMA from the LWMA, it can be seen...
Hi,
I was working on the following problem:
Two classes ## C_1 ## and ## C_2 ## have equal priors. The likelihoods of ## x## belonging to each class are given by 2D normal distributions with different means, but the same covariance: p(x|C _1) = N(\mu_x, \Sigma) \text{and} p(x|C_2) =...
Is there a function that takes positive values only in the unit ball not including the boundary points defined by the set ##\{x^2+y^2+z^2<1\}##, and ##0## everywhere else?
I have an abstract class template, BinNode<E> and another class template, BSTNode<Key, E>, which is derived from BinNode<E>. Here is the relevant pieces of code from each template:
template <typename E> class BinNode {
public:
virtual BinNode<E>* left() const = 0;
virtual void...
I spent hours looking at this and cannot figure out where the error is. I'm wondering if there is an error before the boxed expression.
@Orodruin and @PeroK may I ask for your assistance?Consider a solution ##u:[0,\infty)\times \mathbb{R}^n\rightarrow \mathbb{R}## of the heat equation, ie...
(a) ##f(x)## is continuous only at ##x=3##:
1- If ##x\in\mathbb Q##, ##f(x)=9## at ##x=3##; around, there is ##\mathbb Q##
2- If ##x\in \mathbb R\setminus \mathbb Q##, this is the set of irrational numbers.
Intuitively, if ##x## was in ##\mathbb R##, ##x^2## and ##6(x-3)+9## would meet at...
Given f(x) = [sqrt{2x^2 - x + 10}]/(2x - 3), find the horizontal asymptote.
Top degree does not = bottom degree.
Top degree is not less than bottom degree.
If top degree > bottom degree, the horizontal asymptote DNE.
The problem for me is that 2x^2 lies within the radical. I can rewrite...
this seems to come up frequently in undergrad math classes so it is worth asking, what is the simplest and most efficient way to show ##f(x)\in C^2(\mathbb{R})##
given $$f(x)=\begin{cases} (x+1)^4 & x<-\frac{1}{2} \\ 2x^4-\frac{3}{2}x^2+\frac{5}{16} & -\frac{1}{2}\leq x \end{cases}$$
And what...
Hey there!
I have two questions regarding the Double Slit Experiment and the Wave Function Collapse.
How effective does a measuring device have to be to cause a collapse? As in, say that every second the device has a 50% chance to turn off or on for one second, does the collapse still occur...
I can solve (i), I got x = -1.6
For (ii), I did like this:
$$(f^{-1} o ~g)(x)<1$$
$$g(x)<f(1)$$
But it is wrong, the correct one should be ##g(x) > f(1)##. Why?
Thanks
Non-homegenous first order ODE so start with an integrating factor ##\mu##
$$\mu=\textrm{exp}\left(\int a dt\right)=e^t.$$
Then rewrite the original equation as
$$\frac{d}{dt}\mu y = \mu g(t).$$
Using definite integrals and splitting the integration across the two cases,
$$\begin{align}...
I simplified the given function into a single minterm and a single maxterm
F(A,B,C,D) = ABC + (A + B + C) + AB
F(A,B,C,D) = AB(C+1) + (A+B+C)
F(A,B,C,D) = AB(1) + (A+B+C)
F(A,B,C,D) = AB + (A+B+C)
The only terms that involve a logical AND operation are AB as (A+B+C) is a maxterm of the...
Good afternoon!
I am writing with such a problem, I hope to find someone who could help me. I'm almost desperate! So, there is such a thing as the Braess paradox, this is a classic paradox for roads and power grids, and there is also such an article...
I am having some trouble find the domain with this function: ##f(x)=\frac{1}{\sqrt{x^2-4x\cos(\theta)+4}}## and ##\theta\in[0,\pi]##.I know that the denominator needs to be greater than 0. So ##\sqrt{x^2-4x\cos(\theta)+4}>0##. I squared both side of the inequality, ##x^2-4x\cos(\theta)+4>0##...
Dear Everyone,
I am having some trouble find the domain with this function: $f(x)=\frac{1}{\sqrt{x^2-2x\cos(\theta)+4}}$ and $\theta\in[0,\pi]$.
My attempt:
I know that the denominator needs to be greater than 0. So $\sqrt{x^2-2x\cos(\theta)+2}>0$. I squared both side of the inequality...
I'm solving this exercise, first I did a force diagram for the transformer nucleus and I got this:
∑Fx = ma
P(t) - Fk - Fb = ma
P(t) = mx''+ bx' + kx
So I got that dynamic equation, my question is, after transform that dynamic equation to Laplace Domain how can I relate it with the Output...
My questions:
1) What about if t = 2? Is there a certain meaning to ##G_X (2)## ?
2) PGF for uniform distribution is ##G_X (t)=\frac{t(1-t^n)}{n(1-t)}## and for t = 1 ##G_X (1)## is undefined so ##G_X (1) =1## is not true for all cases?
Thanks
Verify the given function has a zero in the indicated interval. Then use the Intermediate Value Theorem to approximate the zero correct to three decimal places by repeatedly subdividing the interval containing the zero into 10 subintervals.
f (x) = x3 − 4x + 2; interval: (1, 2)
I don't...
Hi, PF, I think I've found a typo in my textbook. It says:
"In the case of a multiplication by a constant, we've got
$$(Cf)'(x)=\displaystyle\lim_{h \to{0}}{\dfrac{Cf(x+h)-Cf(x)}{h}}=\displaystyle\lim_{h \to{0}}{\dfrac{f(x+h)-f(x)}{h}}=Cf'(x)$$"
My opinion: it should be...
The function h is defined as h : x x 2 – 8x – 9 where x ≥4
(a) h(x) can be written in the form (x+a) 2 +b, find the value of ‘a’ and ‘b’
(b) Express the inverse function h –1 in the form h –1 : x ...
(c) Find the range of function ‘h’.
In the context of control systems, if I have a vibratory second-order system, (ω_n)^2 / [s^2 + 2ζ(ω_n) + (ω_n)^2], I know how to get the natural frequency ω_n. So, if I have something like 2 / (3s^2+5s+2), I know how to get the natural frequency ω_n.
However, if I instead have something like...
That's my attempt:
$$\int (\frac{1}{cos^2x\cdot tan^3x})dx = \int (\frac{1}{cos^2x}\cdot tan^{-3}x) dx$$
Now, being ##\frac{1}{cos^2x}## the derivative of ##tanx##, the integral gets:
$$-\frac{1}{2tan^2x}+c$$
But there is something wrong... what?
Step 1: I first started by reducing the inside of the block diagram of picture "bd" (the portion with G1 and the negative feedback G2)
I obtained G1/[1 + G1G2]
I'll call this term "F"
Step 2: Then I'm left with two terms feeding into a summing point:
F - G3
I'll call this term "K"
I can...
Very early in the development of thermodynamics, it was realized that the 2nd Law of Thermodynamics is not a law fundamental to the fabric of our cosmos, but only becomes true in the limit of the number of particles. It was none other than Boltzmann himself who realized and articulated this...
Ok, first I tried to show that ##A = \left \{a^{r}|r\in\mathbb{Q},r<x \right \}## does not have a maximum value.
Assume ##\left\{ a^{r}\right\}## has a maximum, ##a^{r_m}##. By this hypothesis, ##r_{m}<x## and ##r_{m}>r\forall r\neq r_{m}\in\mathbb{Q}##. Consider now that ## q\in\mathbb{Q}|q>0##...
The book is asking me to write my own unique_ptr template (after just covering a bit about templates). I called my template single_ptr, and I gave it two template parameters, T and D. T is supposed to be the type that the raw pointer points to. D is supposed to represent a function type so that...
Hi guys,
I've attempted to integrate this function by parts, which seemed to be the most appropriate method... but apparently, I'm getting something wrong since the result doesn't match the right one.
Everything looks good to me, but there must be something silly missing :)
My attempt:
I need the Ricci scalar for the FRW metric with a general lapse function ##N##:
$$ds^2=-N^2(t) dt^2+a^2(t)\Big[\frac{dr^2}{1-kr^2}+r^2(d\theta^2+\sin^2\theta\ d\phi^2)\Big]$$
Could someone put this into Mathematica as I don't have it?
Is it possible to do the integration? That is the full question
I don't know where to start, try to use ##u=\cos x## and also ##\cos^2 (x) = \frac{1}{2} + \frac{1}{2} \cos (2x)## but failed.
Thanks
This is an issue I've been stuck on for about two weeks. No matter how many times I take this derivative, I keep getting the same answer. However, this answer is inevitably wrong. Please help me to understand why it incorrect.
To start, I will define an input matrix ##X##, where ##n## is the...
(a) Let the center of the concentric spheres be the origin at ##r=0##, where r is the radius defined in spherical coordinates. The potential is given by the piece-wise function
$$V(r)=\infty, r<a$$
$$V(r)=0, a<r<R$$
$$V(r)=\infty, r<a$$
(b) we solve the Schrodinger equation and obtain...
The proof is given in two steps
1. Prove the lemma.
2. Use lemma to prove result.
%%1-Lemma%%
Assume ##a\neq0##. Define ##g:(-(|a|+1),|a|+1)\longrightarrow \mathbb{R}## by ##g(x)=\sqrt[3]{x^2}+\sqrt[3]{xa}+\sqrt[3]{a^2}##. Then ##g## is bounded from below by some positive number ##m##...
I’m coming at this question with a physics application in mind so apologies if my language is a bit sloppy in places but I think the answer to my question is grounded in math so I’ll post it here.
Say I have a function F(z) defined in the complex z plane which has branch points at z=0 and z =...
NOTE: By "ideal", I mean incompressible & inviscid (the forum doesn't allow a long enough title).
I was looking at this Wikipedia article, and the graph of this function struck me as looking exactly like ideal fluid flow around an object.
https://en.wikipedia.org/wiki/Lambert_W_function...
My attempt at this:
From the general result
$$\int \frac{d^Dl}{(2\pi)^D} \frac{1}{(l^2+m^2)^n} = \frac{im^{D-2n}}{(4\pi)^{D/2}} \frac{\Gamma(n-D/2)}{\Gamma(n)},$$
we get by setting ##D=4##, ##n=1##, ##m^2=-\sigma^2##
$$-\frac{\lambda^4}{M^4}U_S \int\frac{d^4k}{(2\pi)^4} \frac{1}{k^2-\sigma^2} =...
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...
This question arose while studying Cosmology (section 38.2 in Lecture Notes in GR) but it is purely mathematical, that is why I ask it here.
I do not see why the equation
$$H^2 = H_0^2 \left[\left( \frac{a_0}{a}\right)^3 (\Omega_M)_0 + (\Omega_{\Lambda})_0 \right] \tag{1}$$
Has the following...
Hi
I want to see whether there is a way to make this program work without much complication. I read from Ivor book that you can work with two different type of variables for example mixing int x = 1 and double y = 2.5 and use template to swap them using declaration <double> in the program as...
I have a integral with unknown h. My integral looks like this
where C, a, b are constants F(x) and G(x) are two functions. So the only unknows in the integral is h. How can I solve it ? I guess I need to use scipy but I don't know how to implement or use which functions.
Thanks
For the sake of this question, I am primarily concerned with the position wave function. So, from my understanding, the wave function seems to 'collapse' to a few states apon measurement. We know this because, if the same particle is measured again shortly after this, it will generally remain in...
Attached is the problem and my work through the problem. I got the problem correct, but my teacher said this could be done quicker on a calculator. Any idea how it could be done quicker.
This is from Evans page 37. I seem to be missing a basic but perhaps subtle point.
Definition. Green's function for the half-space ##\mathbb{R}^n_+,## is
\begin{gather*}
G(x,y) = \Phi(y-x) - \Phi(y-\tilde{x}) \qquad x,y \in \mathbb{R}^n_+, \quad x \neq y.
\end{gather*}
What's the proper way to...
I am studying the 'toy' Lagrangian (Quantum Field Theory In a Nutshell by A.Zee).
$$\mathcal{L} = - \frac{1}{4} F_{\mu \nu}F^{\mu \nu} + \frac{m^2}{2}A_{\mu}A^{\mu}$$
Which assumes a massive photon (which is of course not what it is experimentally observed; photons are massless).
The...
Hello,
I’m trying to better my understanding of how the total emissivity changes with temperature for ceramic materials. Currently it is my understanding that non-metals typically have a high emissivity. A sanded surface will result in a higher emissivity, and that spectral emissivity varies...