Categories
Mastering Development

how to make it popup like other websites subscription form? [closed]

how to make it popup like other website use it for subscribe us form can anyone help me.can we do it by modal if yes then tell me how? i have tried to implement on my website but its only showing above my carousel and doesn’t pop up why?? I have also seen that the […]

Categories
Mastering Development

Increase the resolution between certain values of log x axis in ggplot using R?

Using ggplot in R, I want to increase the distance between the values around the value 1 on the x axis, ie between 0.8 and 1.2. set.seed(123) library(ggplot2) somedatasetx <- append(round(runif(100,0.2,10),2),round(runif(100,0.8,1.2),2)) somedatasety <- round(runif(200,0.2,10),2) ggplot(data=NULL, aes(x=somedatasetx, y=somedatasety)) + geom_point(color=”red”) + scale_x_log10( breaks=c(0.2,1,10), limits=c(0.2,11) ) I have a concentration of values around those limits. Simply put, […]

Categories
Ask Mathematics

Proving $\pi x(1-x)\le \sin \pi x \le 4x(1-x)$ for $x \in [0,1]$

The LHS of the following inequality $$\pi x(1-x)\le \sin \pi x \le 4x(1-x), ~~ x \in [0,1]~~~~(1)$$ can be proved by taking $$f(x)=\sin \pi x-\pi x(1-x) \implies f'(x)=\pi(\cos \pi x-1+2x), f”(x)=-\pi^2 \sin \pi x+2$$ Next, $$f'(x)=0 \implies \cos \pi x=1-2x$$ has exactly three real roots: $x=0, 1/2, 1$, it can be checked graphically that $y=\cos […]

Categories
Ask Mathematics

Find a reduction for $(H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9))$.

This exercise is from a Complex Analysis course, more explicitly inside the “Laplce Transform” chapter: Find a reduction for $$(H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9)),$$ where $H(t)$ is the Heaviside function: $$H(t-a)=\begin{cases}1,&t>a,\\0,&t<a,\end{cases}$$ and $\delta(t)$ is the Dirac function: $$\delta(t)=\lim_{\tau\to0}F_{\delta}(t),\quad F_{\delta}(t)=\begin{cases}1/\tau,&0\leq t<\tau\\0,&t>\tau.\end{cases}$$ I plotted the functions: $H(t+3)-H(t-5)$: $\delta(t+2)+\delta(t-3)+\delta(t-9)$: Finally, the answer would be $(H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9))$: As an expression: $$ (H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9))= \begin{cases} 0,&x<-2,\\ […]

Categories
Ask Mathematics

Find a reduction for $(H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9))$.

This exercise is from a Complex Analysis course, more explicitly inside the “Laplce Transform” chapter: Find a reduction for $$(H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9)),$$ where $H(t)$ is the Heaviside function: $$H(t-a)=\begin{cases}1,&t>a,\\0,&t<a,\end{cases}$$ and $\delta(t)$ is the Dirac function: $$\delta(t)=\lim_{\tau\to0}F_{\delta}(t),\quad F_{\delta}(t)=\begin{cases}1/\tau,&0\leq t<\tau\\0,&t>\tau.\end{cases}$$ I plotted the functions: $H(t+3)-H(t-5)$: $\delta(t+2)+\delta(t-3)+\delta(t-9)$: Finally, the answer would be $(H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9))$: As an expression: $$ (H(t+3)-H(t-5))\cdot(\delta(t+2)+\delta(t-3)+\delta(t-9))= \begin{cases} 0,&x<-2,\\ […]

Categories
Ask Mathematics

Using subsets of R, give two examples of each of the above if-then statements, one satisfying, and one not satisfying

Let $X$ be a linearly ordered set with order <. Suppose $A \subset X$ is a nonempty set. Suppose A has a least upper bound $u_0$. If $u_0$ is in A, then it is the greatest element of A, and Suppose A has a greatest lower bound $l_0$. If $l_0$ is in A, then it […]

Categories
User Help

USB Hubs: Topology: proper port numbering?

I have a topology-sensitive application and I am looking for hubs that give larger port numbers. Example: I have a 13 port Anker hub that reports the ports as 1-1,1-2,1-3,1-1,1-2,1-3,1-1,1-2,1-3,1-1,1-2, which confused my application because tit re-uses ports 1,2,3, and doesn’t increment the bus (the first number) (This is in Linux) So it effectively makes […]

Categories
Mastering Development System & Network

Unindentified layout for RRAS logs

I stumbled upon an unknown layout, without headers, which neither NPS Log Interpreter nor IAS Log Viewer can seem to understand. My Google-fu is spent and I’ve found zero documentation about it. Lines go like this: server, “RAS”, date, time, packet type?, username (sometimes has domain), username (always has domain), ip, ip, , ip, server, […]

Categories
Ask Mathematics

Eigenvalues of a certain block matrix

I need a way for computing the eigenvalues of the block matrix \begin{equation}R=\begin{bmatrix} 0 & B \\ B^T & D \\ \end{bmatrix}\end{equation} where: $B$ is a $1 \times n$ matrix. $D$ is a an $n \times n$ matrix $0$ is the null $1 \times 1$ matrix By using https://en.wikipedia.org/wiki/Determinant#Block_matrices, it is known that $$char(R) = […]

Categories
Ask Mathematics

Finding payoff matrix for guessing game

I’m trying to solve this game theory problem: Player A and B, each take out one or two matches and guess how many matches the opponent has taken. If one of the players guesses correctly, then the loser has to pay him as many rupees as the sum of the number held by both players. […]