text
stringlengths
49
10.4k
source
dict
signal-analysis, python, eeg Title: Python MNE - reading EEG data from array I have EEG data that comes in the form of a 3D numpy array (epoch * channel * timepoint). timepoint is a 256 element array containing each sampled timepoint (1s total, at 256Hz). epoch is an experimental trial. I'm trying to import the numpy ...
{ "domain": "dsp.stackexchange", "id": 3318, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "signal-analysis, python, eeg", "url": null }
quantum-field-theory, operators, path-integral, greens-functions, correlation-functions $$0={\delta\over \delta \pi (t)}\int D\phi D\pi \, A(t')\,e^{iS}\,\delta \pi=\\ \int D\phi D\pi\, \left( {\delta A(t')\over \delta \pi (t)}+A(t')i\dot\phi (t)-A(t')(-i){\delta H (t)\over \delta \pi (t)}\right)\,e^{iS}\,\delta \pi$$...
{ "domain": "physics.stackexchange", "id": 8785, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory, operators, path-integral, greens-functions, correlation-funct...
meteorology, atmosphere, temperature, homework, greenhouse-gases My approach: I focused on finding $y$ as $x$ can be calculated later from the same equation since $\Delta E$ is known and concentration of $H_2O$ should be available online. According to my understanding of the Greenhouse effect, $y$ represents how much ...
{ "domain": "earthscience.stackexchange", "id": 2213, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "meteorology, atmosphere, temperature, homework, greenhouse-gases", "url": nu...
quantum-mechanics, thermodynamics, statistical-mechanics, phase-transition Title: How presence of metastable state ensure that there is first order phase transition? Recently, I took a lecture in which professor showed a graph which was similar to following figure Professor told that if there is a metastable state, i...
{ "domain": "physics.stackexchange", "id": 50750, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, thermodynamics, statistical-mechanics, phase-transition", "ur...
python, beginner Title: Finding the names of students with the second-lowest score I'm teaching myself programming. I would like to know how I could make this Python3 could more flexibile, for example if I wanted to find students with the 3rd lowest grade, or the lowest, or any other value. Based on this piece of code...
{ "domain": "codereview.stackexchange", "id": 21018, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, beginner", "url": null }
particle-physics Additionally there may or may not be the Higgs particle (or more of them), superpartners, etc. But all of this is as yet unconfirmed. So, there, that's all there is to particle zoo. It's only pain when you try to learn it by heart. But if you instead try to understand the concepts related to these par...
{ "domain": "physics.stackexchange", "id": 1376, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "particle-physics", "url": null }
c++, optimization, integer int t = a; a = b; b = t; return a; you get the assembler output: movl $20, -12(%rbp) movl $66, -8(%rbp) movl -12(%rbp), %eax movl %eax, -4(%rbp) movl -8(%rbp), %eax movl %eax, -12(%rbp) movl -4(%rbp), %eax movl %eax, -8(%rbp) movl -12(%rbp), %eax popq %rbp Fo...
{ "domain": "codereview.stackexchange", "id": 27553, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, optimization, integer", "url": null }
`s1` and `s2` are equal and correspond to the standard deviation of the variables in `X`. ## Input Arguments collapse all Covariance matrix, specified as a square, symmetric, and positive semidefinite matrix. For a matrix X that has N observations (rows) and n random variables (columns), `C` is an n-by-n matrix. Th...
{ "domain": "mathworks.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9843363485313248, "lm_q1q2_score": 0.8070508081263735, "lm_q2_score": 0.8198933315126791, "openwebmath_perplexity": 874.7542432315814, "openwebmath_score": 0.8975740075111389, "tags": ...
general-relativity, differential-geometry, variational-principle, geodesics Thus $\gamma$ does not even play a role it seems. Thus when we introduce a one-parameter family $\{\gamma_\varepsilon\}$ and take the variational derivative, we get 0 arbitrarily. What gives? How can we vary this integral without changing the ...
{ "domain": "physics.stackexchange", "id": 19000, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "general-relativity, differential-geometry, variational-principle, geodesics", "u...
Takes for an algorithm takes in terms of the quicksort uses a and... Infinity ) this algorithm is O ( 1 ) work the CPU has to do time... Some highlights about Big O notation here are some highlights about Big O notation on n performs!
{ "domain": "raggato.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9808759593358227, "lm_q1q2_score": 0.8236748591603252, "lm_q2_score": 0.8397339656668286, "openwebmath_perplexity": 732.1756600480524, "openwebmath_score": 0.3800761103630066, "tags"...
electric-fields, vector-fields What my diagram is trying to show is two areas which are part of spheres with radii $R$ and $2R$ and hence areas $A$ and $4A$. If one field line, starting somewhere in the sphere of charge of radius $R$ passes through area $A$ then four field lines must pass through the area which is fou...
{ "domain": "physics.stackexchange", "id": 96053, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electric-fields, vector-fields", "url": null }
quantum-mechanics, schroedinger-equation, scaling, anharmonic-oscillators Here it is easy to put things into better perspective as we know the solution for the harmonic oscillator. Setting $\frac{2E}{\hbar}\sqrt{\frac{m}{k}} = (2n+1)$, found from the Hermite polynomials, we solve for $E$ as $E_n = (n+\frac{1}{2})\hbar...
{ "domain": "physics.stackexchange", "id": 34434, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, schroedinger-equation, scaling, anharmonic-oscillators", "url...
quantum-mechanics, hilbert-space, probability, born-rule Do we also need to assume some form of the law of large numbers? Actually, at least when you make measurements of observables, you always reduce to a Boolean subalgebra where the probability measure becomes a standard $\sigma$-additive measure of a $\sigma$-alg...
{ "domain": "physics.stackexchange", "id": 45332, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, hilbert-space, probability, born-rule", "url": null }
species-identification Title: Identification of a lifeform There's a video I found on Facebook and I'm unable to figure out what the creature featured happens to be. Adding images that have been taken from the video itself, apologies in advance since they're not high qualify images. Can anybody shed any light on what...
{ "domain": "biology.stackexchange", "id": 10852, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "species-identification", "url": null }
vcf, snp, indel NC_013991.2 3327 . G . 0,02 LowQual DP=1832;ExcessHet=3;MLEAC=.;MLEAF=.;MQ=29 GT:DP:RGQ 0/0:2:0 0/0:4:0 0/0:2:0 0/0:1:0 0/0:1:0 0/0:1:0 0/0:1:0 0/0:1:3 0/0:8:18 0/0:34:99 0/0:14:33
{ "domain": "bioinformatics.stackexchange", "id": 2354, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "vcf, snp, indel", "url": null }
dft, linear-phase So I calculated $H ( z )$, taking into account the zeros and their inverses (due to the linear phase property): $$H(z)= k(z^{-1}-3) (z^{-1}-\frac {1}{3})(z^{-1}+ \frac{1}2)(z^{-1}+2)$$ intermediate steps of the multiplication, take me $$ H(z) = k (z^{-4} - \frac{5}{6}z^{-3} - \frac{19}{3}z^{-2} -\fr...
{ "domain": "dsp.stackexchange", "id": 3559, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "dft, linear-phase", "url": null }
# Strong law of large numbers for Poisson process My question regards the strong law of large numbers as stated, e.g., in Ethier and Kurtz (1986, p. 456 Eq. (2.5)), as follows: If $Y$ is a unit Poisson process, then for each $u_0>0$, \begin{eqnarray*} \lim_{n \to \infty} \sup_{u \geq u_0} \vert Y(nu)/n - u \vert = 0 ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9732407137099625, "lm_q1q2_score": 0.8131265999235788, "lm_q2_score": 0.8354835432479661, "openwebmath_perplexity": 286.964729726222, "openwebmath_score": 0.9893971681594849, "tags...
organic-chemistry, nomenclature 4-methoxy-3,4-dioxobutanoic acid (not “3,4-dioxo 4-methoxy butanoic acid”) 6-oxo-3-(2-oxopropyl)heptanoic acid (not “3-(2-oxopropyl),6-oxo heptanoic acid”) 6-oxo-3-propanoylheptanoic acid (not “3-propionyl,6-oxo heptanoic acid”) 6-oxo-3-(3-oxopropyl)heptanoic acid (not “3-(3-oxobutyl),6...
{ "domain": "chemistry.stackexchange", "id": 4125, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "organic-chemistry, nomenclature", "url": null }
Theorem $$\ \ \ \rm r = \sqrt{n}\;\;$$ is integral if rational, for $$\:\rm n\in\mathbb{N}$$ Proof $$\ \$$ Writing $$\rm\,\ r = a/b,\ \ \gcd(a,b) = 1\ \Rightarrow\ ad\!-\!bc \,=\, \color{#C00}{\bf 1}\;$$ for some $$\:\rm c,d \in \mathbb{Z}\$$ by Bezout. $$\rm\color{#C00}{That\,}$$ and $$\rm\: r^2\! = \color{#0a0}{ n...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9833429568177982, "lm_q1q2_score": 0.8016531177447224, "lm_q2_score": 0.815232480373843, "openwebmath_perplexity": 95.29339774733803, "openwebmath_score": 0.9517849087715149, "tags...
) be proved ) the... Edwin McCravy ( 17911 ) ( show Source ): all four sides are of length! ( a+b ) /2, c/2 ) # ( a+b, C ) # all school-level subjects on! Sketch as general as possible congruent triangles parallelogram ABCD bisects ∠A ( see the given figure ) and two parallel. Diagonal cuts the other diagonal another l...
{ "domain": "vorarlberg.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9615338035725359, "lm_q1q2_score": 0.8033456593145217, "lm_q2_score": 0.8354835330070839, "openwebmath_perplexity": 1063.2385880168138, "openwebmath_score": 0.5580436587333679, "t...
ruby, game, random, playing-cards, dice Title: Yahtzee program How can I refactor this? require'yaml' require 'text-table' class Yahtzee def initialize puts "Welcome to Yahtzee, please enter your name." @name = gets.chomp @turn = 0 @scorecard = {"aces" => 0, "twos" => 0, "threes" => 0, "fours" => 0,...
{ "domain": "codereview.stackexchange", "id": 4097, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ruby, game, random, playing-cards, dice", "url": null }
gazebo-11 Title: Why is the model "head" kept falling down through the another model "chassis"? the code is here: <include> <uri>model://head</uri> <pose>0.090 0 0.16 0 0 0</pose> <name>head</name> </include> <joint name="head_joint" type="fixed"> <child>head</child> <parent>chassis</parent> </joint...
{ "domain": "robotics.stackexchange", "id": 4608, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "gazebo-11", "url": null }
experimental-physics, mass, electrons Title: Which is the right electron mass? When particles mass can be changed by changing the website, then how to calculate with confidence? For example: Google: electron mass = 9.10938 188 × 10$^-31$ kilograms Wikipedia: electron mass 9.109 38 2 15(45) ×10$^−31$ kg 5.485 799 0943(...
{ "domain": "physics.stackexchange", "id": 6381, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "experimental-physics, mass, electrons", "url": null }
### Show Tags 08 Feb 2012, 09:00 # of selections of books with no condition = 8C4 = 70 # of selections of books with no paperback book = 6C4 = 15 # of selections of books with at least one paperback book = 70 -15 = 55 Manager Status: Sky is the limit Affiliations: CIPS Joined: 01 Apr 2012 Posts: 68 Location: United Ar...
{ "domain": "gmatclub.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9770226341042414, "lm_q1q2_score": 0.8342920853679334, "lm_q2_score": 0.8539127510928476, "openwebmath_perplexity": 4206.228621508427, "openwebmath_score": 0.6052910685539246, "tags": n...
beginner, php, object-oriented See how that make using it a lot easier. Also you could add some very simple validations like notEmpty(), isSet(), isPositive(), isNumber(), ... . But for all of them php functions exist. So you might reinvent the wheel. But make calling your validations as simple as possible. The other...
{ "domain": "codereview.stackexchange", "id": 23813, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "beginner, php, object-oriented", "url": null }
c++, converting Don't abuse using namespace std Putting using namespace std at the top of every program is a bad habit that you'd do well to avoid. Know when to use it and when not to (as when writing include headers). Eliminate return 0 at the end of main When a C++ program reaches the end of main the compiler wil...
{ "domain": "codereview.stackexchange", "id": 14422, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, converting", "url": null }
matlab, frequency-spectrum, power-spectral-density, amplitude Title: Logaritmic amplitude squarewave This morning i was experimenting with GNU Octave. I created several signals(Sine, Saw tooth, square wave and noise). After this i used the periodogram. in the periodogram the square wave weren't showed. I tried a test ...
{ "domain": "dsp.stackexchange", "id": 3418, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "matlab, frequency-spectrum, power-spectral-density, amplitude", "url": null }
signal-analysis, noise Title: Standard deviation of filtered noise In the question Estimating Filtered Noise Variance i've found that the variance of filtered noise can be found by $$\min_{\theta\in [\theta_1,\theta_2]}\left|H(e^{j\theta})\right|^2\sigma_x^2\le \sigma_y^2\le\max_{\theta\in [\theta_1,\theta_2]}\left|H(...
{ "domain": "dsp.stackexchange", "id": 3926, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "signal-analysis, noise", "url": null }
filters, gabor Title: Gabor filter bank for gist features I was reading a paper about Gist features. I was interested about its code implementation which i found it here). Into LMgist.m there is a function called createGabor, this is the code: function G = createGabor(or, n) % % G = createGabor(numberOfOrientationsPer...
{ "domain": "dsp.stackexchange", "id": 3587, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "filters, gabor", "url": null }
# Simpson's Rule like Method for Arc Length Approximation Simpson's Rule is of course a very important method for Numerical Integration. The basic idea behind it is to the intervals as a quadratic curve, and to calculate the area under that curve (yes, I realize I'm simplifying it: I don't think I need to go over the ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9719924777713886, "lm_q1q2_score": 0.8202596878950452, "lm_q2_score": 0.8438950986284991, "openwebmath_perplexity": 300.1635723306909, "openwebmath_score": 0.8147946000099182, "tag...
pharmacology, blood-brain-barrier One technology for enabling active transport of small molecule drugs across the BBB involves targeting endogenous nutrient transporters. These transporters are members of the solute carrier (SLC) transporter superfamily. Transport of small molecules across the BBB by these mem...
{ "domain": "biology.stackexchange", "id": 116, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "pharmacology, blood-brain-barrier", "url": null }
the-sun, positional-astronomy Title: Calculating the position of the Sun I'm reading the book "Practical Astronomy with your Calculator or Spreadsheet 4th Edition" implementing its formulas with C++. Now, I'm implementing formula 46 "Calculating the position of the Sun" and the first thing they do is define the epoch ...
{ "domain": "astronomy.stackexchange", "id": 5650, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "the-sun, positional-astronomy", "url": null }
(a) When it is fully charged, how many excess electrons are on a cell. The dielectric constant of Teflon is 2. • As expected, the capacitance of this capacitor depends only on its GEOMETRY (A,d). Dielectrics are usually placed between the two plates of parallel plate capacitors. (i) Calculate capacitance of each capaci...
{ "domain": "agenzialenarduzzi.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9481545304202039, "lm_q1q2_score": 0.8040044772205128, "lm_q2_score": 0.847967764140929, "openwebmath_perplexity": 531.7615776063614, "openwebmath_score": 0.6449436545372009, ...
homework-and-exercises, newtonian-mechanics Yes, your solution is right!! But it doesn't depend upon the inclination of motion you just need to assume where the acceleration is going to be. Suppose you assume that the inclination of motion will be down the surface then you will calculate like this or upwards for $m$: ...
{ "domain": "physics.stackexchange", "id": 83111, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "homework-and-exercises, newtonian-mechanics", "url": null }
thermodynamics, ideal-gas Title: Gas Laws: Why is PV directly proportional to mT? My book mentions that the three informal gas laws (Boyle's, Charles', and Gay-Lussac's) can be combined into a more general relation PV ∝ mT (the precursor to the Ideal Gas Law). Where: P is pressure, V is volume, m is mass (taken as a...
{ "domain": "physics.stackexchange", "id": 97808, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "thermodynamics, ideal-gas", "url": null }
machine-learning, python, deep-learning, data-mining, data-science-model Title: Machine Learning for medical researchers My friend is a medical researcher and he want to use machine learning for prediction. Is there any one who is not a computer science person and he learnt programming and machine learning in a very s...
{ "domain": "datascience.stackexchange", "id": 8914, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "machine-learning, python, deep-learning, data-mining, data-science-model", "u...
As for the improper integral I have another approach which seems to me more obvious $$I=\int\limits_{0}^{\pi}\log(\sin(x))dx= \int\limits_{0}^{\pi/2}\log(\sin(x))dx+\int\limits_{\pi/2}^{\pi}\log(\sin(x))dx=$$ $$\int\limits_{0}^{\pi/2}\log(\sin(x))dx+\int\limits_{0}^{\pi/2}\log(\cos(x))dx= \int\limits_{0}^{\pi/2}\log\le...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9861513897844354, "lm_q1q2_score": 0.8496071060886989, "lm_q2_score": 0.8615382129861583, "openwebmath_perplexity": 384.74873578381874, "openwebmath_score": 0.9788097143173218, "ta...
python Title: Very slow update of global variables - python Hi I have made a node which takes input from several different sensors. I want to proces the sensor data and publish a on a new topic. However when I move the data from the callback functions to my processing algorithm the using global variables, the variabl...
{ "domain": "robotics.stackexchange", "id": 23150, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python", "url": null }
## Section2.2Properties of Exponents Consider the product $x^2x^4\text{.}$ The expression $x^2$ contains $2$ factors of $x$ while the factor of $x^4$ contains $4$ factors of $x\text{,}$ so altogether the expression $x^2x^4$ contains $6$ factors of $x\text{.}$ Note that $6$ comes from summing $2$ and $4\text{.}$ Writin...
{ "domain": "pcc.edu", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9946150625170803, "lm_q1q2_score": 0.8037158152298511, "lm_q2_score": 0.8080672066194946, "openwebmath_perplexity": 2712.929790240768, "openwebmath_score": 0.999919056892395, "tags": null, ...
quantum-field-theory, quantum-electrodynamics Title: External radiation in quantum particle systems In describing system of quantum particles external radiation is often assumed to be classical. Is there any text book that give a proof why can we assume that? It is possible to prove that one obtains the dynamics gener...
{ "domain": "physics.stackexchange", "id": 52499, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory, quantum-electrodynamics", "url": null }
ngs, chip-seq Title: chipseeker annotation issue library(ChIPseeker) library(TxDb.Hsapiens.UCSC.hg38.knownGene) txdb <- TxDb.Hsapiens.UCSC.hg38.knownGene library(clusterProfiler) library(org.Hs.eg.db) peaks <- readPeakFile("MACS_folder/pol2_chip/Pol_2pausing/pol2_diff_peak.bed") print(peaks) #peakAnno <- annotatePe...
{ "domain": "bioinformatics.stackexchange", "id": 1662, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ngs, chip-seq", "url": null }
electrical-engineering, pumps, power-electronics, hydraulics If you want to assemble the whole thing yourself, or no HPU's are available that work for your application, you'll want to find a motor with the same output as your pump's input (In your case a tapered shaft.) In your specific example, if you see their datas...
{ "domain": "engineering.stackexchange", "id": 834, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrical-engineering, pumps, power-electronics, hydraulics", "url": null }
5. Oct 13, 2014 ### HallsofIvy Let f(x,y) be any function of two variables and assume that x and y are themselves functions of some variable, t. Then we could write f as a function of the single variable t and, by the chain rule, $df/dt= (\partial f/\partial x) dx/dt+ (\partial f/\partial y)dy/dt$. In terms of "diffe...
{ "domain": "physicsforums.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9787126488274565, "lm_q1q2_score": 0.8279345654744076, "lm_q2_score": 0.8459424392504908, "openwebmath_perplexity": 512.564101728872, "openwebmath_score": 0.8626402616500854, "tags...
redox, electrons The loss of hydrogen is oxidation in cases of homolytic breaking the bond with hydrogen when the electron goes away with the proton. Heterolytic losing hydrogen ion(=hydrated proton), when the electron stays, is not oxidation, but acid dissociation. The former case leads to change in oxidation number/...
{ "domain": "chemistry.stackexchange", "id": 16327, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "redox, electrons", "url": null }
machine-learning, neural-networks As I understand it, in training a neural network you mainly treat each layer as completely separate from the next (and in fact, that is one of the major selling points of the NN approach, wherein solving L layers independently of one-another lets you use a simple approach to obtain po...
{ "domain": "cs.stackexchange", "id": 8529, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "machine-learning, neural-networks", "url": null }
\begin{eqnarray*} 1+3^{2k+1} &=& 1+(2+1)^{2k+1} \\ &=& 1+ C(2k+1,0)+C(2k+1,1)\times 2+ C(2k+1,2)\times 2^2+\cdots\\ & & +C(2k+1,2k+1)\times 2^{2k+1} \\ &=& 1+ C(2k+1,0)+C(2k+1,1)\times 2+ 4( C(2k+1,2)+\cdots\\ & &+C(2k+1,2k+1)\times 2^{2k-1})\\ &=& 1+1+(2k+1)\times 2 +4\times \mathrm{\ some\ integer} \\ &=& 4+4k+4\time...
{ "domain": "mathmisery.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9867771809697151, "lm_q1q2_score": 0.8113174788893635, "lm_q2_score": 0.8221891370573388, "openwebmath_perplexity": 1123.5114730926791, "openwebmath_score": 0.8474717140197754, "tags"...
c#, wpf var wWin = new WarningWin(); wWin.init(wFunc); wWin.ShowDialog(); // Add to Warning List and List Box _warningList.Add(new WarningItem { DirName ...
{ "domain": "codereview.stackexchange", "id": 14496, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, wpf", "url": null }
python, mathematics and the code would return the correct result, but to preserve the behavior of only keeping the last two elements (which I agree is a good space optimization) I've converted them to deques with maxlen=2. The deque abstracts away the business of automatically popping the unneeded values off of the l...
{ "domain": "codereview.stackexchange", "id": 37870, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, mathematics", "url": null }
Following the same steps as in the previous entry, we can find out why when a uniform probability is assigned to one projection, $2 N_T/N_C$ approaches $2.5$ instead of $\pi$. For simplicity $W=L$, and again for a needle to be crossing a line it has to be below the upper bound: $x \leq \frac{L}{2}\text{sin}(\theta)$ an...
{ "domain": "wordpress.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9902915246646304, "lm_q1q2_score": 0.8119334282213825, "lm_q2_score": 0.8198933425148214, "openwebmath_perplexity": 5299.964288568398, "openwebmath_score": 0.9900195002555847, "tags": ...
python-3.x, discord stock = sum(v for v in payload.values() if v) if stock > 0: embed.add_embed_field(name="Total Stock", value=stock) # Insert your own discord URL (The URL here is not real) webhook = DiscordWebhook( url="https://discord.com/api/webhooks/788360382141825054" "/m_Et9RT5f9AReTQuVuJJ4Qk6...
{ "domain": "codereview.stackexchange", "id": 41821, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python-3.x, discord", "url": null }
c++, template, playing-cards template <class T> bool Deck<T>::empty() const { return deck_top >= playable.size(); }
{ "domain": "codereview.stackexchange", "id": 8837, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, template, playing-cards", "url": null }
homework-and-exercises, waves Title: Wave speed question wave equation given in terms of exp Question A wave propagating along the x axis . The displacement of the particles is along the Z axis at t=0 is given by Z= exp[-(x+2)^2] where x is in metres . At t=1 Z= [-(2-x)^2] find the speed of the wave. The graphs of...
{ "domain": "physics.stackexchange", "id": 29533, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "homework-and-exercises, waves", "url": null }
5. Let $(M, g_{0})$ be a compact Kähler manifold. If $\rho$ is a smooth $(1, 1)$-form in the cohomology class $2\pi\, c_{1}(M)$, does there exist a Kähler metric $g$ whose Kähler form is cohomologous to the Kähler form of $g_{0}$ and whose Ricci form is $\rho$? Analogously to the preceding example, you can imagine tha...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9825575162853136, "lm_q1q2_score": 0.8144800566567977, "lm_q2_score": 0.8289388083214155, "openwebmath_perplexity": 165.31622152722153, "openwebmath_score": 0.9338002800941467, "ta...
c#, file-system public IEnumerable<string> Files => Directory.GetFiles(this, FileWildcard, SearchOption.TopDirectoryOnly); public IEnumerable<string> AllFiles => Directory.GetFiles(this, FileWildcard, SearchOption.AllDirectories); public IFolder Up() => new Folder(new DirectoryInfo(this).Parent.FullName); ...
{ "domain": "codereview.stackexchange", "id": 18161, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, file-system", "url": null }
Noise Reduction Python. understand the math behind the Discrete Fourier Transform(DFT), one of the most useful formulas in applied math and computer science. So, for k = 0, 1, 2, …, n-1, y = (y0, y1, y2, …, yn-1) is Discrete fourier Transformation (DFT) of given polynomial. 4 with python 3 Tutorial 35. The Fourier tran...
{ "domain": "flcgorizia.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9838471628097781, "lm_q1q2_score": 0.8322780687569786, "lm_q2_score": 0.845942439250491, "openwebmath_perplexity": 552.3158417307098, "openwebmath_score": 0.6439871788024902, "tags": n...
ros, rviz, opengl Title: rviz segfault OpenGL Warning I'm currently going through the tf tutorials, and when I try to run rviz it segfaults. I'm running groovy on an ubuntu 12.04 virtualbox VM. vboxuser@vboxuser-VirtualBox:~$ rosrun rviz rviz -d turtle_tf_configuration [ INFO] [1372469887.831357672]: rviz version 1.9...
{ "domain": "robotics.stackexchange", "id": 14745, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, rviz, opengl", "url": null }
special-relativity, dirac-equation, klein-gordon-equation \ f_{\nu{}}^{\mu{}} \ {\xi{}}^{\nu{}} \\ \\ {\partial{}}_{\mu{}\dot{\nu{}}}{\xi{}}^{\mu{}}=\ \ {\dot{f}}_{\dot{\nu{}}}^{\dot{\mu{}}} \ {\eta{}}_{\dot{\mu{}}} \end{array} where $f_{\nu{}}^{\mu{}}$ and $\dot{f}^{\dot \mu}_{\dot \nu}$ are second rank spinor and ...
{ "domain": "physics.stackexchange", "id": 10742, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "special-relativity, dirac-equation, klein-gordon-equation", "url": null }
java, algorithm, programming-challenge, array, dynamic-programming Title: Repeatedly partitioning an array equally as far as possible I solved HackerRank Nikita and the Game. The implementation is correct as program passes all test cases. Nikita just came up with a new array game. The rules are as follows: Initiall...
{ "domain": "codereview.stackexchange", "id": 41388, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, algorithm, programming-challenge, array, dynamic-programming", "url": n...
filters, stability, causality Title: How to check if h(n) is causal, stable? I have $x(n)$ = {$4,-1,-3,1$} and $h(n)$ = {$2,1,3,5$}. I would like to know how can I check whether $h(n)$ is stable filter or not and $h(n)$ is causal filter or not? Firstly, you do not need to specify an input $x(n)$ to know whether the ...
{ "domain": "dsp.stackexchange", "id": 8669, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "filters, stability, causality", "url": null }
c++, image As I'm still learning C++, I'm trying to focus on modern C++ and adhere to the best coding practices. If it's not too much trouble, I would appreciate it if you could review the code with modern C++ (especially those from C++17 and beyond) in mind. Additionally, any tips on following C++ best coding practic...
{ "domain": "codereview.stackexchange", "id": 44568, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, image", "url": null }
datetime, coffeescript for param in params {name, value} = param coalesced[name] or= [] coalesced[name].push value for own name, value of coalesced value = value[0] if value.length is 1 {name, value}
{ "domain": "codereview.stackexchange", "id": 15215, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "datetime, coffeescript", "url": null }
• So, there are no vertical asymptotes because you canceled the denominator ? – Goun2 Jul 19 '17 at 19:30 • for $$x<0$$ we have $$x=-4$$ as a vertical asymptote – Dr. Sonnhard Graubner Jul 19 '17 at 19:32 • $x=+4$ is not a VA because the numerator also vanishes there, $f(x)$ has a removable discontinuity at $x=+4$ – WW...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9688561658682131, "lm_q1q2_score": 0.8434835298590162, "lm_q2_score": 0.8705972667296309, "openwebmath_perplexity": 366.5159618569709, "openwebmath_score": 0.9415085315704346, "tag...
c#, generics private StatusReturn AddOrUpdate(IEnumerable<OnlineReportOutput> onlineReportOutputs) { var webQueryOutputs = Mapper.Map<IEnumerable<OnlineReportOutput>, List<WebQueryOutput>>(onlineReportOutputs); return _queryPermissions.UpdateWebQueryOutputs(webQueryOutputs, false); } priva...
{ "domain": "codereview.stackexchange", "id": 8439, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, generics", "url": null }
The collection of half-open intervals is closed under finite intersection and $\mathbb R$ can be written as a union of half-open intervals. This allows the conclusion that the collection is not only a subbase but also a base for the topology. For any $x\notin[0,1)$ we can find easily a half-open interval $[a,b)$ s.t. ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9833429585263221, "lm_q1q2_score": 0.8039561086067373, "lm_q2_score": 0.8175744806385543, "openwebmath_perplexity": 143.0246382456402, "openwebmath_score": 0.7563236355781555, "tag...
ros, action, gripper Title: Error with gripper action server client connection I am trying to control the gripper of a 6 DOF arm(dynamixel based). The gripper is a 2 finger gripper controlled by a single dynamixel servo. I have generated the moveit config file using moveit setup assistant for the arm along with the g...
{ "domain": "robotics.stackexchange", "id": 22326, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, action, gripper", "url": null }
How to deal with recursion formula in Mathematica? In engineering problems, I am always seeing many recursion formula. For instance, In the book "The NURBS book", I discovered many recursion formula • Fibonacci $$f(n+2)=f(n+1)+f(n)$$ • deCasteljau algorithm $$\vec{P}_{k,i}(u_0)=(1-u_0)\vec{P}_{k-1,i}(u_0)+u_0\vec{P...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9736446448596304, "lm_q1q2_score": 0.8236473296173236, "lm_q2_score": 0.8459424431344437, "openwebmath_perplexity": 2297.099542271703, "openwebmath_score": 0.19633015990257263, "ta...
organic-chemistry, everyday-chemistry Title: Does Rubbing Alcohol + Bleach really produce Chloroform? A lot of sources on the internet claim that mixing rubbing alcohol with chlorinated bleach produces chloroform. Rubbing alcohol is Isopropanol, and bleach is Sodium Hypochlorite. Neither of these are the reagents for ...
{ "domain": "chemistry.stackexchange", "id": 16697, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "organic-chemistry, everyday-chemistry", "url": null }
energy, kinematics Title: Before, while, and after lifting an object to some height above the ground, what happens to its kinetic energy? If you were to lift an object above the ground at a constant speed, you would have to exert a force of equal magnitude and opposite the direction of gravity onto it. However, wouldn...
{ "domain": "physics.stackexchange", "id": 33139, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "energy, kinematics", "url": null }
The closest rational approximations (in a suitable sense) to an irrational number can be read off from truncations of its continued fraction $$t = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + ...}}$$ and in particular are better approximations if the corresponding entries $a_i$ of the continued fraction are large. That means t...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9912886138694684, "lm_q1q2_score": 0.8344921750500099, "lm_q2_score": 0.8418256432832333, "openwebmath_perplexity": 131.4635193006119, "openwebmath_score": 0.8228760957717896, "tag...
rviz, plugin Title: [SOLVED] Rviz plugin editing Hi all, my question is very simple but I didn't find something similar in the forum. I need to implement 3d motion planning for a tracked vehicle equipped with a laser scanner. I'm using ROS because I want to specify, through Rviz, waypoints during the path execution. ...
{ "domain": "robotics.stackexchange", "id": 22583, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "rviz, plugin", "url": null }
slam, navigation, ros-lunar, rtabmap-odometry, rtabmap started roslaunch server http://robot:33565/ SUMMARY ======== PARAMETERS * /rosdistro: lunar * /rosversion: 1.13.5 * /rs/camera/driver/base_frame_id: camera_link * /rs/camera/driver/camera_type: R200 * /rs/camera/driver/color_fps: 30 * /rs/camera/driver/co...
{ "domain": "robotics.stackexchange", "id": 30008, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "slam, navigation, ros-lunar, rtabmap-odometry, rtabmap", "url": null }
neuroscience, brain, neurophysiology, neuroanatomy Evidence for excitatory autapses You specifically asked about self-excitation, but it's important to know that inhibitory self-synapses also exist, and they are much more common between GABAergic inhibitory cells than between excitatory cells (Bekkers, 1998). Inhibito...
{ "domain": "biology.stackexchange", "id": 9888, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "neuroscience, brain, neurophysiology, neuroanatomy", "url": null }
everyday-chemistry Title: The chemical reaction between lemon juice and polystyrene foam cups I have noticed that when I have lemon juice on my fingers and I touch a polystyrene foam cup (I will refrain from using the term 'styrofoam'), the cup begins to break down, i.e., melt. I can leave fingerprints on the cup in t...
{ "domain": "chemistry.stackexchange", "id": 9858, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "everyday-chemistry", "url": null }
performance, multithreading, rust /// Shutdown the socket, then send a disconnection event to the `error_sender`. fn handle_socket_disconnection(&self, socket: &TcpStream) -> io::Result<()> { self.remove_socket(&socket)?; let sock_addr = socket.peer_addr().unwrap(); socket .shu...
{ "domain": "codereview.stackexchange", "id": 38490, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "performance, multithreading, rust", "url": null }
python, python-2.x Title: Bin packing variant As in classical bin packing problem, this is an algorithm that optimises the number of bins of a certain size used to hold a list of objects of varying size. In my variant I also work with a second constraint that is the bins must hold a certain minimum size in them. For e...
{ "domain": "codereview.stackexchange", "id": 32881, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, python-2.x", "url": null }
turing-machines, computability, undecidability, semi-decidability (The complete answer would be "$L$ is decidable unless an unusual encoding of Turing machines is used", which sounds, however, pedantic and which is usually not a welcomed answer.)
{ "domain": "cs.stackexchange", "id": 13082, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "turing-machines, computability, undecidability, semi-decidability", "url": null }
ros, gazebo, subscribe, topic Originally posted by mgruhler with karma: 12390 on 2015-07-16 This answer was ACCEPTED on the original site Post score: 2 Original comments Comment by Alvaro Salcedo on 2015-07-16: Yes! That´s the way! base_pose_ground_truth topic give me the velocities relative to world coordinates and ...
{ "domain": "robotics.stackexchange", "id": 22206, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, gazebo, subscribe, topic", "url": null }
c#, wpf, collections #endregion // Fields #region Constructor public AllPartsViewModel(PartRepository partRepository, VendorRepository vendorRepostiory) { if (partRepository == null) throw new ArgumentNullException("partRepository"); _clearSearch = new RelayCommand( ...
{ "domain": "codereview.stackexchange", "id": 11756, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, wpf, collections", "url": null }
javascript, css, html5, calculator, community-challenge ], keys: {}, buttons: { zero: { action: function() {return digit(0);}, label: "0", key: [48] }, one: { action: function() {return digit(1);}, label: "1", key...
{ "domain": "codereview.stackexchange", "id": 13294, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript, css, html5, calculator, community-challenge", "url": null }
solar-cells Title: Is the Photovoltaic Effect observed only in P-N junctions? So far, all the sources I've found explain the photovoltaic effect in relation to p-n junctions when talking about solar cells (since that's what they're made out of), but I was wondering if one could explain the photovoltaic effect in gener...
{ "domain": "physics.stackexchange", "id": 35885, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "solar-cells", "url": null }
ros, compile, ros-kinetic, raspberrypi, jessie break; } read_filled_ += bytes_read; } ROS_ASSERT((int32_t)read_size_ >= 0); ROS_ASSERT((int32_t)read_filled_ >= 0); ROS_ASSERT_MSG(read_filled_ <= read_size_, "read_filled_ = %d, read_size_ = %d", read_filled_, read_size_); if (read_filled_ == read_size_ && !dropp...
{ "domain": "robotics.stackexchange", "id": 26623, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, compile, ros-kinetic, raspberrypi, jessie", "url": null }
Another fraction, then click equals a single space between the the calculations on this website correct... Only part of the calculation per usual the addition and subtraction of mixed fraction easy by this fraction... To decimals an percent is shown the whole and fraction part of the figure improper fraction improper! ...
{ "domain": "ribb.com", "id": null, "lm_label": "1. Yes\n2. Yes\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9728307684643189, "lm_q1q2_score": 0.8600206093554218, "lm_q2_score": 0.8840392771633079, "openwebmath_perplexity": 1292.9311629084923, "openwebmath_score": 0.830685555934906, "tags": n...
quantum-field-theory, lagrangian-formalism, field-theory, complex-numbers Title: What is the difference between a complex scalar field and two real scalar fields? Consider a complex scalar field $\phi$ with the Lagrangian: $$L = \partial_\mu\phi^\dagger\partial^\mu\phi - m^2 \phi^\dagger\phi.$$ Consider also two real ...
{ "domain": "physics.stackexchange", "id": 62936, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory, lagrangian-formalism, field-theory, complex-numbers", "url...
# Calculating Eigenvectors: Is my book wrong? I have a covariance matrix: $$S= \begin{pmatrix} 16 & 10 \\ 10 & 25 \end{pmatrix}$$ I calculate my eigenvalues correctly (the same as what the book finds); $\lambda_1 = 31.47$ , $\lambda_2 = 9.53$ But now it comes to calculating eigenvectors: I do everything as I was ta...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9683812309063186, "lm_q1q2_score": 0.8591522823057045, "lm_q2_score": 0.8872045996818986, "openwebmath_perplexity": 340.83439094490933, "openwebmath_score": 0.8649722337722778, "ta...
2. When would it be appropriate to covert to polar to show the existence of a limit when not told that it existed or not in the first place? Does converting to polar always work? $$\lim \limits_{(x,y) \to (0,0)} \dfrac{{xy^4}}{x^2+y^8}$$ • this limit $$DNE$$ as it has different limits along different paths namely $$y...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9683812318188365, "lm_q1q2_score": 0.8636130801230928, "lm_q2_score": 0.8918110468756548, "openwebmath_perplexity": 248.28534330993153, "openwebmath_score": 0.9587662816047668, "ta...
general-relativity, black-holes, angular-momentum, dimensional-analysis, kerr-newman-metric Title: Explain Kerr-Newmann Black Hole Spins in SI Units I'm trying to run some calculations on Kerr-Newman black holes, but I'm having two major difficulties. First, most equations I've been able to find are only for Kerr bla...
{ "domain": "physics.stackexchange", "id": 42204, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "general-relativity, black-holes, angular-momentum, dimensional-analysis, kerr-newm...
c#, programming-challenge Summing up it could look like so public static int FindGap(int number) { int maxGap = 0; int answer = 0; foreach(var c in Convert.ToString(number, 2)) { if (c == '1') { if (answer < maxGap) { answer = maxGap; ...
{ "domain": "codereview.stackexchange", "id": 34613, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, programming-challenge", "url": null }
2 \times 3 $2 \times 3$ 2^{34} $2^{34}$ a_{i-1} $a_{i-1}$ \frac{2}{3} $\frac{2}{3}$ \sqrt{2} $\sqrt{2}$ \sum_{i=1}^3 $\sum_{i=1}^3$ \sin \theta $\sin \theta$ \boxed{123} $\boxed{123}$
{ "domain": "brilliant.org", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9919380072800831, "lm_q1q2_score": 0.8132833530775382, "lm_q2_score": 0.8198933271118222, "openwebmath_perplexity": 440.9581424654395, "openwebmath_score": 0.8929882645606995, "tags": ...
c, tree while(temp_node) { if(temp_node->data == key) { struct node* lastValue = getPointer(lastLabel,root); if(lastValue != '\0') { temp_node->data = lastValue->data; if(lastValue->label == lastValue->parent->leftChild->label) ...
{ "domain": "codereview.stackexchange", "id": 13745, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c, tree", "url": null }
Well, @Nilan has the better way to go. But, here is another "Brute Force," double substitution method that works. Write, $\sin x = \sqrt{1-\cos^2 x}$ (the positive square root is appropriate here since $0\le x\le \frac{\pi}{6}$. Then, with $u = \cos x$, $du = -\sin x dx=-\sqrt{1-u^2}du$, and the limits of integration ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9763105245649665, "lm_q1q2_score": 0.8239036702528317, "lm_q2_score": 0.8438951025545427, "openwebmath_perplexity": 674.7619323560332, "openwebmath_score": 0.9888687133789062, "tag...
condensed-matter, topology, topological-field-theory, topological-insulators, topological-phase J Cayssol and J N Fuchs, Topological and Geometrical Aspects of Band Theory MichelFruchart and David Carpentier, An Introduction to Topological Insulators For a wonderful resource which avoids the sophisticated language o...
{ "domain": "physics.stackexchange", "id": 82588, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "condensed-matter, topology, topological-field-theory, topological-insulators, topo...
asymptotics, probability-theory, randomness, pseudo-random-generators, chernoff-bounds Applying the union bound The probability that a choice of $x_1,\ldots,x_w$ is bad for a specific circuit $C$ is $e^{-\epsilon^2 w}$. The probability that a choice of $x_1,\ldots,x_w$ is bad for one of $N$ different circuits is at mo...
{ "domain": "cs.stackexchange", "id": 17778, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "asymptotics, probability-theory, randomness, pseudo-random-generators, chernoff-bounds"...
finite-impulse-response ////filter an input vector status = ippsFIRInitAlloc_64f(&pState, taps,tapslen, pDL); status = ippsFIR_64f(pInputSignal, pOutputSignal, numIters, pState); In other words: Input is a sinusoid at frequency 400Hz Band stop between 348.0Hz to 451Hz Expected output : something flat...
{ "domain": "dsp.stackexchange", "id": 1440, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "finite-impulse-response", "url": null }
javascript, jquery Title: Entering a span value into the input When you click on a span it enters the value into the input. That works fine, but as you can see the JS code is very big and there must be a better way to do this, but like I said I'm still learning. Maybe someone can give me a pointer in the right directi...
{ "domain": "codereview.stackexchange", "id": 2170, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript, jquery", "url": null }
c#, socket, dependency-injection, configuration a lot of code just to build up a bunch of objects using config values Is there a reason why you can't inject the settings directly in your component? Something along those lines: //register settings inside container services.AddSingleton<CryptoSettings>(here_goes_factor...
{ "domain": "codereview.stackexchange", "id": 31246, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, socket, dependency-injection, configuration", "url": null }
c++, linked-list return; } prev = curr; } } The function didn't really get shorter, but it's now easier to reason about its behaviour. Now it's time to talk about insert. You had about a screen page to think about it, which isn't really much time, sorry. But what's the current problem? Why is it a...
{ "domain": "codereview.stackexchange", "id": 24321, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, linked-list", "url": null }
csc; 5. Real life word problems that involve the sine and cosine function can be used to keep the students engaged in the topic. inverse MTH 112 Elementary Functions Chapter 5 The Trigonometric Functions -. The inverses of sine, cosine and tangent functions are not functions unless the domains are limited. Many compres...
{ "domain": "rafbis.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9926541732082084, "lm_q1q2_score": 0.8624445117417647, "lm_q2_score": 0.8688267626522814, "openwebmath_perplexity": 518.5260431003412, "openwebmath_score": 0.7441229820251465, "tags": ...
java, game, swing inputMap.put(pressedKeyStroke, key.getText() + PRESSED); inputMap.put(releasedKeyStroke, key.getText() + RELEASED); actionMap.put(key.getText() + PRESSED, new MyArrowBinding(key, false)); actionMap.put(key.getText() + RELEASED, new MyArrowBinding(key, true)); } } ...
{ "domain": "codereview.stackexchange", "id": 21672, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, game, swing", "url": null }
# Decreasing sequence of sets $X$ is a topological space. Let $A_n$ be a non-increasing sequence of subsets of this space: $$A_n\supseteq A_{n+1}$$ and all $A_n$ are compact sets. Is it true that $A_\infty = \bigcap_n A_n$ is empty if and only if $A_N$ is empty for some $N$? If yes, how to prove it? Moreover, is $A_...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9873750533189538, "lm_q1q2_score": 0.802604911291109, "lm_q2_score": 0.8128673178375734, "openwebmath_perplexity": 187.63645174792362, "openwebmath_score": 0.9584870338439941, "tag...
qiskit, quantum-gate, quantum-circuit Title: How to repeat the same Qiskit instruction $N$ times (no for loop)? I need to build the following 1-qubit QuantumCircuit in Qiskit, repeating the pair ($X$ gate, barrier) for $N$ times: The most straightforward way to do this is by using a for loop in Python: from qiskit im...
{ "domain": "quantumcomputing.stackexchange", "id": 4481, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "qiskit, quantum-gate, quantum-circuit", "url": null }