text
stringlengths
49
10.4k
source
dict
image-processing, discrete-signals Title: How to convert DFT to DCT I've been trying to find a fast 16 point dct2 and dct3 implementation, however I could only find it in literature expressed as mathematical equations, which honestly I couldn't understand. However I did find a code generator that outputs dft transfor...
{ "domain": "dsp.stackexchange", "id": 6548, "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": "image-processing, discrete-signals", "url": null }
ros-fuerte, rosmake, osx, rospack Perhaps you should add the directory containing `opencv.pc' to the PKG_CONFIG_PATH environment variable No package 'opencv' found CMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:129 (message): Failed to invoke rospack to get compile flags fo...
{ "domain": "robotics.stackexchange", "id": 11215, "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-fuerte, rosmake, osx, rospack", "url": null }
python, python-3.x Again utilizing those nifty f-strings if __name__ == "__main__": Put the parts of your code that are the ones calling for execution behind a if __name__ == "__main__": guard. This way you can import this python module from other places if you ever want to, and the guard prevents the main code from ...
{ "domain": "codereview.stackexchange", "id": 41579, "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-3.x", "url": null }
electromagnetism, electromagnetic-radiation, notation, conductors, dielectric The important thing is to be careful when picking formulas in different sources and be sure to know the convention used. There seems to be roughly an engineer ($\mathrm{exp}(j\omega t)$) vs. physicist ($\mathrm{exp}(-j\omega t)$) type of con...
{ "domain": "physics.stackexchange", "id": 62966, "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, notation, conductors, dielectric", ...
rosjava Unzipping /home/sam/.gradle/wrapper/dists/gradle-1.0-milestone-9-bin/7ilkmgo2rn79vvfvd51rqf17ks/gradle-1.0-milestone-9-bin.zip to /home/sam/.gradle/wrapper/dists/gradle-1.0-milestone-9-bin/7ilkmgo2rn79vvfvd51rqf17ks Set executable permissions for: /home/sam/.gradle/wrapper/dists/gradle-1.0-milestone-9-bin/7i...
{ "domain": "robotics.stackexchange", "id": 10619, "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": "rosjava", "url": null }
stereo-vision, 3d-reconstruction, monocular, point-cloud, structure-from-motion Title: Forward monocular stereo vision (Structure from Motion) I am looking for a library (or algorithm) that computes 3D scene (point cloud) from 2 consecutive images of a monocular sequence. I mean something like OpenSfM but only for 2 c...
{ "domain": "robotics.stackexchange", "id": 1448, "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": "stereo-vision, 3d-reconstruction, monocular, point-cloud, structure-from-motion", ...
c++, optimization, matrix delete W00; delete W01; delete W02; delete W03; delete W04; delete W05; delete W06; delete W07; delete W08; delete W09; delete W10; delete W11; delete W12; delete W13; delete W14; ...
{ "domain": "codereview.stackexchange", "id": 6326, "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, matrix", "url": null }
html, css, d3.js var data = { "name": "England", "children": [{ "name": "North England", "children": [{ "name": "Bradford City", "children": [{ "name": "Cancer", "value": 1.18, "color": "#A8A7A7", }, { "...
{ "domain": "codereview.stackexchange", "id": 29497, "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": "html, css, d3.js", "url": null }
classical-mechanics, continuum-mechanics, vibrations Title: Eigenfrequencies of an elastic bar with viscous damping I want to know the mode shapes and associated eigenfrequencies and damping ratios of a bar that vibrates in a longitudinal direction and has linear elastic as well as viscous material properties. Conside...
{ "domain": "physics.stackexchange", "id": 62709, "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, continuum-mechanics, vibrations", "url": null }
• Thanks for working out the solution from the article. Nice find! +1. – hypergeometric Oct 24 '15 at 13:55 • Please check out comments under Edit 1 in the question and see if you have any further thoughts. – hypergeometric Oct 24 '15 at 14:21 Here's another approach. Not as elegant as Jack's though. Perhaps similar t...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9777138118632622, "lm_q1q2_score": 0.8643374040445239, "lm_q2_score": 0.8840392695254319, "openwebmath_perplexity": 568.5360334157367, "openwebmath_score": 0.7652152180671692, "tag...
kinematics, time, terminology, distance, displacement Title: Is this $x$-$t$ graph possible? Is the distance decreasing over time in this graph? I have read in a Book: But I think it is possible as a Negative Velocity and Positive Acceleration: Reference: SL Arora Physics Class 11, Pg No. 152. Your “impossible” gr...
{ "domain": "physics.stackexchange", "id": 88940, "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": "kinematics, time, terminology, distance, displacement", "url": null }
performance, julia Further, I changed the code artificially such that all the exp(x) and log(x) were removed (by simply replacing with x) in the above routines as well as in sample() and LDA_sample_pp(). The result is iteration: 1, number of components: 20, elapsed time: 0.009678183 iteration: 1, number of components:...
{ "domain": "codereview.stackexchange", "id": 15607, "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, julia", "url": null }
java, stack, iteration, quick-sort if (rightChunkLength > 1) { indexStack[stackIndex++] = pivotIndex + 1; indexStack[stackIndex++] = endIndex; } if (leftChunkLength > 1 && leftChunkLength <= rightChunkLength) { indexStack[stackIndex++] = startIndex; inde...
{ "domain": "codereview.stackexchange", "id": 26261, "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, stack, iteration, quick-sort", "url": null }
specified amplitude, period, and phase shift. lim f (x) = O, lim _ f (x) = lim f (x) lim f (x) = lim f (x) lim f(x) = 0 Calculator for 29 and 42 tan 3(x + h) tan(3x) 29. But it is also possible to find a limit at infinity. In both cases, before we could calculate a slope, we had to estimate the tangent line from the gr...
{ "domain": "quintillasognidoro.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9808759671623988, "lm_q1q2_score": 0.8130861532581498, "lm_q2_score": 0.8289388062084421, "openwebmath_perplexity": 481.1933466521879, "openwebmath_score": 0.6260458827018738...
WhatsApp%20Image%202018-08-12%20at%2016.48.05.jpeg_LI.jpg [ 454.13 KiB | Viewed 2655 times ] Senior DS Moderator Joined: 27 Oct 2017 Posts: 1205 Location: India GPA: 3.64 WE: Business Development (Energy and Utilities) Re: What is the value of 2^x + 2^(-x) ? (1) x < 0 (2) 4^x + 4^(−x) = 23  [#permalink] ### Show Tags...
{ "domain": "gmatclub.com", "id": null, "lm_label": "1. Yes\n2. Yes", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9496693702514737, "lm_q1q2_score": 0.8284415803753427, "lm_q2_score": 0.8723473730188542, "openwebmath_perplexity": 10562.495420111209, "openwebmath_score": 0.7208378911018372, "tags": ...
python, python-3.x, bioinformatics Title: Counting the occurrences of certain amino-acids in a file I wrote this code to count the number of amino acids that appear in a proteome. However, I was recently told by someone I could improve it quite a lot to make it more readable and efficient by using dictionaries. This i...
{ "domain": "codereview.stackexchange", "id": 31165, "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-3.x, bioinformatics", "url": null }
quantum-chemistry, computational-chemistry Title: Redundant out of plane bends in gaussian not recognised I'm having an issue with something that shouldn't be that complicated. I'm trying to generate some surfaces with Gaussian to look at amine planarisations, but the modredundant command doesn't seem to be recognisin...
{ "domain": "chemistry.stackexchange", "id": 8862, "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-chemistry, computational-chemistry", "url": null }
robotic-arm, kinematics, jacobian 9: & \bf{\text{for }} \textrm{i = n to 2 } \bf{\text{do}} & \triangleright \textrm{ Jacobian Differentiation loop}\\ 10: & \quad \dot{z}_{i-1}^0 \leftarrow \omega_{i-1}^0 \times z_{i-1}^0 & \\ 11: & \quad \alpha \leftarrow \left[0,0,0\right]^T & \\ 12: & \quad \bf{\text{for }} \text...
{ "domain": "robotics.stackexchange", "id": 2162, "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": "robotic-arm, kinematics, jacobian", "url": null }
optimization, haskell, breadth-first-search bfs field start end = minSteps H.empty (H.singleton $ enc start) 0 where minSteps visited queue steps |enc end `H.member` queue = steps + 1 |otherwise = minSteps newVisited newQueue (steps + 1) where newVisited ...
{ "domain": "codereview.stackexchange", "id": 7231, "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": "optimization, haskell, breadth-first-search", "url": null }
electrochemistry, water, electrolysis Title: Is there Any Advantage to Using Multiple Steel Plates in an Electrolyzer? If I have an electrolyzer (For water) is there any advantage to having additional steel plates in between the electrodes in solution? For some reason this appears to be a popular design and I'm not su...
{ "domain": "chemistry.stackexchange", "id": 5104, "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": "electrochemistry, water, electrolysis", "url": null }
c++, recursion, unit-testing, boost, c++20 BOOST_AUTO_TEST_CASE(vector_test_1dimension_double) { constexpr int nested_layer = 1; constexpr int element_count = 3; typedef double TestType; TestType input = 1; BOOST_TEST((n_dim_container_generator<std::vector, nested_layer, element_count, TestType>(i...
{ "domain": "codereview.stackexchange", "id": 40088, "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++, recursion, unit-testing, boost, c++20", "url": null }
matlab, discrete-signals, convolution Title: Why does the amplitude of a discrete convolution depend on the time step? I've just finished covering convolutions in my signals class, and I've been playing around with the conv function in MATLAB, but there's something I don't quite understand. Say I have two discrete sig...
{ "domain": "dsp.stackexchange", "id": 3129, "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, discrete-signals, convolution", "url": null }
• If a function is odd and vanishes in the limits, is there any case where you can not instantly jump to saying its -inf to inf integral is 0? – iammax Jul 16 '18 at 12:00 • @iammax Sure, take any non-integrable function and mirror it. For example, $\frac{sgn(x)}{|x|+1}$ – Serge Seredenko Jul 16 '18 at 12:14 • Hmm are ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9693242018339898, "lm_q1q2_score": 0.8351098320371236, "lm_q2_score": 0.8615382040983516, "openwebmath_perplexity": 211.70923626866656, "openwebmath_score": 0.9558184742927551, "ta...
php, object-oriented require 'includes/InputValidator.class.php'; require 'includes/Files.class.php'; require 'includes/Client.class.php'; require 'includes/User.class.php'; $client = new Client(); if (!$client->isLogged()) $client->redirect('index.php'); if ($_SERVER['REQUEST_METHOD'] === 'POST') { $name = htm...
{ "domain": "codereview.stackexchange", "id": 38182, "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", "url": null }
rna-seq, gene Title: Get gene annotation type from gene name I am having RNA-seq data set for C.Elegans. I do not know which annotation scientists used for naming the genes of it, but I need to search somehow for the ^ERCC and ^mt- genes like specified in the tutorial: https://www.bioconductor.org/help/workflows/simpl...
{ "domain": "bioinformatics.stackexchange", "id": 332, "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": "rna-seq, gene", "url": null }
php, sql, mysql, crud It's common to see private variables prefixed with an underscore. It's up to you to decide if you'd like to follow this style. Some (including me) find that it makes it easier to differentiate between variable types. I've never seen SQL queries built/concatenated like you have done it. I wonder ...
{ "domain": "codereview.stackexchange", "id": 8226, "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, sql, mysql, crud", "url": null }
Fact: If $R$ is the row-reduced version of $A$, then $R$ and $A$ have the same nullspace. That is, $Rx = 0$ and $Ax = 0$ have the same solutions From the above facts, we conclude that if $A$ is invertible, then $A$ is row-equivalent to $I$. Since the columns of $I$ are linearly independent, the columns of $A$ must be ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9603611563610179, "lm_q1q2_score": 0.8143552914579283, "lm_q2_score": 0.8479677526147223, "openwebmath_perplexity": 114.87142275713684, "openwebmath_score": 0.8724910616874695, "ta...
dna, dna-replication Title: "Prime" structure of DNA Double Helix: Confusion In this video on DNA replication, the diagram shows the unwound DNA as still being anti-parallel, but the first diagram in this post on Biology SE shows that the individual strands are 5'____5' and 3'_____3'. So my question is the following: ...
{ "domain": "biology.stackexchange", "id": 5023, "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": "dna, dna-replication", "url": null }
cc.complexity-theory, big-picture, physics UPDATE: It occurred to me that the energy cost required to build the computer, can be recovered, in principle completely (I think), when you dismantle the computer. So, for each computation, you could build a special-purpose reversible computer that has just as many ancilla b...
{ "domain": "cstheory.stackexchange", "id": 889, "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": "cc.complexity-theory, big-picture, physics", "url": null }
ros Originally posted by justinkgoh on ROS Answers with karma: 25 on 2016-07-11 Post score: 0 Original comments Comment by gvdhoorn on 2016-07-12: Are you just asking how to install the library (.so file) in some specific location, or do you want to integrate the library into a ROS node? The fist is a file copy actio...
{ "domain": "robotics.stackexchange", "id": 25205, "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", "url": null }
I like how Sam Alexander relates it to weight training: "Like weight training, to train your mathematurity you need to struggle with concepts and exercises which really challenge you." (How to Train Your Mathematical Maturity by Sam Alexander http://www.xamuel.com/mathematical-maturity). [Emphasis added by me.] Howeve...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9124361557147438, "lm_q1q2_score": 0.8150878080990775, "lm_q2_score": 0.8933094145755219, "openwebmath_perplexity": 833.2101486140295, "openwebmath_score": 0.6286516189575195, "tag...
$80^2=2r^2\left(1+\frac{7}{25}\right)$ $r=50$ Then for the sum it should be established as: $\left\|\vec{r}+\vec{s}\right\|^2=2r^2(1-\cos (106)^{\circ})$ $\left\|\vec{r}+\vec{s}\right\|^2=2r^2(1+\cos (74)^{\circ})$ $\left\|\vec{r}+\vec{s}\right\|=\sqrt{2\left(50\right)^2\left(1+\frac{7}{25}\right)}$ To which I en...
{ "domain": "mathforums.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9918120915504279, "lm_q1q2_score": 0.819942762055651, "lm_q2_score": 0.8267118026095991, "openwebmath_perplexity": 322.0401750953608, "openwebmath_score": 0.8922627568244934, "tags": ...
are two constants of integration. a) Total cost when output is 4 units. Marginal revenue is the derivative of total revenue with respect to demand. Derivatives in Physics • In physics, the derivative of the displacement of a moving body with respect to time is the velocity of the body, and the derivative of velocity W....
{ "domain": "dealsjh.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9697854146791214, "lm_q1q2_score": 0.8102397484874355, "lm_q2_score": 0.8354835371034368, "openwebmath_perplexity": 1111.820842033307, "openwebmath_score": 0.7605447173118591, "tags"...
So this is just where we have to stop. We have looked at the richness of linear algebra from many angles. We have seen that the simple linear system $$A\mathbf{x} = \mathbf{b}$$ leads to a whole collection of interesting questions, questions that have unfolded step by step over the course of the semester. But we hav...
{ "domain": "bu.edu", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9835969650796875, "lm_q1q2_score": 0.8340585174049024, "lm_q2_score": 0.8479677622198946, "openwebmath_perplexity": 453.84748765150295, "openwebmath_score": 0.891132116317749, "tags": null, ...
of sides of the parallelogram ( - 2, 3 ), (,... D, the fourth vertex or one of the fourth vertex of the fourth?... Of line segment joining the points and is given points are vertices of a.... The parallelogram whose three if three vertices of a parallelogram are of a parallelogram are ( -2, -1 ), B ( 8,1 ) B. Points P,...
{ "domain": "zjiang.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9763105300791786, "lm_q1q2_score": 0.8156913789811959, "lm_q2_score": 0.8354835411997897, "openwebmath_perplexity": 446.27628357483803, "openwebmath_score": 0.7867230772972107, "tags"...
python, pandas Title: No graph is displaying while plotting value with time interval using python I have a large dataset with values and date and time. So I want to plot graph of value with time and date. So I wrote a code for time difference. Afterthat I tried to store value into that time difference. Afterthat I tri...
{ "domain": "datascience.stackexchange", "id": 4635, "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, pandas", "url": null }
# Existence of Principal Ideal My first question is DOES a Principal Ideal always exist in a ring? (My thoughts: By it's very definition any element can generate a PI and hence it exists) Follow-up question: (If answer to 1st question is YES) Please have a look at the alternate proof I have in mind for the following ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9664104933824753, "lm_q1q2_score": 0.811527721884252, "lm_q2_score": 0.8397339716830605, "openwebmath_perplexity": 256.58058851844237, "openwebmath_score": 0.8204128742218018, "tag...
The formula can be extended to $k$ subsets as stated before. The proof would be induction on the number of sets. The base case is already proven, and for the induction step you should apply a similar equality chain to the latter. • I don't see how the question is clear. Are the two data sets assumed to come from the s...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9752018419665619, "lm_q1q2_score": 0.8040167976460663, "lm_q2_score": 0.8244619350028204, "openwebmath_perplexity": 442.8814470121422, "openwebmath_score": 0.7518642544746399, "tag...
# Computing limit of $(1+1/n^2)^n$ [duplicate] I want to compute the limit $\left(1+\frac{1}{n^2}\right)^n$. One way to do this is to take logs. So $$x_n=\left(1+\frac{1}{n^2}\right)^n$$ Then $$\log x_n = n\log\left(1+\frac{1}{n^2}\right) = n\left(\frac{1}{n^2}-\frac{1}{2n^4}+O\left(\frac{1}{n^6}\right)\right)$$So $\l...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.976310529389902, "lm_q1q2_score": 0.8239036800741274, "lm_q2_score": 0.8438951084436077, "openwebmath_perplexity": 763.4977275254066, "openwebmath_score": 0.9897549748420715, "tags...
electromagnetism, charge, gauge-theory, field-theory, fermions Title: Do Weyl fermions carry electric charge? Do Weyl fermions carry ordinary electric charge? That is, do they interact with, for instance, electrons or photons? We should probably start by pointing out that no Weyl fermion has ever been observed. The re...
{ "domain": "physics.stackexchange", "id": 30101, "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, charge, gauge-theory, field-theory, fermions", "url": null }
javascript, beginner, jquery, html, css $('#customSum').closest('table').find('tr td:nth-child(2) input[type=text]').not(':last').addClass('rowA').css("border", "solid 1px black");
{ "domain": "codereview.stackexchange", "id": 14771, "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, beginner, jquery, html, css", "url": null }
control, gazebo, gazebo-model Title: Model breaks at high velocities Hello Guys, i am rebuilding the azcar car model from here: http://cps-vo.org/node/25319/browser But for some reason with my own controllers and added steering joints for the rear. My model breaks at high speeds! Meaning that the rear steering joint...
{ "domain": "robotics.stackexchange", "id": 3987, "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, gazebo, gazebo-model", "url": null }
i will use y' to mean dy/dx to save on typing $xy - 2y + 4y^2 = 6$ differentiating implicitly we get: $y + x~y' - 2~y' + 8y~y' = 0$ ...........note that i used the chain rule for the first term now, solve for y' and plug in the required x and y-values 6. Originally Posted by NoiseandAttack 3) Let f and g be differ...
{ "domain": "mathhelpforum.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9817357184418847, "lm_q1q2_score": 0.8181045243377242, "lm_q2_score": 0.8333245994514084, "openwebmath_perplexity": 337.00069455575385, "openwebmath_score": 0.8994489312171936, "ta...
The x-coordinate − x = np.linspace(-1,1,51) Display the x-coordinate − print("X Co-ordinate...\n",x) The y-coordinate − y = x**3 - x + np.random.randn(len(x)) print("\nY Co-ordinate...\n",y) To get the least-squares fit of a polynomial to data, use the polynomial.polyfit() in Python Numpy − c, stats = P.polyfit...
{ "domain": "tutorialspoint.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9706877717925422, "lm_q1q2_score": 0.8002951165223067, "lm_q2_score": 0.8244619328462579, "openwebmath_perplexity": 2454.4474161875105, "openwebmath_score": 0.46353447437286377, "...
nomenclature Title: Naming of halogen group in ethane Can we write "1-Chloro-ethane" when a single chloro group is present in the ethane? I think only one position is possible for the chloro group in ethane. In general nomenclature, the practice of omitting locants when there is no ambiguity is widespread. For pref...
{ "domain": "chemistry.stackexchange", "id": 9311, "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": "nomenclature", "url": null }
mobile-robot, slam, kalman-filter, navigation, ekf Title: What is the intuitive explanation of using Jacobian of observation model while calculating Kalman gain in EKF SLAM? The idea of using Kalman gain in EKF SLAM is to figure out how much we trust our motion model and sensor/observation model. As explained in The E...
{ "domain": "robotics.stackexchange", "id": 1394, "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": "mobile-robot, slam, kalman-filter, navigation, ekf", "url": null }
python, numpy, vectorization, pytorch vector_pred = pred_mask.view(n_patch, -1) best_threshold_val = torch.zeros(n_patch) best_jaccard_idx = torch.zeros(n_patch) if USE_CUDA: groundtruth_masks = groundtruth_masks.cuda() pred_mask = pred_mask.cuda() vector_pred = vector_pred.cuda() best_threshold_val ...
{ "domain": "codereview.stackexchange", "id": 36013, "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, numpy, vectorization, pytorch", "url": null }
game, objective-c, ai @interface DTGamePlayingAI : NSObject <NSCoding> -(void) activate; -(void) update; @property GamePlayingAIState state; @property DTGameAIJob *moveToPerform; @property DTTower *tower; @property int commonResources; @property int rareResources; @property int foodResources; @end DTGamePlayin...
{ "domain": "codereview.stackexchange", "id": 8801, "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": "game, objective-c, ai", "url": null }
f#, ascii-art, fractals You may notice that this version of treeLine no longer has the extra int seq parameter, but instead gets a single int, passed through from the containing function. This would hide the implementation (how is the conversion to characters done) from the callers. You now no longer need to create ...
{ "domain": "codereview.stackexchange", "id": 17262, "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": "f#, ascii-art, fractals", "url": null }
visible-light, electromagnetic-radiation, energy-conservation Fluorescence occurs by emission of a photon, and the molecule returns to the ground electronic state. However, again, because of the mismatch between the equilibrium bond lengths in the two electronic states, and the fact that the transition happens "vertic...
{ "domain": "physics.stackexchange", "id": 51089, "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": "visible-light, electromagnetic-radiation, energy-conservation", "url": null }
# Problem 1 [30 points] Maximum and minimum eigenvalues¶ Consider the maximum eigenvalue $\lambda_{\max}$ and the minimum eigenvalue $\lambda_{\min}$ for any $X\in\mathbb{S}^{n}$. The purpose of this exercise is to investigate whether $\lambda_{\max}(X)$ and $\lambda_{\min}(X)$ are convex functions of the matrix vari...
{ "domain": "nbviewer.org", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9939024385298785, "lm_q1q2_score": 0.8007197995057632, "lm_q2_score": 0.8056321913146127, "openwebmath_perplexity": 442.5542543119385, "openwebmath_score": 0.9364901781082153, "tags": n...
Proof. Suppose first that $R$ is strongly regular and let $M$ be a maximal ideal of $Z(R).$ Let $0 \neq s^{-1}x \in R_M.$ So $tx \neq 0$ for all $t \in Z(R) \setminus M.$ Since $R$ is regular, there exists some $y \in R$ such that $xyx = x.$ Then $xy=e$ is an idempotent and thus $e \in Z(R)$ because in a reduced ring e...
{ "domain": "wordpress.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9755769106559808, "lm_q1q2_score": 0.8108439587819448, "lm_q2_score": 0.8311430394931456, "openwebmath_perplexity": 90.94035984365544, "openwebmath_score": 0.9459206461906433, "tags": ...
homework-and-exercises, newtonian-mechanics, forces For $2kg$ : What is the magnitude of the external force acting on the $2kg$ block ? It is $10N$ and the maximum static friction that could act on it is just $8N$ , so we must consider this exact value of static friction force when the external force exceeds this valu...
{ "domain": "physics.stackexchange", "id": 72199, "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, forces", "url": null }
quantum-mechanics, operators, observables, time-evolution Title: How come there are Schrödinger Picture operators with explicit time dependence? In the Schrödinger picture, observables are said to be time independent (see Cohen, for example) operators. However, when deriving the Heisenberg Equation of Motion $$i\hbar\...
{ "domain": "physics.stackexchange", "id": 97246, "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, operators, observables, time-evolution", "url": null }
quantum-chemistry, computational-chemistry, software Total/Alpha/Beta electrons: 18.0000 9.0000 9.0000 Net charge: 0.00000 Expected multiplicity: 1 Atoms: 1, Basis functions: 9, GTFs: 27 Total energy: -521.222880802727 Hartree, Virial ratio: 2.01704078 This is a restri...
{ "domain": "chemistry.stackexchange", "id": 7650, "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-chemistry, computational-chemistry, software", "url": null }
analytical-chemistry, nuclear Title: Find ratio of number of atoms of $A$ and $B$ However I am thinking of this question to be damn easy but still I'll not say as I am not getting it, There are two radio nuclei $A$ and $B$. $A$ is $\alpha$ emitter and $B$ is $\beta$ emitter and their decay constant are in ratio $1:...
{ "domain": "chemistry.stackexchange", "id": 1449, "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": "analytical-chemistry, nuclear", "url": null }
$3x^2 + 4xy + 3y^2 = 20 = 5(x^2 + y^2) - 2(x-y)^2=5D^2 - 2(x-y)^2$ so then you need to minimize $f(x,y) = 20 + 2(x-y)^2$, which gives you $x=y$. That is your second critical point. • Thank you, this is exactly the type of answer I was looking for. The method of completing the square is perhaps arbitrary but not compl...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9711290913825541, "lm_q1q2_score": 0.8175213682104148, "lm_q2_score": 0.8418256393148982, "openwebmath_perplexity": 164.35074807355556, "openwebmath_score": 0.8674652576446533, "ta...
machine-learning, prediction, accuracy, metric Title: What metric should I use to achieve perfect score when choosing all possible results? A guy told me that he can predict which player I would choose from Greece's Euro 2004 Champion football team. Assume my choice was random. He then goes ahead and names all the pla...
{ "domain": "datascience.stackexchange", "id": 9781, "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, prediction, accuracy, metric", "url": null }
mechanical-engineering, solidworks, technical-drawing, standards, drawings Title: Can I omit the scale information in the technical drawing of a mildly complex mechanical part if I provide all of the necessary dimensions clearly? and thanks in advance for taking the time to help me. TL;DR: I work for a company where I...
{ "domain": "engineering.stackexchange", "id": 5185, "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, solidworks, technical-drawing, standards, drawings", ...
algorithms, graphs, approximation, matching Title: Why is Savage's Vertex Cover algorithm a 2-approximation? Carla. D. Savage formulated the following approximation algorithm for the vertex cover problem. Given graph $G$, start at arbitrary node and traverse $G$ depth-first Obtain DFS tree $T$ return $V_C =$ internal...
{ "domain": "cs.stackexchange", "id": 16534, "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, approximation, matching", "url": null }
special-relativity In this frame the dimensions of B are $\frac{a}{\gamma'} \times a \times a$ So the volume from A frams is $$V' = \frac{a^3}{\gamma'} < V$$ To get a better feel for of this, For two cubes of unit volume in their rest frames, moving towards each other with $\nu = 0.6c$ and $\gamma = 1.25$. the volume...
{ "domain": "physics.stackexchange", "id": 45785, "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", "url": null }
aqueous-solution, solutions, enthalpy, solvents, entropy Title: What is the mechanism of endothermic dissolution? My real question is in fact "How can dissolution happen if it's endothermic?" However, there have been many questions regarding this exact topic and the answers about Gibbs free energy determining spontane...
{ "domain": "chemistry.stackexchange", "id": 14690, "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": "aqueous-solution, solutions, enthalpy, solvents, entropy", "url": null }
java, android, unit-conversion fromKilogramMap.put(R.id.toGram, 1000.0); fromKilogramMap.put(R.id.toKilogram, 1.0); fromKilogramMap.put(R.id.toMicrogram, 1000000000.0); fromKilogramMap.put(R.id.toMilligram, 1000000.0); fromKilogramMap.put(R.id.toOunce, 35.27396194958); fromKilog...
{ "domain": "codereview.stackexchange", "id": 18610, "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, android, unit-conversion", "url": null }
kotlin, fibonacci-sequence If using last is not appropriate, you can use lastIndex property rather than fibs.size - 1. I'd rename fibs to something more obvious like calculatedList (or generated. I assume you never wanna reassign fibs, in that case var is not necessary and you can use val. Think is is good idea to ...
{ "domain": "codereview.stackexchange", "id": 43070, "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": "kotlin, fibonacci-sequence", "url": null }
The book answer gives $\frac{6}{13}$ which is the probability that the first digit is even, considering that it doesn't matter whether the others are even or odd. However, this misses the probabilities of the 1st being odd, the 1st 2 being odd, the 1st 3 being odd, the 1st and 3rd being odd......etc. What I did to s...
{ "domain": "mathhelpforum.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9796676460637103, "lm_q1q2_score": 0.8579801678565534, "lm_q2_score": 0.8757869786798663, "openwebmath_perplexity": 709.8450075966517, "openwebmath_score": 0.8072686791419983, "tag...
homework-and-exercises, electrostatics, electric-fields Title: Electric Field of a sphere Is there a point in space where the electric field is half of the electric field on the surface of the sphere? I just got curious if it would be possible. The equation of the electric field of a sphere shows that $$E = \frac{Q}{...
{ "domain": "physics.stackexchange", "id": 16074, "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, electrostatics, electric-fields", "url": null }
c#, performance, object-oriented, xamarin public IEnumerator GetEnumerator() { return eventos.GetEnumerator(); } public Eventos() { } } public class Evento : Java.Lang.Object { #region Table Columns Names public const string COLUMN_Id = "ID"; public const string COLUMN_DataHoraRe...
{ "domain": "codereview.stackexchange", "id": 32648, "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, object-oriented, xamarin", "url": null }
c#, beginner if (directory.Equals(programPath)) { if (directory.Equals((defaultDirectory + "\\systemstartupprogram.exe").ToLower())) { LaunchCheckBox.Checked = !LaunchCheckBox.Checked; return; } rk.Dele...
{ "domain": "codereview.stackexchange", "id": 30288, "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#, beginner", "url": null }
java, performance, mathematics, integer, lombok @Override public String toString() { return p + "/" + q; } /** Returns +1, 0, or -1 according to the specification. */ @Override public int compareTo(BigRational a) { if (this == a) return 0; // improbable but very fast checkNotNull(a...
{ "domain": "codereview.stackexchange", "id": 11098, "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, performance, mathematics, integer, lombok", "url": null }
python, game, random, dice This can then be called as follows: game.play( DiceThrow( [5,7] ) ) game.play( DiceThrow() ) # for a random set of throws and used: def play(self, dice_throw): comeOut = dice_throw.First() print( "began game with %d"%comeOut ) if (comeOut,) in self.outcomes: return self....
{ "domain": "codereview.stackexchange", "id": 2115, "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, game, random, dice", "url": null }
turing-machines, undecidability, nondeterminism You might argue that NTM $N$ can guess $x$ such that $N(x)$ will halt and output $y\not=x$. So we will find one such $N$. There is no problem in that. However, consider the case when $N$ never stops on every input. Now, imagine the exact moment you consider that $N$ fulf...
{ "domain": "cs.stackexchange", "id": 13374, "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, undecidability, nondeterminism", "url": null }
ros, turtlebot, turtlebot-bringup, ros-electric Originally posted by Dustin with karma: 328 on 2012-03-25 This answer was ACCEPTED on the original site Post score: 0 Original comments Comment by I Heart Robotics on 2012-03-25: I'm not sure if this is helpful, but here goes. You should be able to run roscore independe...
{ "domain": "robotics.stackexchange", "id": 8698, "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, turtlebot, turtlebot-bringup, ros-electric", "url": null }
vba, excel '/====================================================================================================================================================== '/ Author: Zak Armstrong '/ Email: zak.armstrong@company.co.uk '/ Date: 14/August/2015 '/ '/ Is Called By: Allocate_Business_To_Adviser '/ '/ ...
{ "domain": "codereview.stackexchange", "id": 15321, "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": "vba, excel", "url": null }
complexity-theory, polynomial-time, oracle-machines Title: $UP^{\ O}\neq P^{\ O}$ for some oracle $O$ The definition of the class $UP$ is here. It is of course easy to see that $P\subseteq UP$. I have a problem of proving that there is an oracle $O$ and a language $L$ such that $L\in UP^{\ O}$ but $L\notin P^{\ O}$, ...
{ "domain": "cs.stackexchange", "id": 9427, "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": "complexity-theory, polynomial-time, oracle-machines", "url": null }
Are there any others? Suppose that $y\equiv x\pmod{m_1}$. Then $m_1$ divides $y-x$. So the possible remainders when $y-x$ is divided by $m$ are $0, m_1,2m_1,\dots, (d-1)m_1$. It follows that $y-x=im_1$ for some $i$ where $0\le i\le d-1$. This just says that $y\equiv x+im_1 \pmod{m}$, that is, $y\equiv x+\frac{mi}{d}\pm...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9817357227168956, "lm_q1q2_score": 0.8116124943433275, "lm_q2_score": 0.826711787666479, "openwebmath_perplexity": 121.68082277394132, "openwebmath_score": 0.9497363567352295, "tag...
coordination-compounds, transition-metals Now let’s consider using $\ce{en}$ (ethylenediamine) rather than $\ce{NH3}$. The bridge between the two amino groups is long enough to bridge across one edge of the octahedron but not any further. Replacing all the equatorial ligands with $\ce{en}$ makes sense because we will ...
{ "domain": "chemistry.stackexchange", "id": 5713, "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": "coordination-compounds, transition-metals", "url": null }
machine-learning, python, data-cleaning Title: Skewed Data doesnt follow normal distribution My data (continuous) is highly skewed and it doesn't follow the normal distribution. Using sns.distplot I found out that exponweib fits the data better. How to deal with this? My end goal is to use the data for machine learnin...
{ "domain": "datascience.stackexchange", "id": 7041, "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, data-cleaning", "url": null }
algorithms, hash Similarly, you can solve for the case when $k \notin I$. There you simply take the sum of expectation for every key in $I \setminus \{k\} = I$. Therefore, the expected length of $S_h$ is at most $\frac{|I| }{m} = n/m = \alpha$.
{ "domain": "cs.stackexchange", "id": 18892, "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, hash", "url": null }
navigation, move-base, actionlib Title: Unable to send navigational goals on own robot I am unable to send simple navigational goals to my own (physical) robot, with the following specs: It runs diamondback on an internal computer, and ROS commands go directly to its motor controllers. I use a myrobot.launch file for...
{ "domain": "robotics.stackexchange", "id": 6157, "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": "navigation, move-base, actionlib", "url": null }
temperature, thermal-conduction The TC industry is extremely well controlled, and so it's highly unlikely that any TC wire you buy will be "inaccurate." So if you buy only the wire itself, no need to worry. TC wire is very cheap, coming in all Types and diameters. It's very easy to make a TC junction from the wire i...
{ "domain": "engineering.stackexchange", "id": 3852, "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": "temperature, thermal-conduction", "url": null }
quantum-state, density-matrix $$ Because there's a separable partition between (1,2) and (3,4), this is not changed by the partial trace. Thus $$ \text{Tr}_B|\psi\rangle\langle\psi|=\left(\text{Tr}_2|\phi\rangle\langle\phi|\right)\otimes \left(\text{Tr}_3|\phi\rangle\langle\phi|\right). $$ You imply that you know how ...
{ "domain": "quantumcomputing.stackexchange", "id": 1109, "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, density-matrix", "url": null }
home-experiment Title: wobbling coin observation I happened to notice this while fidgeting with a coin. It is a common trick to hold up a coin between the index finger and the thumb, place it on the table and give it a good spin. The coin spins about its diametrical axis, while its center of mass follows a trajectory(...
{ "domain": "physics.stackexchange", "id": 35100, "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": "home-experiment", "url": null }
ros, tum-simulator [ 0%] Built target _cvg_sim_msgs_generate_messages_check_deps_VelocityXYCommand [ 0%] [ 0%] [ 0%] [ 0%] [ 0%] [ 0%] Built target _cvg_sim_msgs_generate_messages_check_deps_Altitude Built target geometry_msgs_generate_messages_lisp Built target _cvg_sim_msgs_generate_messages_check_deps_Yawrat...
{ "domain": "robotics.stackexchange", "id": 27444, "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, tum-simulator", "url": null }
c++, beginner, object-oriented, game, playing-cards void Hand::addSpecificCard(Card* c) { cards.push_back(c); if(c->getNum() == 1) aces.insert(c); points+=c->getVal(); } Card* Hand::removeCard() { Card* lastCard = cards.back(); points -= lastCard->getVal(); if(lastCard->getNum() == 1) aces.era...
{ "domain": "codereview.stackexchange", "id": 43308, "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++, beginner, object-oriented, game, playing-cards", "url": null }
cosmology Title: Missing step while (classically) deriving Friedmann equation I'm trying to understand the classical derivation of Friedmann equation but I'm missing one step. So, I start with accelerations, where $a$ is a scale factor $\ddot{a}=-\frac{GM}{a^{2}}$ $\ddot{a}=-\frac{4\pi G}{3}\rho a$ Now multiply both s...
{ "domain": "physics.stackexchange", "id": 90468, "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": "cosmology", "url": null }
• You should show your proof so that we don't duplicate your effort. – Blue Aug 27 '16 at 22:35 • I have the proof but had intended to publish later. I will publish tomorrow because if the posting at this time, I will not have the different possible answers I would like to know. – Piquito Aug 27 '16 at 22:43 • How do w...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.975576913496333, "lm_q1q2_score": 0.8065209466582677, "lm_q2_score": 0.8267118004748677, "openwebmath_perplexity": 227.02070397081548, "openwebmath_score": 0.7113013863563538, "tag...
ros, package Originally posted by PeteBlackerThe3rd with karma: 9529 on 2018-01-18 This answer was ACCEPTED on the original site Post score: 4 Original comments Comment by newrosy on 2018-01-18: That's it! Thank you! But I am wondering why it does not work since I checked my .bashrc file and I found the line : sourc...
{ "domain": "robotics.stackexchange", "id": 29781, "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, package", "url": null }
electromagnetism, electromagnetic-radiation, maxwell-equations, cavity-qed Title: Electromagnetic field in a cavity I'm reading the book "The Quantum Theory of Light", by Rodney Loudon, and I came across the following passage describing the general form of the electromagnetic field in a cubical conductive cavity with ...
{ "domain": "physics.stackexchange", "id": 93213, "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, maxwell-equations, cavity-qed", "ur...
find the area of a surface of revolution. ) Solution: The key is to note that ris bounded between 0 and p sin( ). Calculate the area of region defined by the inequalities: $$-1 {-1, 3}] I'd like to shade the region that lies inside the circle but outside of the cardioid. To find the polar coordinates of a given point, ...
{ "domain": "wokpark.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9796676454700793, "lm_q1q2_score": 0.8032229674639569, "lm_q2_score": 0.8198933293122506, "openwebmath_perplexity": 622.0202468597455, "openwebmath_score": 0.8173930644989014, "tags":...
experimental-physics, standard-model, scattering-cross-section Title: The Standard Model Lagrangian vs experimental results In the Standard Model of particle physics, one always shows the general SM Lagrangian and claims that the SM can be summarised in the expression. But it's not clear to me how this is actually ver...
{ "domain": "physics.stackexchange", "id": 86026, "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, standard-model, scattering-cross-section", "url": null }
c, console lv->rows_count++; update_max_col_width(lv, lv->rows_count); return 0; } int listview_update_cell_text(listview *lv, int row_index, int cell_index, char *text) { if (row_index >= lv->rows_count || cell_index >= lv->column_count) return -1; if(text == NULL) return -2; l...
{ "domain": "codereview.stackexchange", "id": 41645, "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, console", "url": null }
Note that any multiple of a triple found also yields a valid triple so $$3\times (8,6,10)\longrightarrow (24,18,10\times3)$$ and provides the "missing" $$c=3$$ triple in the list above. The combination of the two will find all Pythagorean triples where the $$c$$ in $$10c$$ is an integer except for the most unusual case...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9732407175907054, "lm_q1q2_score": 0.8348148513349588, "lm_q2_score": 0.8577681104440172, "openwebmath_perplexity": 175.56489909221884, "openwebmath_score": 0.8545144200325012, "ta...
c++, memory-management, template, c++17, sfinae static_vector(static_vector&& rhs) { // Start by clearing sizes to avoid bad data // access in the case of an exception std::size_t count_self = m_size; std::size_t count_rhs = rhs.m_size; m_size = 0; rhs.m_size = 0; // Can't swap because the...
{ "domain": "codereview.stackexchange", "id": 33167, "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, template, c++17, sfinae", "url": null }
java, object-oriented, design-patterns, spring private Map<String, List<Parser<?>>> parserMap; public List<Parser<?>> getParsers() { return parsers; } @PostConstruct public void afterPropertiesSet() throws Exception{ if(this.parsers == null) { throw new IllegalStateExceptio...
{ "domain": "codereview.stackexchange", "id": 26173, "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, object-oriented, design-patterns, spring", "url": null }
sql, fizzbuzz, sqlite Title: FizzBuzz in SQLite 2 This query performs a FizzBuzz in SQLite 2.8.17 without creating any tables or sprocs. First attempt: select case when fb <> '' then fb else n end from ( select g + f * 2 + e * 4 + d * 8 + c * 16 + b * 32 + a * 64 as n, coalesce(fizz, '') || coalesce(b...
{ "domain": "codereview.stackexchange", "id": 8533, "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": "sql, fizzbuzz, sqlite", "url": null }
quantum-mechanics, quantum-spin, superposition Title: Erratum in Schlosshauer's "Decoherence" textbook (on the outcome of a SG experiment)? In his textbook on Decoherence, Schlosshauer is trying to explicate the difference between a superposition and a classical ensemble. Considering a two-level system and using fairl...
{ "domain": "physics.stackexchange", "id": 93682, "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, quantum-spin, superposition", "url": null }
special-relativity, time A long stick is placed on a wedge. Two metallic balls are placed at its two ends. Another wedge is placed at the mid of the stick upon which an egg is balanced. Two observers are there $R$ and $R^{'}$. $R$ is sitting inside the train near the wedge. $R^{'}$ is standing outside. Train is moving...
{ "domain": "physics.stackexchange", "id": 11779, "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, time", "url": null }
It is actually true that $\lim_{n\to\infty} \frac{d(n)}{n^c}=0$ for any $c>0$, but if you only want it for $c=1$, the simplest proof would be the following. The divisors $\delta\mid n$ can be organized into pairs $(\delta,n/\delta)$, and in every pair the smallest divisor is $\min\{\delta,n/\delta\}\le\sqrt n$. It foll...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.984575448370756, "lm_q1q2_score": 0.8183230369463034, "lm_q2_score": 0.831143045767024, "openwebmath_perplexity": 196.1115765603993, "openwebmath_score": 0.922602117061615, "tags":...
You can continue down this path, but it is a bit ugly, so let's see if there's a simpler overall approach. The original integral is $$\int \sqrt{x}\cdot\sin\sqrt{x}\,dx$$. It's best to just start with the substitution $$u=\sqrt{x}\quad (^*)$$. Then the integral becomes $$2\int u^2 \sin(u) du$$, which is much nicer to ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9693242000616579, "lm_q1q2_score": 0.8119253028782917, "lm_q2_score": 0.8376199653600372, "openwebmath_perplexity": 549.070515029416, "openwebmath_score": 0.9433200359344482, "tags...
performance, perl, geospatial, google-maps Another failed approach EDIT: Thanks to whoever upvoted this. I've now fixed the http://test.barrycarter.info/gmap8.php link and am including a screenshot below: In short, try cssgrid from NCAR Graphics. At length: There's a similar question on StackOverflow, but it has no ac...
{ "domain": "codereview.stackexchange", "id": 1492, "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, perl, geospatial, google-maps", "url": null }