text stringlengths 49 10.4k | source dict |
|---|---|
arduino, localization
I feel like I only had to change one line or am I wrong? I mean if I change the currentheading so that beacon is on a straight line with the next point it works. Maybe I didn't clarify it but I want to reach the next point so that the point A is the same as the point I'm heading to. I did make th... | {
"domain": "robotics.stackexchange",
"id": 1761,
"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": "arduino, localization",
"url": null
} |
quantum-state, bloch-sphere, state-space-geometry, trace-distance
The norm and metric in this case are defined on density operators with trace 1. This is not technically a vector space; it is a translate of the vector space of density operators with trace 0. You have to be careful about that in calculations, but thi... | {
"domain": "quantumcomputing.stackexchange",
"id": 1055,
"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-state, bloch-sphere, state-space-geometry, trace-distance",
"url... |
ros, ros-kinetic, ros-canopen
Title: canopen_chain_node and init device
How to init vcan0?
I need to use can::SocketCANInterface ?
can::Frame msg1;
msg1.id = 1;
msg1.data = {1,2,3,4};
const string driv("vcan0");
can::SocketCANInterface driver;
printf("init = %d\n",driver.init(driv, true));
printf("rec = %d\n... | {
"domain": "robotics.stackexchange",
"id": 30052,
"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, ros-kinetic, ros-canopen",
"url": null
} |
• The problem is that the local minimum $(\frac{\sqrt{2}}{2},\frac{\sqrt{2}}{2})$ doesn't satisfy 1 despite it being a local minimizer and (from what I can see) satisfying the regularity assumptions. – rb612 May 15 at 8:30
• For 1 to be satisfied, $\lambda\leq 0$, and here you found a $\lambda$ which is positive. This ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9653811581728097,
"lm_q1q2_score": 0.8186121022395778,
"lm_q2_score": 0.8479677641409289,
"openwebmath_perplexity": 645.6176097107766,
"openwebmath_score": 0.6192871332168579,
"tag... |
particle-physics, neutrinos, weak-interaction, matter
Title: Why Neutrino is a ghost particle? why neutrinos are called ghost particle.why it is not affected by strong magnetic field. why it does not interact with matter. why it does not interact with gravitational field? I am unable to understand it This is a misle... | {
"domain": "physics.stackexchange",
"id": 56142,
"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, neutrinos, weak-interaction, matter",
"url": null
} |
homework-and-exercises, newtonian-mechanics
Title: Normal Contact Force of Acting on Two Posts $\textbf{Question A.}$
A goal frame has a mass $100\,\textrm{kg}$, and has two identical posts $p_1$ and $p_2$ and a uniform crossbar. Respective contact forces $r_1$ and $r_2$ act vertically on the two posts. Find $r_1$.
$r... | {
"domain": "physics.stackexchange",
"id": 30310,
"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
} |
newtonian-mechanics, collision, inertial-frames
Bull mass $M$ with speed $v$ and man mass $m$ at rest.
Kinetic energy of the bull $\dfrac 1 2 Mv^2$ and the speed of the centre of mass is $\dfrac {M}{M+m} v$.
Kinetic energy associated with the centre of mass motion is $\dfrac 1 2 (M+m)\dfrac {M^2}{(M+m)^2}v^2= \dfrac... | {
"domain": "physics.stackexchange",
"id": 39884,
"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": "newtonian-mechanics, collision, inertial-frames",
"url": null
} |
Hope this was useful!
Best Regards
Japinder
_________________
| '4 out of Top 5' Instructors on gmatclub | 70 point improvement guarantee | www.e-gmat.com
Kudos [?]: 2168 [2], given: 123
Re: There are 8 teams in a certain league and each team plays [#permalink] 20 May 2015, 03:10
Go to page 1 2 Next [ ... | {
"domain": "gmatclub.com",
"id": null,
"lm_label": "1. Yes.\n2. Yes.\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 1,
"lm_q1q2_score": 0.9136765275272111,
"lm_q2_score": 0.9136765275272111,
"openwebmath_perplexity": 3576.657479026001,
"openwebmath_score": 0.18992069363594055,
"tags": null,
"ur... |
trees, binary-trees
Title: Bound the sum of leaf depth on a complete binary tree of $n$ leaves A complete binary tree is defined as a tree where each node has either 2 or 0 children.
For a complete binary tree with $n$ leaves, there can be different arrangements of nodes, let's define the maximum depth of such a tree ... | {
"domain": "cs.stackexchange",
"id": 19489,
"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": "trees, binary-trees",
"url": null
} |
gene, seurat, differential-expression, gene-expression
The response/covariate is the easiest to interpret in terms of biology. It is the condition. So it might be treated or untreated if we were interested in genes that respond to drug treatment, or it might be diseased vs healthy - this would be covariates. Or it mig... | {
"domain": "bioinformatics.stackexchange",
"id": 1876,
"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": "gene, seurat, differential-expression, gene-expression",
"url": null
} |
performance, c, raycasting
if(!MAP[(char)posX][(char)(posY-dirX*MOVESPEED)]) posY+=dirX*MOVESPEED;
}
}
if(keystate[SDL_SCANCODE_A]) {
if(keystate[SDL_SCANCODE_W] ^ keystate[SDL_SCANCODE_S]) {
if(!MAP[(char)(posX+dirY*STRAFEMOVESPEED)][(char)posY]) posX+=dirY*STRAFEMOVESPEED;
... | {
"domain": "codereview.stackexchange",
"id": 36675,
"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, c, raycasting",
"url": null
} |
c#
Title: Build an entity, based on a defined model by comparing table column to entity names and building Can I optimize the BuildEntity method more?
protected IEnumerable<GroupTitle> BuildProductGroup()
{
var productGroups = new List<GroupTitle>();
using (var connection = new SqlConnect... | {
"domain": "codereview.stackexchange",
"id": 20333,
"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#",
"url": null
} |
• If you checked $YYYY$ for $0000$ through $9999$ you have shown that every year (if you truncate to the last four digits to fit $YYYYMMDD$) will have a prime. The proofs in the answers involve years that have more than four digits and have more digits $Y$ than you have specified. I don't say this as a criticism, but a... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9711290930537121,
"lm_q1q2_score": 0.8028438747926603,
"lm_q2_score": 0.8267117940706734,
"openwebmath_perplexity": 291.91189443681503,
"openwebmath_score": 0.8738366365432739,
"ta... |
1 Like
You will check for 2, Since 2 divides it, find how many time will it divide 144,
2^4 is the highest power of 2 which divides 144, count = 4
144/16 = 9 , check 3, 3^2 divides 9, count = 4+2 = 6
Now if 6>=k ans is yes otherwise No.
You can use for/while loop to check highest power which divides given number.
2... | {
"domain": "codechef.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9790357622402971,
"lm_q1q2_score": 0.8004346504884555,
"lm_q2_score": 0.8175744761936437,
"openwebmath_perplexity": 3622.143986873944,
"openwebmath_score": 0.4217270016670227,
"tags": n... |
c#, .net
}
public Type GetType(string field )
{
string type = field;
if (!char.IsUpper(field[0]))
{
char[] b = field.ToCharArray();
b[0] = char.ToUpper(b[0]);
type = new string(b);
}
return Type.GetType("Central_Processing." + type);
... | {
"domain": "codereview.stackexchange",
"id": 28917,
"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#, .net",
"url": null
} |
quantum-spin, field-theory, group-theory, representation-theory, lorentz-symmetry
\begin{equation}
\hat{\psi}^{a}(x^{\mu})=\int \frac{d^{3}p}{(2\pi)^{3/2}}\frac{\sqrt{m}}{2\omega}\left(\phi^{a}_{\lambda}(p)\hat{\eta}^{\dagger}_{p\lambda}(0)e^{-i\omega t}+\text{ positron emission terms}\right)e^{ip^{r}x^{r}}
\end{equat... | {
"domain": "physics.stackexchange",
"id": 42064,
"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-spin, field-theory, group-theory, representation-theory, lorentz-symmetry"... |
Cartesian Product
Implementing the Cartesian product provides good practice working with arrays. Recall that the Cartesian product constructs all the points whose elements occupy the given ranges. To illustrate:
>>> calc_cartesian_product([
['a'],
[1, 2, 3],
['Y', 'Z']
])
[
['a', 1, 'Y'],
['a', 1, 'Z'],
['a', 2, 'Y... | {
"domain": "justinmath.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693242009478238,
"lm_q1q2_score": 0.8295972362921676,
"lm_q2_score": 0.8558511543206819,
"openwebmath_perplexity": 10237.753481393354,
"openwebmath_score": 0.2324194759130478,
"tags"... |
c#, file-system, dependency-injection
public IFileInfo GetFileInfo(string path) => _fileProvider.GetFileInfo(CreateFullPath(path));
public IFileInfo CreateDirectory(string path) => _fileProvider.CreateDirectory(CreateFullPath(path));
public IFileInfo DeleteDirectory(string path, bool recursive) => _fileProvi... | {
"domain": "codereview.stackexchange",
"id": 32580,
"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, dependency-injection",
"url": null
} |
c++, reinventing-the-wheel, template-meta-programming, c++17, c++20
template <std::size_t M,
CONSTRAINT(N == dynamic_extent || N == M
&& std::is_convertible_v<std::remove_pointer_t<decltype(span_detail::my_data(std::declval<T(&)[M]>()))>(*)[], T(*)[]>)>
constexpr span(std::array<valu... | {
"domain": "codereview.stackexchange",
"id": 34240,
"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++, reinventing-the-wheel, template-meta-programming, c++17, c++20",
"url": ... |
homework-and-exercises, electromagnetism, electrostatics
Since $\vec{E}$ is the field at the said point due to the entire sphere and not the southern hemisphere alone, why is this solution correct? I feel that the integral should be much more complicated than this. It turns out that both points of view are equivalent.... | {
"domain": "physics.stackexchange",
"id": 95394,
"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, electromagnetism, electrostatics",
"url": null
} |
your questions asks for the area above the x-axis, that means you just ignore the area under the x-axis that's bound by the line and the curve.
and it's found by :
$Area = \int_{0}^2 [4x - x^3]dx = [2x^2 - \frac{1}{4}x^4]^2_0 = 2(2)^2 - \frac{1}{4} (2)^4 - (2(0)^2-\frac{1}{4}(0)^4) = 4$ $units^2$
the answer in your ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9770226294209299,
"lm_q1q2_score": 0.8098919823929338,
"lm_q2_score": 0.82893881677331,
"openwebmath_perplexity": 405.8359182036207,
"openwebmath_score": 0.8193966150283813,
"tags"... |
ros, callback
Subscriber subscribe(const std::string& topic, uint32_t queue_size,
^
/opt/ros/indigo/include/ros/node_handle.h:474:14: note: template argument deduction/substitution failed:
/home/alex/Documents/Tutorials/ROS/wiki/catkin_ws/src/beginner_tutorials/src/listener_bind.cpp:15:92: note: mis... | {
"domain": "robotics.stackexchange",
"id": 27994,
"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, callback",
"url": null
} |
speed-of-light, acceleration
Title: Mass changes with speed, so shouldn't that mean reactionless drives are possible? Increasing the angular momentum of an object will increase the mass of an object. The thought experiment I have in mind is 2 identical discs, left and right:
spin left
push right off of left
stop left... | {
"domain": "physics.stackexchange",
"id": 71360,
"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": "speed-of-light, acceleration",
"url": null
} |
electromagnetism, statistical-mechanics
Title: Microscopic picture of an inductor I have a good understanding of how inductors behave in electrical circuits, and a somewhat rough-and-ready understanding of how this behaviour arises from Maxwell's equations. However, what I don't have a good mental picture of is how el... | {
"domain": "physics.stackexchange",
"id": 7549,
"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": "electromagnetism, statistical-mechanics",
"url": null
} |
# Sum of positive elements divided by their “weighted” product - inequality
I have following expression,
$$\frac{\sum_{i=1}^n x_i}{\prod_{i=1}^nx_i^{p_i}}$$
where $$p_i$$s satisfy $$\sum p_i = 1$$ and $$p_i \in [0,1]$$ and $$x_i\geq0$$, $$\forall i \in 1\dots n$$.
I think that this expression is always $$\geq 1$$, ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9817357184418848,
"lm_q1q2_score": 0.8284819590144662,
"lm_q2_score": 0.8438950966654774,
"openwebmath_perplexity": 422.9672899105124,
"openwebmath_score": 1.000004529953003,
"tags... |
when it exists? (An affirmative answer arose in conversation with Menachem Magidor and Gunter Fuchs, and we hope that $\text{Imp}$ will subsume further large cardinal features. We anticipate a future article on the implicitly constructible universe.) Which large cardinals are absolute to $\text{Imp}$? Does $\text{Imp}$... | {
"domain": "mathoverflow.net",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9621075739136381,
"lm_q1q2_score": 0.8324386563542616,
"lm_q2_score": 0.8652240964782011,
"openwebmath_perplexity": 380.9785412055225,
"openwebmath_score": 0.8968687653541565,
"tags... |
quantum-mechanics, commutator, phase-space, quantization, poisson-brackets
If $G$ is a symmetry group of the system, then there is a faithful representation $G \ni g \mapsto \tau_g$ of it in terms of (canonical) transformations $\tau_g : F \to F$ which move the classical states according to the transformation $g$. The... | {
"domain": "physics.stackexchange",
"id": 70398,
"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, commutator, phase-space, quantization, poisson-brackets",
"ur... |
# Why is $\sum_{i=1}^{\infty}(\sum_{j=1}^{\infty}a_{ij})=0$?
In a chapter on double series I am currently reading, at some point the notion of double sums not always being interchangeable is shown by the following example:
Consider $a_{ij}=\delta_{ij}-\delta_{i+1,j}$ for $i,j\in\mathbb{N}$ where $\delta$ is the Krone... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.98657174604767,
"lm_q1q2_score": 0.8242644499735479,
"lm_q2_score": 0.8354835350552603,
"openwebmath_perplexity": 138.71278773806463,
"openwebmath_score": 0.9535465240478516,
"tags... |
circuit-construction, quantum-circuit, gate-synthesis, pauli-gates, openfermion
| |
4: ---I--------------------@-------------@---I----------------------------- | {
"domain": "quantumcomputing.stackexchange",
"id": 5221,
"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": "circuit-construction, quantum-circuit, gate-synthesis, pauli-gates, openfe... |
stoichiometry, concentration
Title: How do I calculate the molarity of the Na2CO3 solution? My teacher isn't very good at helping me solve this problem. I keep getting the answer, but I don't know why I am getting it. Could you please help me understand this problem and why you should do this specific step?
A $\pu{1.... | {
"domain": "chemistry.stackexchange",
"id": 1984,
"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": "stoichiometry, concentration",
"url": null
} |
dataset, visualization, graphs
Title: How to represent a dataset as a linked list-like graph? I would like to visualize this data set using Python and probably a visualization tool like Matplotlib. The data set contains three columns: a user id with a question, a user id with an answer, and time. I would like to visua... | {
"domain": "datascience.stackexchange",
"id": 6296,
"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": "dataset, visualization, graphs",
"url": null
} |
control, algorithm, matlab, visual-servoing
% computing the L matrices
L1 = L_matrix(A(1),A(2),A3D_cam(3));
L2 = L_matrix(B(1),B(2),B3D_cam(3));
L3 = L_matrix(C(1),C(2),C3D_cam(3));
L4 = L_matrix(D(1),D(2),D3D_cam(3));
L = [L1;L2;L3;L4];
%updating the projection errors
... | {
"domain": "robotics.stackexchange",
"id": 1363,
"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": "control, algorithm, matlab, visual-servoing",
"url": null
} |
neuroscience, neurophysiology, hearing
Title: Why is the human ear most sensitive to 4000 Hz tones? Human hearing sensitivity is dependent on frequency, which can be visualized by equal-loudness (iso-loudness) contour plots. An example is given below (Taken from here).
This plot shows that a tone with around a 4 kHz ... | {
"domain": "biology.stackexchange",
"id": 6251,
"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, neurophysiology, hearing",
"url": null
} |
mechanical-engineering, mechanisms
Title: vertical rack and pinion self-stopping There are many places I see a knob used to set the vertical position of an object (like in a microscope stand), but how does it not just simply slide down due to gravity once the knob is released. It's not like they first have to pull/pus... | {
"domain": "engineering.stackexchange",
"id": 3887,
"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": "mechanical-engineering, mechanisms",
"url": null
} |
python, performance, beginner, python-3.x
NOTE: classes inheriting from collections.abc.MutableMapping
pop mapping items in "first-in-first-out" (FIFO) order.
This is the opposite order to python's builtin `dict`,
`collections.OrderedDict` and `collections.Counter`,
all of which use "la... | {
"domain": "codereview.stackexchange",
"id": 41789,
"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, performance, beginner, python-3.x",
"url": null
} |
java
Effectively impossible to say unless you give more information as to why you're doing the things you're doing. If this is for a real-life, production database of hospital patients, a flat text file is not a good idea (for instance).
Many more of your fields should be final than you currently have; immutability be... | {
"domain": "codereview.stackexchange",
"id": 43110,
"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",
"url": null
} |
c++, opencv
Aborted (core dumped)
there is no error in compilation.
It seems like an error in OpenCV version !?
Originally posted by ROSkinect on ROS Answers with karma: 751 on 2014-07-25
Post score: 1
Original comments
Comment by Mehdi. on 2014-07-28:
It would be better if you ask this question in StackOverflow, a... | {
"domain": "robotics.stackexchange",
"id": 18771,
"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++, opencv",
"url": null
} |
general-relativity, tensor-calculus, stress-energy-momentum-tensor, continuum-mechanics, fluid-statics
Using the chain rule leads to:
$$\frac{g_{tt}'(r)}{2g_{tt}(r)}=\frac{-g_{tt}'(r)}{-2g_{tt}(r)}=\partial_r\log(-g_{tt}(r))/2 \tag{5}.
$$
The step where I multiplied with $1=-1/(-1)$ was done to get to $\log(-g_{tt}(r... | {
"domain": "physics.stackexchange",
"id": 38994,
"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, tensor-calculus, stress-energy-momentum-tensor, continuum-mech... |
A matrix with only one row is called a _____ matrix, and a matrix with only one column is called a _____ matrix. A column vector is an r × 1 matrix, that is, a matrix with only one column. Horizontal Matrix A matrix in which the number of rows is less than the number of columns, is called a horizontal matrix. Suppose t... | {
"domain": "esanctifiedchurch.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9852713855015546,
"lm_q1q2_score": 0.8252829758064604,
"lm_q2_score": 0.8376199572530448,
"openwebmath_perplexity": 333.21374090401923,
"openwebmath_score": 0.875411450862884... |
quantum-mechanics, homework-and-exercises, quantum-entanglement
$$
\rho^A(t) = \sum_n {e^{-iH_A t}|n\rangle p_n \langle n|e^{iH_A t}} = \sum_n {|n(t)\rangle p_n \langle n(t)|}
$$
Necessarily the entropy doesn't change either, since it is a function of the eigenvalues, but not of the eigenstates:
$$
- Tr_A\left[ \rho^... | {
"domain": "physics.stackexchange",
"id": 25565,
"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, homework-and-exercises, quantum-entanglement",
"url": null
} |
$$\frac{dV}{dr} = A$$
-
Because you use the integral (read: anti-derivative) to find the area under the curve - even a curve in polar coordinates.
-
This doesn't explain why the coefficients match up. – Ben Alpert Jul 24 '10 at 3:35
@Ben: Yes it does. Try reading 'integral' as 'anti-derivative'. – BlueRaja - Danny P... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9805806501150427,
"lm_q1q2_score": 0.8084514138761216,
"lm_q2_score": 0.8244619285331332,
"openwebmath_perplexity": 305.74404026993545,
"openwebmath_score": 0.9043025970458984,
"ta... |
javascript
file = new File(folder.fsName + '/Wallpapers/21x9/' + icon.name + ".png");
options.horizontalScale = 100 * (icon.width / document.width);
options.verticalScale = 100 * (icon.height / document.height);
document.exportFile(file,ExportType.PNG24,options);
}
}
}
I have pla... | {
"domain": "codereview.stackexchange",
"id": 15114,
"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",
"url": null
} |
telescope, amateur-observing, fundamental-astronomy, coordinate
Title: Need help with the calculations/conversion of a celestial object I'm developing a telescope controller open-source application. I started this project with a very little knowledge of Astronomy.
Basically, the app is going to send data to telescope ... | {
"domain": "astronomy.stackexchange",
"id": 3170,
"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": "telescope, amateur-observing, fundamental-astronomy, coordinate",
"url": null
} |
• I would say $$a_{k-j}=\begin{cases} c_j(x_1^2+\dots+x_{n-1}^2)^\frac{k-j}{2}, & k-j\ \text{even} \\ 0, & k-j\ \text{odd} \end{cases}$$ and $p_k$ is of lower degree if $c_k = c_{k-2} + c_{k-4} + \cdots$ – inquisitor Dec 1 '17 at 17:03 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9911526454397475,
"lm_q1q2_score": 0.8080198384696655,
"lm_q2_score": 0.815232489352,
"openwebmath_perplexity": 113.4108348729179,
"openwebmath_score": 0.8529536724090576,
"tags": ... |
java, unit-testing, connect-four
Title: A TDD Exercise on ConnectFour I'm practicing my TTD skills and trying to apply best practices in Java. I finished (passing all the test cases) the Connect Four kata in the Agile Katas and I would like to know if there is a way to improve my code (this one's updated already).
Con... | {
"domain": "codereview.stackexchange",
"id": 27775,
"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, unit-testing, connect-four",
"url": null
} |
filters, poles-zeros, math, biquad
Title: Pole Quantization Patterns in 2nd Order IIR Resonators Background
My typical approach to fixed point design for digital filters is to iteratively scale and increase quantization while comparing the fixed point simulation to the floating point design target until errors are suf... | {
"domain": "dsp.stackexchange",
"id": 11643,
"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, poles-zeros, math, biquad",
"url": null
} |
java, beginner, algorithm, sorting
//-------------------------------------------------
//sort() using selection sort
public void selSort() {
int in, out;
//int min = 0;
for(out = 0; out < n - 1; out++) {
int min = out;
for(in = out+1; in < n; in++) {
... | {
"domain": "codereview.stackexchange",
"id": 15110,
"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, beginner, algorithm, sorting",
"url": null
} |
then the above simplifies to : f '(c) = 0. 7. m c = g c. 8. Free Arithmetic Mean (Average) Calculator - find the average of a data set step-by-step This website uses cookies to ensure you get the best experience. Also, be careful when you write fractions: 1/x^2 ln(x) is 1/x^2 ln(x), and 1/(x^2 ln(x)) is 1/(x^2 ln(x)). ... | {
"domain": "lilavati.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9817357237856482,
"lm_q1q2_score": 0.8181045247270315,
"lm_q2_score": 0.8333245953120233,
"openwebmath_perplexity": 363.52376274711804,
"openwebmath_score": 0.855637788772583,
"tags": n... |
mechanical-engineering, structural-engineering, solid-mechanics, elasticity
Title: Does gold have elastic behavior? I know structural steel is considered to have an elastic behavior and after a certain deformation, it has a plastic behavior.
How about gold metal? Gold has a Young's modulus of 79 GPa which is very simi... | {
"domain": "engineering.stackexchange",
"id": 5328,
"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": "mechanical-engineering, structural-engineering, solid-mechanics, elasticity",
... |
The choice of $g(X,Y)=\frac{d}{dx} \log (f_{XY}(x,y) )$ always seemed mysterious to me (but this is not the main reason for ask this question). That is why I am wondering whether there is a more "natural" proof where the quantity $\frac{d}{dx} \log (f_{XY}(x,y) )$ appearance is more obvious.
For example, it would be n... | {
"domain": "mathoverflow.net",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9848109511920161,
"lm_q1q2_score": 0.8051563019479733,
"lm_q2_score": 0.8175744806385543,
"openwebmath_perplexity": 414.0891859132885,
"openwebmath_score": 0.9547914862632751,
"tags... |
homework-and-exercises, momentum, energy-conservation, friction
Title: Why can't energy conservation nor momentum conservation be used to solve this problem?
A block of mass m is launched op an incline with speed $u$ on a rough incline. If it reaches the top find the minimum value of $u$. (slant height $l$)
Ans- $u=\... | {
"domain": "physics.stackexchange",
"id": 69660,
"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, momentum, energy-conservation, friction",
"url": null
} |
nuclear-chemistry
Title: Are there any actual uses of isodiaphers? While studying atomic structure, I came across the terms isotopes, isobars, isoelectronic species, isotones and isodiaphers. While I can accept that the classification of isotopes, isobars, isoelectronic species and isotones may be useful, I do not und... | {
"domain": "chemistry.stackexchange",
"id": 15388,
"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": "nuclear-chemistry",
"url": null
} |
noise
Title: AWGN : Recombining AWGN to obtain new AWGN I am a newbie to AWGN.
My professor has given me a task of taking 4 different AWGN (0 mean and SD of 1) channels (Lets say each channel has 100 samples). Then I recombine these noise samples by adding all the noise samples together. Now I divide the AWGN channel ... | {
"domain": "dsp.stackexchange",
"id": 7308,
"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": "noise",
"url": null
} |
crystal-structure, proteins
Title: Protein Data Bank: Asymmetric Unit/Biological Assembly For a schoolproject I have to interpret the 3D structure of an imatinib-BCR ABLC kinase complex. When I visited the PDB website I downloaded the PDB file corresponding to this complex. Once I opened it on my 3D modelling program ... | {
"domain": "chemistry.stackexchange",
"id": 5150,
"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": "crystal-structure, proteins",
"url": null
} |
newtonian-mechanics, fluid-dynamics, water, free-fall
Title: Force of an impact on water Today, at the Brazilian news, I heard that a men fell from a cruise into the sea, from a height of 50m, and decided to see if he could have survived. I took his weight for being 80kg.
I did $V^2=V_0^2 + 2 G H$, this resulted $V =... | {
"domain": "physics.stackexchange",
"id": 15098,
"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": "newtonian-mechanics, fluid-dynamics, water, free-fall",
"url": null
} |
```Theorem plus_n_Sm : forall n m : nat,
S (n + m) = n + (S m).
Proof.
induction n as [| n' IHn'].
- reflexivity.
- intros m. simpl. rewrite -> IHn'. reflexivity. Qed.```
The third theorem asks for a proof of the commutative property of addition. As `n` and `m` are symmetric, we prove this by induction on `n`. The bas... | {
"domain": "github.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.985271387015241,
"lm_q1q2_score": 0.8078174464481017,
"lm_q2_score": 0.8198933381139645,
"openwebmath_perplexity": 2386.5500511944606,
"openwebmath_score": 0.8877028226852417,
"tags": nul... |
complex, tone-generation
Is there a way to avoid that recalculation and only need complex math?
Generally, when thinking about this, you'll notice that you really need to compute the sin and cos of a value; and, since standard libraries (of whatever language you're using, unless it's very experimental) will be relati... | {
"domain": "dsp.stackexchange",
"id": 11199,
"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": "complex, tone-generation",
"url": null
} |
quantum-mechanics, homework-and-exercises, statistical-mechanics, harmonic-oscillator, partition-function
Inserting the closure relation for $p$, I get:
$$Z = \iint e^{-\beta a x^2} \left\langle x | p \right\rangle e^{-\beta a p^2} \left\langle p | x \right\rangle\mathrm{d}x {d}p$$
Since $\left\langle x | p \right\ra... | {
"domain": "physics.stackexchange",
"id": 44890,
"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, homework-and-exercises, statistical-mechanics, harmonic-oscilla... |
ros, ros2, tutorial, colcon
Title: colcon build freeze a Raspberry Pi
Thanks all for reading and helping.
I'm attempting to install and use Humble on a fresh 22.04 install on a Raspberry Pi reTerminal (CM4) with 4G RAM. Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1015-raspi aarch64). I've followed the instructions here (htt... | {
"domain": "robotics.stackexchange",
"id": 38020,
"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, ros2, tutorial, colcon",
"url": null
} |
variables of features falling within the bandwidth of each target feature. Linear Regression Calculator. Linear Regression is a predictive analysis tool. The code then calls ordinary least-squares linear regression. Неприменимы тесты. Now that we've implemented a whole neural network from scratch, using DeferredInitial... | {
"domain": "data-wizard.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9886682471364099,
"lm_q1q2_score": 0.8083099198872961,
"lm_q2_score": 0.817574471748733,
"openwebmath_perplexity": 833.588459763039,
"openwebmath_score": 0.6430838108062744,
"tags": n... |
javascript, jquery, css, html5, to-do-list
@keyframes animation-hide {
from {opacity: 1;}
to {opacity: 0;}
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
... | {
"domain": "codereview.stackexchange",
"id": 30796,
"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, css, html5, to-do-list",
"url": null
} |
ros, ros-hydro, camera-info-manager
Original comments
Comment by joq on 2015-06-10:
I don't recognize the way you are building it. Does it work in a separate workspace with catkin_make?
Comment by joq on 2015-06-10:
The failure is linking the unit test cases. Do you have the gtest stuff installed? Does it work with -D... | {
"domain": "robotics.stackexchange",
"id": 21872,
"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, ros-hydro, camera-info-manager",
"url": null
} |
python, beginner, html, xml, beautifulsoup
Title: Python webpage parser I have a working code, but it has a lot of flaws.
The main project is to get a value from a website. I need to complete this action million of times, so i download the webpage returned from the class method, and parse it afterwards. In case the pa... | {
"domain": "codereview.stackexchange",
"id": 18405,
"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, html, xml, beautifulsoup",
"url": null
} |
performance, c, programming-challenge
would be just as valid as:
defenestration 3
foo 3
the 3
Recall that the specification details of qsort() do not specify the sub-order when the compare returns 0. Not all qsort() sort these equal cases in the same order.
Within a given compiler this is not a issue, yet consider t... | {
"domain": "codereview.stackexchange",
"id": 45419,
"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, c, programming-challenge",
"url": null
} |
python, excel, csv, pandas
Title: Convert Excel files to CSV I wrote the following script to run through several excel files and format them before saving as a CSV for upload to a Quickbase app I'm creating. Each excel file is roughly 100k lines and the code takes about 3-5 minutes per file. I'm currently using pandas... | {
"domain": "codereview.stackexchange",
"id": 29606,
"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, excel, csv, pandas",
"url": null
} |
java, plugin, minecraft
Another example is:
BossBarAPI.addBar(p, // The receiver of the BossBar
message, // Displayed message
barColor, // Color of the bar
BossBarAPI.Style.PROGRESS, // Bar style
1.0F); // Fullness
Having a comment on every parameter is too much. This should normally b... | {
"domain": "codereview.stackexchange",
"id": 20513,
"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, plugin, minecraft",
"url": null
} |
int matrixA[][] = new int[m][n];
int matrixB[][] = new int[m][n];
int sumOfMatrices[][] = new int[m][n];
System.out.println("Enter the elements of Matrix A");
for (i = 0; i < m; i++)
for (j = 0; j < n; j++)
matrixA[i][j] = input.nextInt();
System.out.println("Enter the elements of Matrix B");
for (i = 0; i < m; i++... | {
"domain": "wikia.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9822877023336243,
"lm_q1q2_score": 0.848098962501684,
"lm_q2_score": 0.8633916117313211,
"openwebmath_perplexity": 13615.778852330634,
"openwebmath_score": 0.5465948581695557,
"tags": null... |
quantum-field-theory, hilbert-space, operators, mathematical-physics
How do representations of $*$-Algebras correspond to operators on a Hilbert space?
I see several problems here: | {
"domain": "physics.stackexchange",
"id": 89813,
"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, hilbert-space, operators, mathematical-physics",
"url": nu... |
enzymes, enzyme-kinetics
$\displaystyle \implies [\ce{ES}]=\frac{k_1}{k_{-1}+k_2}[\ce{E}][\ce{S}].$
To finish, we note that when the reaction has not consumed very much substrate, we can approximate $[\ce{S}]$ as equal to the starting substrate concentration $[\ce{S}]_0$. We also know that the total amount of enzyme i... | {
"domain": "chemistry.stackexchange",
"id": 12090,
"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": "enzymes, enzyme-kinetics",
"url": null
} |
meteorology, atmosphere, geophysics, climate, geography
Finally, I have to note that I've interpreted "calmest" as the minimum mean wind speed. However, it would be sensible also to consider it as the place with the lowest maximum wind speed or some other metric, that would perhaps change the picture described above. ... | {
"domain": "earthscience.stackexchange",
"id": 1365,
"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, geophysics, climate, geography",
"url": null
} |
// using the auto keyword
MeshType mesh = loadMesh( _mesh=new MeshType );
auto Xh = Pch<3>( mesh );
// is equivalent to
auto Xh = FunctionSpace<MeshType,bases<Lagrange<3>>>::New( mesh );
auto Xh = Pch_type<MeshType,3>::New( mesh );``````
##### Functions
One important feature in `FunctionSpace` is that it embeds the de... | {
"domain": "feelpp.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9559813538993888,
"lm_q1q2_score": 0.8163246661246598,
"lm_q2_score": 0.8539127492339909,
"openwebmath_perplexity": 13718.21862802429,
"openwebmath_score": 0.26109886169433594,
"tags": nu... |
window-functions, optimization
12 -0.809 -0.588 -0.809 -0.588 -0.809 -4.4409e-16 -1.6653e-15
13 -0.588 -0.809 -0.588 -0.809 -0.588 -1.1102e-16 -1.9984e-15
14 -0.309 -0.951 -0.309 -0.951 -0.309 1.6653e-16 -2.3315e-15
15 -0.000 -1.000 -0.000 -1.000 0.000 3.7141e-16 -2.5152e-15
16 0.309 -0.951 0.30... | {
"domain": "dsp.stackexchange",
"id": 9035,
"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": "window-functions, optimization",
"url": null
} |
python, beginner, python-3.x
becomes
def print_introduction() -> str: # We can say what type the function returns
"""
This function greets the user and asks their name
Returns: their name
"""
print('Hello!\nMy name is Monty!')
user_name = input("What's your name? ")
print(f'\nHi {user_name.... | {
"domain": "codereview.stackexchange",
"id": 44768,
"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, python-3.x",
"url": null
} |
examples of absolute convergence. used when expressing a strong opinion: 3…. Tutorial on the Ratio Test. Is it an alternating series? Are we interested in absolute convergence or just convergence? If we are just interested in whether the series converges, apply the alternating series test. Absolute Convergence. If r < ... | {
"domain": "amicidellacattolica.it",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9877587275910131,
"lm_q1q2_score": 0.8453744381198375,
"lm_q2_score": 0.8558511451289037,
"openwebmath_perplexity": 668.8494962363595,
"openwebmath_score": 0.810046315193176... |
and angular momentums (Q1, Q2, L1 and L2). Examples implementing double-pendulum using SimMechanics Second Generation can be found here. For double and triple pendulum, the phase portrait is applied to the inner most bob. There are (at least) three quantities which might a ect the period of the pendulum: The length Lof... | {
"domain": "mascali1928.it",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9883127416600689,
"lm_q1q2_score": 0.805704663296758,
"lm_q2_score": 0.8152324960856175,
"openwebmath_perplexity": 583.3157359183502,
"openwebmath_score": 0.8068075776100159,
"tags": ... |
quantum-mechanics, angular-momentum, hamiltonian-formalism, hilbert-space, representation-theory
How can I understand this physically and mathematically? Shouldn't the addition be commutative and the process be blind to which labels I use? It is just a basis redefinition.
If you exchange $I$ and $S$, you change the la... | {
"domain": "physics.stackexchange",
"id": 9983,
"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, angular-momentum, hamiltonian-formalism, hilbert-space, represen... |
homework-and-exercises, electromagnetism
What is the work done on the ring when the magnetic field $\mathbf{B}$ suddenly shuts off.
I'd like to stress that my issue with this question is not how to do it correctly, but rather why my method for solving it is incorrect.
I tried solving this via the magnetic energy:
$E... | {
"domain": "physics.stackexchange",
"id": 32311,
"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, electromagnetism",
"url": null
} |
fruit, alcohol, fermentation
http://www.plantphysiol.org/content/100/1/1.full.pdf+html
During the early hours of germination [...] seeds rapidly generate high respiratory quotients and exhibit increased ADH2 activities and active alcoholic fermentation. | {
"domain": "biology.stackexchange",
"id": 5631,
"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": "fruit, alcohol, fermentation",
"url": null
} |
php, object-oriented, php5, i18n
// Menu
$lang['MENU_LOGIN'] = 'Entra';
$lang['MENU_SIGNUP'] = 'Registrati';
$lang['MENU_FIND_RIDE'] = 'Trova gruppi';
$lang['MENU_ADD_RIDE'] = 'Aggiungi gruppo';
$lang['MENU_LOGOUT'] = 'Esci';
... | {
"domain": "codereview.stackexchange",
"id": 5767,
"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": "php, object-oriented, php5, i18n",
"url": null
} |
c++, performance, caesar-cipher
std::cout << '\n';
if(choice == "e"){
for(int i = 0; i < input.length(); ++i){
if(input[i] >= 'a' && input[i] <= 'z'){
std::cout << (char)((a * (input[i] - 'a') + b) % 26 + 'a');
} else if(input[i] >= 'A' && input[i] <= 'Z'){
... | {
"domain": "codereview.stackexchange",
"id": 23869,
"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++, performance, caesar-cipher",
"url": null
} |
– Will Jun 10 '15 at 20:41. The coordinate system in such a case becomes a polar coordinate system. If a curve is given in polar coordinates , an integral for the length of the curve can be derived using the arc length formula for a parametric curve. By printing out this quiz and taking it with pen and paper creates fo... | {
"domain": "quilianobike.it",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9923043516836919,
"lm_q1q2_score": 0.863897468000418,
"lm_q2_score": 0.8705972784807408,
"openwebmath_perplexity": 630.570451027436,
"openwebmath_score": 0.9171416759490967,
"tags": ... |
electromagnetism, electromagnetic-radiation, polarization
Title: How can any light get past a polarizer? The sun sends out unpolarized light. There are infinite degrees in which these photons are oriented. A polarizer only lets in light of one specific orientation.
In statistics, the infinitesimal area/slice of a sing... | {
"domain": "physics.stackexchange",
"id": 94469,
"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": "electromagnetism, electromagnetic-radiation, polarization",
"url": null
} |
c++, memory-management, c++14, template-meta-programming
Is there any type I can put in the parameter pack T... that can break this code? Anything else that doesn't look right? Anything I can clean or make more concise? Looks reasonable to me.
I don't understand why you keep sum.first and sum.second as separate valu... | {
"domain": "codereview.stackexchange",
"id": 15448,
"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++, memory-management, c++14, template-meta-programming",
"url": null
} |
electromagnetism, particle-physics
Title: Why do we need the resonance condition in a cyclotron? I am currently reading Physics by Halliday, Resnick, and Krane.
In Chapter 22 about elementary magnetism, there is a discussion about cyclotrons. In particular, it mentions the importance of the resonance condition, where ... | {
"domain": "physics.stackexchange",
"id": 98249,
"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": "electromagnetism, particle-physics",
"url": null
} |
ros2
Originally posted by peetonn on ROS Answers with karma: 28 on 2019-11-21
Post score: 1
Original comments
Comment by lucascoelho on 2019-11-21:
Could you elaborate a bit more on your hardware setup? Are you running ROS on a robot and you want to read /publish topics from it from Android/iOS? Or you want to actual... | {
"domain": "robotics.stackexchange",
"id": 34042,
"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": "ros2",
"url": null
} |
electromagnetism, gravity, weight
Title: Why can this magnet hold more weight vertically? I was browsing Amazon for magnetic hooks for my fridge and saw this diagram which surprised me because it is the opposite of what I would expect. Wouldn't the "Vertical" magnet be the weakest possible orientation? Why is it inste... | {
"domain": "physics.stackexchange",
"id": 96622,
"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": "electromagnetism, gravity, weight",
"url": null
} |
Now we’re going to characterise the lock sequences. Let $d_1, d_2, \dots, d_m$ be a nondecreasing sequence of natural numbers less than $k$ having length $m\leq n$; this is a lock sequence for the $(n,k)$-lock if these two inequalities hold:
$\sum_{i=1}^{m}d_i+(n+1-m)(k-1)\geq (n+1-m)k$
$\sum_{i=1}^{m}d_i + (n+1-m)d_... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.984336353585837,
"lm_q1q2_score": 0.8498677438881637,
"lm_q2_score": 0.8633916047011594,
"openwebmath_perplexity": 216.729063783,
"openwebmath_score": 0.807598888874054,
"tags": nu... |
quantum-mechanics, statistical-mechanics, path-integral, normalization, semiclassical
cannot be maintained for a generic potential, cf. this and this Phys.SE posts.
However, the normalization property (G) happens to hold for the propagator (E), so there is no problem with normalization in Minkowski space! It seems tha... | {
"domain": "physics.stackexchange",
"id": 33590,
"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, statistical-mechanics, path-integral, normalization, semiclassi... |
classical-mechanics, hamiltonian-formalism, coordinate-systems, volume, poisson-brackets
Title: Is a canonical transformation equivalent to a transformation that preserves volume and orientation? We have seen the reverse statement: Lioville's Theorem states that canonical transformations preserve volume (and orientati... | {
"domain": "physics.stackexchange",
"id": 45327,
"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": "classical-mechanics, hamiltonian-formalism, coordinate-systems, volume, poisson-br... |
physical-chemistry, thermodynamics, enthalpy, entropy
Title: Why does spontaneity of a reaction depend on temperature? As we know, $$\Delta G=\Delta H - T\,\Delta S.$$
Both in my textbook and on the internet, it was given that temperature was a determining factor in the spontaneity of a reaction. For example, when $\D... | {
"domain": "chemistry.stackexchange",
"id": 14155,
"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": "physical-chemistry, thermodynamics, enthalpy, entropy",
"url": null
} |
mixtures, and the fast computation of the KL divergence between two mixtures of Gaussians. Unlike the Kullback–Leibler divergence, the Wasserstein distance defines a proper distance, enjoys regularity and symmetry properties and is computationally tractable. that a transformation between the views is known. Kullback-Le... | {
"domain": "fastandstore.it",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.987946221548465,
"lm_q1q2_score": 0.8077196058073102,
"lm_q2_score": 0.8175744673038222,
"openwebmath_perplexity": 933.642810380257,
"openwebmath_score": 0.8982875347137451,
"tags": ... |
electromagnetism, waves, electromagnetic-radiation, dielectric, raman-spectroscopy
I hope you now understand where the boundary conditions come from. I won't tackle the derivation of the reflectivity now, but I recommend you look up the derivation of the Fresnel equations if you're interested: here a possible source: ... | {
"domain": "physics.stackexchange",
"id": 67426,
"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": "electromagnetism, waves, electromagnetic-radiation, dielectric, raman-spectroscopy... |
mountains, rainfall
Title: Could a waterfall lashing onto a road lead to a landslide? Here is a video of a waterfall lashing on to a mountain road, with vehicles driving under it.
https://youtu.be/cHaguj--YBc
There appears to be a big hole carved out right next to the road, possibly by the force of the waterfall.
Is t... | {
"domain": "earthscience.stackexchange",
"id": 543,
"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": "mountains, rainfall",
"url": null
} |
• And yet, following on Owen Reynolds' logic, a counter example: $X: 1,1,\dots\text{ 4,997 times},1,100,100,\dots\text{ 4,997 times}, 100$, so $\bar{x} = 50.5$, and $\tilde{x} = 50.5$. But alter a single observation thus: $X: -100, 1,1,\dots\text{ 4,997 times},1,100,100,\dots\text{ 4,996 times}, 100$, so now $\bar{x} =... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9828232940063591,
"lm_q1q2_score": 0.8103003799056899,
"lm_q2_score": 0.8244619199068831,
"openwebmath_perplexity": 456.75374665749894,
"openwebmath_score": 0.8301829099655151,
"ta... |
molecular-biology, yeast
Title: Do Yeast Insertion constructs revert? If I insert a new gene with a yeast integrating plasmid and select with a drop out culture once, can I assume that the newly integrated gene will stay in the strain without putting selective pressure on it? (i.e. can i use normal liquid culture and... | {
"domain": "biology.stackexchange",
"id": 604,
"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": "molecular-biology, yeast",
"url": null
} |
ros, winros
Download the latest ROSWIN32 installation executable here or do a
svn checkout of the sources from
here.
Run the executable and complete the installation. Running the example
"babbler" • Setting up your Linux
machine.
We will first need to set ROS_IP. Open a terminal and enter the
following command. e... | {
"domain": "robotics.stackexchange",
"id": 12114,
"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, winros",
"url": null
} |
homework-and-exercises, heisenberg-uncertainty-principle
Title: Question on the uncertainty principle The problem statement:
Measurement detects a position of a proton with accuracy of $\pm10pm$.
How much is the position uncertainty $1s$ later? Assume the speed of a
proton $v\ll c$. | {
"domain": "physics.stackexchange",
"id": 8793,
"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, heisenberg-uncertainty-principle",
"url": null
} |
To use the sine rule to find a missing angle, just flip the whole thing over. How many possible sequences of numbers exist? 2. It is very useful and interesting as a topic. There are two types of arrangements: Use permutations with. Permutations with Repetition. 13 cards selected from a deck of 52 for a hand in a game ... | {
"domain": "charlyedance.it",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9814534398277176,
"lm_q1q2_score": 0.8437199397400613,
"lm_q2_score": 0.8596637451167997,
"openwebmath_perplexity": 971.650366932591,
"openwebmath_score": 0.5433921813964844,
"tags":... |
Edit in response to edited question. Most mathematicians would read the successive sums as parenthesized (your first opiton).
• "For the first expression, you can see what's happening if you write out the sum with an ellipsis"... You can't rightly do that if you can't interpret it in the first place and aren't sure wh... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.960361162033533,
"lm_q1q2_score": 0.814355299957812,
"lm_q2_score": 0.8479677564567913,
"openwebmath_perplexity": 255.1464548820524,
"openwebmath_score": 0.8691187500953674,
"tags"... |
algorithms, graphs, graph-traversal
The DFS on $G$ traverses the whole strong component of $x$ after reaching $x$, plus some others via edges that leave the component.
Since we use a stack order for remembering the order of nodes, $x$ is also the first node of its strong component visited (as starting node, even) in t... | {
"domain": "cs.stackexchange",
"id": 16473,
"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": "algorithms, graphs, graph-traversal",
"url": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.