text
stringlengths
1
1.11k
source
dict
Results: distance: 2886.4446 km ### Standard# FORTRAN 77 and later ## sinh# ### Name# sinh(3) - [MATHEMATICS:TRIGONOMETRIC] Hyperbolic sine function ### Syntax# result = sinh(x) elemental TYPE(kind=KIND) function sinh(x) TYPE(kind=KIND) :: x Where the returned value has the kind of the input value and T...
{ "domain": "fortran-lang.org", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.97112909472487, "lm_q1q2_score": 0.8311419567146789, "lm_q2_score": 0.855851154320682, "openwebmath_perplexity": 10109.618077243307, "openwebmath_score": 0.5095717906951904, "tags":...
classification, random-forest What makes this particularly odd is that that filter improves results across multiple sampling methods. Is this filtering acceptable behavior? Why might it be resulting in better predictions? One flaw in your procedure is the use of SMOTE before splitting in train/test. This should be avo...
{ "domain": "datascience.stackexchange", "id": 5954, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "classification, random-forest", "url": null }
Now , the point is that we can choose any $I$ above that we want , since the choice of $I$ did not affect the calculation. Take $I$ such that $|x_I| = \max_{1 \leq i \leq m} |x_i|$,and then the conclusion follows. For the second one, note that for each $I$ we have $|x_I| \leq \max_{1 \leq i \leq m} |x_i|$, so we get $...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.987568350610359, "lm_q1q2_score": 0.8050978093066035, "lm_q2_score": 0.8152324938410784, "openwebmath_perplexity": 83.40263078977883, "openwebmath_score": 0.9453787803649902, "tags...
used to format the presentation of data into an understandable pattern. The log transformation is often used where the data has a positively skewed distribution (shown below) and there are a few very large values. The log transformation is one of the most useful transformations in data analysis. There are models to had...
{ "domain": "sajtsnickarn.se", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9532750400464604, "lm_q1q2_score": 0.8004974393079585, "lm_q2_score": 0.8397339756938818, "openwebmath_perplexity": 873.6430193543533, "openwebmath_score": 0.4732891619205475, "tags"...
ros, ros-kinetic, ubuntu, intel, ubuntu-xenial ## To declare and build messages, services or actions from within this ## package, follow these steps: ## * Let MSG_DEP_SET be the set of packages whose message types you use in ## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...). ## * In the file...
{ "domain": "robotics.stackexchange", "id": 29916, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, ros-kinetic, ubuntu, intel, ubuntu-xenial", "url": null }
phylogenetics, phylogeny Looking at your treefile I don't see any collapsed clades. (Group_9:0.00000100000050002909,(Group_50:0.00507659947127924935, (. The clade above has not been colapsed it is just a very small distance in a paraphyletic group. It looks fine to me, i.e. Group_9 is 1E6. It could look 'collapsed' s...
{ "domain": "bioinformatics.stackexchange", "id": 1495, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "phylogenetics, phylogeny", "url": null }
machine-learning, algorithms As an example, you could use a logistic regression model to predict expected reward from user demographics, with one such model per possible action. For a version that picks evenly to start, but prefers items that have been shared more over time, you can use a Boltzmann distribution (also ...
{ "domain": "datascience.stackexchange", "id": 1552, "lm_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, algorithms", "url": null }
turing-machines, turing-completeness Define $\alpha : \mathbb{N} \to \{0,1\}$ by $$\alpha(n) = \begin{cases} 1 & \text{if Peano axioms prove $\mathfrak{U}(\overline{n}) \Rightarrow G(\overline{n})$},\\ 0 & \text{if Peano axioms prove $\mathfrak{U}(\overline{n}) \Rightarrow \lnot G(\overline{n})$.} \end{cases} $$ We sa...
{ "domain": "cs.stackexchange", "id": 16454, "lm_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, turing-completeness", "url": null }
c#, beginner, tic-tac-toe bool playing = true; while (playing) { PlayGame(players, scores, pieces); playing = AskToPlayAgain(); } } This is what Main looks like now. We are using 'turn-1' as a player index in the player array, scores array and pieces array. We migh...
{ "domain": "codereview.stackexchange", "id": 26906, "lm_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, tic-tac-toe", "url": null }
cc.complexity-theory Thanks! I think algorithm is the right word. An algorithm doesn't need to decide or compute a function. The type of problems you want is called search problems in complexity theory. For example, see the definition of the complexity class FNP. But we still refer to the algorithms solving them simpl...
{ "domain": "cstheory.stackexchange", "id": 2161, "lm_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", "url": null }
cosmology, cosmic-microwave-background Title: How is the Redshift of Recombination Calculated? In all the text, they do a hand waving exercise where they say the re-ionizing temperature of Hydrogen in the plasma is 3,000K, the current temperature of space is 2.75K, so you divide 3000/2.75 and get 1090. But it turns o...
{ "domain": "physics.stackexchange", "id": 66883, "lm_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, cosmic-microwave-background", "url": null }
c#, performance, matrix, search public static void BubbleSearchCPlus1(ref double[, ,] BubbleFrame, ref int[, ,] BubbleCollection, ref int CPlus1, ref int b, ref int a, ref double Threshold, ref int BubbleCounter, ref int Sensor, ref int n_fr) { //C+1 Ebene int BPlus1 = b + 1; int BMinus1 = b - 1; ...
{ "domain": "codereview.stackexchange", "id": 8400, "lm_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, matrix, search", "url": null }
faces of a pyramid are triangles that meet at a common vertex. Check out this tutorial to see this process!. The distance between the bottom and the top bases is the truncated pyramid height h. Please use a browser that supports "canvas" (J2) Pentagonal Pyramid: Vertices: 6 (5[3] + 1[5]) Faces: 6 (5 equilateral triangl...
{ "domain": "mulinodiro.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9912886176011569, "lm_q1q2_score": 0.8172797168492899, "lm_q2_score": 0.8244619199068831, "openwebmath_perplexity": 718.2802207678949, "openwebmath_score": 0.6700800657272339, "tags": ...
ros, python, object-recognition, ros-groovy Title: ImportError:no module named hello_ecto hi,i am using ubuntu12.04+groovy.i followed ecto when i run python ecto/samples/hello.py,i got error below: root@baogege:~/catkin_ws/src/ecto_kitchen# python ecto/samples/hello.py Traceback (most recent call last): File "ecto/sa...
{ "domain": "robotics.stackexchange", "id": 22398, "lm_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, python, object-recognition, ros-groovy", "url": null }
$$\frac{\partial P}{\partial x} = \frac{\partial Q}{\partial y} , \frac{\partial P}{\partial x} = -\frac{\partial Q}{\partial y}$$ Depending of oriented get that the integral is Zero. This satisfies the Cauchy's integral theorem that an analytic function on a closed curve is zero. Edit: You can see it here, where t...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9702399094961359, "lm_q1q2_score": 0.8412326904533615, "lm_q2_score": 0.8670357529306639, "openwebmath_perplexity": 618.9894069271471, "openwebmath_score": 0.5657342076301575, "tag...
forces, classical-mechanics, work, path-integral formulation may be incorrect. While the particles of the system undergo identical displacements, the initial and final positions of the particles of the system must be different. (Otherwise, all the particles would occupy a singularity in space and would therefore be th...
{ "domain": "physics.stackexchange", "id": 62821, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "forces, classical-mechanics, work, path-integral", "url": null }
assume(cond) solk = solve(-2*pi<solx, solx<2*pi, param) solk = -1 0 1 2 To find values of x corresponding to these values of k, use subs to substitute for k in solx. xvalues = subs(solx, solk) xvalues = -(5*pi)/4 -pi/4 (3*pi)/4 (7*pi)/4 To convert these symbolic values into numeric values for use in numeric calculat...
{ "domain": "mathworks.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9843363508288305, "lm_q1q2_score": 0.8653761225317079, "lm_q2_score": 0.8791467690927438, "openwebmath_perplexity": 2970.693099512371, "openwebmath_score": 0.6937898993492126, "tags": ...
catkin Title: undefined reference to `ros::init (correct CMakeLists.txt) Suddenly my caktin build does not work anymore. Linking seem to fail. But the project works on other computers (all Ubuntu 16.04 and ROS kinetic). I already tried: setting up a new catkin ws reinstalling ros completely reinstall catkin testing ...
{ "domain": "robotics.stackexchange", "id": 25839, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "catkin", "url": null }
python, algorithm, mathematics, symbolic-math """ # Extract common factor, if any. f = abs(gcd(gcd(a, b), c)) a, b, c = a // f, b // f, c // f # Is the discriminant a perfect square? discriminant = b * b - 4 * a * c root = int(sqrt(discriminant)) if root * root != discriminant: rai...
{ "domain": "codereview.stackexchange", "id": 5234, "lm_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, algorithm, mathematics, symbolic-math", "url": null }
quantum-field-theory, condensed-matter, quantum-chromodynamics Title: Axion related questions I have several question regarding axion. Could anyone give me some brief introduction to what is a axion string, axion field and how is this related to fermion zero mode and chiral zero mode? Axionic strings are special cosmi...
{ "domain": "physics.stackexchange", "id": 612, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory, condensed-matter, quantum-chromodynamics", "url": null }
c#, reflection | (includeNonPublic ? BindingFlags.NonPublic : BindingFlags.Default) | (includePublic ? BindingFlags.Public : BindingFlags.Default) | (includeStatic ? BindingFlags.Static : BindingFlags.Default); }
{ "domain": "codereview.stackexchange", "id": 23741, "lm_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#, reflection", "url": null }
check more ways, you can check out this link: How to calculate IRR (internal rate of return) in Excel (9 easy ways). Syntax. FV = Future value of the bond. The yield to maturity (YTM) of a bond is the internal rate of return (IRR) if the bond is held until the maturity date. In other words, YTM can be defined as the di...
{ "domain": "thomaskellermd.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9449947117065459, "lm_q1q2_score": 0.8050908924836276, "lm_q2_score": 0.8519528019683106, "openwebmath_perplexity": 2069.240311538716, "openwebmath_score": 0.31292998790740967, ...
# Difference between $((a+b)/2)^2$ and $ab$? I was thinking about the difference between the area of a rectangle that is not a square, and a square with sides whose lengths are at the midpoint between the lengths of $a$ and $b$. I did some algebraic manipulation and it seems that the difference between the area of the...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9777138125126403, "lm_q1q2_score": 0.8367774806551321, "lm_q2_score": 0.8558511396138365, "openwebmath_perplexity": 252.11787305068177, "openwebmath_score": 0.5919336676597595, "ta...
ros, camera-info-manager, dynamic-reconfigure Originally posted by migueloliveira on ROS Answers with karma: 65 on 2011-05-30 Post score: 1 Original comments Comment by migueloliveira on 2011-05-30: I found the problem. I had a problem in the CMakeList.txt. Sorry for the trouble. Its solved. I found the problem. I h...
{ "domain": "robotics.stackexchange", "id": 5705, "lm_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, camera-info-manager, dynamic-reconfigure", "url": null }
molecular-biology As you can deduce from the above information, there will be a certain limit to how many times a cell can divide.So, it has been thought that any organism ages because of shortening of telomeres. Gametes have the enzyme telomerase which will lengthen the telomeres to full length so that the zygote for...
{ "domain": "biology.stackexchange", "id": 1806, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "molecular-biology", "url": null }
formal-languages, regular-languages, pumping-lemma Let's observe at $w' = xy^0z = xz = a^kb^p$. By the pumping lemma, $w' \in L$. But, it is uncertain that $k$ and $p$ has the same quotient. Question: Is that enough to claim that it is uncertain? If not, what should I do instead? This problem can be tidied up using th...
{ "domain": "cs.stackexchange", "id": 4708, "lm_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 }
thermodynamics, enthalpy, heat They should not say that. At least not without saying in the absence of non-PV work. And in a closed system. So if [...] heat is TdS [...] You should not say that without specifying a reversible (near equilibrium) process in a closed system where dS refers to the surrounding: $$q_\math...
{ "domain": "chemistry.stackexchange", "id": 12587, "lm_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, enthalpy, heat", "url": null }
maximum-subarray Title: maximum span between two numbers We have an array of n measurements: (m_0, m_1, ..., m_n-1). The measurements are voltages, but that's not important, so let's say they are just numbers. The measurements can be positive, negative or zero. There are no NaNs or infinites, only "regular" numbers. W...
{ "domain": "cs.stackexchange", "id": 20874, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "maximum-subarray", "url": null }
special-relativity, waves, mass-energy, continuum-mechanics, string Title: How come Einstein's mass-energy relationship is basically apparent in the string wave equation? My physics teacher claimed to derive $E=mc^2$ by manipulating the equation for the speed of a standing wave on a string. A commonly known fact about...
{ "domain": "physics.stackexchange", "id": 37657, "lm_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, waves, mass-energy, continuum-mechanics, string", "url": nul...
ros, parameter, rosparam Originally posted by jarvisschultz with karma: 9031 on 2016-06-07 This answer was ACCEPTED on the original site Post score: 1 Original comments Comment by Crusty on 2016-06-07: I've tried `rosrun kinect2_bridge kinect2_bridge _sensor:='"123456"' and that didn't work. (ticks reversed compared ...
{ "domain": "robotics.stackexchange", "id": 24851, "lm_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, parameter, rosparam", "url": null }
complexity-theory, automata, p-vs-np, cellular-automata Title: Does P = NP in Cellular Automata of Hyperbolic Spaces? I read a few years ago in this book that NP problems are tractable in the space of cellular automata in the hyperbolic plane. What does this mean? Does P = NP according to these books/papers? Some exce...
{ "domain": "cs.stackexchange", "id": 16746, "lm_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, automata, p-vs-np, cellular-automata", "url": null }
Why are things "weird" here? Let's think of it like this: If I travelled at $$8 \frac{\text{mi}}{\text{hr}}$$ for an hour, then travelled at $$12 \frac{\text{mi}}{\text{hr}}$$, I'd definitely agree that the average speed is $$10 \frac{\text{mi}}{\text{hr}}.$$ Things are pretty normal here: If I want to calculate the to...
{ "domain": "poshenloh.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9799765557865637, "lm_q1q2_score": 0.8123405921246455, "lm_q2_score": 0.8289388019824947, "openwebmath_perplexity": 370.0781791588321, "openwebmath_score": 0.7217327952384949, "tags": ...
c++, multithreading, c++20, locking while(!test_state.compare_exchange_strong( current, { punched_ticket+1, 0, false }, std::memory_order_release )) { cout.flush(); cout << "Inco...
{ "domain": "codereview.stackexchange", "id": 42770, "lm_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++, multithreading, c++20, locking", "url": null }
fft, frequency-spectrum, frequency-domain, complex Why is the imaginary part not zero? It seems to be a discontinuity. However, I am not sure why it exists. Why does the imaginary part of the spectrum look like this? Your parameters aren't correct for producing a whole number of cycles for each component. For each $i$...
{ "domain": "dsp.stackexchange", "id": 6108, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "fft, frequency-spectrum, frequency-domain, complex", "url": null }
genetics, dna, molecular-genetics, rna, genetic-code Title: Double stranded RNA Single stranded DNA I have seen in textbooks referring to ds RNA and ssDNA. How a RNA can be double stranded and likewise how a DNA can single stranded and if they do exist why are there names not interchanged? The main differences betwee...
{ "domain": "biology.stackexchange", "id": 9398, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "genetics, dna, molecular-genetics, rna, genetic-code", "url": null }
organic-chemistry, nomenclature, amines giving us the full name N1-ethyl-N1,N4-dimethylhexane-1,3,4-triamine (where ethyl comes before dimethyl due to the usual alphabetical ordering). * This means a point-by-point comparison of the two locant sets (see P-14.3.5). So, you compare the lowest member of 1,3,4 with the l...
{ "domain": "chemistry.stackexchange", "id": 17325, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "organic-chemistry, nomenclature, amines", "url": null }
c#, object-oriented, .net, dependency-injection // With IoC IPlayerFactory playerFactory = kernel.Get<IPlayerFactory>(); IGameFactory gameFactory = kernel.Get<IGameFactory>(new ConstructorArgument("playerFactory", playerFactory)); IBoard board = kernel.Get<IBoard>(new ConstructorArg...
{ "domain": "codereview.stackexchange", "id": 16863, "lm_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#, object-oriented, .net, dependency-injection", "url": null }
navigation, odometry, ros-kinetic, rtabmap-odometry, gmapping <remap from="scan" to="scan_filtered"/> <param name="base_frame" value="/base_footprint" /> <param name="odom_frame" value="/odom" /> <param name="map_update_interval" value="5.0"/> <param name="maxUrange" value="5.5"/> ...
{ "domain": "robotics.stackexchange", "id": 31666, "lm_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, odometry, ros-kinetic, rtabmap-odometry, gmapping", "url": null }
materials as musical instruments 9 November, 2017 rectangle would represent to! Higher Math levels like trigonometry and calculus inverse second fundamental theorem of calculus khan academy the standard form of a sine curve 2! Anyone, anywhere so you get the original function clear what I going... About β€œ short cuts ” ...
{ "domain": "illanabogados.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9697854103128328, "lm_q1q2_score": 0.810239746825765, "lm_q2_score": 0.8354835391516133, "openwebmath_perplexity": 883.4986824672854, "openwebmath_score": 0.7846773862838745, "tags...
javascript, jquery IDs are brittle. The can only appear once in the page but nothing stops you from putting more than one. The problem appears when you try to grab their reference. document.getElementById as well as jQuery only return the very first one it finds. If your element's id collides with another's and that o...
{ "domain": "codereview.stackexchange", "id": 25583, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript, jquery", "url": null }
points, points of inflection or local min or maxes. In example 3 we need to find extra points. There is also a spreadsheet, which can be used as easily as Excel. substitute x into β€œy = …” This is a mathematical educational video on how to find extra points for a parabola. A turning point can be found by re-writting the...
{ "domain": "finmining.com", "id": null, "lm_label": "1. Yes\n2. Yes", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.990587412635403, "lm_q1q2_score": 0.8641363370204548, "lm_q2_score": 0.8723473829749844, "openwebmath_perplexity": 378.61205411205185, "openwebmath_score": 0.545737087726593, "tags": n...
β€’ Thanks for the answer. Could it be the case that a pair of two dimensional planes in $\mathbb{R^4}$ intersect at a point? Sep 21, 2013 at 17:27 β€’ Yes, indeed. Consider $$U_1=\{(w,x,y,z)\in\Bbb R^4:y=z=0\}$$ and $$U_2=\{(w,x,y,z)\in\Bbb R^4:w=x=0\}.$$ The upshot in $\Bbb R^3$ is that there "isn't enough room" for two ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9828232950125849, "lm_q1q2_score": 0.8640459228433786, "lm_q2_score": 0.8791467675095294, "openwebmath_perplexity": 117.93825881355986, "openwebmath_score": 0.9851697087287903, "ta...
to conclude that we have $p_i(t) \in C^0[0, b]$ for all $i$, $0 \le i \le n$. We see that in fact the the one-parameter family of characteristic polynomials $p(\mu, t) = \det (\mu I - M(t))$ has coefficients continuous in $t$; thus the zereos $\mu(t)$ of $p(\mu,t)$, i.e. the eigenvalues of $M(t) = [m_{ij}(t)]$ are them...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9877587268703083, "lm_q1q2_score": 0.8098567976514044, "lm_q2_score": 0.8198933359135361, "openwebmath_perplexity": 177.92953959757014, "openwebmath_score": 0.9117821455001831, "ta...
Write a balance on the mass of the fluid in the tank as: $$\text{in - out + gen = accumulation}$$ $$\rho Q_{in} - \rho Q_{out} = \frac{d(\rho V)}{dt}$$ where the generation term is zero, $\rho$ is the fluid density (constant here) and $Q_{in}$ and $Q_{out}$ is the flow rate in and out of the tank, respectively. $Q_{in...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9711290955604488, "lm_q1q2_score": 0.8028438727188093, "lm_q2_score": 0.8267117898012104, "openwebmath_perplexity": 207.29129597805522, "openwebmath_score": 0.8490765690803528, "ta...
beginner, php, html, datetime, formatting First, you should strive to separate your PHP logic from your HTML output. Right now you have the classic "spaghetti code" which is very hard to maintain over time. Do your very best to write all the information you need into PHP variables, such that when you get to renderin...
{ "domain": "codereview.stackexchange", "id": 24909, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "beginner, php, html, datetime, formatting", "url": null }
java, beginner, sudoku public Board(int size, String contents){ cells = new Cell[size][size]; constraints = new HashSet<>(3*size); List<Constraint> rows = new ArrayList<>(size), columns = new ArrayList<>(size), blocks = new ArrayList<>(size); for(int i...
{ "domain": "codereview.stackexchange", "id": 11145, "lm_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, sudoku", "url": null }
10^5 in standard form is a 1 followed by 5 zeros. the original question is to find the domain of f(x)=sqrt of 4x-20 and then put the answer in interval notation, im pretty sure the answer is all real numbers except 5. written in standard notation to the estimated measurements in scientific notation. Make your MIDIs sou...
{ "domain": "chiesaevangelicapresbiteriana.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9648551525886194, "lm_q1q2_score": 0.8200990720518506, "lm_q2_score": 0.8499711794579722, "openwebmath_perplexity": 1241.7866927823904, "openwebmath_score": 0.64779770...
c#, beginner, programming-challenge, array You might also consider taking the input and output file paths from the args parameter. Putting it all together (without error checking) could look like this: public static void Main(string[] args) { var minimums = File.ReadLines(args[0]).Skip(1).Select(GetMinimum); F...
{ "domain": "codereview.stackexchange", "id": 13501, "lm_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, programming-challenge, array", "url": null }
casimir-effect Notice that if one of the plates give differing amplitudes for the photons (squiggly lines), the Casimir energy will have a different sign from when they are the same! And if you now return to the Lifshitz equation you can see that if $R_A R_B < 0$ you can get repulsion (most materials have $R_A R_B>0$...
{ "domain": "physics.stackexchange", "id": 31397, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "casimir-effect", "url": null }
c#, programming-challenge, dynamic-programming return max; } static int[] ParseLine(string line) { string[] numbers = line.Trim().Split(' '); int numbersLength = numbers.Length; var result = new int[numbersLength]; for(int i = 0; i < numbersLength; i++) { result[i] = int.Parse(numbers[i])...
{ "domain": "codereview.stackexchange", "id": 18326, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, programming-challenge, dynamic-programming", "url": null }
python, performance, game, hangman Multiple things to notice here: dashes is modified in-place, therefore we don't need to return it. Passing it to the function is enough. Using enumerate will give us index and letter for all letters in secret_word. This approach is more pythonic than iterating over a range and acces...
{ "domain": "codereview.stackexchange", "id": 41291, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, performance, game, hangman", "url": null }
quantum-chemistry There are also molecular term symbols using greek instead of latin letters for the angular momentum. Those are commonly used for diatomic molecules. You should find the Russel Saunders Coupling scheme in standard physical and quantum chemistry books. Molecular term symbols are for example explained ...
{ "domain": "chemistry.stackexchange", "id": 8184, "lm_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", "url": null }
db2, ibm-rpg If (ValidFlag = *Blanks); *In21 = *On; Mesg = Msg(02); Exsr write_error; ErrorFound = *On; Else; //Display Work center description... Exec Sql SELECT WMDESC INTO :SSWCDS FROM PAWMP00 WHERE WMPLNT = :SSPLNT A...
{ "domain": "codereview.stackexchange", "id": 27991, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "db2, ibm-rpg", "url": null }
waves, frequency, wavelength, superposition, dispersion Title: From discrete to continuous superposition of waves, what happens to omega? The Wikipedia page on group velocity uses the superposition of two cosines (of slightly different wavenumbers and angular frequencies) to show that group velocity $v_g = \frac{d\ome...
{ "domain": "physics.stackexchange", "id": 87521, "lm_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, frequency, wavelength, superposition, dispersion", "url": null }
classical-mechanics, waves, harmonics Can you please try to explain this simply, at the level of a someone who still hasn't learnt Calculus based physics? Thanks. 1) Let's imagine we have a string of length $L$ that is fixed at both ends. When we refer to harmonics we are talking about standing waves. Since we are tal...
{ "domain": "physics.stackexchange", "id": 51195, "lm_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, waves, harmonics", "url": null }
formal-languages, computability, formal-grammars Every rule contains at most one $S$ on the right-hand side. Indeed, otherwise you could generate a word with more than one $|$. Every rule containing exactly one $S$ must be of the form $S \to Sw$, where $w \in \Sigma^*$. Indeed, the rule cannot contain $|$, since other...
{ "domain": "cs.stackexchange", "id": 15177, "lm_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, computability, formal-grammars", "url": null }
electromagnetism, energy, electric-circuits, electric-current Title: when the current flow through a resistor, what does it lose? We all know that in a series circuit, the current is the same for all of the elements. But when the current flow through a resistor, what does it lose? The current is the same because it do...
{ "domain": "physics.stackexchange", "id": 52062, "lm_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, energy, electric-circuits, electric-current", "url": null }
ros, cturtle [ rosmake ] All 22 linesr2_tabletop_manipulation_gazebo_demo: 0.1 sec ] [ 1 Active 8/9 Complete ] {------------------------------------------------------------------------------- mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`ro...
{ "domain": "robotics.stackexchange", "id": 13137, "lm_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, cturtle", "url": null }
circuit-construction, shors-algorithm So how do I build those $U$ circuit? Can anyone, for example, tell me how do things changed when say I went from $11^x (\mod{15})$ to $7^x (\mod{21})$? I don't care if the circuit is not gonna be optimized and contain thousands of gates, but I want to at least understand the first...
{ "domain": "quantumcomputing.stackexchange", "id": 2143, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "circuit-construction, shors-algorithm", "url": null }
python, performance, beginner, algorithm, python-3.x With chiral/chirality and achiral/achirality, you could just use the Enum type's ability to have type-aliases. from enum import Enum class Type(Enum): CHIRAL = 1 ACHIRAL = 2 CHIRALITY = 1 ACHIRALITY = 2 def determine_data_type(text, found): fou...
{ "domain": "codereview.stackexchange", "id": 37494, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, performance, beginner, algorithm, python-3.x", "url": null }
quantum-mechanics, quantum-field-theory, electric-fields, quantum-optics $|\hat{E}^{(+)} + \hat{E}^{(-)}|^2 = |\hat{E}^{(+)}|^2 + |\hat{E}^{(-)}|^2+\hat{E}^{(+)}\hat{E}^{(-)}+\hat{E}^{(-)}\hat{E}^{(+)}$ Somehow the quantum version of a photodetector is just one of these four terms. I haven't found any justification fo...
{ "domain": "physics.stackexchange", "id": 82892, "lm_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-field-theory, electric-fields, quantum-optics", "url"...
6 times each minute (wheel's frequency. Why you should learn it Fundamenta l trigonometric. Trigonometry. 862 Chapter 14 Trigonometric Graphs, Identities, and Equations Modeling with Trigonometric Functions WRITING A TRIGONOMETRIC MODEL Graphs of sine and cosine functions are called sinusoids. Jamie rides a Ferris whee...
{ "domain": "topvolleylamezia.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9833429570618729, "lm_q1q2_score": 0.8396890860766925, "lm_q2_score": 0.8539127473751341, "openwebmath_perplexity": 785.071974526877, "openwebmath_score": 0.6883447766304016, ...
inorganic-chemistry, molecules, theoretical-chemistry into water. Peroxides have a single $\ce{O-O}$ bond, and are somewhat stabilized by donating groups on either side of the peroxide. Now, imagine a chain that looks like this: $\ce{O-O-O}$. The central oxygen is not only bonded one inductively withdrawing oxygen as ...
{ "domain": "chemistry.stackexchange", "id": 5688, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "inorganic-chemistry, molecules, theoretical-chemistry", "url": null }
catkin-make, catkin -- Forcing gtest/gmock from source, though one was otherwise available. -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Using Python ...
{ "domain": "robotics.stackexchange", "id": 36711, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "catkin-make, catkin", "url": null }
Thus $22\mid N$ Is my reasonable right ? β€’ is $b=1$? I asked that because you have $N=a_{n}a_{n-1}\cdots a_{2}a_{1}a_{0}$ and $N=a_{n}b^{n}+a_{n-1}ba^{n-1}+\cdots +a_{2}b^{2}+a_{1}b+a_{0}$ – Jlamprong Sep 3 '14 at 7:29 β€’ @labbhattacharjee Thanks but i'm not newbie in math.stackexchange.com i know how i search in it ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9759464499040092, "lm_q1q2_score": 0.8024125609564985, "lm_q2_score": 0.8221891283434876, "openwebmath_perplexity": 208.88301435004064, "openwebmath_score": 0.8970416784286499, ...
type-theory, type-checking, type-inference Any way, I would like to know the relation between TA and HM. System F and its subsystem HM have a type former for universal quantification: $$ \tau \quad::=\quad \forall x.\tau \ |\ ... $$ which the system in Hindley/Seldin doesn't have. That is the key difference. Now Sy...
{ "domain": "cs.stackexchange", "id": 7381, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "type-theory, type-checking, type-inference", "url": null }
# Find all subfields in extension $\mathbb{Q}\subseteq \mathbb{Q}(\sqrt[4]{2})$ I want to find all intermediate subfields of extension $\mathbb{Q}\subseteq \mathbb{Q}(\sqrt[4]{2})$. I guess that $\mathbb{Q}(\sqrt[4]{2})$ is not a splitting field, since we would have polynomial $x^4-2$, what should also give us root of...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.982013790564298, "lm_q1q2_score": 0.8005695536722316, "lm_q2_score": 0.8152324960856175, "openwebmath_perplexity": 92.02132426360855, "openwebmath_score": 0.8881928324699402, "tags...
c#, multithreading CreateNewDocumentAppendValueAndSave(value); } Let the framework do multithreading for you: List<string> tasks = new List<string>(); foreach (string value in db.table.select(a => a.value)) { tasks.Add(Task.Factory.StartNew(() => CreateNewDocumentAppendValueAndSave(value))); } Task.WaitAll(tasks.T...
{ "domain": "codereview.stackexchange", "id": 1373, "lm_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#, multithreading", "url": null }
javascript Title: More idiomatic way to move item from one dict value(list) to another? Is there a more idiomatic way to handle the following scenario? I'm open to lodash, etc. if needed. This does what I want, but I feel that there is probably a shortcut I'm missing: const migrateValues = (obj, srcKey, destKey, value...
{ "domain": "codereview.stackexchange", "id": 37386, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript", "url": null }
c#, object-oriented, interview-questions MainMenu(transportLy); } static void MainMenu(Inventory inventory) { while (true) { int userChoice; do { Console.Clear(); DisplayMAinMenu(); ...
{ "domain": "codereview.stackexchange", "id": 36340, "lm_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#, object-oriented, interview-questions", "url": null }
arduino, mobile-robot, localization Arduino mega raspberry pi + usb camera + wifi dongle Xbox 360 kinect wheel encoders sonar distance sensor arduino nano windows PC I want to know how to keep track of the robot like the room it is. I think what I am trying to do is SLAM, but I just need to make the map once because...
{ "domain": "robotics.stackexchange", "id": 519, "lm_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, mobile-robot, localization", "url": null }
java, beginner, calculator Naming your class something like apples is always wrong. Java class names start with a Capital letter and are written in CamelCase. Thus, regardless of whether the name itself is good, it should be spelled Apples, not apples. Also, you need to add a javadoc comment to the class that explains...
{ "domain": "codereview.stackexchange", "id": 5368, "lm_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, calculator", "url": null }
javascript, html, mvc <!-- CSS –––––––––––––––––––––––––––––––––––––––––––––––––– --> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/skeleton.css"> <link rel="stylesheet" href="css/main.css"> </head> <body> <div class="container"> ...
{ "domain": "codereview.stackexchange", "id": 11765, "lm_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, html, mvc", "url": null }
pl.programming-languages Title: Resource for Understanding this Notation I am trying to read this paper: https://arxiv.org/abs/1510.00925. I am familiar with grammars, but I cannot understand the notations in figure 1. Can anyone suggest a resource or book where I can learn these notations? Here is what figure 1 looks...
{ "domain": "cstheory.stackexchange", "id": 5227, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "pl.programming-languages", "url": null }
c++, graphics, sfml Declare Functions constexpr When Appropriate You don't say whether you're using C++11 or higher, or not. If you are, I would recommend declaring your degToRad() function constexpr so that it can be used in the definition of constants. Don't Repeat Yourself You have some code inside your loop that a...
{ "domain": "codereview.stackexchange", "id": 28456, "lm_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++, graphics, sfml", "url": null }
quantum-mechanics, solid-state-physics, fourier-transform, crystals Title: A small doubt in reciprocal space (aka $k$-space) in quantum mechanics In the Sommerfeld theory of free electron gas, it was mentioned in Griffiths that the electrons will fill up one octant of a sphere in $k$-space. I pondered upon this for a ...
{ "domain": "physics.stackexchange", "id": 21066, "lm_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, fourier-transform, crystals", "url": nul...
### 2. Maclaurin Series - intmath.com Remark 6.8.2 From the formula in the theorem, we see that to –nd the Taylor series of a function fcentered at a,. But consider the problem of –nding all the.Solving of Word Problems with the Help of Equations;. Taylor and Maclaurin (Power) Series Calculator. calculate the Taylor (...
{ "domain": "panglaodirectory.tk", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9715639661317859, "lm_q1q2_score": 0.8010175033055501, "lm_q2_score": 0.8244619306896955, "openwebmath_perplexity": 828.5322814714966, "openwebmath_score": 0.8818258047103882, "t...
homework-and-exercises, electromagnetism, lagrangian-formalism, gauge-theory, gauge &=-\frac{1}{2} \partial _\mu A_\nu\partial^\mu A^\nu -\frac{\zeta-1}{2}\left( \partial\cdot A\right)^2 \\ \end{align} where in the second line we just use the definition of $F^{\mu \nu}$, and in the third line we did integration by par...
{ "domain": "physics.stackexchange", "id": 25450, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "homework-and-exercises, electromagnetism, lagrangian-formalism, gauge-theory, gaug...
php Title: Building functions.php Lets say I build functions.php and I have 3 functions inside of it that I use. Lets say that I build a 4th function, but what I really want to do is simply put the instructions of function 4 into function 1 for example. Is there anything wrong with this? Consider my example here, wher...
{ "domain": "codereview.stackexchange", "id": 3961, "lm_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", "url": null }
# Why do we want norms to follow triangle inequality [duplicate] What purpose does Triangle inequality serve while defining norms? Is it important to render it as a distance metric? What would happen if we let the condition loose?
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9899864271610316, "lm_q1q2_score": 0.8162061189588102, "lm_q2_score": 0.8244619285331332, "openwebmath_perplexity": 356.8275922124229, "openwebmath_score": 0.8572104573249817, "tag...
beginner, haskell Title: Next lexicographic permutation of a list I began learning Haskell last week. I wrote the following to get the next lexicographic permutation of a list. It works perfectly but I feel like I'm just writing a c# method. My long list of where commands just feels like an imperative approach. I ...
{ "domain": "codereview.stackexchange", "id": 25056, "lm_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, haskell", "url": null }
newtonian-mechanics, newtonian-gravity, units, celestial-mechanics $$ The initial velocity has been adapted so that the centripetal force equals the force of gravitation, so the orbit will be circular. For $r=1$ I expected that the orbital period would be a couple of hundred days, since it takes about 365 days for the...
{ "domain": "physics.stackexchange", "id": 50104, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "newtonian-mechanics, newtonian-gravity, units, celestial-mechanics", "url": null...
c++, algorithm, c++11, sorting, heap-sort auto tp1 = high_resolution_clock::now(); // For fairness, we pass the same comparator to std::sort //as to local_heapsort. sort(array1.begin(), array1.end(), std::less<int>()); auto tp2 = high_resolution_clock::now(); cout << "std::sort in " << du...
{ "domain": "codereview.stackexchange", "id": 25094, "lm_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++, algorithm, c++11, sorting, heap-sort", "url": null }
complexity-theory, reductions, decision-problem, np Title: What NP decision problems are not self-reducible? So we just learned about self-reducibility in class. My professor and our textbook would not commit to saying that all problems in NP are self-reducible, but there didn't seem to be any examples of problems th...
{ "domain": "cs.stackexchange", "id": 5593, "lm_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, reductions, decision-problem, np", "url": null }
homework-and-exercises, lagrangian-formalism, potential-energy, spring, oscillators $$2m\ddot{x}+kx-mg=0;\qquad m\,l^{2}\,\ddot{\theta}+m\,g\,l\,\theta \quad\text{or}\quad\ddot{\theta}+\frac{g}{l}\theta=0; $$ I chose ground as reference point $(V=0)$. However in the solution given by the book, the term $-m\,g\,x$ in t...
{ "domain": "physics.stackexchange", "id": 55718, "lm_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, lagrangian-formalism, potential-energy, spring, oscillator...
(0.25/5,000) = 0.00005 = (50/1,000,000) Is this correct? Is there a simpler way? * I'm making this ratio fraction problem simple and not using the "total" volume. - ## 1 Answer Ah, but you are using the "total" volume, and in fact, what you have called $B$ is this total volume, and it is not, as you seem to be th...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9766692298333416, "lm_q1q2_score": 0.8030068206289429, "lm_q2_score": 0.8221891261650248, "openwebmath_perplexity": 920.5282300814231, "openwebmath_score": 0.8741217255592346, "tag...
special-relativity So, I think your answer is that Compton needed a "thick" target of free electrons, but in the absence of such, improvised using the electrons in a graphite crystal. At low photon energies, the interactions are dominated by photoelectric absorption or elastic scattering. At very high energies, pair-p...
{ "domain": "physics.stackexchange", "id": 24277, "lm_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 }
Quantum Mechanics – Statistical Universe Quantum mechanics is the name for the mathematics that can describe physical systems on extremely small scales. Β When we deal with the macroscopic – i.e scales that we experience in our everyday physical world, then Newtonian mechanics works just fine. Β However on the microscop...
{ "domain": "ibmathsresources.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9904406006529085, "lm_q1q2_score": 0.8097589486760893, "lm_q2_score": 0.8175744695262775, "openwebmath_perplexity": 561.3144773278186, "openwebmath_score": 0.7298726439476013, "...
radiation, scattering, scattering-cross-section Title: What is the actual formula for fraction of particles scattered at certain angle in Rutherford scattering? $$N(\theta)=\frac{N_i nLZ^2e^4}{64\pi^2\varepsilon_0^2 R^2E_\alpha^2}\cdot\frac1{\sin^4(\theta/2)}$$ Where: $N_i$ - Total amount of incident particles $n$ - a...
{ "domain": "physics.stackexchange", "id": 48928, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "radiation, scattering, scattering-cross-section", "url": null }
keras, tensorflow Apparently, you have to use the Keras optimizer if you want to use this. Ok, no problem, so I commented (1) out, and inserted (2). Now it doesn't even want to compile anymore, and gives me this error instead: ValueError: optimizer must be an instance of tf.train.Optimizer, not a class 'tensorflow.py...
{ "domain": "datascience.stackexchange", "id": 4611, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "keras, tensorflow", "url": null }
β€’ I'd love to see the original puzzle, certainly! – Steven Stadnicki Jun 22 '12 at 7:25 β€’ @rubik, after dividing through by $x$ the left side is positive for $x=0$ and negative for $x$ just less than 3, so surely there's a real solution between 0 and 3. – Gerry Myerson Jun 22 '12 at 7:29 β€’ Oh my bad sorry. I had copied...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.982557512709997, "lm_q1q2_score": 0.8311870932814797, "lm_q2_score": 0.8459424334245618, "openwebmath_perplexity": 200.08710975105515, "openwebmath_score": 0.9325675964355469, "tag...
cosmology, photons, charge, scattering, cosmic-microwave-background CMB photons after recombination do not have nearly enough energy to interact with a nucleus at an appreciable rate. Just to give a rough order of magnitude, nuclear energy scales are of order of ${\rm MeV}$ (and to probe the quarks within a nucleon re...
{ "domain": "physics.stackexchange", "id": 87348, "lm_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, photons, charge, scattering, cosmic-microwave-background", "url": nul...
evolution, speciation Title: Systematic difference of diversity between sister taxa? When looking broadly at the tree of life, my feeling is that, after a divergence there is almost systematically one taxon that speciates way more than the other. (There will have some approximations below it is not really the point of...
{ "domain": "biology.stackexchange", "id": 1201, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "evolution, speciation", "url": null }
c#, unit-testing, linq, extension-methods if (predicate is null) { throw new ArgumentNullException(nameof(predicate)); } return source.DistinctCount(predicate, null); } public static int DistinctCount<TSource>( this IEnumerable<TSource> source, Func<TSource, bool> predicate, IEquality...
{ "domain": "codereview.stackexchange", "id": 38128, "lm_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#, unit-testing, linq, extension-methods", "url": null }
c#, mysql IEnumerable<TempSave> _CheackTem; string Cheak_TempSave = "SELECT * FROM TempSave WHERE Localization='" + _Save.Localization + "'"; using (MySqlConnection Con = new MySqlConnection("server=localhost; database=wintestbeta;user=root; password=;")) { Con.Open(); _CheackTem = Con.Qu...
{ "domain": "codereview.stackexchange", "id": 27052, "lm_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#, mysql", "url": null }
c#, beginner, mvc, asp.net, asp.net-mvc-5 { <tr> <td> @user.Id </td> <td class="text-center"> @user.FirstName @user.LastName </td> <td class="text-center"> @Html.Check...
{ "domain": "codereview.stackexchange", "id": 23816, "lm_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, mvc, asp.net, asp.net-mvc-5", "url": null }
java, beginner, playing-cards, shuffle Card card = new Card(s, r); this.deckOfCards[count] = card; count++; } } } public void ShuffleCards(){ Random rand = new Random(); int j; for(int i=0; i<size; i++){ j = rand.nextInt(5...
{ "domain": "codereview.stackexchange", "id": 32747, "lm_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, playing-cards, shuffle", "url": null }
coordination-compounds, hybridization To answer this question you should ask yourself how many ligands you have around the nickel centre and which geometry that implies. The complex being tetraamminediaquanickel(II) results in six ligands and thus an octahedral configuration. The next step should be to consider the mo...
{ "domain": "chemistry.stackexchange", "id": 6995, "lm_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, hybridization", "url": null }
cc.complexity-theory, reference-request, it.information-theory, quantum-information, statistical-physics More recently, Demaine, Lynch, Mirano, and Tyagi. Energy-Efficient Algorithms, 2016. studied partially reversible algorithms - that is, if you are willing to pay some entropy, for standard algorithmic tasks can o...
{ "domain": "cstheory.stackexchange", "id": 4239, "lm_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, reference-request, it.information-theory, quantum-informatio...
differential-geometry, symmetry, group-theory, lie-algebra \end{matrix}\right),$$ which clearly commute to give the $T$ generators. However, it is always said that the symmetric space is $SO(n)/(SO(n-1)\times SO(1))$. Which step am I missing here? UPDATE: Perhaps it is a symmetric space, as suggested by this master's ...
{ "domain": "physics.stackexchange", "id": 55758, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "differential-geometry, symmetry, group-theory, lie-algebra", "url": null }