text
stringlengths
49
10.4k
source
dict
thermodynamics, thermal-conductivity Title: conducting heat to infinity I am modeling a situation in which an object that is a small object that is spherical in shape is receiving heat at a constant rate and then conducting it away into a medium that can be model as infinite in size relative to it (large glacier) such...
{ "domain": "physics.stackexchange", "id": 15085, "lm_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, thermal-conductivity", "url": null }
= $$\frac{\bar{z}}{|z|^{2}}$$, provided z ≠ 0. Conjugate of Sum or Difference: For complex numbers z 1, z 2 ∈ C z 1, z 2 ∈ ℂ ¯ ¯¯¯¯¯¯¯¯¯¯ ¯ z 1 ± z 2 = ¯ ¯ ¯ z 1 ± ¯ ¯ ¯ z 2 z 1 ± z 2 ¯ = z 1 ¯ ± z 2 ¯ Conjugate of sum is sum of conjugates. But to divide two complex numbers, say $$\dfrac{1+i}{2-i}$$, we multiply and ...
{ "domain": "littlereddoor.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.97364464868338, "lm_q1q2_score": 0.8049235080649378, "lm_q2_score": 0.8267117876664789, "openwebmath_perplexity": 667.714821680727, "openwebmath_score": 0.7939547896385193, "ta...
c, strings sstrfunc sstrinput(){ //dont store anything make null return value sstrfunc _null; //is global max char limit corrupted?? //returning null means error was caught! if(isGMCLCorrupt()){ _null._err = GMCL_CORRUPT; return _null; } char _tmp[GLOBAL_MAX_CHAR_LIMIT]; ...
{ "domain": "codereview.stackexchange", "id": 42338, "lm_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", "url": null }
# What is the probability of getting equal numbers of heads and tails? I'm doing my hw, there is a question that I am not sure if I'm correct. Here is the question A fair coin is thrown repeatedly. What is the probability that on the $$n$$ th throw, the numbers of heads and tails to date are equal? $$\mathrm{The\ re...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9805806557900713, "lm_q1q2_score": 0.8106575889926545, "lm_q2_score": 0.8267117898012105, "openwebmath_perplexity": 100.8324855688509, "openwebmath_score": 0.8830657005310059, "tag...
navigation, laser, costmap-2d Costmap_global_final.yaml global_frame: map rolling_window: false track_unknown_space: true static_map: true update_frequency: 2.0 publish_frequency: 1.0 plugins: - {name: static_layer, type: "costmap_2d::StaticLayer"} - {name: obstacle_layer, type: "...
{ "domain": "robotics.stackexchange", "id": 28401, "lm_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, laser, costmap-2d", "url": null }
botany, terminology, literature, history I also tried combinations involving such words as "old botany books" "old references in botany books" but could find nothing suitable. I have found what may be the holy grail. It is a book known as "A Botanical Materia Medica" by Jonathan Stokes. This has several volumes, but t...
{ "domain": "biology.stackexchange", "id": 11741, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "botany, terminology, literature, history", "url": null }
machine-learning, pr.probability, st.statistics, vc-dimension Observation For any $f \in F$, define $f_y:X \to \mathbb R$ by $f_y(x) := yf(x)-\gamma + y$, and let $F_y := \{f_y \mid f \in F\}$. Thus, $F_y$ is an affine translation of $F$. Then, one computes $$ \begin{split} \Lambda(f) &= \cup_{y \in \{\pm 1\}} \{(x,y)...
{ "domain": "cstheory.stackexchange", "id": 5412, "lm_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, pr.probability, st.statistics, vc-dimension", "url": null }
performance, sql, postgresql -> Result (cost=0.00..0.00 rows=0 width=0) One-Time Filter: false -> Sort (cost=21.11..21.65 rows=217 width=40) Sort Key: enumerated.index -> CTE Scan on enumerated (cost=0.00..14.65 rows=217 width=40) Filter: (index >= COALESCE($1, '0':...
{ "domain": "codereview.stackexchange", "id": 45213, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "performance, sql, postgresql", "url": null }
# Problem with logarithms Problem: Solve: $$\frac{1}{2^x} = \frac{5}{8^{x+2}}$$ My attempt: $$\frac{1}{2^x} = \frac{5}{8^{x+2}}$$ $$\Rightarrow 5 \cdot 2^x = 8^{x+2}$$ $$\Rightarrow 2^{\log_2 5+x} = 8^{x+2}$$ $$\Rightarrow (\log_2 5 + x)(\log_a 2) = (x+2)(\log_a 8)$$ And then just keep going like this, but I'm...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9559813488829418, "lm_q1q2_score": 0.8339478104214924, "lm_q2_score": 0.8723473647220786, "openwebmath_perplexity": 1024.2617492034344, "openwebmath_score": 0.9654048085212708, "ta...
python, beginner, object-oriented Keep constant declarations at the top. Although you follow the PEP8 naming conventions throughout (almost) the whole code base, I'll point out a few key things: variables, functions and methods should be named using snake_case. So, the addTopping would be renamed to add_topping. cons...
{ "domain": "codereview.stackexchange", "id": 38908, "lm_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", "url": null }
c++, algorithm, depth-first-search, c++17 template <class VertexDescriptor, class GraphModel> class DepthFirstSearch { private: GraphModel m_GraphModel; template <class Vertex, class Visitor, class Memoizer> std::optional<VertexDescriptor> _searchIterative(Vertex&& _start, Visitor&...
{ "domain": "codereview.stackexchange", "id": 28073, "lm_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, depth-first-search, c++17", "url": null }
Then, the sum over $A$ is: $\displaystyle \sum_{(k,m) \in A} \dfrac{(-1)^{k+m}}{(2k+1)(2m+1)}$ $= \displaystyle\sum_{k = 0}^{L}\left[\dfrac{(-1)^k}{2k+1}\sum_{m = 0}^{\tfrac{N-k}{2k+1}}\dfrac{(-1)^m}{2m+1}\right]$ $= \displaystyle\sum_{k = 0}^{L}\left[\dfrac{(-1)^k}{2k+1}\left(\dfrac{\pi}{4} + O\left(\dfrac{1}{L}\rig...
{ "domain": "brilliant.org", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.979354068055595, "lm_q1q2_score": 0.8074401394418087, "lm_q2_score": 0.8244619242200082, "openwebmath_perplexity": 359.13452823007, "openwebmath_score": 0.9817647337913513, "tags":...
textbook-and-exercises, density-matrix Now, performing a measurement with respect to the operator $\rho$ on a qubit in the state $\lvert\psi\rangle$ is almost like performing a full measurement with respect to the basis $\{\lvert u_i\rangle\}$, except that there's a possibility of some of the probabilities $\lambda_i$...
{ "domain": "quantumcomputing.stackexchange", "id": 4656, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "textbook-and-exercises, density-matrix", "url": null }
So let: $ S(n)=a n^2 + b n+c $ Now: $S(1)=a+b+c=1$ $S(2)=4a+2b+c=3$ $S(3)=9a+3b+c=6$ Thus we have a set of three simultaneous equations in $a$, $b$ and $c$ which we solve to find the quadratic for $S(n).$ RonL 3. Hello, pearlyc! 3. Let $g(t) \:= \:e^{\alpha +\beta\,t}$ Given that: . $g(10) = 8.1882\,\text{ and ...
{ "domain": "mathhelpforum.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9811668734137682, "lm_q1q2_score": 0.8397327885662521, "lm_q2_score": 0.8558511414521922, "openwebmath_perplexity": 1630.1585292996115, "openwebmath_score": 0.9635823369026184, "ta...
c#, design-patterns, .net, cache public class GYWebData : IGYDataAccess { public void GetUserInfo(Action<GYUser, Exception> act, string id) { GYUserAPI.GetInfo(id, (result, error) => { if (error != null) { act.Invoke(null, error); ...
{ "domain": "codereview.stackexchange", "id": 17376, "lm_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, .net, cache", "url": null }
If $a$ is a web page, let $V(a)$ be the set of people who have visited $a$. Then $\langle a,b\rangle\in R$ if and only if $V(a)\subseteq V(b)$. Now it’s always true that $V(a)\subseteq V(a)$, even if $V(a)=\varnothing$, so it’s always true that $\langle a,a\rangle\in R$. Thus, $R$ really is reflexive. Here’s a slightly...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9877587256090743, "lm_q1q2_score": 0.8453744382394448, "lm_q2_score": 0.8558511469672595, "openwebmath_perplexity": 334.47806445845197, "openwebmath_score": 0.6907558441162109, ...
microbiology, bacteriology, microscopy, morphology Title: Why are my bacterial smears disappearing? I'm trying to inspect simple stained bacterial smears. But my smear suddenly disappears after a successful inspection with the oil immersion lenses. The background can become too red (the color of the stain) and the oil...
{ "domain": "biology.stackexchange", "id": 12373, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "microbiology, bacteriology, microscopy, morphology", "url": null }
machine-learning, time-series, cross-validation def fetch_this_split_testing_indices(df, test_customers_ids, start_testing_date, end_testing_date): test_df = df.loc[df['customer_id'].isin(test_customers_ids)] in_testing_period_df = test_df.loc[(test_df['dates'] >= start_testing_date) & (test_df['dates'] < end_...
{ "domain": "datascience.stackexchange", "id": 9236, "lm_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, time-series, cross-validation", "url": null }
quantum-field-theory, cosmology, time, quantum-gravity Title: Does quantum field theory need time? I've been reading about quantum cosmology and how it doesn't have a universal time variable so-to-speak. Instead it uses certain fields as clocks with which to compare other fields. Now, it got me thinking. Does any of p...
{ "domain": "physics.stackexchange", "id": 47499, "lm_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, cosmology, time, quantum-gravity", "url": null }
mechanical-engineering, structures Title: Hollow (rectangular) sections versus solid sections I have an engineering competition coming up and one of the things I need to build is structure with both compression and tension members. The structure is scored based on the load held/weight ratio, and I already have the des...
{ "domain": "engineering.stackexchange", "id": 3884, "lm_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, structures", "url": null }
c++, performance, c++11, collections, skip-list if (it_a_before != a_before.end() && it_b != b.end()) { if (it_a_before->first != it_b->first || it_a_before->second != it_b->second) { equal = false; } } } os << "move content of a into b\...
{ "domain": "codereview.stackexchange", "id": 31334, "lm_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, c++11, collections, skip-list", "url": null }
ros, arm-navigation, tutorials Title: Create an Arm Navigation Pkg Hi, I used this tutorial: http://www.ros.org/wiki/Industrial/Tutorials/Create_a_Arm_Nav_Pkg_for_an_Industrial_Robot to generate arm navigation pkg for two hands that i use in gazebo. i have now the configuration from the wizard, how do i configure it ...
{ "domain": "robotics.stackexchange", "id": 12032, "lm_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, arm-navigation, tutorials", "url": null }
c++, security, cryptography, aes 0xD8D888A0,0xE7E7A584,0x5F5FE807,0x1B1B1114,0x2C2CC2B5,0xFCFCB490,0x3131272C,0x808065A3, 0x73732AB2,0xC0C8173,0x79795F4C,0x6B6B4154,0x4B4B0292,0x53536974,0x94948F36,0x83831F51, 0x2A2A3638,0xC4C49CB0,0x2222C8BD,0xD5D5F85A,0xBDBDC3FC,0x48487860,0xFFFFCE62,0x4C4C0796, ...
{ "domain": "codereview.stackexchange", "id": 28202, "lm_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++, security, cryptography, aes", "url": null }
Math Summaries # Null Sets The idea of a ‘negligible’ set relates to one of the limitations of the Riemann integral, as we saw in the previous chapter. Since the function $f = \mathbf{1}_\mathbf{Q}$ takes a non-zero value only on $\mathbf{Q}$ and equals $1$ there, the area under it’s graph (if such makes sense) must ...
{ "domain": "github.io", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9928785720971596, "lm_q1q2_score": 0.8047071370103323, "lm_q2_score": 0.8104789040926008, "openwebmath_perplexity": 178.13072689772082, "openwebmath_score": 0.9929477572441101, "tags": nul...
convolution, cross-correlation, template-matching Title: Baseline correlation for template matching In normal cross-correlation or convolution between a signal and a template(say a small portion of the signal) the template is moved along length of the signal without changing the amplitude offset of the template. But i...
{ "domain": "dsp.stackexchange", "id": 2814, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "convolution, cross-correlation, template-matching", "url": null }
keras, convolutional-neural-network Title: border_mode for convolutional layers in keras Keras has two border_mode for convolution2D, same and valid. Could anyone explain what "same" does or point out some documentation? I could not find any document on the net (except people asking that it be implemented in theano as...
{ "domain": "datascience.stackexchange", "id": 844, "lm_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, convolutional-neural-network", "url": null }
thermodynamics Title: Definition of Specific Heat: Molar Specific or Mass Specific Quantity? Five kilograms of air, initially at 0 °C, are heated until the temperature reaches 50 °C. The internal energy increases by 180 kJ during this process. Find the specific heat of air. I know this is a basic question, but I am co...
{ "domain": "physics.stackexchange", "id": 82284, "lm_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", "url": null }
friction, spring, elasticity, dissipation Title: Difference between stiffness and damping? I understand stiffness as the extent to which an object (e.g. a mass spring) resists deformation from an applied force, or the rigidity of an object. And I understand damping as the energy dissipative properties of an object/sy...
{ "domain": "physics.stackexchange", "id": 30338, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "friction, spring, elasticity, dissipation", "url": null }
particle-physics, group-theory, representation-theory $$H_l := \{\sum_m c_m Y^l_m | m \in \{-l,-l+1,\dots,l\}\wedge c_m \in \mathbb{R}\}$$ is a vector space, and it carries a representation of the rotation group $\mathrm{SO}(3)$! But not the fundamental one, if $l > 1$. So there's your non-fundamental representation a...
{ "domain": "physics.stackexchange", "id": 14724, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "particle-physics, group-theory, representation-theory", "url": null }
java, strings, interview-questions The above algorithms runs in O(n), the alternate solution is to sort the string and the check the adjacent elements but it would be O(nlogn). I need to understand if I am using Java correctly, any other styles related comments are most welcome. PS: I would like to know if I need to i...
{ "domain": "codereview.stackexchange", "id": 29923, "lm_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, interview-questions", "url": null }
# What is the probability that a randomly chosen 3-digit integer is divisible by $5$? So I was given a question with two parts: The first part is like this: How many 3-digit integers (integers from 100 to 999 inclusive) are divisible by 5? My solution: $\frac{(999-100+1)}{5} = 180$ The second part following the fi...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9828232889752296, "lm_q1q2_score": 0.8012294808763673, "lm_q2_score": 0.8152324938410783, "openwebmath_perplexity": 262.68836365709956, "openwebmath_score": 0.6454718112945557, "ta...
ros, parameter, roscpp, getparam Originally posted by dornhege with karma: 31395 on 2016-09-05 This answer was ACCEPTED on the original site Post score: 1 Original comments Comment by ROSfc on 2016-09-05: I still didn't understand sorry. Could you explain it with example names maybe. It would be a big big help Here i...
{ "domain": "robotics.stackexchange", "id": 25652, "lm_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, roscpp, getparam", "url": null }
python, python-3.x, numerical-methods print(pi) Your code seems to be working. Here are a few things to make it better. Tuple unpacking x = point[0] y = point[1] can be written : x, y = point Remove what is not required You maintain a count variable but you already know the count : it is TIMES_TO_REPEAT. Variable na...
{ "domain": "codereview.stackexchange", "id": 10526, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, python-3.x, numerical-methods", "url": null }
javascript Title: JS scope of member functions I was writing a program that used a bit of recursion with objects, and it wasn't working at all. After debugging I realized that JS's evil scope was playing nasty tricks. To spare you guys a wall of text code, I wrote a smaller program: //Class definition and framework: T...
{ "domain": "codereview.stackexchange", "id": 1624, "lm_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 }
quantum-field-theory, condensed-matter, feynman-diagrams, greens-functions Title: How to unify the electrons and holes in Feynman Diagram? As we know, following diagram describes the electron-hole pairs excitation. Namely, the right-going line describes creating electrons propagating with energy $(\omega_n+\nu_n)$, an...
{ "domain": "physics.stackexchange", "id": 65211, "lm_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, feynman-diagrams, greens-functions", "ur...
python, performance, algorithm, search This loop can be changed to something like the following, which has eliminated the i loop variable. We've even moved the test for number of people assigned from every loop to only being done when the list of assigned people changes. for considering, team_sum in sums: ...
{ "domain": "codereview.stackexchange", "id": 41022, "lm_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, algorithm, search", "url": null }
# Does $\mathbb{F}_9$ contain a 4th root of unity? I realised that I don't know how to construct $$\mathbb{F}_9$$. I'm guessing that $$\mathbb{F}_9 = \mathbb{F_3(\theta)}$$, where $$\theta$$ is the root of some irreducible polynomial over $$\mathbb{F}_3[x]$$ of degree two? Must I even construct $$\mathbb{F}_9$$ in or...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9833429634078178, "lm_q1q2_score": 0.8358131728137996, "lm_q2_score": 0.8499711737573763, "openwebmath_perplexity": 59.831463364017566, "openwebmath_score": 0.9500879049301147, "ta...
algorithms, time-complexity, computational-geometry Title: Finding "entrance" points in a set of d-dimensional points. Can I do better than O(N^2)? I am given a set of d-dimensional points, and need to find the set of entrance points in them. Definitions: A point p1 captures p2 if 1) All dimensions of p1 is smaller o...
{ "domain": "cs.stackexchange", "id": 17621, "lm_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, time-complexity, computational-geometry", "url": null }
# Derivatives of sine and cosine at $x=0$ give all values of $\frac{d}{dx}\sin x$ and $\frac{d}{dx}\cos x$? In video 3 of the video lectures by MIT on Single Variable Calculus presented by David Jerison, the latter says: Remarks: $\dfrac{d}{dx}\cos x\left|\right._{x=0}=\lim\limits_{\Delta x\to0}\dfrac{\cos\Delta x-1}...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9664104972521579, "lm_q1q2_score": 0.8379124664065143, "lm_q2_score": 0.8670357666736772, "openwebmath_perplexity": 428.60029163775954, "openwebmath_score": 0.9976234436035156, "ta...
electromagnetism, magnetic-fields, potential Title: Confusion about magnetic vector potential I'm confused about two things : the illustration and the "vector" in magnetic field . I didn't understand why the potential created by magnetic field got vector . I know about Helmholtz theorem , but it's unclear for me since...
{ "domain": "physics.stackexchange", "id": 68210, "lm_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, magnetic-fields, potential", "url": null }
javascript, php, html5 } // close else dati } // close function richiesti </script> Let's talk about this part: var cognome=document.clienti.cognome.value; if ( cognome != '' ){ dati++; } else { document.clienti.cognome.focus(); } First of all, the indentation is awful. We can either do without braces if (cognom...
{ "domain": "codereview.stackexchange", "id": 5908, "lm_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, php, html5", "url": null }
c++, strings, search Title: Fast search for the longest repeating substrings in large text (Rev.3) This is the third iteration of the Fast search for the longest repeating substrings in large text (Rev.2) code review. Special thanks goes to G. Sliepen who conducted the first two reviews. Functional specification Havin...
{ "domain": "codereview.stackexchange", "id": 45370, "lm_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, search", "url": null }
swift, generics, swift3 Title: Optimal custom operator with generic type constraint for numerical type I'm implementing (for an article) two custom infix operators: ¿% - to calculate percent of total %? - to calculate the percent that represents a segment of total After debugging some errors and looking for informat...
{ "domain": "codereview.stackexchange", "id": 23614, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "swift, generics, swift3", "url": null }
java, object-oriented, statistics, data-mining if (numbers == null) { throw new IllegalArgumentException("numbers must be not null"); } if (numbers.length == 0) { return Double.NaN; } Mean stats = new Mean(); for (long i : numbers) { if (i =...
{ "domain": "codereview.stackexchange", "id": 26833, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, object-oriented, statistics, data-mining", "url": null }
We can also make conclusions about the association between the program and the math score with the days of absence. First, we see the posterior for the Vocational group is to the left of the posterior for the two other programs, meaning it is associated with fewer absences (as we have seen when first exploring our data...
{ "domain": "github.io", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9755769049752756, "lm_q1q2_score": 0.8086935549747316, "lm_q2_score": 0.828938806208442, "openwebmath_perplexity": 1222.5561565112007, "openwebmath_score": 0.6163470149040222, "tags": null...
everyday-life, velocity, flow Title: When passed, why does my car 'rock' on the highway when I'm stopped, but not when I'm moving? I am the blue car in this scenario. If I am stopped on the highway and am passed by a car going fast (about 65 mph), I feel my car rock in the left/right direction. I think I understand wh...
{ "domain": "physics.stackexchange", "id": 18040, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "everyday-life, velocity, flow", "url": null }
physical-chemistry, kinetics, stoichiometry, chemical-engineering From empirical analysis I can deduce that the conservation rule would be: $$\ce{A + B + 2C + D + E + 4F = constant}$$ However, I am not able to deduce a mathematical equation that gives these co-efficients. I assume that the stoichiometry matrix may giv...
{ "domain": "chemistry.stackexchange", "id": 8803, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "physical-chemistry, kinetics, stoichiometry, chemical-engineering", "url": null...
So to your question: clearly the only thing we can deduce from the given information is that there is an inflection at $x=2$ Have a nice day :) - Yes, C is correct. By definition, an inflection point is one where the concavity (second derivative) changes. (In all this I assumed that you mis-copied C, which probably ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9773707953529716, "lm_q1q2_score": 0.8080039678713844, "lm_q2_score": 0.8267117983401363, "openwebmath_perplexity": 279.54709769681926, "openwebmath_score": 0.8128663897514343, "ta...
Note that indeed that $N \equiv S(N) \pmod{9}$ so $N$ must satisfy $$N - 2 N^2 \equiv 0 \pmod{9},$$ we deduce that $N \equiv 0 \pmod{9}$ or $N \equiv 5 \pmod{9}$. We see that $N$ must be twice a square and less than $10^4$, so $2S(N)^2 \leq 10^4$, which means that $S(N) \leq \sqrt{\frac{1}{2}\cdot{10^4}} \cong 70.7$. S...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9869795098861571, "lm_q1q2_score": 0.8626963211656684, "lm_q2_score": 0.8740772351648677, "openwebmath_perplexity": 116.35390035207026, "openwebmath_score": 0.8244609236717224, "ta...
is obviously at here., x=2 the! Needs to be concentrated is also the center of mass is a function density... X, y=0, x=2 Find the centroid of the shaded region entire beam section area, it first to! Be concentrated in a figure gather the coordinate points of the area bounded by the given curves of all points... Which c...
{ "domain": "ochorvatsku.cz", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9773708026035287, "lm_q1q2_score": 0.81446713057223, "lm_q2_score": 0.8333245973817158, "openwebmath_perplexity": 405.818027622058, "openwebmath_score": 0.7087054252624512, "tags": nu...
homework-and-exercises, newtonian-mechanics The last part of the question asks to show that for $n=1/2$ the block does not travel further than $2mv_0^{3/2}/(3c)$. We start from Newton's second law $$ m \frac{d^2x}{dt^2} = m \frac{dv}{dt} = m v \frac{dv}{dx}= -cv^n. $$ Separating variables gives $$ \int_{v_0}^{v} \frac...
{ "domain": "physics.stackexchange", "id": 20405, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "homework-and-exercises, newtonian-mechanics", "url": null }
f# Title: Organizing types/namespaces within tree I'm working on a parsing engine as part of a personal project, and I'd like to expose certain .NET APIs to the parsed environment. I put together a very simple tagged union that allowed me to nest types, and put together a few functions that built up a tree of namespac...
{ "domain": "codereview.stackexchange", "id": 7588, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "f#", "url": null }
equilibrium, catalysis Figure 1 (source: Chemguide.co.uk) Your realisation is correct and something chemistry teachers try to hammer into their students’ heads time and time again (and yet, the point is still often lost): Catalysts will never change the thermodynamics of a reaction. They only ease the path of the reac...
{ "domain": "chemistry.stackexchange", "id": 6344, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "equilibrium, catalysis", "url": null }
of a = Input value of b = Input value of n = number of subintervals = Finding sum of areas of rectangles. It may be shown, however, that Simpson's rule gives a closer approximation to the area, than does the trapezoidal rule. On=ordinate at equal intervals, and d= common distance between two ordinates. Note that the ar...
{ "domain": "calcolailtuomutuo.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9865717420994768, "lm_q1q2_score": 0.8405125581701728, "lm_q2_score": 0.8519528000888386, "openwebmath_perplexity": 744.3997072342853, "openwebmath_score": 0.8069357872009277, "...
quantum-mechanics, group-theory, hamiltonian-formalism, lie-algebra, laplace-runge-lenz-vector Title: Symmetry and Symplectic Group of Hydrogenic Atom New version of the question: A simmetry needs to be canonical, following the first answer of this post which states: the symmetry requirement is not necessary in the d...
{ "domain": "physics.stackexchange", "id": 89671, "lm_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, group-theory, hamiltonian-formalism, lie-algebra, laplace-runge...
homework-and-exercises, kinematics, projectile As you can see the results just repeat themselves which causes the spiral relation. I was expecting a linear relation, so why is this happening? Or is this what is supposed to happen? I am not quiet sure. Here is what the graph looks like currently: Assuming that your ner...
{ "domain": "physics.stackexchange", "id": 40330, "lm_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, kinematics, projectile", "url": null }
organic-chemistry, mass-spectrometry Title: Why do we subtract the mass of one proton in mass spectrometry (negative mode)? This is probably very basic, but I have been given the understanding that we subtract the mass of only one proton when looking for our compound in a mass spectrometry (negative mode). I dont real...
{ "domain": "chemistry.stackexchange", "id": 13953, "lm_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, mass-spectrometry", "url": null }
spectroscopy, neutron-star, special-relativity Title: Have we Observed Continuum Emission from Neutron Stars? Have we detected continuum optical emission from any rotating neutron stars that do not have an accretion disk dominating the light? I ask because I know we have observed Doppler broadening of spectral lines f...
{ "domain": "astronomy.stackexchange", "id": 2008, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "spectroscopy, neutron-star, special-relativity", "url": null }
experimental-chemistry, analytical-chemistry, electrostatic-energy If you are frequently measuring magnetic materials, many analytical balances can be configured in a bottom-loading arrangement. In this setup a platform is hooked beneath the balance, and the sample is supported sufficiently far away from the force-res...
{ "domain": "chemistry.stackexchange", "id": 6241, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "experimental-chemistry, analytical-chemistry, electrostatic-energy", "url": nul...
c#, primes, task-parallel-library for(int chunk = 0; chunk < chunks; ++chunk) { // perform cast once rather than 90-715 million times ulong offset = (ulong)chunk + 1; for(int i = 0; i < iEnd; i++) { ulong k = (chunks64 * (ulong)i) + offset; ...
{ "domain": "codereview.stackexchange", "id": 13919, "lm_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#, primes, task-parallel-library", "url": null }
structural-engineering, civil-engineering, load-spreading Title: Would exceeding the snow load duration factor guarantee a collapse? The snow load duration factor is 1.15 times the standard 10-year sustained maximum load rating as long as the accumulated time under this load is not more than 2 months. Does this mean t...
{ "domain": "engineering.stackexchange", "id": 5024, "lm_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, civil-engineering, load-spreading", "url": null }
refraction Title: Can two media have same refractive indices? Can two mediums placed under same conditions* ever have same refractive indices? *Pressure, temperature,etc. yes, enantiomers (compounds the molecules of which are mirror images of each other, but not identical) have the same refractive index. Also, if the...
{ "domain": "physics.stackexchange", "id": 12357, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "refraction", "url": null }
energy, particle-physics, laser and the magnitude is $$\|\mathbf{p}_{at,2}\| = \sqrt{\frac{p_i^2}{16}\left[ (9 + 6\cos{\theta} + \cos^2{\theta}) + \sin^2{\theta} \right]} = \sqrt{\frac{p_i^2}{16}(10 + 6\cos{\theta})}$$ Since $\cos{\theta}$ takes on values between $-1$ and $1$, you can see that the magnitude can take o...
{ "domain": "physics.stackexchange", "id": 32759, "lm_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, particle-physics, laser", "url": null }
electromagnetism, gauge-theory, lorentz-symmetry, gauge-invariance, gauge Title: Is fixing the gauge the same thing as performing a Lorentz transformation? Let's say I have a moving charged particle, with constant velocity. Its electric field is given by (generally): $$ \mathbf{E} = -\nabla\phi - \frac{\partial \mathb...
{ "domain": "physics.stackexchange", "id": 90277, "lm_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, gauge-theory, lorentz-symmetry, gauge-invariance, gauge", "url...
c#, parsing, winforms, finance, web-scraping //Parse for amount //Assuming I never make a $1000+ purchase, every number < 1000 will be shown. That way, the balance is not included. links = wb.Document.GetElementsByTagName("td"); int times = 0; //There are two $xxxx.xx before what I want to parse, the present and avail...
{ "domain": "codereview.stackexchange", "id": 14029, "lm_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#, parsing, winforms, finance, web-scraping", "url": null }
deep-learning, reinforcement-learning, q-learning The value $G_{t:t+1}$ is also an estimate of expected return. Technically it is a sampled estimate, which may vary and may be biased (due to starting conditions of the neural network). However, it includes some real experience, so may be used to improve the neural netw...
{ "domain": "datascience.stackexchange", "id": 5659, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "deep-learning, reinforcement-learning, q-learning", "url": null }
homework-and-exercises, newtonian-mechanics, forces, free-body-diagram So the question that is it possible that normal force will act different in both figure? Because its really confusing. This is what I came up with. Let $N_1$ normal force acting on figure 1 and $N_2$ on figure 2. If we try to make free body diagram...
{ "domain": "physics.stackexchange", "id": 25677, "lm_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", "url": ...
newtonian-mechanics, reference-frames, acceleration, inertial-frames, galilean-relativity I believe what they are referring to here is a non-inertial (accelerating) frame of reference. That would be the frame for the observer in the accelerating car. It is found, however, that a frame of reference can always be chose...
{ "domain": "physics.stackexchange", "id": 96387, "lm_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, reference-frames, acceleration, inertial-frames, galilean-rel...
mixtures Title: Find the molality Find the molality of a mixture formed by mixing $200cm^3$ of $HNO_3$ that has a $69\%$ of richness and density $1.41g/mL$, with $1L$ of the same acid with $1.2M$ and density $1.06g/mL$.
{ "domain": "chemistry.stackexchange", "id": 14983, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "mixtures", "url": null }
newtonian-mechanics, kinematics Title: Describing motion How can we describe motion of a particle moving with velocity $v$ along positive $x$-axis acted upon by a force for an instant at angle $a$ down of positive $x$-axis in x-y plane? I tried by writing equations of motion along $x$-axis and $y$-axis for the particl...
{ "domain": "physics.stackexchange", "id": 78629, "lm_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, kinematics", "url": null }
quantum-mechanics, homework-and-exercises, lagrangian-formalism, quantum-optics \end{equation} and in even more compact form \begin{equation} L\left(q,\dot{q},\mathbf{Q},\mathbf{\dot{Q}}\right)= \dfrac{1}{2}\left(\left\Vert \phi\mathrm{G}\mathbf{Q}-\mathbf{\dot{Q}}\right\Vert^{2}-\left\Vert\Omega\mathbf{Q}\right\Ve...
{ "domain": "physics.stackexchange", "id": 24247, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, homework-and-exercises, lagrangian-formalism, quantum-optics", ...
java, array } } Is this the correct approach? I am able to find the sequence, but I am not sure if this is the most efficient. The interview mainly focus on optimizing the code; reducing the variable usage; looping. Also, would sorting the integer array before proceeding the operation result in better performance?...
{ "domain": "codereview.stackexchange", "id": 19782, "lm_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, array", "url": null }
# Colormap Test Image Today I want to tell you how and why I made these images: After the MATLAB R2014b release, I wrote several blog posts (Part 1, Part 2, Part 3, and Part 4) about the new default colormap, parula, that was introduced in that release. Sometime later, I came across some material by Peter Kovesi abo...
{ "domain": "mathworks.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9697854103128329, "lm_q1q2_score": 0.8143617465030096, "lm_q2_score": 0.8397339636614178, "openwebmath_perplexity": 2411.3655607729565, "openwebmath_score": 0.7260503172874451, "tags":...
python, python-2.x Every {} substitutes in one the values passed to it. You'll notice that I don't need to indicate datatype any more. The other note about this line is that it's far too long! You should try to keep to 79 characters per line as the style guide dictates. One way of doing that is with implicit string co...
{ "domain": "codereview.stackexchange", "id": 16597, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, python-2.x", "url": null }
c++, c++11 Title: Customizing output in accordance to the input I wanted to know if I overdid it and maybe could have kept this code simpler and cleaner. I need to execute this assignment: Write a program called multi_input.cpp that prompts the user to enter several integers in any combination of octal, decimal, or h...
{ "domain": "codereview.stackexchange", "id": 28910, "lm_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", "url": null }
electrical-engineering, power-engineering, generator Title: Extracting power from fusion? If we are able to create a fusion reactor so there is a net gain in energy how can we turn the heat into electricity. I know how it is done normally for fission, steam, but how could this be adapted for a fusion reactor where all...
{ "domain": "engineering.stackexchange", "id": 2922, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrical-engineering, power-engineering, generator", "url": null }
Not all trolls are afraid of goats. • But the question states that all trolls are either knights (who always tell the truth) or knaves (who always lie) – GilbertS Nov 11 '20 at 5:57 • Ohh. That doesnt meant that either all are knights or all are knaves. Ok – GilbertS Nov 11 '20 at 5:58
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9719924802053234, "lm_q1q2_score": 0.8202596975812002, "lm_q2_score": 0.843895106480586, "openwebmath_perplexity": 1049.2220888521276, "openwebmath_score": 0.618586540222168, "tags...
cosmology, spacetime, space-expansion, redshift ... to all the beings inside, I believe absolutely nothing has changed, there'd be no redshift between the objects there. What's the deal? Note too this somewhat similar (related?) question, which came up with the recent 2016 gravitational wave discovery: How is it tha...
{ "domain": "physics.stackexchange", "id": 70751, "lm_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, spacetime, space-expansion, redshift", "url": null }
visible-light, waves, electromagnetic-radiation, photons, wave-particle-duality So, let's answer your questions: a) The peaks and troughs are the points where the magnitude of the field is maximum in one direction or the other. As such, it doesn't make much sense to distinguish between peaks and troughs, because if yo...
{ "domain": "physics.stackexchange", "id": 26750, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "visible-light, waves, electromagnetic-radiation, photons, wave-particle-duality", ...
javascript, optimization, jquery .element-ts-mask{ position: absolute; top:0; left:0; width:100%; height:100%; display: none; background:rgba(255,0,0,0.3); cursor:all-scroll; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet" type="text/css" href=...
{ "domain": "codereview.stackexchange", "id": 9586, "lm_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, optimization, jquery", "url": null }
physical-chemistry, thermodynamics, energy, polymers, entropy Title: Interaction between energy and entropy in highly elastic polymers? Consider the interaction of energy and entropy in the highly elastic materials of an ideal polymeric network. Now Gibb's free energy cannot be used directly $\Delta H = \Delta G + T \...
{ "domain": "chemistry.stackexchange", "id": 4659, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "physical-chemistry, thermodynamics, energy, polymers, entropy", "url": null }
So I want to show that $\left| \sum_{j=1}^{n} \left(\frac{x_j + x_{j-1}}{2} + \partial_j\right)^3 (x_j - x_{j-1}) - \frac{b^3-a^3}{3} \right| < \epsilon$ when $||P||< \delta$. I was hoping to bound the d's by ||P||/2 and use that to find a delta, but this sum turns out very messy and the terms don't cancel nicely like ...
{ "domain": "physicsforums.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9715639669551474, "lm_q1q2_score": 0.8010174914129499, "lm_q2_score": 0.8244619177503205, "openwebmath_perplexity": 151.12656282574224, "openwebmath_score": 0.8818541765213013, "ta...
electrostatics, condensed-matter, superconductivity, gauge-invariance $$ Writing the diagonal components $RP^{-1}R^{-1}$ as $\mathrm{diag}(\lambda_1^2,\lambda_2^2,\lambda_3^2)/\mu_0$, we get the coupled set of PDEs $$ \mathbf{B}' = \begin{pmatrix} -(\lambda_1^{2}\partial_y^{'2}+\lambda_2^{2}\partial_z^{' 2}) & \lamb...
{ "domain": "physics.stackexchange", "id": 79932, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrostatics, condensed-matter, superconductivity, gauge-invariance", "url": n...
java, game private boolean isNumber(String str) { for(char c:str.toCharArray()) { if(!isNumber(c)) { return false; } } return true; } private boolean isNumber(char c) { return c == '0' || c == '1' || c == '2' || c == '3' || c == '4' || ...
{ "domain": "codereview.stackexchange", "id": 36463, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, game", "url": null }
php, object-oriented, mysql public function fetch() { return $this->_sth->fetchAll(); } public function getSql() { return $this->_sql; } } $query = new Query; // inserts into database $query->insert('users') ->columns('`username`,`password`') ->values('"test","tes...
{ "domain": "codereview.stackexchange", "id": 9236, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "php, object-oriented, mysql", "url": null }
collada Title: How to tune the render of COLLADA files in Gazebo? Hi. I have build a robot model for the youBot from COLLADA files provided by KUKA. I would say that everything is fine, but I am somehow disappointing by the display of the robot parts (see screenshots bellow). I don't know anything about 3D so I do no...
{ "domain": "robotics.stackexchange", "id": 3471, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "collada", "url": null }
Krishna Sankar October 12, 2009 at 5:38 am @invizi: You can find the theoretical capacity from Shannon’s bounds, no? W.Y September 3, 2009 at 8:26 am Sir! I was wondering how I can implement the channel capacity of BPSK, using by Matlab??? Krishna Sankar September 8, 2009 at 5:49 am @W.Y: For the post on BER for ...
{ "domain": "dsplog.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9669140244715405, "lm_q1q2_score": 0.801512557151639, "lm_q2_score": 0.828938806208442, "openwebmath_perplexity": 2715.669620286353, "openwebmath_score": 0.864086389541626, "tags": null, ...
javascript Title: javascript - consolidate multiple null/undefined checks My brain is fried from looking from looking at this for so long. Is there a more efficient way to do this code block. We have the ability to use es6 code too if that helps. First it tries to set quantity to itemTemplateIDQty.value if itemTem...
{ "domain": "codereview.stackexchange", "id": 33277, "lm_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 }
random nodes will travel through a given. So, the shortest path would be of length 1 and BFS would correctly find this for us. The weight of The shortest path from 0 to 2:. We can add attributes to edges. Thus using our linear-time algorithm, one obtains a linear-time. For an edge e connecting vertex u and v, the weigh...
{ "domain": "everwoodbiocostruzioni.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9863631663220389, "lm_q1q2_score": 0.8064253512345928, "lm_q2_score": 0.817574478416099, "openwebmath_perplexity": 492.5751165744054, "openwebmath_score": 0.5003293752670...
c++, c++11, computational-geometry, fltk Having it localized to one translation unit is one thing, but putting it into a header propogates it to whoever chooses to include your header. This is a Bad Thing™ in of itself. Many trivial programs will not suffer from name conflicts; but a program that deals with shapes and...
{ "domain": "codereview.stackexchange", "id": 28662, "lm_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, computational-geometry, fltk", "url": null }
immunology, antibody, immunoglobin Title: Is a variable domain in immunoglobulin's heavy chain different from the one in light chain? I guess yes, there is difference in amino acid sequences of $V_L$ and $V_H$. And so we have 6 different complementarity determining regions (CDRs) per monomeric immunoglobulin as two he...
{ "domain": "biology.stackexchange", "id": 4693, "lm_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, antibody, immunoglobin", "url": null }
control, ros, gazebo, simulation, husky <xacro:macro name="husky_robot_gazebo"> <gazebo> <plugin name="imu_controller" filename="libhector_gazebo_ros_imu.so"> <robotNamespace>husky1</robotNamespace> <updateRate>50.0</updateRate> <bodyName>base_link</bodyName> <topicName>imu/d...
{ "domain": "robotics.stackexchange", "id": 23694, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "control, ros, gazebo, simulation, husky", "url": null }
classical-mechanics, angular-momentum, symmetry, orbital-motion, vectors Title: 2-body problem, conservative central force, spherical symmetry, conversation of angular momentum, motion in a plane I am having trouble unpacking the following argument from page 72 of Goldstein's classical mechanics book. We now restrict...
{ "domain": "physics.stackexchange", "id": 69654, "lm_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, angular-momentum, symmetry, orbital-motion, vectors", "url"...
c#, linq Title: Inline conversion/cast from Expression> to LambdaExpression I have the following code (I need the LambdaExpression as not all Func<>'s are T, int): var orderDelegates = new Dictionary<string, LambdaExpression>(); Expression<Func<Image, int>> id = i => i.Id; orderDelegates.Add(ContentItem.ORDER_BY_ID, ...
{ "domain": "codereview.stackexchange", "id": 4340, "lm_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#, linq", "url": null }
newtonian-mechanics, angular-momentum, rotational-dynamics, torque Title: Is angular momentum always conserved in the absence of an external torque? Consider either the angular momentum of the earth around the sun or equivalently swinging a ball horizontally on a string. I know that with respect to the point of rotati...
{ "domain": "physics.stackexchange", "id": 6600, "lm_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, angular-momentum, rotational-dynamics, torque", "url": null ...
javascript, natural-language-processing How the converter works I regard a string as split into "tokens", which is just the name I've given to a characters plus modifiers (like small tsu or small ya). My conversion table is an array of objects, each representing a token and holding three strings for its representatio...
{ "domain": "codereview.stackexchange", "id": 16881, "lm_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, natural-language-processing", "url": null }
javascript, jquery, functional-programming, observer-pattern, frp I was wondering if I was following functional-reactive programming best practices and patterns on the webworker. I'm not really an FRP expert so can't really comment on that aspect per se, however, I can show you how to better organise your code. I am...
{ "domain": "codereview.stackexchange", "id": 17255, "lm_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, functional-programming, observer-pattern, frp", "url": nu...
java, number-guessing-game But I'd leave them out altogether, and have the corresponding text/lecture do the describing; you will achieve more by writing or talking about them outside of the code. Secondly, I'd consider keeping the players in an array or a list. If not now, then in "part two". This simplifies the code...
{ "domain": "codereview.stackexchange", "id": 833, "lm_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, number-guessing-game", "url": null }
php, optimization, primes Title: Generating very large prime numbers and their generator modulo N in php I recently came up with the idea to attempt generating ungodly large prime numbers and their generators modulo N in php. I don't know much about number theory and just wanted to get some comments to see if this cod...
{ "domain": "codereview.stackexchange", "id": 3536, "lm_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, optimization, primes", "url": null }
quantum-mechanics, integration, phase-space, wigner-transform Title: Deriving the Husimi Function of Harmonic Oscillator Eigenstates by Convolution In phase space formulation of quantum mechanics, the so-called Husimi function can be defined as the convolution of the Wigner function by an appropriate Gaussian. There a...
{ "domain": "physics.stackexchange", "id": 43998, "lm_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, integration, phase-space, wigner-transform", "url": null }