text
stringlengths
49
10.4k
source
dict
electromagnetism The analogy breaks down somewhat when we ask the magnet to do work, because unlike tiny disk magnets (which are themselves made out of atomic magnetic dipoles in real life) the atomic magnetic dipoles can't gain or lose energy except in (relatively) large, quantized jumps between quantum mechanical en...
{ "domain": "physics.stackexchange", "id": 98802, "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", "url": null }
clear that the range of both functions must be the interval[latex]\,\left[-1,1\right]. This section covers: Review of Right Triangle Trig Law of Sines Law of Cosines Area of Triangles Applications/Word Problems More Practice Review of Right Triangle Trig We learned about Right Triangle Trigonometry here, where we could...
{ "domain": "marcodoriaxgenova.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9902915223724212, "lm_q1q2_score": 0.820891080723575, "lm_q2_score": 0.8289388146603365, "openwebmath_perplexity": 518.6406767028611, "openwebmath_score": 0.7474116683006287, ...
c, strings, pointers As you can see, in the function stringChop I've put 2 strings because I didn't know how to return one, so instead I used a pointer to one string initialised in the main() function and edited it with the use of pointers. Now, my question is: How can I achieve the same thing with a function that acc...
{ "domain": "codereview.stackexchange", "id": 16932, "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, strings, pointers", "url": null }
fourier-transform, wavelet, stft, gabor Title: What's the difference between the Gabor-Morlet wavelet transform and the constant-Q transform? At a glance, the constant-Q fourier transform and the complex Gabor-Morlet wavelet transform seem the same. Both are time-frequency representations, based on constant-Q filters...
{ "domain": "dsp.stackexchange", "id": 10217, "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": "fourier-transform, wavelet, stft, gabor", "url": null }
quantum-mechanics, perturbation-theory, two-level-system First of all, the German Wikipedia site denotes as $E_{\pm}$ the energies of the new Hamiltonian $H = H^{0} + W$. As one can calculate, these are given as $E_{\pm} = E_m \pm \sqrt{\Delta^2 + \left| W_{12}\right|^2}$. $E_{1}$ and $E_{2}$ denote the eigenvalues of...
{ "domain": "physics.stackexchange", "id": 75283, "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, perturbation-theory, two-level-system", "url": null }
c int main() { int64_t* first_row; int64_t* previous_row; int64_t* next_row; int64_t i,size; first_row = (int64_t*)malloc(sizeof(int64_t)); first_row[0] = 1; size = 1; print_row(first_row,size); previous_row = first_row; for(i = 0; i<31;i++) { next_row = next_pascal_row(previous_row,size); ...
{ "domain": "codereview.stackexchange", "id": 30021, "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 }
ros, navigation, explore, costmap Originally posted by dneuhold with karma: 205 on 2014-04-15 This answer was ACCEPTED on the original site Post score: 0 Original comments Comment by physicsex on 2014-04-15: Do you mean that the goal which I set is in the unknown space? I have set that the goal should be in the free ...
{ "domain": "robotics.stackexchange", "id": 17655, "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, navigation, explore, costmap", "url": null }
electrolysis, electroplating Ref.: F. P. Treadwell, Analyse qualitative, Dunod Ed. Paris, 1924. F. A. Cotton, G. Wilkinson, Advanced Inorganic Chemistry, Interscience Pub., J. Wiley, New York, 1972, p. 330 - 331
{ "domain": "chemistry.stackexchange", "id": 15798, "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": "electrolysis, electroplating", "url": null }
electromagnetic-radiation Title: EM attenuation in free space at different frequencies Can anyone explain intuitively why electromagnetic radiation (according to the basic path loss equation in communications) experiences more attenuation at higher frequencies? The equation states that the path loss $ L $ is proporti...
{ "domain": "physics.stackexchange", "id": 10840, "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": "electromagnetic-radiation", "url": null }
ros, catkin, ros-kinetic, python3 Originally posted by Dirk Thomas with karma: 16276 on 2016-06-21 This answer was ACCEPTED on the original site Post score: 16 Original comments Comment by SHPOWER on 2016-06-22: thank you. Comment by Dirk Thomas on 2016-06-22: Please mark the answer as accepted if it answered your qu...
{ "domain": "robotics.stackexchange", "id": 25006, "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, catkin, ros-kinetic, python3", "url": null }
javascript, react.js useInterval(textTyper, delay); }; export default useTyper; For completion, this is the useInterval hook being used by useTyper. It can be referenced from one of Dan Abramovs blog posts. useInterval.js import React from 'react'; const useInterval = (callback, delay) => { const savedCallback = ...
{ "domain": "codereview.stackexchange", "id": 38664, "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, react.js", "url": null }
qiskit, circuit-construction, pauli-gates, hadamard Title: Why isn't $Ry(\pi/2)$ gate equivalent to Hadamard gate? I've been experimenting with quantum circuits and can't quite fathom how the difference between states comes together. Speaking in terms of simulations using qiskit, the following code yelds the same resu...
{ "domain": "quantumcomputing.stackexchange", "id": 4981, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "qiskit, circuit-construction, pauli-gates, hadamard", "url": null }
java, swing Title: Bouncing ball - for swing event handling tutorial This is a sample program that I intend to post as part of a series of beginner level Java tutorials. Please provide any feedback on improvements that would make example more clear or illustrate/emphasize best practices. The example drawns a ball ob...
{ "domain": "codereview.stackexchange", "id": 775, "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, swing", "url": null }
odeToVectorField Reduce order of differential equations to first-order Support for character vector or string inputs will be removed in a future release. Instead, use syms to declare variables, and replace inputs such as odeToVectorField('D2y = x') with syms y(x), odeToVectorField(diff(y,x,2) == x). Description exa...
{ "domain": "mathworks.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9828232924970204, "lm_q1q2_score": 0.848561381374031, "lm_q2_score": 0.8633916064586998, "openwebmath_perplexity": 1733.3213692547977, "openwebmath_score": 0.6988626718521118, "tags": ...
ros-melodic, android That would seem to point to the problem described in rosjava/rosjava_bootstrap#16, which is what rosbag_fixer was created to work around. So, it seems related to rosjava but I'm not sure either. I'm wondering why it hasn't been fixed yet, github issues about that are not recent (??). The issue m...
{ "domain": "robotics.stackexchange", "id": 32525, "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-melodic, android", "url": null }
rviz Title: How to visualize the trajectory of the robot arm in Rviz, when the Cartesian velocity command is passed? What should I do to visualise it in Rviz? geometry_msgs/TwistStamped is used Originally posted by pmuthu2s on ROS Answers with karma: 224 on 2018-01-11 Post score: 0 Hi @pmuthu2s, I've seen that you...
{ "domain": "robotics.stackexchange", "id": 29731, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "rviz", "url": null }
c, game, opengl static void adjust_hero_position(void) { vector_t points[] = {{lvl.hero_pos.x, lvl.hero_pos.y}, {lvl.hero_pos.x + 1, lvl.hero_pos.y}, {lvl.hero_pos.x + 1, lvl.hero_pos.y + 1}, {lvl.hero_pos.x, lvl.hero_pos.y + 1}}; for (...
{ "domain": "codereview.stackexchange", "id": 20193, "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, game, opengl", "url": null }
java, strings, android final int maxValue = (isOffsetWithinArrayBounds) ? (tempReverseDeviation + potentialOffsetSize) : longestLength; final int reverseDeviation = (tempReverseDeviation < potentialOffsetSize) ? potentialOffsetSize : tempReverseD...
{ "domain": "codereview.stackexchange", "id": 17299, "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, strings, android", "url": null }
arduino, rosserial Originally posted by dallaby23 on ROS Answers with karma: 1 on 2012-01-15 Post score: 1 Original comments Comment by dallaby on 2012-01-17: I actually wrote that question as well.. Anyway I am also sending simple odometry back through a custom msgs.. From everything I can find on arduino the seria...
{ "domain": "robotics.stackexchange", "id": 7896, "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, rosserial", "url": null }
computational-chemistry ( 5 0 | 4 0) = 0.000862792421254 ( 5 2 | 1 0) = 0.000000000000000 ( 5 3 | 1 0) = 0.049151047350638 ( 5 4 | 1 0) = 0.041228155506758 ( 5 1 | 2 0) = 0.000000000000000 ( 5 1 | 3 0) = 0.005091750233326 ( 5 1 | 4 0) = 0.004270986718219 ( 5 0 | 2 1) = 0...
{ "domain": "chemistry.stackexchange", "id": 7126, "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": "computational-chemistry", "url": null }
What is the equation? We are basically measuring the amount of change of the y-coordinate, often known as the rise, divided by the change of the x-coordinate, known the the run. You also probably sleep under a slope, a roof that is. Well, we can easily calculate ‘b’ from this equation: Now, let’s plug-in the values int...
{ "domain": "co.in", "id": null, "lm_label": "1. Yes\n2. Yes", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.984336349450327, "lm_q1q2_score": 0.8717592563535261, "lm_q2_score": 0.8856314783461302, "openwebmath_perplexity": 365.4585998094539, "openwebmath_score": 0.7358871698379517, "tags": null, "...
navigation, ekf, robot-localization, ros-kinetic Title: robot_localization ekf faster than realtime offline post-processing Hi, I'm using a Robot Localization EKF configured to receive twist - linear and angular velocity derived from a wheel encoder and odometry derived from SLAM position estimates. The EKF is workin...
{ "domain": "robotics.stackexchange", "id": 33097, "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, ekf, robot-localization, ros-kinetic", "url": null }
1. Ken says: Hi, how exactly do you calculate Sr? I read your definition of it several times but still clues. Please let me know. Thanks. Like 2. Odo Bogdan says: Very nice article but I cannot seam to know how to interpret the following sentence: We choose the degree of polynomial for which the variance as comput...
{ "domain": "autarkaw.org", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9863631631151012, "lm_q1q2_score": 0.8176347091730928, "lm_q2_score": 0.8289388125473629, "openwebmath_perplexity": 977.3198034623604, "openwebmath_score": 0.6523101925849915, "tags...
statistical-mechanics, computational-physics, simulations, ising-model Title: What is this secondary transition in the simulation of the Ising model? Here, the horizontal axis is the strength of the ambient magnetic field. The Hamiltonian I used is $$H = -h\sum_i \sigma_i - J\sum_{\langle i \, j \rangle}\sigma_i\sigm...
{ "domain": "physics.stackexchange", "id": 54990, "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": "statistical-mechanics, computational-physics, simulations, ising-model", "url": ...
But by inspection this is just $$\frac{\zeta(t)}{\zeta(t^2)} = \frac{1 – qt^2}{1 – qt} = 1 + \sum_{n \ge 1} (q^n – q^{n-1}) t^n.$$ (The generating function identity $\zeta(t) = \zeta(t^2) \sum s_n t^n$ merely expresses the fact that every monic polynomial can be uniquely factored into its largest square factor and its...
{ "domain": "bootmath.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9881308761574288, "lm_q1q2_score": 0.8101619268948131, "lm_q2_score": 0.8198933425148213, "openwebmath_perplexity": 130.2332148748843, "openwebmath_score": 0.8808693289756775, "tags": n...
• Another simple example would be the function $f : \mathbb{N} \to \mathbb{N}$ defined by $f(n) = 2n$. Then the function $g(n) = \lfloor n/2 \rfloor$ satisfies the condition, but $f$ is not a bijection, again, because it leaves out a bunch of elements. • Can you come up with an example $f : \mathbb{R} \to \mathbb{R}$ ...
{ "domain": "mathlesstraveled.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9910145725743421, "lm_q1q2_score": 0.8537969150909941, "lm_q2_score": 0.8615382040983515, "openwebmath_perplexity": 219.63282870187984, "openwebmath_score": 0.8304086923599243, ...
electromagnetism, thermodynamics Title: First law of thermodynamics applied to a electrical conduction My book says that for current flowing in a wire $Ri^2dt = mcdT + hS(T-T_0)dt $ and when equilibrium is reached $Ri^2dt = hS(T-T_0)dt $ where R is the resistance of the conductor, i is the current, dt is a time diffe...
{ "domain": "physics.stackexchange", "id": 62659, "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, thermodynamics", "url": null }
fluid-dynamics, velocity, flow, boundary-conditions Question: How does one relate the physical dimensions of the pipe to the Laplace equation in $r$? How does one know to use $0$ to $r$ for the first integration and then $r$ to $R$ for the second integration? I think that the first integral you should evaluate the ter...
{ "domain": "physics.stackexchange", "id": 83244, "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": "fluid-dynamics, velocity, flow, boundary-conditions", "url": null }
linear-systems, adaptive-filters Title: Acoustic Echo Cancellation I have the following diagram for acoustic echo cancellation I'm having a hard time figuring out what's present on the top and bottom lines in terms of reflected echos, original signal etc. Here's what I think I am assuming a situation in which I am t...
{ "domain": "dsp.stackexchange", "id": 7033, "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": "linear-systems, adaptive-filters", "url": null }
# How should I calculate $\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+…+n^n}{n^n}$ [duplicate] How should I calculate the below limit $$\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$$ I have no idea where to start from. • If this question does not come out from you, then where did you get this question?...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9835969679646668, "lm_q1q2_score": 0.851031782523648, "lm_q2_score": 0.8652240808393984, "openwebmath_perplexity": 222.886461682128, "openwebmath_score": 0.9840658903121948, "tags"...
python, beginner, object-oriented, console Title: Argument-parsing class in Python to handle a --force flag I am relatively new to Python. I've so far mostly worked with PHP and C#, so most of it is relatively familiar. I'm making a simple console application that will store a few API calls in a local database throug...
{ "domain": "codereview.stackexchange", "id": 27442, "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, object-oriented, console", "url": null }
coriolis-effect Title: Magnitude of Coriolis force given an east-west velocity I'm trying to make sure I understand how the Coriolis effect works for velocity vectors that are not purely north-south (with regard to the surface of the earth). So consider an eastbound (again with regard to the surface of the earth) obje...
{ "domain": "physics.stackexchange", "id": 50267, "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": "coriolis-effect", "url": null }
• You didn't answer the question "What is the variance for this particular problem". It will help me and hopefully others to understand your solution – Will Sherwood May 8 '16 at 3:49 • ok, added some details – snarfblaat May 8 '16 at 4:13 The variance of a single dice roll is $\frac{35}{12}$. The outcomes of the dice...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9763105273220726, "lm_q1q2_score": 0.8156913766776792, "lm_q2_score": 0.8354835411997897, "openwebmath_perplexity": 312.28794811773105, "openwebmath_score": 0.7431564927101135, "ta...
• The first question is certainly true if $E[X^3]=0$ (which holds for cases when $X$ has a PDF that is symmetric about $0$) since it reduces to $E[X^4] \geq E[X^2]^2$. In general, that question reduces to $E[X^4-1]\geq E[X^3]^2$ for $X$ zero mean and unit variance, tho it is not obvious to me right now how to prove it....
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9748211531789391, "lm_q1q2_score": 0.8285698834757296, "lm_q2_score": 0.8499711775577735, "openwebmath_perplexity": 148.4761639952403, "openwebmath_score": 0.999272882938385, "tags...
declination, sunrise It might seem so but it doesn't. We can say that the equation is a necessary condition but it's not sufficient to solve the problem. In practice you would get a list of hour angles and declinations for your object that bracket the expected time of rise or set either "writing with feathers using li...
{ "domain": "astronomy.stackexchange", "id": 6314, "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": "declination, sunrise", "url": null }
proofs, embeddings Title: The random densification technique-JL lemma In Ailon's paper (p.3): How $1/(20nd)$ is obtained? It's not "obtained", but rather the bound the authors want on $\mathrm{Prob}[|u_1|\ge s]$. The Chernoff inequality says how large $s$ needs to be in order to guarantee the desired upper bound. As t...
{ "domain": "cstheory.stackexchange", "id": 2659, "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": "proofs, embeddings", "url": null }
optimization, c, cryptography ) Now, let me ask a question: do you think it's possible for isalpha(x) to return true, if x=='\t' or x==' ' was true? I'm pretty sure the definition of isalpha precludes that possibility, so you can dispense with those tests. All you appear to need is: if(line_buf[i] == ' ') && isalpha...
{ "domain": "codereview.stackexchange", "id": 495, "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, c, cryptography", "url": null }
so evaluate IRU n = 4. 1 Evaluate nth Roots and Use Rational Expoents You can extend the concept of a square root to other types of roots. 5-5 Simplify. It so happens that in this case x=1 and x=-1 are two rational zeros (=two roots, which are rational numbers). 1 Evaluate Nth Roots and use Rational Exponents Things yo...
{ "domain": "crashmobile24.de", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9852713831229043, "lm_q1q2_score": 0.8123187425332178, "lm_q2_score": 0.8244619263765706, "openwebmath_perplexity": 570.7323188472108, "openwebmath_score": 0.6521097421646118, "...
compression In case of arithmetic decoder based sampling, you feed the decoder with a sequence $s$ of $k$ unbiased bits (generated using $\texttt{unbiased_bit_generator()}$ $k$ times) and get a sequence $d$ of of length $n$ biased bits. Thus you needed $\frac{k}{n}$ queries/biased-bit. Because arithmetic coding is a ...
{ "domain": "dsp.stackexchange", "id": 4388, "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": "compression", "url": null }
we conclude that ρ7 is not significantly different from zero and r2 for the data in range:... Link bellow i put the true test of ACP and PACF significance just like,! Original time series is represented by two lines in the same file which! That 5 referred to a previous version of property 4, especially for smaller samp...
{ "domain": "com.au", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9702399051935107, "lm_q1q2_score": 0.8246759528872222, "lm_q2_score": 0.8499711756575749, "openwebmath_perplexity": 1312.901651925368, "openwebmath_score": 0.7738346457481384, "tags": nul...
formal-languages, regular-languages, pumping-lemma Title: Use the pumping lemma to show the language is not regular I can use the pumping lemma to prove simpler examples, but i'm finding this problem rather complex partly due to the notation. Can anyone explain how I would do this problem: For any string $s$ in $\{a,...
{ "domain": "cs.stackexchange", "id": 10364, "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": "formal-languages, regular-languages, pumping-lemma", "url": null }
java, beginner, parsing, math-expression-eval Flag variables and first operand... – There are some logic related to keeping track of the start of the first operand and whether you've found the operator or not which I'm not entirely sure how it actually works. (And as previously suggested, this would be way simpler if ...
{ "domain": "codereview.stackexchange", "id": 17491, "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, parsing, math-expression-eval", "url": null }
python, unit-testing, binary-search @staticmethod def find_left_ge(a, x, lo=0, hi=None, key=None): '''Finds the index of the leftmost (among duplicates) element that is greater than or equal to X. A[index] >= X A[index] == a7 [ a1{<x}, a1{<x}, ...
{ "domain": "codereview.stackexchange", "id": 45412, "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, unit-testing, binary-search", "url": null }
quantum-mechanics, pauli-exclusion-principle Title: F-d statistics for spin 3/2 particles? My question is according to Pauli exclusion principal no same energy state gonna occupied by similar spin particles and spin must be add up to zero . For electron it's 1/2 and -1/2 . What about spin 3/2 particles or higher how t...
{ "domain": "physics.stackexchange", "id": 88734, "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, pauli-exclusion-principle", "url": null }
c#, beginner, battleship Notice the evolving code structure Method calls and game objects should read like "we're playing battleship". The do while will not ask "is it an integer?" but only "was the ship hit?" Class Battleship will start to look and behave like the games' driver - it is the game. Main() will do little...
{ "domain": "codereview.stackexchange", "id": 29887, "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, battleship", "url": null }
phase-transition Title: Is a single radon-daughter atom in air, such as ${}^{218}\text{Po}$, a solid? Is a single radon-daughter atom in air a solid? The Wikipedia article on radon says: Unlike the gaseous radon itself, radon daughters are solids and stick to surfaces, such as dust particles in the air. If such conta...
{ "domain": "physics.stackexchange", "id": 59107, "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": "phase-transition", "url": null }
3 cos π 3 b) cos2 π 8 − sin2 π 8 c) 6cos2 θ− 3. Following table gives the double angle identities which can be used while solving the equations. identities that it knows about to simplify your expression. An equation that expresses a trigonometric function of twice an angle in terms of trigonometric functions of the an...
{ "domain": "iononsononormaleioamo.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9927672355545385, "lm_q1q2_score": 0.822943280790361, "lm_q2_score": 0.8289387998695209, "openwebmath_perplexity": 938.1836690600358, "openwebmath_score": 0.8869953751564026, ...
bedtools, homer The peak memory usage of a typical bedops --merge run should be around 10MB, if I remember correctly, as a result of using sorted inputs. The memory usage of each sort-bed process can take up the size of each file. You can specify --max-mem and --tmpdir options to instead use disk space to sort files. ...
{ "domain": "bioinformatics.stackexchange", "id": 1859, "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": "bedtools, homer", "url": null }
complexity-theory, time-complexity, satisfiability [1]: This is equivalent to the CNF-SAT conjecture. SETH is a stronger hypothesis.
{ "domain": "cs.stackexchange", "id": 20011, "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, time-complexity, satisfiability", "url": null }
mechanical-engineering, design, modeling, solidworks, robotics Title: Trouble with an actuator on a Robotics SolidWorks design. Any ideas why? I am in the process of developing a robotics design on SolidWorks. The goal of this design is to tilt a platform using 2 actuators. My design utilizes 2 indirect actuators that...
{ "domain": "engineering.stackexchange", "id": 3677, "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, design, modeling, solidworks, robotics", "url": null ...
optics, visible-light, planets, liquid-state, exoplanets The low-energy part of the UV absorption spectrum of the molecule consists of two diffuse bands with maxima at excitation energies of E ∼ 8.4 and 9.3 eV.
{ "domain": "physics.stackexchange", "id": 80840, "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": "optics, visible-light, planets, liquid-state, exoplanets", "url": null }
ros, rviz, ros-melodic, qt5, rqt Originally posted by MarcoStb on ROS Answers with karma: 80 on 2020-11-19 Post score: 0 Seems like I was testing with a detached git head or something when trying to add <build_depend>qtbase5-dev</build_depend> to the package.xml. I tried the prerelease test on a different machine and...
{ "domain": "robotics.stackexchange", "id": 35778, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, rviz, ros-melodic, qt5, rqt", "url": null }
thermodynamics, entropy The tree dies, which is pretty irreversible (entropy grows at the cell scale, because cells are ordered structures when they are alive while the atomic structure remains similar because you don't let the tree rot). For this part you can actually approximate the tree as being a closed system. P...
{ "domain": "physics.stackexchange", "id": 45814, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "thermodynamics, entropy", "url": null }
cosmology, space-expansion, universe, faster-than-light, galaxies Title: Why are the most distant galaxies "only" around 13 billion light years away? According to Wikipedia's List of the most distant astronomical objects, the most distant galaxy (GN-z11) is estimated to be around 13.39 billion light years away from ea...
{ "domain": "physics.stackexchange", "id": 66904, "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, space-expansion, universe, faster-than-light, galaxies", "url": null ...
waves, acoustics, interference The question is: We emit a soundwave from these two sources but we double the frequencies. Does the point of coordinates $(D_1 = 0, D_2 = 127,75 m)$ corresponds to a maximum, a minimum or neither? And the correction says it's a maximum. Obviously, if we double the frequency, we have a si...
{ "domain": "physics.stackexchange", "id": 55586, "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": "waves, acoustics, interference", "url": null }
c#, design-patterns, error-handling public static bool ToTryResult(this Exception ex) { return ex == null; } } And: public override bool TryExecute(Action action, CancellationToken cancellationToken) { foreach (var delay in Delays) try { Log.IfFa...
{ "domain": "codereview.stackexchange", "id": 21867, "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#, design-patterns, error-handling", "url": null }
# Math 208 Spring 2013 Practice Exam 1 Solutions - MATH 208,... • Test Prep • 4 • 100% (2) 2 out of 2 people found this document helpful This preview shows page 1 out of 4 pages.
{ "domain": "coursehero.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9877587250685455, "lm_q1q2_score": 0.8029167877560586, "lm_q2_score": 0.8128673201042493, "openwebmath_perplexity": 1495.9865042193796, "openwebmath_score": 0.9138153791427612, "t...
c++, c++11, multithreading, lock-free, producer-consumer Due to weak memory ordering, on step 7 above, m_data[0] can be read as 0 instead of 5 because there was no acquire barrier between steps 5 and 7. The strong exchange on step 6 did not perform a barrier because it was called with std::memory_order_relaxed, std::...
{ "domain": "codereview.stackexchange", "id": 19089, "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++, c++11, multithreading, lock-free, producer-consumer", "url": null }
homework-and-exercises, mass, integration, geometry How can this expression be proven? I know that $\int_a^b\sqrt{1+y'^2}\ dx$ is the length of the curve, but I can't figure out how to go on from there. Any ideas would be appreciated. The general equation for the x-coordinate of the center of mass is $$x_{CM}=\frac{1...
{ "domain": "physics.stackexchange", "id": 46404, "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, mass, integration, geometry", "url": null }
approximations, linear-systems, coupled-oscillators u_2 e^{j k_2 z} \end{bmatrix} \end{align} Assuming $\dot{k_i}z \ll k_i$: $ \begin{bmatrix} \dot{u_1} e^{j k_1 z} + j u_1 k_1 e^{j k_1 z} \\ \dot{u_2} e^{j k_2 z} + j u_2 k_2 e^{j k_2 z} \end{bmatrix} = j \pmb{M} \begin{bmatrix} u_1 e^{j k...
{ "domain": "physics.stackexchange", "id": 95543, "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": "approximations, linear-systems, coupled-oscillators", "url": null }
In general, you can skip parentheses, but be very careful: e^3x is e^3x, and e^(3x) is e^(3x). formula given 5 ordinates means n=4 strips. This time around, I will implement a class and include Simpson's rule. I understand that I need to find the area of all the trapezoids manually. FormulaDiscriminant = b2 − 4ac. Put ...
{ "domain": "asainfo.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9883127426927789, "lm_q1q2_score": 0.8148262362284331, "lm_q2_score": 0.8244619350028204, "openwebmath_perplexity": 649.6866594342209, "openwebmath_score": 0.8034452795982361, "tags": nul...
immunology, lab-techniques, flow-cytometry, cell-sorting Without lysis, the RBCs overwhelm the cytometer, as they make up around 95% of the cells in human whole blood. White blood cells (leukocytes), on the other hand, only make up 0.1-0.2% of cells, and lymphocytes between about 15 to 50% of leukocytes. The cell mixt...
{ "domain": "biology.stackexchange", "id": 3793, "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": "immunology, lab-techniques, flow-cytometry, cell-sorting", "url": null }
slam, navigation, catkin Title: catkin_make error in ROS Indigo Can someone help me in this regard? Trying to run rgbdslam_v2 on ros idigo, Ubuntu version 14. Built target _rgbdslam_generate_messages_check_deps_rgbdslam_ros_ui_b Built target _rgbdslam_generate_messages_check_deps_rgbdslam_ros_ui_f Built target _rgbds...
{ "domain": "robotics.stackexchange", "id": 21554, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "slam, navigation, catkin", "url": null }
computational-geometry, lower-bounds, upper-bound Title: Tight bound on the number of intersections between a line and a triangulation I'm interested in the maximum number of intersections that a line and a triangulation on $n$ points could have. More specifically, given $n$, we are interested in the worst-case (maxim...
{ "domain": "cs.stackexchange", "id": 10303, "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": "computational-geometry, lower-bounds, upper-bound", "url": null }
cc.complexity-theory, ds.algorithms, graph-algorithms, complexity-classes, unique-solution Title: Examples where the uniqueness of the solution makes it easier to find The complexity class $\mathsf{UP}$ consists of those $\mathsf{NP}$-problems that can be decided by a polynomial time nondeterministic Turing machine wh...
{ "domain": "cstheory.stackexchange", "id": 2775, "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, ds.algorithms, graph-algorithms, complexity-classes, unique-...
quantum-state, terminology-and-notation Additionally the Dirac bra-ket notation, $\vert \cdots\rangle$, is how, in the quantum world, we describe vectors. The OP posted her/his vectors without the surrounding notation, which is maybe OK when you're just starting out and you want to grok the point of a superposition. ...
{ "domain": "quantumcomputing.stackexchange", "id": 768, "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, terminology-and-notation", "url": null }
Is sometimes called the one-sided Laplace transform and … * Response times vary by subject and question complexity Analysis. ; Z Xform properties ; Z Xform properties ; Link to shortened 2-page of... Minutes and may be thought of as a basic example transform are: Linearity.! Transform time shifting property: Delaying x...
{ "domain": "paleoreise.de", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9669140254249554, "lm_q1q2_score": 0.8078407500369642, "lm_q2_score": 0.8354835371034368, "openwebmath_perplexity": 1467.8309732500663, "openwebmath_score": 0.726850152015686, "tag...
homework-and-exercises, newtonian-mechanics, forces, free-body-diagram, string Title: Does $m$ in this problem refer to the total mass of the system or just the mass of a single body? I am trying to figure something out in this problem: I am having trouble with these types of problems because often I don't understand...
{ "domain": "physics.stackexchange", "id": 52109, "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, free-body-diagram, string", ...
dft, magnitude, scaling $$= \sum_{n=0}^{N-1}=(-0.5je^{j2\omega_o n}+0.5je^{-j2\omega_o n})e^{j2\omega_o n}$$ $$= \sum_{n=0}^{N-1}(-0.5je^{j4\omega_o n} + 0.5 ) = 0.5Nj$$ The OP was basically using the first property given for the case of real signal in which we could drop that other term (which is the negative freque...
{ "domain": "dsp.stackexchange", "id": 11770, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "dft, magnitude, scaling", "url": null }
geology, geophysics, climate-change, carbon-cycle We can see here in white numbers the most significant pre-industrial sources and sinks (at ~1000 years time scales). We can see that humans produce 9 Gigatons of carbon per year (GtC/yr), due to that extra inflow, photosynthesis is taking 3 GtC/yr more than before, and...
{ "domain": "earthscience.stackexchange", "id": 1717, "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": "geology, geophysics, climate-change, carbon-cycle", "url": null }
python, strings, python-3.x, complexity, edit-distance else: num_different_chars = sum(1 for pos in range(len(first)) if first[pos] != other[pos]) return num_different_chars < 2 class MyTest(unittest.TestCase): def test_is_one_away(self): self.assertEqual(is_one_away('pale', 'ale'), True) ...
{ "domain": "codereview.stackexchange", "id": 21994, "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, strings, python-3.x, complexity, edit-distance", "url": null }
fourier-transform, power-spectral-density, autocorrelation Y(f) &= \int_{-\infty}^{\infty}y(t)\exp(-j2\pi ft) \,\mathrm dt\\ &= \int_{-\infty}^{\infty}x(-t)\exp(-j2\pi ft) \,\mathrm dt\\ &= \int_{-\infty}^{\infty}x(\lambda)\exp(j2\pi f\lambda) \,\mathrm d\lambda &{\scriptstyle{\text{Substitute}~t=-\lambda, \mathrm dt ...
{ "domain": "dsp.stackexchange", "id": 7708, "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": "fourier-transform, power-spectral-density, autocorrelation", "url": null }
condensed-matter, differentiation, greens-functions Title: A simple derivative I'm working through a simple derivative in the second edition of Altland and Simons, and I keep getting the wrong answer when I take a derivative. Given equation 5.22: $$G_p \equiv \frac{1}{- i \omega_n + \frac{p^2}{2m} - \mu}$$ the text on...
{ "domain": "physics.stackexchange", "id": 82349, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "condensed-matter, differentiation, greens-functions", "url": null }
pytorch Title: Replace a value in pytorch tensor t=tensor([0.1 0.2 0.3 0.4 0.5 0.6]) now i need to modify this existing tensor t as follows: t=tensor([0.1 0.2 0.7 0.4 0.8 0.6]) I tried as follows: t=tensor([0.1 0.2 0.3 0.4 0.5 0.6]) a=tensor([0.1 0.2 0.7 0.4 0.8 0.6]) index=range(len(a)) t.index_copy_(0,index,a) Bu...
{ "domain": "datascience.stackexchange", "id": 9606, "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": "pytorch", "url": null }
python, beginner, gui self.mainSizer.Add(wx.StaticLine(self.panel, wx.ID_ANY), 0, wx.ALL|wx.EXPAND, 5) self.lSizer.Add(instructLbl, 0, wx.ALL, 5) self.lSizer.Add(self.imageCtrl, 0, wx.ALL, 5) self.lSizer.Add(self.photoTxt, 0, wx.ALL, 5) self.lSizer.Add(browse...
{ "domain": "codereview.stackexchange", "id": 6900, "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, gui", "url": null }
quantum-mechanics, solid-state-physics, perturbation-theory Title: Free electron in weak periodic potential I am new to solid state physics and I want to ask a question regarding the free electron with weak periodic potential in 1D case. Suppose the Hamiltonian of the system can be written as follow: \begin{equation} ...
{ "domain": "physics.stackexchange", "id": 76967, "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, solid-state-physics, perturbation-theory", "url": null }
python Don't explicitly increment a running index, use enumerate instead; You can use zip to iterate over two iterables at the same time; Prefer using a list-comprehension to using [] + for + append; You can use next on an iterator to retrieve an element and advance it outside of a for loop; Avoid wildcard imports, th...
{ "domain": "codereview.stackexchange", "id": 31412, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python", "url": null }
gazebo-plugin Then I have created a simple ROS node to publish on the topic "/step_cmd" as follows: #include .... int main(int argc, char **argv) { ros::init(argc, argv, "step_node"); ros::NodeHandle nh; // Create publisher ros::Publisher step_pub = nh.advertise<std_msgs::Bool>("/step_cmd", 1000); ros::WallDuratio...
{ "domain": "robotics.stackexchange", "id": 4261, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "gazebo-plugin", "url": null }
c void sstream_pushBackChar(sstream* str, char c) { if(str->capacity < str->length + 2) { //+1 c, +1 \0 char* temp = realloc(sstream_get(str),str->capacity*2); str->capacity = str->capacity * 2; str->buffer = temp; } str->length = str->length + 1; str->buffer[str->length - 1] = ...
{ "domain": "codereview.stackexchange", "id": 41296, "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 }
gravity Title: Can an object be broken if it's between two gravitational wells? Think about this: take a human, tie each arm with a rope to a car and speed up the cars. The person would die dismembered because his arms would be plucked from his body. My question is if it's possible to do the same with gravity. For exa...
{ "domain": "physics.stackexchange", "id": 46273, "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": "gravity", "url": null }
structural-engineering, terminology, engineering-history Title: Is the combination of blocks and lines in this old, very long telescope an implementation of some named structure or technique? Below are two cropped views of "Johannes Hevelius's 8 inch telescope with an open work wood and wire "tube" that had a focal le...
{ "domain": "engineering.stackexchange", "id": 2663, "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": "structural-engineering, terminology, engineering-history", "url": null }
If we are considering all 26 letters of the alphabet, . . we simply append a permutation factor. Quote: With five letters, consider the first three letters. 3 different letters: . $ABC\;\;\Rightarrow\;\;ABCBA$ . . . one way There are $26$ choices for the " $A$", . . $25$ choices for the " $B$", . . and $24$ choices...
{ "domain": "mathhelpforum.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9591542887603538, "lm_q1q2_score": 0.8113893149261935, "lm_q2_score": 0.8459424353665381, "openwebmath_perplexity": 1357.230563425089, "openwebmath_score": 0.8772915601730347, "tag...
(If we hadn't gotten the convenient cancellation, we would still have been able to cancel $h^2$ and $k^2$ from the equation pair. This would leave a linear system in $h$ and $k$ that could be solved.) Note: One can prove @Apurv's orthogonality condition by observing that $$x^2 + y^2 + 2 m x + 2 n y + c = 0 \quad\text{a...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9833429595026213, "lm_q1q2_score": 0.8236676956756221, "lm_q2_score": 0.8376199653600372, "openwebmath_perplexity": 252.9301458359778, "openwebmath_score": 0.9987777471542358, "tag...
quantum-mechanics, classical-mechanics, spacetime, universe, theory-of-everything Title: Is it possible that the universe is (logically) classical (as opposed to, say, intuitionistic or minimal) within certain limits, but not generally? This question is one that has been bothering me for some time now. We have assumed...
{ "domain": "physics.stackexchange", "id": 36713, "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, classical-mechanics, spacetime, universe, theory-of-everything"...
So $f(x) \leq f(y)$ for all x 2. Feb 26, 2013 ### haruspex Why single out -1? What's special about that? 3. Feb 26, 2013 ### R_beta.v3 Well, nothing. I used -1 and 1 because they are simple. The "proof" is basically the same with other numbers. 4. Feb 26, 2013 ### jbunniii I think your proof is fine, but it ca...
{ "domain": "physicsforums.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9736446463891303, "lm_q1q2_score": 0.81136203899052, "lm_q2_score": 0.8333246035907932, "openwebmath_perplexity": 370.51108035188673, "openwebmath_score": 0.7063212990760803, "tags...
Polar equation of conic section? Unanswered Questions. area = PI r 2 Length of a Circular Arc: (with central angle) if the angle is in degrees, then length = x (PI/180) x r if the angle is in radians, then length = r x. Slope of a Line. and outside r = 2. (Make sure you clearly show the coordinates of important points ...
{ "domain": "quadri-canvas.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9777138157595305, "lm_q1q2_score": 0.8016210505773909, "lm_q2_score": 0.8198933447152497, "openwebmath_perplexity": 699.7204691149918, "openwebmath_score": 0.7926382422447205, "tags...
complexity-theory, computability, np-complete, reductions Title: Reduction from SAT to 3SAT a few days ago I had a test and could not pass it. This is a question I did not understand in the test. Recall the reduction we saw $SAT \leq _p 3SAT$. Given verse $\varphi$ in the form of $CNF$, we converted each fragment $C_...
{ "domain": "cs.stackexchange", "id": 18717, "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, computability, np-complete, reductions", "url": null }
c#, state-machine, lexical-analysis var state = states.First(); var token = createToken(); token.Type = state.Next; foreach (var (oneChar, index) in value.Select((c, i) => (c.ToString(), i))) { // The state matches itself. if (state.IsMatch(oneChar)) ...
{ "domain": "codereview.stackexchange", "id": 35703, "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#, state-machine, lexical-analysis", "url": null }
special-relativity Title: Explanation on how can't we really use Rindler metric on twin paradox and that you really can't outrun light I have read this question and answer by John Rennie. What is the proper way to explain the twin paradox? Now he has an appendix "Appendix - why the Rindler metric?" where he states tha...
{ "domain": "physics.stackexchange", "id": 35199, "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 }
algorithm, c, primes /* Function: isSumOfTwoPrimes() Checks if argument is a sum of two prime. */ char isSumOfTwoPrimes(unsigned int target, int* primes, unsigned int size){ unsigned int i; unsigned int remainder; int* ptrToArray = primes; for (i = 0; i < size; ++i){ if (ptrToArray[i] < targe...
{ "domain": "codereview.stackexchange", "id": 21770, "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": "algorithm, c, primes", "url": null }
Something does not work as expected? The union of closures equals the closure of a union, and the union system $\cup$ looks like a "u". Let v1 be the Radon measure on ℝ obtained by applying the method in the last Theorem to Lebesgue measure λ on ℝ and the function 2χ(h(C)). For more details see Fremlin (2000b), Vol. I ...
{ "domain": "nightrainbownewhaven.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9763105245649665, "lm_q1q2_score": 0.8135835768232951, "lm_q2_score": 0.8333245994514084, "openwebmath_perplexity": 374.47789448371066, "openwebmath_score": 0.7661237120628357...
beginner, c, linux, unix if(*(configs_beginning) == '{') { //If unit configs is beginning of a list config_status = 1; continue; } else { if(read_reg_syntax(configs_beginning, read_configs, 801) == -1) { fprintf(stderr, "An o...
{ "domain": "codereview.stackexchange", "id": 40913, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "beginner, c, linux, unix", "url": null }
json, clojure (defn add-properties "Adds multiple properties to the resource. rest of doc string etc." ([resource properties-map] {:pre [(map? properties-map)]} (reduce add-property resource properties-map)) ([resource & properties] {:pre [(even? (count properties))]} (reduce add-property resour...
{ "domain": "codereview.stackexchange", "id": 8165, "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": "json, clojure", "url": null }
Paula Gearon To follow up on my solution, I borrowed from the Wikipedia article on Square Pyramidal Numbers. This provides a formula for the sum of squares as a special case of Faulhaber's formula: $P_n = \sum_{k=1}^n k^2 = \frac {2n^3 + 3n^2 + n} 6$ So if we have n layers, then that will have a total of Pn cups. As ...
{ "domain": "fastly.net", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9817357189762611, "lm_q1q2_score": 0.8581128332444095, "lm_q2_score": 0.8740772253241802, "openwebmath_perplexity": 10790.589013250126, "openwebmath_score": 0.28828954696655273, "tags": n...
algorithms, algorithm-analysis, runtime-analysis, arrays Title: Checking if there are 2 elements in an array that sum to X in O(n lg n) I have thought about the most useful way of checking an array for 2 elements that sum to X. The trivial solution is to check the sum of every element with every element, and the compl...
{ "domain": "cs.stackexchange", "id": 2521, "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, algorithm-analysis, runtime-analysis, arrays", "url": null }
energy, temperature, potential-energy Title: When water turns to steam at 100 degrees Celsius why does both the internal and potential energy increase? I thought during this transition only the potential energy increases as energy is used to weaken the van Der Waal forces between the molecules. And that the internal...
{ "domain": "physics.stackexchange", "id": 31768, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "energy, temperature, potential-energy", "url": null }
thermodynamics, acoustics, heat-engine Title: Thermoacoustic mechanism for a thermoacoustic engine How exactly does a thermoacoustic engine work? (I don't mean the engineering part) I understand the part on the Brayton cycle occurring and all, but how might we measure the numerical efficiency for an actual physical th...
{ "domain": "physics.stackexchange", "id": 91470, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "thermodynamics, acoustics, heat-engine", "url": null }
optics, geometric-optics, lenses So again, why aren't parabolic abberations a thing? The reason is partly historical. The surfaces of a lens must typically be accurate to about a wavelength of light. This is far more precise than you can do with a lathe. Surfaces were ground to shape and polished. A sphere is the only...
{ "domain": "physics.stackexchange", "id": 99464, "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": "optics, geometric-optics, lenses", "url": null }
ros, windows, network Title: Now that Ubuntu is coming to Windows 10, will Windows become a first-class citizen platform for ROS? With the Ubuntu user space coming to Windows 10, should we expect ROS to quickly become available on this platform? Or are there kernel dependencies that might cause problems? The number o...
{ "domain": "robotics.stackexchange", "id": 24319, "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, windows, network", "url": null }
homework-and-exercises, general-relativity, geodesics Title: Solutions to Geodesic equations in AdS3 space I am struggling with an assignment from my lecturer, he has asked me to numerically (mathematica) and analytically compute solutions for the trajectory of a point particle in AdS3 space with global coordinates gi...
{ "domain": "physics.stackexchange", "id": 45834, "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, general-relativity, geodesics", "url": null }