text stringlengths 399 42.9k | meta dict |
|---|---|
Q:
как построить график двух функций по таблице
Есть некоторая таблица экспериментальных данных в формате csv. Я её импортирую следующим образом:
>>> import pandas as pd
>>> df = pd.read_csv('data.csv', sep=',')
>>> df
'Set' 'Rx' 'Traffic' 'Modulation'
0 -67.0 -64.35 15.00 '64-QAM 2/3'... | {
"pile_set_name": "StackExchange"
} |
Q:
The characters except English are not readable on DirectAdmin editor
When I try to edit my idex.html I see strange characters in my atributs and tags
<title>საატესტატო-გამოსაშვები გ&#... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I save terminal output to a file?
How do I save the output of a command to a file?
Is there a way without using any software? I would like to know how.
A:
To write the output of a command to a file, there are basically 10 commonly used ways.
Overview:
Please note that the n.e. in the syntax column mean... | {
"pile_set_name": "StackExchange"
} |
Q:
Why are there so many errors (missing \right or extra \right)?
I've counted and checked but can't seem to find the problem.
\begin{flalign*}
u_0(x,\ t)\ =&\ x\left[t\ +\ \frac{t^3}{3}\right],\\
u_1(x,\ t)\ =&\ x\left[t\ -\ \frac{2t^5}{15}\ -\ \frac{t^7}{63}\ -\ \frac{t^{2-\alpha}}{\Gamma(3\ -\ \alpha)}\ -\ \frac{2... | {
"pile_set_name": "StackExchange"
} |
Q:
Grouping types of bugs by date and priority
I currently have a table Bugs that looks like this:
|ID |Priority |Created |Updated |Status |Category
|X123 |Major |01/01 |01/03 |Open |A
|X145 |Normal |01/01 |01/02 |Closed |B
|X678 |Minor |01/03 ... | {
"pile_set_name": "StackExchange"
} |
Q:
Correct regex for matching the string with max number value
I am trying to figure out a way to match all the strings using regular expressions like below
Input String:
https://subdomain.domain.com/e8cf09b4763e03d208dfd21121baacd4/domain_p6amv8xJVr1qto1_500.txt
https://subdomain.domain.com/e8cf09b4763e03d20... | {
"pile_set_name": "StackExchange"
} |
Q:
Combining java objects in an arraylist
So I have a temp arraylist of LeaderBoard objects(seen below) and I want to combine all of the gamertags with the same game name together into a new arraylist. How would I go about doing this?
LeaderBoard [win=0, lose=1, gameName=QUFI, gamerTag=Ithroeann, platform=IO],
Leade... | {
"pile_set_name": "StackExchange"
} |
Q:
Bilinear transform and higher order differential equation
The bilinear transform as I understand corresponds to the trapezoid rule. However, I have not been able to find whether the correspondence holds for higher order ODEs, or what kind of estimate the bilinear transform corresponds to in that case. As an exampl... | {
"pile_set_name": "StackExchange"
} |
Q:
$X$ a normal r.v , calculating $\mathbb{E}(e^{\lambda X})$
$X\sim { \mathcal{N}( \mu , \sigma^2) } $
a normal r.v, $Y = \frac{X-\mu}{\sigma} $
The solution says $\mathbb{E}(e^{\lambda X})= \mathbb{E}(e^{\sigma \lambda Y}) e^{\lambda \mu} = e^{\sigma^2 \lambda^2 + \lambda \mu} $
But what I find is :
$\mathbb{E}(e... | {
"pile_set_name": "StackExchange"
} |
Q:
Python Add in new rows with new data based on Partial Match
Table 1
|Location|Type|Supplier| ID |Serial|
| MAB |Ant | A | A123 |456/56|
| MEB |Ant | B | A123 |456/56|
Table 2
|Location |Type|Supplier| ID |Serial|#####|
| MAB+MEB |Ant | A/B | A123 |456/56|123... | {
"pile_set_name": "StackExchange"
} |
Q:
Trigger Locking Table calculating Running Total
I have the following trigger on a table in SQL Server 2012:
CREATE TRIGGER [dbo].[UpdateTotals]
ON [dbo].[DEC10assessmentData]
AFTER UPDATE
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
... | {
"pile_set_name": "StackExchange"
} |
Q:
Compton scattering - Does this example have a solution if i get negative number under the square of quadratic eq.?
1. The problem statement
Incomming photon gives half of its energy to an electron during
scatering. After scattering, photon is headed $\phi=120^\circ$
according to the original direction. What i... | {
"pile_set_name": "StackExchange"
} |
Q:
Let $\small\mathbf H=\begin{pmatrix}a&b\\0&a\end{pmatrix}$ Show that $ e^{\mathbf Ht}=e^{at}\small\begin{pmatrix}1&bt\\0&1\end{pmatrix}$
Let $\mathbf H=\begin{pmatrix}a&b\\0&a\end{pmatrix}$ Show that
$e^{\mathbf Ht}=e^{at}\begin{pmatrix}1&bt\\0&1\end{pmatrix}$
I have $$\begin{aligned} &Ht=\begin{pmatrix}at&bt\\... | {
"pile_set_name": "StackExchange"
} |
Q:
Derivative of a function of matrix
I am trying to derive the gradient of the function $f(X) = AXZ + XZX^TXZ$ where $A,X,Z \in R^{n \times n}$ with respect to $X$ matrix. I read a post Matrix-by-matrix derivative formula about matrix derivate, but I am not able to follow it. In my case $\frac{\partial f(X)}{\partia... | {
"pile_set_name": "StackExchange"
} |
Q:
How to place braces in multiple equations
I have the following expression:
\begin{equation}
\begin{aligned}
%C1
\sum_{i = 1}^{m}{y^{C_1}_i} &= m\beta_0^{C_1} + \beta_1^{C_1}\sum_{i = 1}^{m}{x_{i1}^{C_1}} + \cdots + \beta_q^{C_1}\sum_{i = 1}^{m}{x_{iq}^{C_1}}\\
\sum_{i = 1}^{m}{y^{C_1}_ix_{i1}^{C_1}} &= \beta_0^{C_... | {
"pile_set_name": "StackExchange"
} |
Q:
Calculate $\sum_{k=1}^{n} \frac{1}{1+k^2}$
Calculate the sum: $$\sum_{k=1}^{n} \frac{1}{1+k^2}$$
I'm supposed to calculate it without using functions like Gamma, Zeta, Digamma, etc...
What I tried:
$$\sum_{k=1}^{n} \frac{1}{1+k^2}=\sum_{k=1}^{n} \frac{1}{(k+i)(k-i)}=\frac{1}{2i}\sum_{k=1}^{n}\bigg( \frac{1}{k-i}... | {
"pile_set_name": "StackExchange"
} |
Q:
Transform a 9x9 Matrix so that each row is a 3x3 Block
I have the following example data:
[0] = {01,02,03, 04,05,06, 07,08,09}
[1] = {11,12,13, 14,15,16, 17,18,19}
[2] = {21,22,23, 24,25,26, 27,28,29}
[3] = {31,32,33, 34,35,36, 37,38,39}
[4] = {41,42,43, 44,45,46, 47,48,49}
[5] = {51,52,53, 54,55,5... | {
"pile_set_name": "StackExchange"
} |
Q:
Problem with array
I'm having some errors while copmiling the following:
\begin{equation}
k_{t+1}=\left\{
\begin{array}{l}
$A.s.k_{t}^{\alpha}+(1-\delta).b_{t}^{P}-\delta.b_{t}$ \quad \text{if $\frac{b_{t}+b_{t}^{P}}{(1-\epsilon).s.k_{t}^{\alpha}} < 1$} \\
$s.k_{t}^{\alpha}-b_{t}$ \quad \text{if $\frac{b_{t}+b_{t... | {
"pile_set_name": "StackExchange"
} |
Q:
C++ Divide and conquer matrix multiplication algorithm too slow
I would like to ask you for help. I've implemented divide and conquer algorithm in C++. It works fine, but it is really slow. 512x512 matrix is calculated like 90 seconds which is unacceptable compared with 0.4s with naive algorithm. Could you tell me... | {
"pile_set_name": "StackExchange"
} |
Q:
Concerning this sum $\sum_{n=0}^{\infty}\frac{1}{4n+1}\left[\frac{1}{4^n}{2n \choose n}\right]^2=\frac{\Gamma^4\left(\frac{1}{4}\right)}{16\pi^2}$
I was looking at this paper and saw this nice sum in section [12] of the paper,
$$\sum_{n=0}^{\infty}\frac{1}{4n+1}\left[\frac{1}{4^n}{2n \choose n}\right]^2=\frac{\Ga... | {
"pile_set_name": "StackExchange"
} |
Q:
Почему «то́рты», но при этом «мосты́»?
Чтобы понять, как ставить ударение в слове, я обычно подбираю аналогичное — по количеству букв, слогов и по грамматическим категориям. Но почему-то это не всегда помогает. Например, мост и торт — мы говорим то́рты, но мосты́.
Прочитала, что в русском языке вообще не существуе... | {
"pile_set_name": "StackExchange"
} |
Q:
How to flip the text inside the div tag?
.hot-deals-row{
margin-top: 30px;
background: #eaeaea;
}
.hot-deals-box{
border: 1px solid #eaeaea;
}
.hot-deals-box .hot-deals-tab {
display: table;
width: 100%;
}
.hot-deals-box .hot-deals-tab .hot-deals-title{
width: 45px;
display: table-cell;
... | {
"pile_set_name": "StackExchange"
} |
Q:
Equation formatting (alignment)
According the question I have written the file but I got something wrong. Can you please check?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
&\begin{aligned}
& \ddot\phi_3&+\phi_3+2g_2p_1 \cos(\tau+\alpha)[p_2\cos(\tau + \alpha) + q_2\sin(\tau + \alp... | {
"pile_set_name": "StackExchange"
} |
Q:
Django. Увеличения значения поля в модели
Застрял вроде на таком простом моменте, но тем не менее. В гугле ничего не нашел. Ситуация такая, нужно чтобы пользователь вводил некое число и это значение, что он ввел прибавлялось к уже имеющему значению некоторому полю в модели.
Из кода, что приведен ниже необходимо, ч... | {
"pile_set_name": "StackExchange"
} |
Q:
A mistake on computing $\int \frac{dx}{\sqrt{x+1}+1}$
I have to find $\int \frac{dx}{\sqrt{x+1}+1}$. This was my attempt, which is wrong and I cannot find where exactly is the mistake.
First I write $\frac{1}{\sqrt{x+1}+1}=\frac{\sqrt{x+1}-1}{x}=\frac{\sqrt{x+1}}{x}-\frac{1}{x}$, therefore $\int \frac{dx}{\sqrt{x+... | {
"pile_set_name": "StackExchange"
} |
Q:
integrals with error function
Can anyone help me to compute these integrals?
\begin{equation}
\int_0^t\frac{1}{x}\exp\left(-\frac{a^2}{x}\right)
\operatorname{erf}\left(\frac{b}{\sqrt{x}}\right)\,dx
\end{equation}
here $\operatorname{erf}(\cdot)$ is error function.
I have already tried to take this integral by a ... | {
"pile_set_name": "StackExchange"
} |
Q:
Angular2 - long-stack-trace-zone.js:106 Uncaught ReferenceError: Zone is not defined
I'm using the Angular2 starter with webpackjs AMD. I'm not receiving any build errors at all, but when I browse (using npm server) I receive some errors:
Am I missing something in my build configuration? What else do I need to che... | {
"pile_set_name": "StackExchange"
} |
Q:
'itertools._grouper' object has no attribute 'user'
Why can't I convert the loop group in groupby as list? Currently, I am working on Django==2.2.1 and when I try this data = [...] below into python console, it is working fine.
from itertools import groupby
from operator import itemgetter
@login_required
def list... | {
"pile_set_name": "StackExchange"
} |
Q:
Inequality problem: with $x,y,z>0$, show that $\frac{x^5}{y^3}+\frac{y^5}{z^3}+\frac{z^5}{x^3}\geq x^2+y^2+z^2$
I am studying AM-GM inequalities in school and have this problem:
With $x,y,z>0$ show that $\frac{x^5}{y^3}+\frac{y^5}{z^3}+\frac{z^5}{x^3}\geq x^2+y^2+z^2$.
A:
Idea behind the solution
By AM-GM you ... | {
"pile_set_name": "StackExchange"
} |
Q:
Replace missing value without knowing exact position in AWK
I am trying to process a GTF/GFF file which I download from ensemble. The truncated version of the file looks like this:
1 ensembl gene 5273 10061 . - . gene_id ENSGALG00000054818; gene_version 1; gene_source ensembl; gene_biotype protein_... | {
"pile_set_name": "StackExchange"
} |
Q:
can we a prove ⊢ (α → α) → (α → α)
The system L0 is defined as follows:
Axioms:
A1 (α → (β → α))
A2 2. (α → (β → γ) → ((α → β) → (α → γ))
A3 ((¬β → ¬α) → ((¬β → α) → β))
In one of my problem sheets, I am told that I am allowed to use the following theorem:
if
⊢ (α → α)
⊢ (α → α) → (α → α)
My attempt to solve/pr... | {
"pile_set_name": "StackExchange"
} |
Q:
Utilizar função de validação em diferentes campos HTML
Tenho a seguinte função em javascript para validação do NIF:
//VALIDAÇÃO NIF
validaContribuinte = function(){
var contribuinte = $('#nif').val();
var temErro=0;
if (
contribuinte.substr(0,1) != '1' && // pessoa singu... | {
"pile_set_name": "StackExchange"
} |
Q:
How Get Cumulative Sum (with Sum of the Past) in SQL Server
I work with SQL Server 2008.
In my db I have a table items that has this sample data:
id |date |title |price
-----------------------------------
1 |20150310 |A |100
2 |20150201 |B |25
3 |20140812 |C ... | {
"pile_set_name": "StackExchange"
} |
Q:
$ \lim\limits_{x \rightarrow \ + \infty}(\sqrt{x^2 + 2x} - \sqrt{x^2 - 7x})$
Find the limit: $$ \lim_{x \rightarrow \ + \infty}(\sqrt{x^2 + 2x} - \sqrt{x^2 - 7x})$$
I did the following:
\begin{align}
(\sqrt{x^2 + 2x} - \sqrt{x^2 - 7x}) = \frac{(\sqrt{x^2 + 2x} - \sqrt{x^2 - 7x})}{1} \cdot \frac{(\sqrt{x^2 + 2x} + ... | {
"pile_set_name": "StackExchange"
} |
Q:
WordPress вывод Социальных иконок в определенном порядке
Здравствуйте знатоки Wordpress.
Я только начинаю постигать основы PHP и Wordpress и сейчас столкнулся с такой делемой. Я вывожу соц. иконки через шорткод [alx-social id="Vk,Twitter"] в id записываю названия соц сети. Если в БД она есть то выводим её.
Не мог... | {
"pile_set_name": "StackExchange"
} |
Q:
Как узнать ID формы из элемента находящегося в ней?
Всем привет.
Собственно, вопрос в заголовке.
Сейчас у меня так
$(elem).get(0).form.id;
В elem указано id Поля формы.
Но вот если туда подставляю ID не поля, а дива, то мне не находит id формы.
Каким образом можно получать id формы из любого ее элемента, если ест... | {
"pile_set_name": "StackExchange"
} |
Q:
how to get record base on max date in mysql
device_id out_date name
1 '2015-09-24 11:00:23' a
4 '2015-09-23 11:00:23' x
5 '2015-09-22 11:00:23' b
2 '201... | {
"pile_set_name": "StackExchange"
} |
Q:
Spring doesn't work. [ uninitialized constant Spring::SID::DL ]
I Can't run Spring. Here is the error log.
myid-no-MacBook-Pro:myid$ spring
/Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/sid.rb:17:in `fiddle_func': uninitialized constant Spring::SID::DL (NameError)
from ... | {
"pile_set_name": "StackExchange"
} |
Q:
Integral $\int_0^\infty F(z)\,F\left(z\,\sqrt2\right)\frac{e^{-z^2}}{z^2}dz$ involving Dawson's integrals
I need you help with evaluating this integral:
$$I=\int_0^\infty F(z)\,F\left(z\,\sqrt2\right)\frac{e^{-z^2}}{z^2}dz,\tag1$$
where $F(x)$ represents Dawson's integral:
$$F(x)=e^{-x^2}\int_0^x e^{y^2}dy.\tag2$$... | {
"pile_set_name": "StackExchange"
} |
Q:
Как получить объект который вошел в триггер
Вот есть метод OnTriggerEnter(Collider), он качестве параметра принимает collider того объекта, например в триггер которого он вошел(ну то-есть просто collider в который вошел).
А как получить сам объект, который вошел в collider из самого объекта с триггером.
Надеюсь по... | {
"pile_set_name": "StackExchange"
} |
Q:
Префикс не связан c пространством имён SVG
Хочу сделать текст дугой.
Как видно в данном примере тут все отображается, а вот если в браузере открыть, то получаю вот такую ошибку и в Opera Chrome, FF
А вот в EDGE && IE просто пустота без всяких ошибок.
Не смотря на ошибку, я вопрос в любом случае хотел написать, та... | {
"pile_set_name": "StackExchange"
} |
Q:
Prove $\frac{a}{b+c}+\frac{b}{c+d}+\frac{c}{d+a}+\frac{d}{a+b} \ge \frac{1}{2}$ where $a,b,c,d \ge 0$
Prove $\frac{a}{b+c}+\frac{b}{c+d}+\frac{c}{d+a}+\frac{d}{a+b} \ge \frac{1}{2}$ where $a,b,c,d \ge 0$
My attempt:I used two ways but I get to a wrong answer.
My first way:We know that $\frac{a}{b}+\frac{b}{a} \ge ... | {
"pile_set_name": "StackExchange"
} |
Q:
Запятая в сложносочиненном предложении с союзом
Объясните, пожалуйста, почему у автора в предложении перед "и" нет запятой: Все выпускники сейчас стоят на пороге выбора жизненного пути и им очень важно не ошибиться. Можно ли "сейчас" считать общим обстоятельством для простых предложений. Спасибо.
A:
Запятая, без... | {
"pile_set_name": "StackExchange"
} |
Q:
Объясните наглядно разницу раннего и позднего связывания методов.
Позднее связывание методов это когда имеется ссылочная переменная, и в зависимости от того экземпляр какого класса будет создан, и будет вызван соответствующий метод. А как насчет раннего связывания в чем отличие?
A:
Раннее связывание - это когда ... | {
"pile_set_name": "StackExchange"
} |
Q:
PSQL 9.3 ident authentication error on Fedora 21
[PSGQL 9.3, Fedora 21, Rails 4.2.0]
When I run any rails db command (rake db:migrate, rake db:create, etc), this error happen:
[dguedes@localhost clean_forum]$ rake db:create
FATAL: Ident authentication failed for user "dguedes"
/home/dguedes/.rvm/gems/ruby-2.2.0@r... | {
"pile_set_name": "StackExchange"
} |
Q:
Использование последнего добавленного файла с разрешением .jpg
Нужен код который вставляет в переменную адрес последнего добавленного файла в определенную папку с разрешением .jpg.
Вожусь как обычно второй день - только после этого пишу сюда. На сайте майкрософта я ничего не понимаю, там какой-то синтаксис и т.д.
... | {
"pile_set_name": "StackExchange"
} |
Q:
Как обновить страницу не перезагружая ее
Я в Javascript полный ноль.
У меня такая задача. обновить страницу не перезагружая ее.
Например настранице есть Messages (0) и нужно если пришло письмо поменять значение 0 на пример 2. или вариант такой добавить результат формы в базу данных.
Вообщем основная задача выташит... | {
"pile_set_name": "StackExchange"
} |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 3