URL
stringlengths 15
1.68k
| text_list
sequencelengths 1
199
| image_list
sequencelengths 1
199
| metadata
stringlengths 1.19k
3.08k
|
---|---|---|---|
https://www.dailygk.in/2016/06/reasoning-quiz-46-for-sbi-po-clerk.html | [
"Daily GK - Free Current Affairs (GK Quiz)\n\nDaily GK Updates & Daily News in India with free current affairs. You will get free Current affairs on Daily Basis and GK questions which will help you in Banking and SSC Exams. Daily News in India. Check this Current affair page on daily basis for the improvement of General awareness section. Free GK Quiz on Daily Basis.\n\nTuesday, June 14, 2016\n\nREASONING QUIZ-46 FOR SBI PO & CLERK\n\nREASONING QUIZ-46 FOR SBI PO & CLERK\n\nDirections (Q. 1–2): Study the following information carefully and answer the questions given below:\nL is father of P who is son of S. M is grandmother of R who is son of O. N is paternal uncle of R who is brother of S.\n\n1. How is O related to L?\n1) Brother-in-law\n2) Brother\n3) Can’t be determine\n4) None of the above\n\n2. According to the above information how is S related to R?\n1) Paternal Aunt\n2) Maternal Aunt\n3) Niece\n4) Nephew\n\nDirections (Q. 3-5): Study the following information carefully and answer the questions given below:\nEight persons A, B, C, D, E, F, G and H are sitting in a straight line facing North, but not necessarily in the same order. B sits second to the left of A. Three persons are sitting between G and B. G sits on the extreme left end of the row. D is an immediate neighbor of G. F and B are not neighbours. C sits second to the right of D but is not the immediate neighbor of E. There are three persons between C and F.\n\n3. Who is the sitting 5th right of the 2nd to left of the above arrangement?\n(1)F\n(2)E\n(3)B\n(4)H\n(5)None of these\n\n4. If all the letters are arranged in alphabetical order from left end, then how many letters will obtain the same position after rearrangement?\n(1) Two\n(2) Three\n(3) Four\n(4) None\n\n5. How many meaningful words can be formed by using 2nd, 6th, 7th,8th letters of the above arrangement(using each letter once only)?\n(1) Three\n(2) Two\n(3) One\n(d) No meaningful words can be formed\n\nDirections (Q. 6– 10): In each question, relationship between different elements is shown in the statements. The statements are followed by conclusions. Study the conclusions based on the given statements and select the appropriate answer.\n\n6. Statements: B > E ≥ A < L; T > A > S\nConclusions:\nI. E ≥ T\nII. E<T\n\n(1) Both conclusion I and II are true.\n(2) Either conclusion I or II is true.\n(3) Conclusion II is true.\n(4) Neither conclusion I nor II is true\n(5) Only conclusion I is true.\n7. Statements: L = I ≥ N < E; N ≥ S\nConclusions:\nI. L >N\nII. L=N\n\n(1) Either conclusion I or II is true.\n(2) Neither conclusion I nor II is true.\n(3) Only conclusion II is true.\n(4) Both conclusion I and II are true.\n(5) Only conclusion I is true.\n\n8. Statements: V < E > B = H ≥ N; B ≤ T\nConclusions:\nI. B ≥N\nII. N ≤ T\n\n(1) Either conclusion I or II is true.\n(2) Only conclusion II is true.\n(3) Neither conclusion I nor II is true.\n(4) Only conclusion I is true.\n(5) Both conclusion I and II are true.\n\n9. Statements: F = K ≥ N < E; F < T\nConclusions:\nI. T>N\nII. F≥N\n\n(1) Only conclusion II is true.\n(2) Either conclusion I or II is true.\n(3) Both conclusion I and II are true.\n(4) Neither conclusion I nor II is true.\n(5) None follow\n\n10. Statements: J > E ≥ Z < L; Z ≥ A > S\nConclusions:\nI. J ≥ S\nII. E = L\n(1) Only conclusion II is true.\n(2) Both conclusion I and II is true.\n(3) Either conclusion I or II is true.\n(4) Neither conclusion I nor II is true.\n(5) Only conclusion I is true."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.86659354,"math_prob":0.76022327,"size":3033,"snap":"2022-05-2022-21","text_gpt3_token_len":961,"char_repetition_ratio":0.22119512,"word_repetition_ratio":0.16202946,"special_character_ratio":0.31585887,"punctuation_ratio":0.16120219,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9628772,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-29T11:18:48Z\",\"WARC-Record-ID\":\"<urn:uuid:0b665cf3-4086-4108-b678-b234ceb63255>\",\"Content-Length\":\"150152\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:77a3b063-d4a3-4324-911d-41cb33e14f77>\",\"WARC-Concurrent-To\":\"<urn:uuid:4656ced0-a9c9-48b1-9252-ebc0f47e0c94>\",\"WARC-IP-Address\":\"216.239.38.21\",\"WARC-Target-URI\":\"https://www.dailygk.in/2016/06/reasoning-quiz-46-for-sbi-po-clerk.html\",\"WARC-Payload-Digest\":\"sha1:45Z6IP4WAD4ISYRRTHGRLCHJTQIBB3HB\",\"WARC-Block-Digest\":\"sha1:L7DG6QMOR2GLPTBFJXVCCHPQH26SCF2W\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320304883.8_warc_CC-MAIN-20220129092458-20220129122458-00074.warc.gz\"}"} |
https://www.colorhexa.com/03729b | [
"# #03729b Color Information\n\nIn a RGB color space, hex #03729b is composed of 1.2% red, 44.7% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 98.1% cyan, 26.5% magenta, 0% yellow and 39.2% black. It has a hue angle of 196.2 degrees, a saturation of 96.2% and a lightness of 31%. #03729b color hex could be obtained by blending #06e4ff with #000037. Closest websafe color is: #006699.\n\n• R 1\n• G 45\n• B 61\nRGB color chart\n• C 98\n• M 26\n• Y 0\n• K 39\nCMYK color chart\n\n#03729b color description : Dark blue.\n\n# #03729b Color Conversion\n\nThe hexadecimal color #03729b has RGB values of R:3, G:114, B:155 and CMYK values of C:0.98, M:0.26, Y:0, K:0.39. Its decimal value is 225947.\n\nHex triplet RGB Decimal 03729b `#03729b` 3, 114, 155 `rgb(3,114,155)` 1.2, 44.7, 60.8 `rgb(1.2%,44.7%,60.8%)` 98, 26, 0, 39 196.2°, 96.2, 31 `hsl(196.2,96.2%,31%)` 196.2°, 98.1, 60.8 006699 `#006699`\nCIE-LAB 44.828, -11.57, -29.684 11.97, 14.419, 33.161 0.201, 0.242, 14.419 44.828, 31.859, 248.706 44.828, -30.16, -42.177 37.973, -10.186, -25.196 00000011, 01110010, 10011011\n\n# Color Schemes with #03729b\n\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #9b2c03\n``#9b2c03` `rgb(155,44,3)``\nComplementary Color\n• #039b78\n``#039b78` `rgb(3,155,120)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #03269b\n``#03269b` `rgb(3,38,155)``\nAnalogous Color\n• #9b7803\n``#9b7803` `rgb(155,120,3)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #9b0326\n``#9b0326` `rgb(155,3,38)``\nSplit Complementary Color\n• #729b03\n``#729b03` `rgb(114,155,3)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #9b0372\n``#9b0372` `rgb(155,3,114)``\n• #039b2c\n``#039b2c` `rgb(3,155,44)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #9b0372\n``#9b0372` `rgb(155,3,114)``\n• #9b2c03\n``#9b2c03` `rgb(155,44,3)``\n• #023b50\n``#023b50` `rgb(2,59,80)``\n• #024d69\n``#024d69` `rgb(2,77,105)``\n• #036082\n``#036082` `rgb(3,96,130)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #0384b4\n``#0384b4` `rgb(3,132,180)``\n• #0497cd\n``#0497cd` `rgb(4,151,205)``\n• #04a9e6\n``#04a9e6` `rgb(4,169,230)``\nMonochromatic Color\n\n# Alternatives to #03729b\n\nBelow, you can see some colors close to #03729b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.\n\n• #03989b\n``#03989b` `rgb(3,152,155)``\n• #038b9b\n``#038b9b` `rgb(3,139,155)``\n• #037f9b\n``#037f9b` `rgb(3,127,155)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #03659b\n``#03659b` `rgb(3,101,155)``\n• #03599b\n``#03599b` `rgb(3,89,155)``\n• #034c9b\n``#034c9b` `rgb(3,76,155)``\nSimilar Colors\n\n# #03729b Preview\n\nThis text has a font color of #03729b.\n\n``<span style=\"color:#03729b;\">Text here</span>``\n#03729b background color\n\nThis paragraph has a background color of #03729b.\n\n``<p style=\"background-color:#03729b;\">Content here</p>``\n#03729b border color\n\nThis element has a border color of #03729b.\n\n``<div style=\"border:1px solid #03729b;\">Content here</div>``\nCSS codes\n``.text {color:#03729b;}``\n``.background {background-color:#03729b;}``\n``.border {border:1px solid #03729b;}``\n\n# Shades and Tints of #03729b\n\nA shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000101 is the darkest color, while #edfaff is the lightest one.\n\n• #000101\n``#000101` `rgb(0,1,1)``\n• #000f14\n``#000f14` `rgb(0,15,20)``\n• #011d28\n``#011d28` `rgb(1,29,40)``\n• #012b3b\n``#012b3b` `rgb(1,43,59)``\n• #02394e\n``#02394e` `rgb(2,57,78)``\n• #024861\n``#024861` `rgb(2,72,97)``\n• #025675\n``#025675` `rgb(2,86,117)``\n• #036488\n``#036488` `rgb(3,100,136)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\n• #0380ae\n``#0380ae` `rgb(3,128,174)``\n• #048ec1\n``#048ec1` `rgb(4,142,193)``\n• #049cd5\n``#049cd5` `rgb(4,156,213)``\n• #04abe8\n``#04abe8` `rgb(4,171,232)``\n• #06b8fa\n``#06b8fa` `rgb(6,184,250)``\n• #19befb\n``#19befb` `rgb(25,190,251)``\n• #2cc3fb\n``#2cc3fb` `rgb(44,195,251)``\n• #40c9fb\n``#40c9fb` `rgb(64,201,251)``\n• #53cefc\n``#53cefc` `rgb(83,206,252)``\n• #66d4fc\n``#66d4fc` `rgb(102,212,252)``\n• #79d9fc\n``#79d9fc` `rgb(121,217,252)``\n• #8ddffd\n``#8ddffd` `rgb(141,223,253)``\n• #a0e4fd\n``#a0e4fd` `rgb(160,228,253)``\n• #b3e9fe\n``#b3e9fe` `rgb(179,233,254)``\n• #c6effe\n``#c6effe` `rgb(198,239,254)``\n• #daf4fe\n``#daf4fe` `rgb(218,244,254)``\n• #edfaff\n``#edfaff` `rgb(237,250,255)``\nTint Color Variation\n\n# Tones of #03729b\n\nA tone is produced by adding gray to any pure hue. In this case, #4c5052 is the less saturated color, while #03729b is the most saturated one.\n\n• #4c5052\n``#4c5052` `rgb(76,80,82)``\n• #465358\n``#465358` `rgb(70,83,88)``\n• #40565e\n``#40565e` `rgb(64,86,94)``\n• #3a5964\n``#3a5964` `rgb(58,89,100)``\n• #345c6a\n``#345c6a` `rgb(52,92,106)``\n• #2e5e70\n``#2e5e70` `rgb(46,94,112)``\n• #276177\n``#276177` `rgb(39,97,119)``\n• #21647d\n``#21647d` `rgb(33,100,125)``\n• #1b6783\n``#1b6783` `rgb(27,103,131)``\n• #156a89\n``#156a89` `rgb(21,106,137)``\n• #0f6c8f\n``#0f6c8f` `rgb(15,108,143)``\n• #096f95\n``#096f95` `rgb(9,111,149)``\n• #03729b\n``#03729b` `rgb(3,114,155)``\nTone Color Variation\n\n# Color Blindness Simulator\n\nBelow, you can see how #03729b is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.\n\nMonochromacy\n• Achromatopsia 0.005% of the population\n• Atypical Achromatopsia 0.001% of the population\nDichromacy\n• Protanopia 1% of men\n• Deuteranopia 1% of men\n• Tritanopia 0.001% of the population\nTrichromacy\n• Protanomaly 1% of men, 0.01% of women\n• Deuteranomaly 6% of men, 0.4% of women\n• Tritanomaly 0.01% of the population"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.50901,"math_prob":0.6823155,"size":3674,"snap":"2019-43-2019-47","text_gpt3_token_len":1610,"char_repetition_ratio":0.12588556,"word_repetition_ratio":0.011111111,"special_character_ratio":0.5647795,"punctuation_ratio":0.23634337,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9930873,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-11-13T02:25:51Z\",\"WARC-Record-ID\":\"<urn:uuid:ff5a51dd-5de5-4a3d-b0cb-41102865c61e>\",\"Content-Length\":\"36239\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a94da9f6-a860-4d4b-b791-c8b5a82493ca>\",\"WARC-Concurrent-To\":\"<urn:uuid:cde6df5d-948a-4933-9e98-458e44beca79>\",\"WARC-IP-Address\":\"178.32.117.56\",\"WARC-Target-URI\":\"https://www.colorhexa.com/03729b\",\"WARC-Payload-Digest\":\"sha1:725AFBJI3H2IPK7YKFLGYHC7VRPRO2AN\",\"WARC-Block-Digest\":\"sha1:LE3NQ4KBZRKZOBKTMFUZ4BKEECTYUBBR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-47/CC-MAIN-2019-47_segments_1573496665976.26_warc_CC-MAIN-20191113012959-20191113040959-00353.warc.gz\"}"} |
https://studyres.com/doc/8081256/general-relativity | [
"• Study Resource\n• Explore\n\nSurvey\n\n* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project\n\nDocument related concepts\n\nAstronomical spectroscopy wikipedia, lookup\n\nOuter space wikipedia, lookup\n\nGravitational lens wikipedia, lookup\n\nFirst observation of gravitational waves wikipedia, lookup\n\nWormhole wikipedia, lookup\n\nGravitational microlensing wikipedia, lookup\n\nTranscript\n```General relativity\n• Special relativity applies only to observers moving with\nconstant velocity.\n• Can we generalize relativity to accelerated observers ?\n• No problem for Einstein, just a few more thought\nexperiments …\nCh. 11.1\nThe forces from acceleration and gravity\ncannot be distinguished\nGravity\nIn an accelerating spaceship\na stone drops just like Newton’s apple\nA stone thrown sideways follows an arc\n(again just like Newton)\nLight follows an arc, too\n(that’s Einstein)\nEinstein’s logic\nStar’s\nreal\nposition\nStar’s\napparent\nposition\n1) Acceleration and gravity\nStarlight deflected\nby Sun’s gravity\ncannot be distinguished.\n2) Acceleration deflects light.\n3) Therefore, gravity should\ndeflect light.\nConfirmed by experiment:\nStars can be detected close to\nthe Sun during a solar eclipse.\nTheir light is indeed deflected\nby the Sun’s gravity.\nMoon\nEddington’s Eclipse Expedition 1919\n• British astronomer Eddington\ntraveled to Principe Island in\nthe Gulf of Guinea to observe\ndeflection of starlight during\na solar eclipse.\n• After months of drought it was\npouring rain on the day of the\neclipse. The clouds parted just\nin time to see the eclipse.\n• The photographs revealed an\napparent deflection of stars\naway from the Sun, as predicted by Einstein.\n• Einstein was instantly famous.\nGravitational\nlensing\n• The Sun acts like\na lens deflecting\nthe light from\nstars behind it.\n• A cluster of galaxies can also\nact as lens by\ndeflecting light\nfrom galaxies\nbehind it.\n• The mass of the\ngalaxy cluster is\nobtained from\nfaint arcs produced by a lens.\nGravitational lensing simulation\nWhen a black hole with the mass of Saturn is placed in front\nof the two central towers , gravitational lensing bends them\ninto arcs. This explains the faint arcs in the Hubble image.\nCurved space-time\n• The bending of light by the gravity of the Sun\nbrings up the question: What is a straight line?\n• Laser beams are our best method to produce a\nstraight line.\n• If light does not go straight, what else would ?\n• We conclude that space itself must be curved.\nIt does not allow a straight line. The path of a\nlight beam is the straightest possible path.\nA light clock slows down in curved space\nMirror\nMirror\nLight\nbeam\nIn curved space, light takes a detour compared to flat space\n(dotted line). The detour increases the time to complete one\ncycle of a light clock (Lect. 14, Slide 3). The clock slows down.\nGravitational time dilation\n• Gravity warps both space and time!\n• Clocks run more slowly in a gravitational force field.\n• In a GPS satellite the clock speeds up during launch\ninto orbit , where gravity is reduced. The satellite\nclock needs to be set slightly slow before launch to\ncompensate (by a factor of 4.5 10-10).\n• This effect is much larger than the time dilation due\nto special relativity (Lect. 14, Slide 7), which acts in\nthe opposite direction.\nCurved space explains the planet’s orbits\n• In general relativity, gravity is a warp in space.\n• The orbits of the planets and comets can be explained\nby their movement around the dimple in space that is\ncreated by the mass of the Sun.\nEinstein’s equations of gravity\n• Einstein’s equations of gravity are rather complicated.\nEven Einstein needed help from expert mathematicians.\n• Einstein’s equations in words (by John Wheeler):\nMatter tells space how to curve,\nand space tells matter how to move.\n• General relativity connects space and matter, concepts\nthat seem to have nothing in common.\n• General relativity is reduced to special relativity in the\nabsence of gravity or acceleration. It includes the results\nof special relativity on length contraction, time dilation.\n```\nRelated documents"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9083226,"math_prob":0.8194045,"size":3755,"snap":"2019-51-2020-05","text_gpt3_token_len":786,"char_repetition_ratio":0.12796588,"word_repetition_ratio":0.0,"special_character_ratio":0.20639148,"punctuation_ratio":0.09224012,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96169466,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-11T01:14:58Z\",\"WARC-Record-ID\":\"<urn:uuid:66b824aa-f55e-4c44-8fb8-16221043f358>\",\"Content-Length\":\"87648\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:05a51839-558d-47a4-83c3-9aae3048073c>\",\"WARC-Concurrent-To\":\"<urn:uuid:89963719-8624-477d-845d-1e04900748bf>\",\"WARC-IP-Address\":\"104.28.20.25\",\"WARC-Target-URI\":\"https://studyres.com/doc/8081256/general-relativity\",\"WARC-Payload-Digest\":\"sha1:CVYZYTU2NUMNYAMJGEVPGY2WWLBMULNU\",\"WARC-Block-Digest\":\"sha1:GC3H7OPIMOZMKTES737ARIWT57T4SN7B\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575540529516.84_warc_CC-MAIN-20191210233444-20191211021444-00163.warc.gz\"}"} |
https://www.guyuehome.com/40196 | [
"## 双模型法离线神经网络辨识非线性动态系统\n\n_本文是我基于自己的理解实现的双模型法离线神经网络便是,可能不太正确,但仍记录下来。_",
null,
"### 辨识的具体流程\n\ny(k+1)=(y(k))/(1+y(k)*y(k))\ny(k+1)=u^3 (k)",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"(需要设置采样频率,示波器中和unit delay中设置为0.001,采样时间为1ms)。将图1的非线性动态系统的输入u(k)、u(k+1)、y(k)、y(k+1)导出到工作区。(array数组形式)\n\nnnstart",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
""
] | [
null,
"https://img-blog.csdnimg.cn/img_convert/7d40afe158368f99baf779fd2867cc38.png",
null,
"https://img-blog.csdnimg.cn/img_convert/c95ac695b4c8648cdac547431abc98c0.png",
null,
"https://img-blog.csdnimg.cn/img_convert/710b577bf1b351a55a615b85e5bebb29.png",
null,
"https://img-blog.csdnimg.cn/img_convert/d2897462fcb2fa678e29e3923ecac2be.png",
null,
"https://img-blog.csdnimg.cn/img_convert/7c3b770c4d746e4fbb8279d19a753cd9.png",
null,
"https://img-blog.csdnimg.cn/img_convert/269322478b6dd42998053e26ae4061ed.png",
null,
"https://img-blog.csdnimg.cn/img_convert/e1f37d5f103ab468930c9f654e09252d.png",
null,
"https://img-blog.csdnimg.cn/img_convert/f44a01cd98ef0e0345e446452ea5325a.png",
null,
"https://img-blog.csdnimg.cn/img_convert/98ee0e066f116a1af1e75b491a07abe4.png",
null,
"https://img-blog.csdnimg.cn/img_convert/88436e26bb30503bf0ff3515c7d6c2c4.png",
null,
"https://img-blog.csdnimg.cn/img_convert/64f165506f7c9f7af9c2f9f06eefa333.png",
null,
"https://img-blog.csdnimg.cn/img_convert/7ea957b9845561f68996aa94ae3bdb06.png",
null,
"https://img-blog.csdnimg.cn/img_convert/b7016c709474efa080399518fc66a939.png",
null,
"https://img-blog.csdnimg.cn/img_convert/51ef285381a8890472a30df3ccc0a0d3.png",
null,
"https://img-blog.csdnimg.cn/img_convert/508aec4c1ca7dae7892d200462ba04c8.png",
null,
"https://img-blog.csdnimg.cn/img_convert/bb3f941c611f56249b50f7d20f312d2f.png",
null,
"https://img-blog.csdnimg.cn/img_convert/5e05b1f572e988994c91589314e9754a.png",
null,
"https://img-blog.csdnimg.cn/img_convert/5bff39fa992261a173c5a2b049f1a3c6.png",
null,
"https://img-blog.csdnimg.cn/img_convert/61301499399e99f9de30f9627862d2bf.png",
null,
"https://img-blog.csdnimg.cn/img_convert/ca934612b3c5b0c76a48a0036819cc47.png",
null
] | {"ft_lang_label":"__label__zh","ft_lang_prob":0.945046,"math_prob":0.9970105,"size":768,"snap":"2022-40-2023-06","text_gpt3_token_len":662,"char_repetition_ratio":0.087696336,"word_repetition_ratio":0.0,"special_character_ratio":0.17708333,"punctuation_ratio":0.011111111,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9582355,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"im_url_duplicate_count":[null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-02T08:21:25Z\",\"WARC-Record-ID\":\"<urn:uuid:1546f809-82be-4c2a-b66a-e9f375e1ba30>\",\"Content-Length\":\"133824\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:300d9fc5-9378-4a36-8322-c5a619287c32>\",\"WARC-Concurrent-To\":\"<urn:uuid:91e0a75c-f838-4b04-bf27-8006b15e863f>\",\"WARC-IP-Address\":\"39.105.183.248\",\"WARC-Target-URI\":\"https://www.guyuehome.com/40196\",\"WARC-Payload-Digest\":\"sha1:TSK2ODRTJSPBW4EQFDPYECYUQCDJACQA\",\"WARC-Block-Digest\":\"sha1:TBQDZ67FJ3HUWCJORPA7X4GCJRRUWRIU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764499967.46_warc_CC-MAIN-20230202070522-20230202100522-00617.warc.gz\"}"} |
https://goprep.co/ex-3.e-q3-a-lady-has-only-25-paisa-and-50-paisa-coins-in-her-i-1njywy | [
"Q. 3\n\n# A lady has only 2\n\nLet the no. of 25 - paisa coins be x.",
null,
"the no of 50 - paisa coins = 50 - x\n\n[ the total no. of coins = 50]\n\nAccording to the question,\n\ntotal money = Rs. 19.50 = 1950 paise\n\n25x + 50(50 - x) = 1950\n\n2500 - 25x = 1950\n\n25x = 550\n\nx = 22\n\nThus, the no of 25 - paisa coins = x = 22 and,\n\nthe no of 50 - paisa coins = 50 - x = 50 - 22 = 28.\n\nRate this question :\n\nHow useful is this solution?\nWe strive to provide quality solutions. Please rate us to serve you better.\nTry our Mini CourseMaster Important Topics in 7 DaysLearn from IITians, NITians, Doctors & Academic Experts\nDedicated counsellor for each student\n24X7 Doubt Resolution\nDaily Report Card\nDetailed Performance Evaluation",
null,
"view all courses",
null,
"RELATED QUESTIONS :\n\nSolve each of theRS Aggarwal - Mathematics\n\nIf 2x – 3y = 7 anRD Sharma - Mathematics\n\nSolve the followiRD Sharma - Mathematics\n\nSolve each of theRD Sharma - Mathematics"
] | [
null,
"https://gradeup-question-images.grdp.co/liveData/PROJ11416/1514360381661867.png",
null,
"https://grdp.co/cdn-cgi/image/height=128,quality=80,f=auto/https://gs-post-images.grdp.co/2020/8/group-7-3x-img1597928525711-15.png-rs-high-webp.png",
null,
"https://gs-post-images.grdp.co/2020/8/group-img1597139979159-33.png-rs-high-webp.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.77197695,"math_prob":0.98175555,"size":914,"snap":"2021-43-2021-49","text_gpt3_token_len":301,"char_repetition_ratio":0.12307692,"word_repetition_ratio":0.086021505,"special_character_ratio":0.3358862,"punctuation_ratio":0.10465116,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9608814,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,1,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-18T03:42:37Z\",\"WARC-Record-ID\":\"<urn:uuid:9214c382-82d7-4bdd-bf5c-490950e43455>\",\"Content-Length\":\"309871\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4350d963-d501-44a6-ac42-ff579cedc6e0>\",\"WARC-Concurrent-To\":\"<urn:uuid:48e750d8-0f7d-41e1-98dd-e4de9e6be082>\",\"WARC-IP-Address\":\"104.26.15.48\",\"WARC-Target-URI\":\"https://goprep.co/ex-3.e-q3-a-lady-has-only-25-paisa-and-50-paisa-coins-in-her-i-1njywy\",\"WARC-Payload-Digest\":\"sha1:M37X7IJTOUXMJDQUIM5ZKLTRNIMKIY4A\",\"WARC-Block-Digest\":\"sha1:QJRK6OWAMJYXUPJXEAYHJLR3FUFFNG4L\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585196.73_warc_CC-MAIN-20211018031901-20211018061901-00598.warc.gz\"}"} |
https://eqblog.com/python-disct-use.html | [
"```zidian={\n\"key1\":{\n\"keys1\":{\"a\",\"b\",\"c\"},\n\"keys2\":{\"d\",\"e\",\"f\"}\n},\n\"key2\":{\n\"keys3\":{\"g\",\"h\"}\n}\n}```\n\n`zidian[\"key1\"][\"keys1\"]`\n\n```del zidian[\"key2\"] #删除key2\nzidian[\"key1\"][\"keys1\"]=\"a\" #将key1键中的值修改为\"a\",其它内置函数下面介绍```\n\n```dict字典内置函数的使用\n1、dict()\n2、clear()字典清空\n3、keys()得到字典的键列表\n4、values()得到字典的值列表\n5、items()得到字典的项,即键值对\n6、D.get(key[,d]) 如果key在字典中在返回D[key],如果不存在在返回d,的默认为None\n7、pop(key[,d])如果key存在,则将对应的项删除,返回该项;如果key不存在,并且没有d参数则返回错误提示,如果传入d参数则显示d的内容\n8、popitem()删除字典中的一项,返回该删除项,如果字典为空则会报错\n9、D.update([E,]**F) E是可选参数,F是关键字参数。用可迭代对象或者一个字典的E去更新原字典;如个E存在并且有E.keys()方法,则k in E.keys() ,D[K]=E[K];\n\n10、D.copy()浅拷贝\n11、fromkeys(interable,value=none)\n\n'''\n# dict的创建方法\n# 直接通过花括号括起来,里面存放键值对,key:value,用逗号隔开\ndict1={'name':'lsm','age':30,'job':'teacher'} #dict是无序的\nprint(dict1)\n#通过dict函数创建一个字典\n#dict函数的参数有三种方式\n# 1、mapping,一个mapping对象(key,value)对\ndict2=dict(((1,'one'),(2,'tow'),(3,'three')))\nprint(dict2)\n# 2、可迭代对象 list,tuple\nlist1=[('name','cxf'),('age',28),('job','economic')]\ndict3=dict(list1)\nprint(dict3)\n#3、关键字参数\ndict4=dict(a='java',b='python',c='javascript')\nprint(dict4)\n# 4、得到字典的键列表\nprint(list(dict1.keys()))\n# 5、得到字典的项,一个键值对的元组列表\nprint(dict1.items())\n# 6、获取输入的key对应的value\nprint(dict1.get('name'))\nprint(dict1.get('city')) #不存在则返回None\nprint(dict1.get('interest','coding')) #如果有传入第二个参数则在key不存在的时候返回第二个参数的内容\n# 7、删除key对应的项,返回该项\ndict1.pop('name')\nprint(dict1)\nprint(dict1.pop('class','该项不存在')) #这种方式比较好,如果key不存在则会返回自定义提示内容\n# 8、删除一项\ndict1.popitem()\nprint(dict1)\n# 9、清空字典\ndict1.clear()\n\nanother_dict=dict2 #创建另外一个字典指向dict2所指向的字典\ndict2={} #采用这种方式也可以将字典元素置为空,但实际上只是将dict2重新指向了一个空的字典,原来字典的元素还存在内存中,这是一个不保险的方法\nprint(another_dict) #字典的元素还是存在的\nanother_dict.clear() #如果用clear方法则会将字典元素从内存清空\nprint(another_dict)\n\nprint(dict1)\n# 10、更新列表\nupdate_list=[('name','llx'),('age',20),('interest','play'),('city','amoi')] #可以是一个列表\nupdate_dict={'job':'engineer','school':'xiamen university'} #更可以是一个字典\ndict1.update(update_list)\nprint(dict1)\ndict1.update(update_dict)\nprint(dict1)\n\n#用关键字更新字典\ndict1.update(skill='python')\nprint(dict1)\n\n#11、字典的拷贝\ncopy_dict1=dict1.copy()\npoint_dict1=dict1 #用另外一个变量指向dict1\nprint('用另一个变量指向dict1的内容为:',point_dict1,'地址为:',id(point_dict1),'原dict的地址为:',id(dict1)) #可见用另一个变量所指向的地址跟原dict1所指向的地址一致\n\nprint('浅拷贝dict1的内容为:',copy_dict1,'地址为:',id(copy_dict1))\n\n# 12、fromkeys,第一个参数是一个序列,第二个参数是value值,会生成一个以序列为key,值全部为value的字典\ndict5=dict()\ndict5=dict5.fromkeys(range(10),'good')\nprint(dict5)```"
] | [
null
] | {"ft_lang_label":"__label__zh","ft_lang_prob":0.6270754,"math_prob":0.9505401,"size":2531,"snap":"2019-51-2020-05","text_gpt3_token_len":1265,"char_repetition_ratio":0.15037593,"word_repetition_ratio":0.0,"special_character_ratio":0.3156855,"punctuation_ratio":0.2118451,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95342183,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-20T22:09:07Z\",\"WARC-Record-ID\":\"<urn:uuid:6ee181a3-c25d-49eb-8f46-35a0bbfaf7f7>\",\"Content-Length\":\"28463\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:df987f42-01f5-44e8-b621-7c6da7baeeb4>\",\"WARC-Concurrent-To\":\"<urn:uuid:b5e34d15-b47f-45d4-8672-8ceae813e50a>\",\"WARC-IP-Address\":\"119.28.52.53\",\"WARC-Target-URI\":\"https://eqblog.com/python-disct-use.html\",\"WARC-Payload-Digest\":\"sha1:6VNBFSVTWEDPHTJWCNFZPJOADSEEJRLE\",\"WARC-Block-Digest\":\"sha1:MPXILEXU2GABLPDRKW375BSLG5DMY3EO\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250599789.45_warc_CC-MAIN-20200120195035-20200120224035-00499.warc.gz\"}"} |
https://www.geeksforgeeks.org/program-to-check-the-number-is-palindrome-or-not/?ref=rp | [
"Related Articles\n\n# Program to check the number is Palindrome or not\n\n• Difficulty Level : Basic\n• Last Updated : 14 Aug, 2021\n\nGiven an integer N, write a program that returns true if the given number is a palindrome, else return false.\nExamples:\n\n```Input: N = 2002\nOutput: true\n\nInput: N = 1234\nOutput: false```",
null,
"Approach:\nA simple method for this problem is to first reverse digits of n, then compare the reverse of n with n. If both are same, then return true, else false.\nBelow is the implementation of the above approach:\n\n## C++\n\n `// C program to check whether a number``// is Palindrome or not.` `#include ` `/* Iterative function to reverse digits of num*/``int` `reverseDigits(``int` `num)``{`` ``int` `rev_num = 0;`` ``while` `(num > 0) {`` ``rev_num = rev_num * 10 + num % 10;`` ``num = num / 10;`` ``}`` ``return` `rev_num;``}` `/* Function to check if n is Palindrome*/``int` `isPalindrome(``int` `n)``{` ` ``// get the reverse of n`` ``int` `rev_n = reverseDigits(n);` ` ``// Check if rev_n and n are same or not.`` ``if` `(rev_n == n)`` ``return` `1;`` ``else`` ``return` `0;``}` `/*Driver program to test reversDigits*/``int` `main()``{`` ``int` `n = 4562;`` ``printf``(``\"Is %d a Palindrome number? -> %s\\n\"``, n,`` ``isPalindrome(n) == 1 ? ``\"true\"` `: ``\"false\"``);` ` ``n = 2002;`` ``printf``(``\"Is %d a Palindrome number? -> %s\\n\"``, n,`` ``isPalindrome(n) == 1 ? ``\"true\"` `: ``\"false\"``);`` ``return` `0;``}`\n\n## Java\n\n `// Java program to check whether a number``// is Palindrome or not.` `class` `GFG``{`` ``/* Iterative function to reverse digits of num*/`` ``static` `int` `reverseDigits(``int` `num)`` ``{`` ``int` `rev_num = ``0``;`` ``while` `(num > ``0``) {`` ``rev_num = rev_num * ``10` `+ num % ``10``;`` ``num = num / ``10``;`` ``}`` ``return` `rev_num;`` ``}`` ` ` ``/* Function to check if n is Palindrome*/`` ``static` `int` `isPalindrome(``int` `n)`` ``{`` ` ` ``// get the reverse of n`` ``int` `rev_n = reverseDigits(n);`` ` ` ``// Check if rev_n and n are same or not.`` ``if` `(rev_n == n)`` ``return` `1``;`` ``else`` ``return` `0``;`` ``}`` ` ` ``/*Driver program to test reversDigits*/`` ``public` `static` `void` `main(String []args)`` ``{`` ``int` `n = ``4562``;`` ``System.out.println(``\"Is\"` `+ n + ``\"a Palindrome number? -> \"` `+`` ``(isPalindrome(n) == ``1` `? ``\"true\"` `: ``\"false\"``));`` ` ` ``n = ``2002``;`` ` ` ``System.out.println(``\"Is\"` `+ n + ``\"a Palindrome number? -> \"` `+`` ``(isPalindrome(n) == ``1` `? ``\"true\"` `: ``\"false\"``));` ` ``}` `}` `// This code is contributed``// by Hritik Raj ( ihritik )`\n\n## Python3\n\n `# Python3 program to check whether a``# number is Palindrome or not.` `# Iterative function to reverse``# digits of num``def` `reverseDigits(num) :` ` ``rev_num ``=` `0``;`` ``while` `(num > ``0``) :`` ``rev_num ``=` `rev_num ``*` `10` `+` `num ``%` `10`` ``num ``=` `num ``/``/` `10`` ` ` ``return` `rev_num` `# Function to check if n is Palindrome``def` `isPalindrome(n) :` ` ``# get the reverse of n`` ``rev_n ``=` `reverseDigits(n);` ` ``# Check if rev_n and n are same or not.`` ``if` `(rev_n ``=``=` `n) :`` ``return` `1`` ``else` `:`` ``return` `0` `# Driver Code``if` `__name__ ``=``=` `\"__main__\"` `:` ` ``n ``=` `4562`` ` ` ``if` `isPalindrome(n) ``=``=` `1` `:`` ``print``(``\"Is\"``, n, ``\"a Palindrome number? ->\"``, ``True``)`` ` ` ``else` `:`` ``print``(``\"Is\"``, n, ``\"a Palindrome number? ->\"``, ``False``)` ` ``n ``=` `2002`` ` ` ``if` `isPalindrome(n) ``=``=` `1` `:`` ``print``(``\"Is\"``, n, ``\"a Palindrome number? ->\"``, ``True``)`` ` ` ``else` `:`` ``print``(``\"Is\"``, n, ``\"a Palindrome number? ->\"``, ``False``)` `# This code is contributed by Ryuga`\n\n## C#\n\n `// C# program to check whether a number``// is Palindrome or not.` `using` `System;``class` `GFG``{`` ``/* Iterative function to reverse digits of num*/`` ``static` `int` `reverseDigits(``int` `num)`` ``{`` ``int` `rev_num = 0;`` ``while` `(num > 0) {`` ``rev_num = rev_num * 10 + num % 10;`` ``num = num / 10;`` ``}`` ``return` `rev_num;`` ``}`` ` ` ``/* Function to check if n is Palindrome*/`` ``static` `int` `isPalindrome(``int` `n)`` ``{`` ` ` ``// get the reverse of n`` ``int` `rev_n = reverseDigits(n);`` ` ` ``// Check if rev_n and n are same or not.`` ``if` `(rev_n == n)`` ``return` `1;`` ``else`` ``return` `0;`` ``}`` ` ` ``/*Driver program to test reversDigits*/`` ``public` `static` `void` `Main()`` ``{`` ``int` `n = 4562;`` ``Console.WriteLine(``\"Is\"` `+ n + ``\"a Palindrome number? -> \"` `+`` ``(isPalindrome(n) == 1 ? ``\"true\"` `: ``\"false\"``));`` ` ` ``n = 2002;`` ` ` ``Console.WriteLine(``\"Is\"` `+ n + ``\"a Palindrome number? -> \"` `+`` ``(isPalindrome(n) == 1 ? ``\"true\"` `: ``\"false\"``));` ` ``}` `}` `// This code is contributed``// by Hritik Raj ( ihritik )`\n\n## PHP\n\n ` 0)`` ``{`` ``\\$rev_num` `= ``\\$rev_num` `* 10 +`` ``\\$num` `% 10;`` ``\\$num` `= ``\\$num` `/ 10;`` ``}`` ``return` `\\$rev_num``;``}` `// Function to check if n is Palindrome``function` `isPalindrome(``\\$n``)``{` ` ``// get the reverse of n`` ``\\$rev_n` `= reverseDigits(``\\$n``);` ` ``// Check if rev_n and n are same or not.`` ``if` `(``\\$rev_n` `== ``\\$n``)`` ``return` `1;`` ``else`` ``return` `0;``}` `// Driver Code``\\$n` `= 4562;``echo` `\"Is \"``, ``\\$n` `, ``\" a Palindrome number? ->\"``;` `if``(isPalindrome(``\\$n``) == 1)`` ``echo` `\"true\"` `;``else`` ``echo` `\"false\"``;``echo` `\"\\n\"``;` `\\$n` `= 2002;``echo` `\"Is \"``, ``\\$n` `, ``\" a Palindrome number? ->\"``;``if``(isPalindrome(!``\\$n``))`` ``echo` `\"true\"` `;``else`` ``echo` `\"false\"``;` `// This code is contributed by jit_t``?>`\n\n## Javascript\n\n ``\nOutput:\n```Is 4562 a Palindrome number? -> false\nIs 2002 a Palindrome number? -> true```\n\nTime Complexity: O(logN)\nAuxiliary Space: O(1)\n\nAttention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.\n\nIn case you wish to attend live classes with experts, please refer DSA Live Classes for Working Professionals and Competitive Programming Live for Students.\n\nMy Personal Notes arrow_drop_up"
] | [
null,
"https://media.geeksforgeeks.org/wp-content/cdn-uploads/program-to-check-if-a-number-is-palindrome-1024x512.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.5469694,"math_prob":0.9085258,"size":5979,"snap":"2021-31-2021-39","text_gpt3_token_len":1887,"char_repetition_ratio":0.18292888,"word_repetition_ratio":0.5126263,"special_character_ratio":0.3602609,"punctuation_ratio":0.1617916,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9985552,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-22T14:45:42Z\",\"WARC-Record-ID\":\"<urn:uuid:2e4c1ca8-c8fa-40a9-bd78-8efee8c1458c>\",\"Content-Length\":\"157942\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e3612a5a-47ee-4e24-99fa-d9918da6acff>\",\"WARC-Concurrent-To\":\"<urn:uuid:f39d6498-12d0-4d15-bbae-c5fe8e6499b1>\",\"WARC-IP-Address\":\"23.207.202.202\",\"WARC-Target-URI\":\"https://www.geeksforgeeks.org/program-to-check-the-number-is-palindrome-or-not/?ref=rp\",\"WARC-Payload-Digest\":\"sha1:5474DJ6NBT6JVP2JBXU6FPYHWGUYDLG3\",\"WARC-Block-Digest\":\"sha1:TPK5DOTZGYDB7QR5WXQPWD6DELGT2JRB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057366.40_warc_CC-MAIN-20210922132653-20210922162653-00647.warc.gz\"}"} |
https://h3x.no/2009/08/16/display-clock-each-10-minutes-x-times-forward-in-php | [
"Categories\n\n# Display clock each 10 minutes x times forward in PHP\n\nHere is a simple code PHP snippet to display the clock each 10 minutes x times in the format of:\n\nphp5 test.php\n20:40\n20:50\n21:00\n21:10\n21:20\n21:30\n21:40\n\nEtc.\n\n```<?php\n\n\\$j = 0;\nfor(\\$i=0;\\$i<10;\\$i+=1) {\n\\$j += (10*60);\n\\$hour = date(\"H\", (time()+\\$j));\n\\$min = ceil((date(\"i\", (time()+\\$j))/10))*10;\nif(\\$min > 50) {\n\\$min = \"00\";\n\\$hour++;\n}\necho \\$hour.\":\".\\$min.\"n\";\n}\n\n?>\n```\n\n## 1 reply on “Display clock each 10 minutes x times forward in PHP”\n\n[…] to cancel reply. Name (required) Mail (will not be published) (required) Website. Recent Entries …Display clock each 10 minutes x times forward in PHP | h3x.noHere is a simple code PHP snippet to display the clock each 10 minutes x times in the format of: […]"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.65366405,"math_prob":0.97353774,"size":687,"snap":"2020-24-2020-29","text_gpt3_token_len":230,"char_repetition_ratio":0.12445095,"word_repetition_ratio":0.3275862,"special_character_ratio":0.4250364,"punctuation_ratio":0.19018404,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9509719,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-13T10:07:13Z\",\"WARC-Record-ID\":\"<urn:uuid:4bf8e0df-1a2a-45a1-9424-2c4a867b4d80>\",\"Content-Length\":\"113655\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1b639c2c-efba-4ce2-8861-ba57f94feeb1>\",\"WARC-Concurrent-To\":\"<urn:uuid:e986c01b-0d11-4807-8849-0562212e2cae>\",\"WARC-IP-Address\":\"185.14.184.13\",\"WARC-Target-URI\":\"https://h3x.no/2009/08/16/display-clock-each-10-minutes-x-times-forward-in-php\",\"WARC-Payload-Digest\":\"sha1:CZYZRIIQAICDEWMGI7HLC22E4SH4L7UW\",\"WARC-Block-Digest\":\"sha1:AI565TFNLJ2AFDD3R4CDHIUXK3WO7GT4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593657143365.88_warc_CC-MAIN-20200713100145-20200713130145-00404.warc.gz\"}"} |
https://yyiki.org/wiki/Regression%20analysis/ | [
"# Regression analysis\n\nA way to think and generalize the statistical models is breaking them into a stochastic and a systematic component.\n\n\\begin{aligned} Y_i \\sim f(\\theta_i, \\alpha) \\quad &\\text{(stochastic)} \\\\ \\theta_i = g(x_i, \\beta)\\quad &\\text{(systematic)} \\end{aligned}\n\nwhere there is always an estimation uncertainty – the lack of knowledge of $\\beta$ and $\\alpha$ – and fundamental uncertainty (stochastic component).\n\n## Marginal effect\n\nMarginal effect refers to “the slope of the regression surface with respect to a given covariate” (Leeper, 2017). In other words, it is about how much the dependent variable changes when we change the given independent variable. Of course this is not necessarily a constant. The slope can change based on the value of the independent variables. Thus we consider a representative marginal effect. A common method is calculating the “average marginal effects (AMEs)”, which is the mean of the marginal effect for every data point. Alternatively, the marginal effect can be calculated at the means of independent variables, “marginal effects at means (MEMs)”, or at a representative values (MERs). AMEs are most ‘data-driven’ and reflect the full data distribution."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.85495746,"math_prob":0.9923313,"size":1438,"snap":"2021-04-2021-17","text_gpt3_token_len":287,"char_repetition_ratio":0.12831241,"word_repetition_ratio":0.0,"special_character_ratio":0.1891516,"punctuation_ratio":0.07860262,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9987902,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-04-19T14:55:01Z\",\"WARC-Record-ID\":\"<urn:uuid:b72c611d-38bf-41e9-9df2-8ef6f91d55ad>\",\"Content-Length\":\"13514\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:030da3ab-3f7f-4177-b88b-76cc32754c2c>\",\"WARC-Concurrent-To\":\"<urn:uuid:03203644-0c6d-46e9-99e4-1cfc91eb2934>\",\"WARC-IP-Address\":\"45.56.105.151\",\"WARC-Target-URI\":\"https://yyiki.org/wiki/Regression%20analysis/\",\"WARC-Payload-Digest\":\"sha1:7ZFMBNBVMXIGIT4XMQOF4IKUH4ZQZBNP\",\"WARC-Block-Digest\":\"sha1:DG23L56IECKUUAAAH5RWKEIWPTD5NYWM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-17/CC-MAIN-2021-17_segments_1618038887646.69_warc_CC-MAIN-20210419142428-20210419172428-00174.warc.gz\"}"} |
http://greenteapress.com/thinkos/html/thinkos006.html | [
"",
null,
"",
null,
"",
null,
"Here is the PDF version of this book.\n\n# Chapter 5 More bits and bytes\n\n## 5.1 Representing integers\n\nYou probably know that computers represent numbers in base 2, also known as binary. For positive numbers, the binary representation is straightforward; for example, the representation for 510 is b101.\n\nFor negative numbers, the most obvious representation uses a sign bit to indicate whether a number is positive or negative. But there is another representation, called “two’s complement” that is much more common because it is easier to work with in hardware.\n\nTo find the two’s complement of a negative number, −x, find the binary representation of x, flip all the bits, and add 1. For example, to represent −510, start with the representation of 510, which is b0000 0101 if we write the 8-bit version. Flipping all the bits and adding 1 yields b1111 1011.\n\nIn two’s complement, the leftmost bit acts like a sign bit; it is 0 for positive numbers and 1 for negative numbers.\n\nTo convert from an 8-bit number to 16-bits, we have to add more 0’s for a positive number and add 1’s for a negative number. In effect, we have to copy the sign bit into the new bits. This process is called “sign extension”.\n\nIn C all integer types are signed (able to represent positive and negative numbers) unless you declare them unsigned. The difference, and the reason this declaration is important, is that operations on unsigned integers don’t use sign extension.\n\n## 5.2 Bitwise operators\n\nPeople learning C are sometimes confused about the bitwise operators `&` and `|`. These operators treat integers as bit vectors and compute logical operations on corresponding bits.\n\nFor example, `&` computes the AND operation, which yields 1 if both operands are 1, and 0 otherwise. Here is an example of `&` applied to two 4-bit numbers:\n\n``` 1100\n& 1010\n----\n1000\n```\n\nIn C, this means that the expression `12 & 10` has the value 8.\n\nSimilarly, `|` computes the OR operation, which yields 1 if either operand is 1, and 0 otherwise.\n\n``` 1100\n| 1010\n----\n1110\n```\n\nSo the expression `12 | 10` has the value 14.\n\nFinally, `^` computes the XOR operation, which yields 1 if either operand is 1, but not both.\n\n``` 1100\n^ 1010\n----\n0110\n```\n\nSo the expression `12 ^ 10` has the value 6.\n\nMost commonly, `&` is used to clear a set of bits from a bit vector, `|` is used to set bits, and `^` is used to flip, or “toggle” bits. Here are the details:\n\nClearing bits: For any value x, x & 0 is 0, and x & 1 is x. So if you AND a vector with 3, it selects only the two rightmost bits, and sets the rest to 0.\n\n``` xxxx\n& 0011\n----\n00xx\n```\n\nIn this context, the value 3 is called a “mask” because it selects some bits and masks the rest.\n\nSetting bits: Similarly, for any x, x | 0 is x, and x | 1 is 1. So if you OR a vector with 3, it sets the rightmost bits, and leaves the rest alone:\n\n``` xxxx\n| 0011\n----\nxx11\n```\n\nToggling bits: Finally, if you XOR a vector with 3, it flips the rightmost bits and leaves the rest alone. As an exercise, see if you can compute the two’s complement of 12 using `^`. Hint: what’s the two’s complement representation of -1?\n\nC also provides shift operators, << and >>, which shift bits left and right. Each left shift doubles a number, so 5 << 1 is 10, and 5 << 2 is 20. Each right shift divides by two (rounding down), so 5 >> 1 is 2 and 2 >> 1 is 1.\n\n## 5.3 Representing floating-point numbers\n\nFloating-point numbers are represented using the binary version of scientific notation. In decimal notation, large numbers are written as the product of a coefficient and 10 raised to an exponent. For example, the speed of light in m/s is approximately 2.998 · 108.\n\nMost computers use the IEEE standard for floating-point arithmetic. The C type float usually corresponds to the 32-bit IEEE standard; double usually corresponds to the 64-bit standard.\n\nIn the 32-bit standard, the leftmost bit is the sign bit, s. The next 8 bits are the exponent, q, and the last 23 bits are the coefficient, c. The value of a floating-point number is\n\n (−1)s c · 2q\n\nWell, that’s almost correct, but there’s one more wrinkle. Floating-point numbers are usually normalized so that there is one digit before the point. For example, in base 10, we prefer 2.998 · 108 rather than 2998 · 105 or any other equivalent expression. In base 2, a normalized number always has the digit 1 before the binary point. Since the digit in this location is always 1, we can save space by leaving it out of the representation.\n\nFor example, the integer representation of 1310 is b1101. In floating point, that’s 1.101 · 23, so the exponent is 3 and the part of the coefficient that would be stored is 101 (followed by 20 zeros).\n\nWell, that’s almost correct, but there’s one more wrinkle. The exponent is stored with a “bias”. In the 32-bit standard, the bias is 127, so the exponent 3 would be stored as 130.\n\nTo pack and unpack floating-point numbers in C, we can use a union and bitwise operations. Here’s an example:\n\n``` union {\nfloat f;\nunsigned int u;\n} p;\n\np.f = -13.0;\nunsigned int sign = (p.u >> 31) & 1;\nunsigned int exp = (p.u >> 23) & 0xff;\n\nunsigned int coef_mask = (1 << 23) - 1;\nunsigned int coef = p.u & coef_mask;\n\nprintf(\"%d\\n\", sign);\nprintf(\"%d\\n\", exp);\nprintf(\"0x%x\\n\", coef);\n```\n\nThis code is in float.c in the repository for this book (see Section 0.1).\n\nThe union allows us to store a floating-point value using p.f and then read it as an unsigned integer using p.u.\n\nTo get the sign bit, we shift the bits to the right 31 places and then use a 1-bit mask to select only the rightmost bit.\n\nTo get the exponent, we shift the bits 23 places, then select the rightmost 8 bits (the hexadecimal value 0xff has eight 1’s).\n\nTo get the coefficient, we need to extract the 23 rightmost bits and ignore the rest. We do that by making a mask with 1s in the 23 rightmost places and 0s on the left. The easiest way to do that is by shifting 1 to the left by 23 places and then subtracting 1.\n\nThe output of this program is:\n\n```1\n130\n0x500000\n```\n\nAs expected, the sign bit for a negative number is 1. The exponent is 130, including the bias. And the coefficient, which I printed in hexadecimal, is 101 followed by 20 zeros.\n\nAs an exercise, try assembling or disassembling a double, which uses the 64-bit standard. See http://en.wikipedia.org/wiki/IEEE_floating_point.\n\n## 5.4 Unions and memory errors\n\nThere are two common uses of C unions. One, which we saw in the previous section, is to access the binary representation of data. Another is to store heterogeneous data. For example, you could use a union to represent a number that might be an integer, float, complex, or rational number.\n\nHowever, unions are error-prone. It is up to you, as the programmer, to keep track of what type of data is in the union; if you write a floating-point value and then interpret it as an integer, the result is usually nonsense.\n\nActually, the same thing can happen if you read a location in memory incorrectly. One way that can happen is if you read past the end of an array.\n\nTo see what happens, I’ll start with a function that allocates an array on the stack and fills it with the numbers from 0 to 99.\n\n```void f1() {\nint i;\nint array;\n\nfor (i=0; i<100; i++) {\narray[i] = i;\n}\n}\n```\n\nNext I’ll define a function that creates a smaller array and deliberately accesses elements before the beginning and after the end:\n\n```void f2() {\nint x = 17;\nint array;\nint y = 123;\n\nprintf(\"%d\\n\", array[-2]);\nprintf(\"%d\\n\", array[-1]);\nprintf(\"%d\\n\", array);\nprintf(\"%d\\n\", array);\n}\n```\n\nIf I call f1 and then f2, I get these results:\n\n```17\n123\n98\n99\n```\n\nThe details here depend on the compiler, which arranges variables on the stack. From these results, we can infer that the compiler put x and y next to each other, “below” the array (at a lower address). And when we read past the array, it looks like we are getting values that were left on the stack by the previous function call.\n\nIn this example, all of the variables are integers, so it is relatively easy to figure out what is going on. But in general when you read beyond the bounds of an array, the values you read might have any type. For example, if I change f1 to make an array of floats, the results are:\n\n```17\n123\n1120141312\n1120272384\n```\n\nThe latter two values are what you get if you interpret a floating-point value as an integer. If you encountered this output while debugging, you would have a hard time figuring out what’s going on.\n\n## 5.5 Representing strings\n\nRelated issues sometimes come up with strings. First, remember that C strings are null-terminated. When you allocate space for a string, don’t forget the extra byte at the end.\n\nAlso, the letters and numbers in C strings are encoded in ASCII. The ASCII codes for the digits “0” through “9” are 48 through 57, not 0 through 9. The ASCII code 0 is the NUL character that marks the end of a string. And the ASCII codes 1 through 9 are special characters used in some communication protocols. ASCII code 7 is a bell; on some terminals, printing it makes a sound.\n\nThe ASCII code for the letter “A” is 65; the code for “a” is 97. Here are those codes in binary:\n\n```65 = b0100 0001\n97 = b0110 0001\n```\n\nA careful observer will notice that they differ by a single bit. And this pattern holds for the rest of the letters; the sixth bit (counting from the right) acts as a “case bit”, 0 for upper-case letters and 1 for lower case letters.\n\nAs an exercise, write a function that takes a string and converts from lower-case to upper-case by flipping the sixth bit. As a challenge, you can make a faster version by reading the string 32 or 64 bits at a time, rather than one character at a time. This optimization is made easier if the length of the string is a multiple of 4 or 8 bytes.\n\nIf you read past the end of a string, you are likely to see strange characters. Conversely, if you write a string and then accidentally read it as an int or float, the results will be hard to interpret.\n\nFor example, if you run:\n\n``` char array[] = \"allen\";\nfloat *p = array;\nprintf(\"%f\\n\", *p);\n```\n\nYou will find that the ASCII representation of the first 8 characters of my name, interpreted as a double-precision floating point number, is 69779713878800585457664.\n\n#### Are you using one of our books in a class?\n\nWe'd like to know about it. Please consider filling out this short survey.\n\nThink Bayes",
null,
"",
null,
"",
null,
"Think Python",
null,
"",
null,
"",
null,
"Think Stats",
null,
"",
null,
"",
null,
"Think Complexity",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"",
null,
""
] | [
null,
"http://greenteapress.com/thinkos/html/back.png",
null,
"http://greenteapress.com/thinkos/html/up.png",
null,
"http://greenteapress.com/thinkos/html/next.png",
null,
"http://ir-na.amazon-adsystem.com/e/ir",
null,
"http://ws-na.amazon-adsystem.com/widgets/q",
null,
"http://ir-na.amazon-adsystem.com/e/ir",
null,
"http://www.assoc-amazon.com/e/ir",
null,
"http://ws-na.amazon-adsystem.com/widgets/q",
null,
"http://www.assoc-amazon.com/e/ir",
null,
"http://ir-na.amazon-adsystem.com/e/ir",
null,
"http://ws-na.amazon-adsystem.com/widgets/q",
null,
"http://ir-na.amazon-adsystem.com/e/ir",
null,
"http://www.assoc-amazon.com/e/ir",
null,
"http://ws-na.amazon-adsystem.com/widgets/q",
null,
"http://www.assoc-amazon.com/e/ir",
null,
"http://greenteapress.com/thinkos/html/back.png",
null,
"http://greenteapress.com/thinkos/html/up.png",
null,
"http://greenteapress.com/thinkos/html/next.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.87734044,"math_prob":0.97775006,"size":9472,"snap":"2019-13-2019-22","text_gpt3_token_len":2410,"char_repetition_ratio":0.12019434,"word_repetition_ratio":0.010944701,"special_character_ratio":0.2783995,"punctuation_ratio":0.13141182,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9956446,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"im_url_duplicate_count":[null,10,null,10,null,6,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,10,null,10,null,6,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-05-27T03:01:57Z\",\"WARC-Record-ID\":\"<urn:uuid:aec61952-8ce8-4fa7-a866-e6d1cb11abf8>\",\"Content-Length\":\"22970\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:44449e30-cfc6-4d5f-a663-f0d91e55c2de>\",\"WARC-Concurrent-To\":\"<urn:uuid:e43fff06-8a60-4e8c-9805-8265886da186>\",\"WARC-IP-Address\":\"208.113.214.221\",\"WARC-Target-URI\":\"http://greenteapress.com/thinkos/html/thinkos006.html\",\"WARC-Payload-Digest\":\"sha1:VBEY76SQJSFKO2ZDJZV5ZA3TCAJ25GBN\",\"WARC-Block-Digest\":\"sha1:DMSKSO3QEOUGIVCYIBNLFUNLJHQMQQTC\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-22/CC-MAIN-2019-22_segments_1558232260658.98_warc_CC-MAIN-20190527025527-20190527051527-00549.warc.gz\"}"} |
https://mathemerize.com/tag/differentials/ | [
"## Differentials Errors and Approximations\n\nHere you will learn what is differentials errors and approximations with examples. Let’s begin – Differentials Errors and Approximations In order to calculate the approximate value of a function, differentials may be used where the differential of a function is equal to its derivative multiplied by the differential of the independent variable, In general dy …"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.90059143,"math_prob":0.98047495,"size":401,"snap":"2022-27-2022-33","text_gpt3_token_len":74,"char_repetition_ratio":0.19647355,"word_repetition_ratio":0.0,"special_character_ratio":0.16209476,"punctuation_ratio":0.048387095,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98452777,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-03T05:02:23Z\",\"WARC-Record-ID\":\"<urn:uuid:3b413ebf-7979-474d-96d5-5c42e99a0351>\",\"Content-Length\":\"189169\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:56ddf1da-4e22-4853-a404-3e512e55d4f5>\",\"WARC-Concurrent-To\":\"<urn:uuid:5c436490-4394-46e9-8a86-15ecd5c5284d>\",\"WARC-IP-Address\":\"134.209.145.77\",\"WARC-Target-URI\":\"https://mathemerize.com/tag/differentials/\",\"WARC-Payload-Digest\":\"sha1:VWQNFFU7TQAIEV7YMAW2HQ34LOF3JOPA\",\"WARC-Block-Digest\":\"sha1:NT3OG6IWQFJQDSJL54APTJUGSPNPN3LK\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104215790.65_warc_CC-MAIN-20220703043548-20220703073548-00449.warc.gz\"}"} |
https://mathvideoprofessor.com/courses/seventh-grade/lessons/unit-7-angles-triangles-and-prisms/topic/volume-of-right-prisms/ | [
"# Volume of Right Prisms\n\nWarmup\n\nSelect all the prisms.\n\nActivity #1\n\nUse snap cubes to build a 3-D Shape.\n\nIn the applet below, you can keep dragging blocks out of the pile by their red points until you have enough to build what you want.",
null,
"• Use the snap cubes to build the shape you see on the paper. (You can keep dragging blocks out of the pile by their red points until you have enough to build what you want.)\n• Answer question 1 below. \n• Add another layer of cubes on top of the shape you have built.\n• Now answer the rest of the questions below.\n\n(1.) Using the face of a snap cube as your area unit, what is the area of the shape? Explain or show your reasoning using the applet below.\n\n(2.) Describe this three-dimensional object.\n\n(4.) Right now, your object has a height of 2. What would the volume be if it had a height of 5?\n\n(5.) Right now, your object has a height of 2. What would the volume be if it had a height of 8.5?\n\nActivity #2\n\nThe applet below has a set of three-dimensional figures. Note that each polyhedron has only one label per unique face. Where no measurements are shown, the faces are identical copies.",
null,
"• The first one has already been choosen.\n• Rotate the view using the Rotate 3D Graphics tool marked by two intersecting, curved arrows. If you do not see it click on the 3D Graphics window for the full toolbar to appear.\n• Use the distance tool to click on any segment to find the height or length.\n• Then fill in the required information in the table below.\n• Choose another figure using the slider and repeat all the steps above.\n\nActivity #3\n\nExplore Features of Polyhedra.\n\nThere are 4 different prisms that all have the same volume. Here below is what the base of each prism looks like.",
null,
"• Order the prisms from shortest to tallest.\n\n(2.) If the volume of each prism is 60 cubic units, what would be the height of each prism?\n\n(3.) For a volume other than 60 cubic units, what could be the height of each prism?\n\nChallenge #1\n\nFor each prism, shade one of its bases.\n\nChallenge #2\n\nThe volume of both of these trapezoidal prisms is 24 cubic units. Their heights are 6 and 8 units, as labeled.\n\nWhat is the area of a trapezoidal base of each prism?\n\nQuiz Time"
] | [
null,
"https://i0.wp.com/mathvideoprofessor.com/wp-content/uploads/2021/08/Instructions-3.png",
null,
"https://i0.wp.com/mathvideoprofessor.com/wp-content/uploads/2021/08/Instructions-3.png",
null,
"https://i0.wp.com/mathvideoprofessor.com/wp-content/uploads/2021/08/Instructions-3.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9210733,"math_prob":0.86973536,"size":1455,"snap":"2023-40-2023-50","text_gpt3_token_len":369,"char_repetition_ratio":0.14197105,"word_repetition_ratio":0.13284133,"special_character_ratio":0.25360826,"punctuation_ratio":0.13354038,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98705465,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-04T12:40:26Z\",\"WARC-Record-ID\":\"<urn:uuid:66fb7c44-0a13-4e2c-a355-f7fefae1d097>\",\"Content-Length\":\"210693\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1dd8926b-758d-457c-9a96-9f04001dbd9f>\",\"WARC-Concurrent-To\":\"<urn:uuid:ba92ed57-6472-454d-a8c9-ccdd3243c504>\",\"WARC-IP-Address\":\"35.208.47.198\",\"WARC-Target-URI\":\"https://mathvideoprofessor.com/courses/seventh-grade/lessons/unit-7-angles-triangles-and-prisms/topic/volume-of-right-prisms/\",\"WARC-Payload-Digest\":\"sha1:YWC4DKZZODATZXGE5FBVJ3JJKXLY23ZR\",\"WARC-Block-Digest\":\"sha1:L7TYQU5EEQ7GHSDIEAZZSDQSBOEDR3FM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100529.8_warc_CC-MAIN-20231204115419-20231204145419-00105.warc.gz\"}"} |
https://yeahexp.com/i-can-not-understand-the-simplest-algorithm/ | [
"# c++ – I can not understand the simplest algorithm\n\n## Question:\n\nIt is necessary to calculate the XORs of all numbers on a given segment. The xor operation is familiar to me, but I don't know how to calculate the xors of all numbers. Tried to XOR first the first number with all the others, and these XORs XOR-il among themselves, also until the last number and then these XOR-il results, but this is wrong.\n\nFor obvious reasons, the `xor` between an even number and the next odd number is `1` . Therefore, and also because `xor` is associative.\n\n``````0 ^ 1 ^ 2 ^ 3 ^ ... ^ 2n-2 ^ 2n-1 =\n(0 ^ 1) ^ (2 ^ 3) ^ ... ^ (2n-2 ^ 2n-1) =\n1 ^ 1 ^ ... ^ 1 ^ 1 (n раз)\n``````\n\nThose. if the sequence starts with an even number and ends with an odd number, then the result for it will be `1` if the total number of terms is not divisible by `4` , and `0` if it is divisible.\n\nThat is, for example\n\n``````40 ^ 41 ^ ... ^ 99999998 ^ 99999999 = 0\n``````\n\nbecause `40` is even, `99999999` is odd and `99999999 - 40 + 1` is divisible by 4\n\nIf the sequence starts with odd and/or ends with even, these numbers can be \"doxed\" to the result, because `xor` is also commutative.\n\n``````39 ^ 40 ^ 41 ^ ... ^ 99999998 ^ 99999999 ^ 100000000 =\n(40 ^ 41 ^ ... ^ 99999998 ^ 99999999) ^ 39 ^ 100000000 =\n0 ^ 39 ^ 100000000\n``````\n\nWell, perhaps the fact that the `xor` operation reverses itself will help\n\n``````a ^ b ^ a = b\n``````\n\nSo\n\n``````(0 ^ 1 ^ ... ^ n) ^ (0 ^ 1 ^ ... ^ m) = n+1 ^ n+2 ^ ... ^ m\n``````\n\nwhere n ≤ m, but this is up to you\n\nScroll to Top"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.847938,"math_prob":0.99678975,"size":1372,"snap":"2023-40-2023-50","text_gpt3_token_len":448,"char_repetition_ratio":0.16081871,"word_repetition_ratio":0.058631923,"special_character_ratio":0.43002915,"punctuation_ratio":0.16776316,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9997149,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-30T10:21:25Z\",\"WARC-Record-ID\":\"<urn:uuid:698ce0ef-aa28-4e63-a40b-23ac4ceb531c>\",\"Content-Length\":\"113867\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:143e1a87-844e-4626-ae21-6c78f2a75aa1>\",\"WARC-Concurrent-To\":\"<urn:uuid:cd332d7b-baa6-4032-a702-9bb5df11c39f>\",\"WARC-IP-Address\":\"152.32.134.98\",\"WARC-Target-URI\":\"https://yeahexp.com/i-can-not-understand-the-simplest-algorithm/\",\"WARC-Payload-Digest\":\"sha1:252MIFKCM5YG2I6UWEONWO7FHBVZRAYO\",\"WARC-Block-Digest\":\"sha1:QZ7KKG2QO6WHIDSYIJIKIWEPF5IXY26L\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510671.0_warc_CC-MAIN-20230930082033-20230930112033-00556.warc.gz\"}"} |
https://artofproblemsolving.com/wiki/index.php?title=2008_AMC_8_Problems/Problem_18&diff=49895&oldid=49262 | [
"# Difference between revisions of \"2008 AMC 8 Problems/Problem 18\"\n\n## Problem\n\nTwo circles that share the same center have radii",
null,
"$10$ meters and",
null,
"$20$ meters. An aardvark runs along the path shown, starting at",
null,
"$A$ and ending at",
null,
"$K$. How many meters does the aardvark run?",
null,
"$[asy] size((150)); draw((10,0)..(0,10)..(-10,0)..(0,-10)..cycle); draw((20,0)..(0,20)..(-20,0)..(0,-20)..cycle); draw((20,0)--(-20,0)); draw((0,20)--(0,-20)); draw((-2,21.5)..(-15.4, 15.4)..(-22,0), EndArrow); draw((-18,1)--(-12, 1), EndArrow); draw((-12,0)..(-8.3,-8.3)..(0,-12), EndArrow); draw((1,-9)--(1,9), EndArrow); draw((0,12)..(8.3, 8.3)..(12,0), EndArrow); draw((12,-1)--(18,-1), EndArrow); label(\"A\", (0,20), N); label(\"K\", (20,0), E); [/asy]$",
null,
"$\\textbf{(A)}\\ 10\\pi+20\\qquad\\textbf{(B)}\\ 10\\pi+30\\qquad\\textbf{(C)}\\ 10\\pi+40\\qquad\\textbf{(D)}\\ 20\\pi+20\\qquad \\\\ \\textbf{(E)}\\ 20\\pi+40$\n\n## See Also\n\n 2008 AMC 8 (Problems • Answer Key • Resources) Preceded byProblem 17 Followed byProblem 19 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AJHSME/AMC 8 Problems and Solutions\nInvalid username\nLogin to AoPS"
] | [
null,
"https://latex.artofproblemsolving.com/f/c/6/fc606f7f1e530731ab4f1cc364c01dc64a4455ee.png ",
null,
"https://latex.artofproblemsolving.com/f/8/3/f8366cd6196dd8a9da6d38a3e9eafb109e99d53e.png ",
null,
"https://latex.artofproblemsolving.com/0/1/9/019e9892786e493964e145e7c5cf7b700314e53b.png ",
null,
"https://latex.artofproblemsolving.com/d/f/b/dfb064112b6c94470339f6571f69d07afc1c024c.png ",
null,
"https://latex.artofproblemsolving.com/2/1/0/210387e06e9467a3ab329cbdf9e43ff63316fb45.png ",
null,
"https://latex.artofproblemsolving.com/2/5/7/257695d7e6bff3c0748a33ed6ad52f0344c8c5b5.png ",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.74577624,"math_prob":0.99870753,"size":1282,"snap":"2021-21-2021-25","text_gpt3_token_len":414,"char_repetition_ratio":0.17449139,"word_repetition_ratio":0.41484717,"special_character_ratio":0.3525741,"punctuation_ratio":0.085020244,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9920689,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-18T06:38:34Z\",\"WARC-Record-ID\":\"<urn:uuid:8e83ee6d-efc6-4ad3-9da8-d122d1d7527e>\",\"Content-Length\":\"42077\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d6ed5973-128c-4422-b03c-1c47d4ebb594>\",\"WARC-Concurrent-To\":\"<urn:uuid:07fef161-a4ab-44fb-8021-35ed2dbdfcc3>\",\"WARC-IP-Address\":\"172.67.69.208\",\"WARC-Target-URI\":\"https://artofproblemsolving.com/wiki/index.php?title=2008_AMC_8_Problems/Problem_18&diff=49895&oldid=49262\",\"WARC-Payload-Digest\":\"sha1:PXZUEOHVP7WTY7I5YEBJN24LNNAIZ6E4\",\"WARC-Block-Digest\":\"sha1:JCJBBS4W7KCCH3FFXP3COE35HJS73ZD2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623487635724.52_warc_CC-MAIN-20210618043356-20210618073356-00377.warc.gz\"}"} |
http://itp.jscottdutcher.com/?p=64 | [
"# Infinite Pong, again\n\nhttp://itp.jscottdutcher.com/pong4/\n\nThis week, much like last week, was an exercise in not getting as much done as I would have liked. Adding functions to my previous code was a breeze, until I ran it and kept getting an uncaught reference error. It took me ages to figure out where I was missing a curly bracket and I felt like a right fool the whole time I was looking. Oh well! It remains remarkably satisfying when your code works, even when all it is is a meager refactor.\n\n```ar gameStart = false;\nx: 10,\ny: 100,\nw: 15,\nh: 100,\n};\nx: 770,\ny: 100,\nw: 15,\nh: 100,\n};\nvar ball = {\nx: 50,\ny: 20,\ndiam: 25,\nspeedX: 5,\nspeedY: 5,\n};\nvar speedX = 5;\nvar speedY = 5;\nvar s = \"Welcome to Infinte Pong! Player one controlls their paddle with the a and z keys. Player two controls their paddle with the /? key and the '\\\" key. Press the space bar to begin\";\n\n/*function down(x){\nx = x + 5;\n}*/\n\nfunction setup() {\ncreateCanvas(800, 600);\nsmooth();\n//background(0);\n//fill(255)\n//text(s, 10, 10, 70, 80);\n}\n\nfunction draw() {\n\n//if (keyPressed(32) === true) {\ngameStart === true;\n//}\n\nbackground(64, 161, 76);\nnoStroke();\n\ncreateBall();\nballBounceTopAndBottom();\nballBounceRight();\nballBounceLeft();\n\n}\nfunction createBall() {\n//Create ball\nfill(198, 237, 44);\nellipse(ball.x, ball.y, ball.diam, ball.diam);\n\nball.x = ball.x + speedX;\nball.y = ball.y + speedY;\n}\n\nfill(0, 50, 50);\nif (keyIsDown(90) === true) {\n}\n}\n}\n\nfill(50, 50, 0);\n\nif (keyIsDown(191) === true) { //move paddle down\n}\n}\n\n}\n\nfunction ballBounceTopAndBottom() {\n\n//If if the ball hits the top or bottom of the court it bounces\nspeedY = speedY * -1; //reverse the direction of the motion\nball.y = ball.y + speedY; //keeps things moving\nprint(\"bam top\");\n}\n\n//if the edge of the ball is higher than rect y plus height and\n//the x of the ball is greater than the x of the rect and less than the width\nelse if (ball.y + 12.5 < paddleR.y + paddleR.h && ball.y > paddleR.y && ball.x > paddleR.x && ball.x < paddleR.x + paddleR.h && ball.x > 0 && ball.x < width && ball.y > 0 && ball.y < height) {\nspeedY = speedY * -1; //reverse the direction of the motion\nball.y = ball.y + speedY; //keeps things moving\nprint(\"bam bottom\");\n}\n}\n\nfunction ballBounceLeft() {\n//if the ball hits the left wall\n/* if (ball.x < 0) {\nspeedX = speedX * -1; //This reverses the direction, I think\nball.x = ball.x + speedX; //This keeps the ball moving\nprint(\"pow\");*/\n\n//if the ball hits the front of the left paddle\nif (ball.x - 12.5 < paddleL.x + paddleL.w && ball.y + 12.5 > paddleL.y && ball.y + 12.5 < paddleL.y + paddleL.h && ball.x > 0 && ball.x < width && ball.y > 0 && ball.y < height) {\nspeedX = speedX * -1; //This reverses the direction, I think\nball.x = ball.x + speedX; //This keeps the ball moving\nprint(\"pow\");\n}\n}```"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.57246387,"math_prob":0.97983396,"size":4594,"snap":"2023-40-2023-50","text_gpt3_token_len":1433,"char_repetition_ratio":0.21938998,"word_repetition_ratio":0.3534994,"special_character_ratio":0.36525902,"punctuation_ratio":0.22789784,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97923076,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-10T17:47:02Z\",\"WARC-Record-ID\":\"<urn:uuid:1912e777-162c-4f7b-9762-dddb10bd8400>\",\"Content-Length\":\"23460\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:75cdbc65-5f39-44ff-9b3e-8ccc3e00bbc3>\",\"WARC-Concurrent-To\":\"<urn:uuid:f53eed85-8ac0-4f8b-8b5f-05b49206be34>\",\"WARC-IP-Address\":\"50.116.52.232\",\"WARC-Target-URI\":\"http://itp.jscottdutcher.com/?p=64\",\"WARC-Payload-Digest\":\"sha1:AULAOXNT2RYZKON3AGKIGNIOVETKVXEX\",\"WARC-Block-Digest\":\"sha1:RB5GMUIZPVSO6D3YX3P3L3PPCMZUPDJ6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679102612.80_warc_CC-MAIN-20231210155147-20231210185147-00752.warc.gz\"}"} |
https://dbprohelp.fandom.com/wiki/MAKE_OBJECT_NEW | [
"## FANDOM\n\n540 Pages\n\n Syntax\n\n MAKE OBJECT NEW Object number, Vertex count, Index countMAKE OBJECT NEW Object number, Vertex count, Index count, FVFMAKE OBJECT NEW Object number, Vertex count, Index count, FVF, Initialise buffers\n\n Description\n\n Create an object with the number of vertices and indices specified. If the Index count is not 0, then it needs to be a multiple of 3, as 3 points are required for each polygon. If the Index count is 0, then the Vertex count needs to be a multiple of 3 for the same reason. The first form of this command will create an object using an FVF value of 274. The third form of this command allows you to skip initialising the buffers with zeros by using an Initialise value of 0 - use only when you are going to immediately set the values yourself using the VERTEXDATA commands. Constants for all allowable FVF settings:#constant FVF_XYZ = 0x002#constant FVF_XYZRHW = 0x004#constant FVF_XYZB1 = 0x006#constant FVF_XYZB2 = 0x008#constant FVF_XYZB3 = 0x00a#constant FVF_XYZB4 = 0x00c#constant FVF_XYZB5 = 0x00e#constant FVF_NORMAL = 0x010#constant FVF_PSIZE = 0x020#constant FVF_DIFFUSE = 0x040#constant FVF_SPECULAR = 0x080#constant FVF_TEX0 = 0x000#constant FVF_TEX1 = 0x100#constant FVF_TEX2 = 0x200#constant FVF_TEX3 = 0x300#constant FVF_TEX4 = 0x400#constant FVF_TEX5 = 0x500#constant FVF_TEX6 = 0x600#constant FVF_TEX7 = 0x700#constant FVF_TEX8 = 0x800\nCommunity content is available under CC-BY-SA unless otherwise noted."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7928467,"math_prob":0.9930232,"size":839,"snap":"2019-35-2019-39","text_gpt3_token_len":188,"char_repetition_ratio":0.14850299,"word_repetition_ratio":0.1292517,"special_character_ratio":0.2169249,"punctuation_ratio":0.10843374,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9899589,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-08-18T16:57:53Z\",\"WARC-Record-ID\":\"<urn:uuid:52906d50-7672-4b42-9891-b650282777e3>\",\"Content-Length\":\"95016\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ce0e4572-a5e2-49ab-812f-dab54d536fb1>\",\"WARC-Concurrent-To\":\"<urn:uuid:2ac2430e-010b-4f2f-87fe-fe8d9508d8ce>\",\"WARC-IP-Address\":\"151.101.0.194\",\"WARC-Target-URI\":\"https://dbprohelp.fandom.com/wiki/MAKE_OBJECT_NEW\",\"WARC-Payload-Digest\":\"sha1:JXFEYQQJAKFTFAFRXLYSN7OYL7Q7KHMR\",\"WARC-Block-Digest\":\"sha1:XRPJFCFIW7JSOALZMBE47IDJFPOJZYLY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-35/CC-MAIN-2019-35_segments_1566027313987.32_warc_CC-MAIN-20190818165510-20190818191510-00353.warc.gz\"}"} |
https://volumeunits.com/convert/ml/dam3/109 | [
"",
null,
"# Convert 109 ML To DAM3\n\nFind 109 Megalitre in Cubic Decametre :\n\n109 ML = 9.046676924E-10 DAM3\n\n### How to convert 109 Megalitres to Cubic Decametre\n\nBefore you start to calculate 109 Megalitres, you should know the conversion rate between Megalitres and Cubic Decametre.\n\nThe rate is 8.2997036E-12 and the math equation is 109 X 8.2997036E-12 = 9.046676924E-10 .\n\n## Quick conversion chart of Megalitres to Cubic Decametres\n\n1 Megalitre to Cubic Decametre = 8.2997036E-12 Cubic Decametre 5 Megalitre to Cubic Decametre = 4.1498518E-11 Cubic Decametre 10 Megalitre to Cubic Decametre = 8.2997036E-11 Cubic Decametre 20 Megalitre to Cubic Decametre = 1.65994072E-10 Cubic Decametre 30 Megalitre to Cubic Decametre = 2.48991108E-10 Cubic Decametre 40 Megalitre to Cubic Decametre = 3.31988144E-10 Cubic Decametre 50 Megalitre to Cubic Decametre = 4.1498518E-10 Cubic Decametre 75 Megalitre to Cubic Decametre = 6.2247777E-10 Cubic Decametre 100 Megalitre to Cubic Decametre = 8.2997036E-10 Cubic Decametre\n\n#### Minus 1 & Plus 1\n\n(-1)(+1)",
null,
"108 110",
null,
""
] | [
null,
"https://volumeunits.com/images/logo.png",
null,
"https://volumeunits.com/images/sol.png",
null,
"https://volumeunits.com/images/sag.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.6839539,"math_prob":0.95296127,"size":926,"snap":"2023-14-2023-23","text_gpt3_token_len":350,"char_repetition_ratio":0.36984816,"word_repetition_ratio":0.06870229,"special_character_ratio":0.36825055,"punctuation_ratio":0.096969694,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95685256,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-03T14:46:49Z\",\"WARC-Record-ID\":\"<urn:uuid:b9b355a4-c9ed-442a-a28f-f534eef36a1d>\",\"Content-Length\":\"9832\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:497affd2-2cac-4504-bc90-31fa840491be>\",\"WARC-Concurrent-To\":\"<urn:uuid:01cf50ab-959e-459f-9fd4-bf4513b0b771>\",\"WARC-IP-Address\":\"176.9.111.7\",\"WARC-Target-URI\":\"https://volumeunits.com/convert/ml/dam3/109\",\"WARC-Payload-Digest\":\"sha1:GAUXFDOK377HMGKO2ARUFGFTJGLHKJ6I\",\"WARC-Block-Digest\":\"sha1:U6J45ERHLLMU6XZAEZ7IVSONMUG47ML6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224649293.44_warc_CC-MAIN-20230603133129-20230603163129-00427.warc.gz\"}"} |
https://nl.mathworks.com/matlabcentral/cody/problems/44282-minimum-possible-m-of-the-maximum-side-of-a-triangle-of-given-area-a/solutions/1322330 | [
"Cody\n\n# Problem 44282. Minimum possible M of the maximum side of a triangle of given area A.\n\nSolution 1322330\n\nSubmitted on 1 Nov 2017 by H M Dipu Kabir\nThis solution is locked. To view this solution, you need to provide a solution of the same size or smaller.\n\n### Test Suite\n\nTest Status Code Input and Output\n1 Pass\na = 0.4331; m = 1.0001; assert(tri(a)>m*0.99)\n\n2 Pass\na = 43.31; m = 10.001; assert(tri(a)<m*1.01)\n\n3 Pass\na = 4331; m = 100.01; assert(tri(a)>m*0.99)\n\n4 Pass\na = 4331; m = 100.01; assert(tri(a)<m*1.01)\n\n### Community Treasure Hunt\n\nFind the treasures in MATLAB Central and discover how the community can help you!\n\nStart Hunting!"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.5840687,"math_prob":0.9457562,"size":538,"snap":"2020-45-2020-50","text_gpt3_token_len":199,"char_repetition_ratio":0.15168539,"word_repetition_ratio":0.06593407,"special_character_ratio":0.43680298,"punctuation_ratio":0.1627907,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95911914,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-05T09:27:14Z\",\"WARC-Record-ID\":\"<urn:uuid:f33eaa45-9de9-437e-8cc8-ee53f0b2649a>\",\"Content-Length\":\"80837\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:399ad067-072e-42a3-a014-6fb85d5de716>\",\"WARC-Concurrent-To\":\"<urn:uuid:7b1ce5ae-43c9-4b0c-8f9e-b84a5a6e1f0f>\",\"WARC-IP-Address\":\"23.223.252.57\",\"WARC-Target-URI\":\"https://nl.mathworks.com/matlabcentral/cody/problems/44282-minimum-possible-m-of-the-maximum-side-of-a-triangle-of-given-area-a/solutions/1322330\",\"WARC-Payload-Digest\":\"sha1:IILZUENQLK2O5ABA2BM34STT7Z3MZQIR\",\"WARC-Block-Digest\":\"sha1:UZ5NK6ZZZVI2GHTIF5VTWNWK2DBX6G4U\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141747323.98_warc_CC-MAIN-20201205074417-20201205104417-00561.warc.gz\"}"} |
https://owenduffy.net/blog/?p=18996 | [
"# Working a common mode scenario – G3TXQ Radcom May 2015 – voltage balun solution\n\nAt (Hunt 2015) G3TXQ gave some measurements of his ‘balanced’ antenna system.",
null,
"Above is Hunt’s equivalent circuit of his antenna system and transmitter. It is along the lines of (Schmidt nd) with different notation.\n\nHe made measurements that led to calculation of these components for the dipole which he states is visually fairly symmetric.",
null,
"Above are the calculated values he gives at Leg a and Leg b. Lets assume that the measurements are made at the tuner interface with respect the the unbalanced tuner ground connection. Note that Za and Zb are not close to equal, so the antenna system is hardly symmetric or balanced.",
null,
"Above is a schematic of the antenna equivalent circuit driven by equal but opposite phase voltages (ie, an ideal voltage balun).\n\nFrom that we can write a set of mesh equations and solve them.\n\n$$1=(za+zc) \\cdot ia -zc \\cdot ib\\\\ 1=-zc \\cdot ia+(zb+zc) \\cdot ib\\\\$$\n\nThis is a system of 2 linear simultaneous equations in 2 unknowns. In matrix notation:\n\n$$\\begin{vmatrix}ia\\\\ib \\end{vmatrix}= \\begin{vmatrix} za+zc & -zc\\\\ -zc & zb+zc \\end{vmatrix}^{-1} \\times \\begin{vmatrix}1\\\\1\\end{vmatrix}\\\\$$\n\nLet’s do that in GNU Octave.\n\n#equations of mesh currents\n#1=(za+zc)*ia -zc*ib\n#1=-zc*ia+(zb+zc)*ib\nza=15.1+79i\nzb=1.6-109i\nzc=30.7+110i\n\nA=[za+zc,-zc;-zc,zb+zc]\nb=[1;1]\nx=A\\b\n\nia=x(1)\nib=x(2)\nic=(ia-ib)/2\nid=(ia+ib)/2\nica=abs(ic)\nida=abs(id)\nicrel=2*abs(ic)/abs(id)\n#for calculator\nabs(ia)\nabs(ib)\n2*abs(ic)\n\n\nThe console output is…\n\nza = 15.100 + 79.000i\nzb = 1.6000 - 109.0000i\nzc = 30.700 + 110.000i\nA =\n\n45.800 + 189.000i -30.700 - 110.000i\n-30.700 - 110.000i 32.300 + 1.000i\n\nb =\n\n1\n1\n\nx =\n\n0.0046179 + 0.0091411i\n0.0049694 + 0.0242611i\n\nia = 0.0046179 + 0.0091411i\nib = 0.0049694 + 0.0242611i\nic = -0.00017574 - 0.00756002i\nid = 0.0047937 + 0.0167011i\nica = 0.0075621\nida = 0.017375\nicrel = 0.87043\nans = 0.010241\nans = 0.024765\nans = 0.015124\n\n\nThe comparative statistic I will use is | 2*ic| (total common mode current) relative to |id|, it is given by the variable icrel above which has a calculated value of 0.870 for this scenario.\n\nBy way of comparison, the same scenario with the common mode choke (ie current balun) with Zcm=1500+j1500Ω, the same statistic is 0.0738 (Working a common mode scenario – G3TXQ Radcom May 2015). The modest current balun results in relative common mode current being 21dB lower than the ideal voltage balun.\n\nNote that differential current and common mode current will almost always each br standing waves and their phase velocity may differ.\n\nThe last three values calculated are those that would be measured by a clamp on RF ammeter around the a, b and a+b wires together. These values could be plugged into Resolve measurement of I1, I2 and I12 into Ic and Ic to resolve the measurements into common mode and differential mode components.",
null,
"Above, the calculator results reconcile with the results of the Octave script.\n\nYou don’t need complicated maths to asses an installed antenna system, measurements with a clamp on RF ammeter can be resolved into the common mode and differential mode components using the calculator.\n\nThis solution is based on Hunts measurements and equivalent circuit calculation, and the abject failure of a voltage balun on an antenna system that Hunt reported as apparently symmetric applies to this scenario, but it is not surprising as good current baluns will tend to be more effective in reduction of common mode current than voltage baluns."
] | [
null,
"https://owenduffy.net/blog/wp-content/uploads/2020/10/Screenshot-201016095702-300x198.png",
null,
"https://owenduffy.net/blog/wp-content/uploads/2020/10/Screenshot-201016095742.png",
null,
"https://owenduffy.net/blog/wp-content/uploads/2020/10/balunmesh-300x138.jpg",
null,
"https://owenduffy.net/blog/wp-content/uploads/2020/10/Screenshot-201017141738-211x300.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8582265,"math_prob":0.99743223,"size":3690,"snap":"2020-45-2020-50","text_gpt3_token_len":1084,"char_repetition_ratio":0.11394466,"word_repetition_ratio":0.0068259384,"special_character_ratio":0.31761518,"punctuation_ratio":0.11578947,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99795383,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,6,null,6,null,4,null,2,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-21T04:50:59Z\",\"WARC-Record-ID\":\"<urn:uuid:9ab190a8-fa95-41e9-8ffe-07faebb233a2>\",\"Content-Length\":\"43533\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5dbf7182-a3f1-4486-9cb9-c03e60e13f43>\",\"WARC-Concurrent-To\":\"<urn:uuid:4e3c0482-000f-4f05-a3ed-7e55271fb4fb>\",\"WARC-IP-Address\":\"107.180.40.20\",\"WARC-Target-URI\":\"https://owenduffy.net/blog/?p=18996\",\"WARC-Payload-Digest\":\"sha1:7K6ZSJVXIAF4SE7WSFCT6CNFDXSWAYZQ\",\"WARC-Block-Digest\":\"sha1:PP2KYEOEHC7NMVAQUKMQ4LQXPS3M2PWD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107875980.5_warc_CC-MAIN-20201021035155-20201021065155-00631.warc.gz\"}"} |
https://affairscloud.com/aptitude-questions-data-sufficiency-set-10/ | [
"# 10% OFF | Use Coupon Code “AffairsCloud10” | Expire Anytime",
null,
"Aptitude Questions: Data Sufficiency Set 10\n\nHello Aspirants. Welcome to Online Quantitative Aptitude section in AffairsCloud.com. Here we are creating question sample From DATA SUFFICIENCY topic, which is common for all the IBPS,SBI exam RBI,,SSC and other competitive exams. We have included Some questions that are repeatedly asked in exams !!!\n\nQuestions Penned by Yogit\n\nQ(1 – 10) Each of the questions below consists of a question and two statements numbered I and II given below it. You have to decide whether the data provided in the statements are sufficient to answer the question. Read all the three statements and give answer: –\na) If the data in statement I alone is sufficient to answer the question.\nb) If the data in statement II alone is sufficient to answer the question.\nc) If the data either in statement I alone or statement II alone are sufficient to answer the question.\nd)If the data given in both I and II together are not sufficient to answer the question.\ne) If the data in both the statements I and II together are necessary to answer the question\n\n1. What is the profit earned by selling a bike for rupees 50000?\n1) The cost price of 4 such bikes is equal to selling price of 3 bikes\n2) 33.33% profit is earned by selling the bike.\nAnswer – c) If the data either in statement I alone or statement II alone are sufficient to answer the question\nExplanation :\nFrom 1st statement, 4*cp = 3*sp\n4*cp = 3*50000, cp = 37500\nFrom second statement, 50000 = [(100 + 100/3)/100]*c\nWe get cp = 37500\n\n2. What is the rate of interest p.c.p.a?\n1) The amount triples itself in 12 years\n2) The simple interest accrued in 4 years is Rs. 2000.\nAnswer – a) If the data in statement I alone is sufficient to answer the question\nExplanation :\nFrom first statement, 2p = p*(r/100)*12\nFrom second statement, 2000 = p*(r/100)*4\n\n3. The average salary of 10 teachers of a school is Rs.4500. A group of teachers whose average salary is Rs.3000 leave the school and 3 new teacher joins. What is the average salary of new group of teachers in the school?\n1) There are 2 teachers that leave the school.\n2) The salary of new teacher is 2500.\nAnswer – e) if the data in both the statements I and II together are necessary to answer the question\nExplanation :\nNew average salary = (4500*10 – 2*3000 + 3*2500)/11\n\n4. What is the perimeter of the rectangular field?\n1) Area of the field is 72m^2.\n2) Length and breadth are in the ratio of 2:1.\nAnswer – e) If the data in both the statements I and II together are necessary to answer the question\nExplanation :\nFrom both equations, we get l = 12 and b= 6 so perimeter = 36\n\n5. How much profit did Bharti made by selling a chair?\n1) She bought the chair with 30% discount on marked price\n2) She sold it with 10% profit on labelled price.\nAnswer – d)If the data given in both I and II together are not sufficient to answer the question.\nExplanation :\nCp = (70/100)*Mp\nSp = (110/100)*mp\nWe can find the profit/loss percent but we cannot the amount of profit.\n\n6. How long will machine B, working alone take to produce ‘y’ candles?\n1) Machine A produces ‘y’ candles in 10 minutes\n2) Machine A and Machine B working together produces ‘y’ candles in 4 minutes\nAnswer – e) If the data in both the statements I and II together are necessary to answer the question\nExplanation :\nFrom both statements,\n1/A + 1/B = 1/4\nSo, 1/B = 1/4 – 1/10 = 6/40\nB = 20/3 minutes\n\n7. A train crosses a pole in 20 seconds. What is the length of the train?\n1) The train crosses another train running in same direction with the speed of 80km/hr in 11 seconds.\n2) Speed of the train is 54 km/hr.\nAnswer – b) If the data in statement II alone is sufficient to answer the question.\nExplanation :\nFrom second statement, we get\nL = 20*54*5/18 = 300 meter\n\n8. What is the speed of boat in still water?\n1) It takes 4 hours to cover the distance between P and Q downstream\n2) It takes 6 hours to cover the distance between P and Q upstream.\nAnswer – d) If the data given in both I and II together are not sufficient to answer the question.\nExplanation :\nD = 4*(b+s) and D = 6*(b-s)\nSo we can’t find the value of b\n\n9. What is the compound interest earned by Rahul at the end of 2 years?\n1) The amount invested is rupees 17000\n2) Simple interest at the same rate for 2 year is rupees 2400 and the rate of interest is 10 p.c.p.a\nAnswer – b) If the data in statement II alone is sufficient to answer the question\nExplanation :\nFrom second statement, we get\n2400 = p*10/100*2\nP = 12000\nSo CI = 12000*(1 + 10/100)^2 – 12000 = 2520\n\n10. How much time did P take to reach the destination?\n1) Q takes 24 minutes to reach the same destination\n2) Ratio of the speed of P and Q is 3:4\nAnswer – e) If the data in both the statements I and II together are necessary to answer the question\nExplanation :\n3x/4x = 24/t\nWe get t = 32 minutes\n\nNote: Dear Readers if you have any doubt in any chapter in Quants you can ask here. We will clear your doubts\n\nAffairsCloud Ebook - Support Us to Grow"
] | [
null,
"https://www.affairscloud.com/assets/uploads/2020/04/AC-Current-Affairs.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.90459704,"math_prob":0.8943857,"size":4872,"snap":"2020-24-2020-29","text_gpt3_token_len":1306,"char_repetition_ratio":0.18303205,"word_repetition_ratio":0.2601713,"special_character_ratio":0.29495075,"punctuation_ratio":0.07858546,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9974442,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-06-06T12:03:15Z\",\"WARC-Record-ID\":\"<urn:uuid:5f8185bd-d402-430e-a87c-3c5286484b0d>\",\"Content-Length\":\"186481\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5bc10828-281d-46f8-bf2c-14c293acbfd7>\",\"WARC-Concurrent-To\":\"<urn:uuid:20684dec-b07d-42d2-a1e0-5ab2323d37b7>\",\"WARC-IP-Address\":\"172.67.68.210\",\"WARC-Target-URI\":\"https://affairscloud.com/aptitude-questions-data-sufficiency-set-10/\",\"WARC-Payload-Digest\":\"sha1:37SZ7ISMZLPTR3S374IMW3OXHNDTSCHS\",\"WARC-Block-Digest\":\"sha1:4XFBACSJVQB2TPF6EXXJUOLLSOQVFUSU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-24/CC-MAIN-2020-24_segments_1590348513230.90_warc_CC-MAIN-20200606093706-20200606123706-00151.warc.gz\"}"} |
http://tjmm.edyropress.ro/past/2/ | [
"",
null,
"",
null,
"ISSN: 2067-239X\nISSN(on-line): 2067-239X\n\nIndexed in:\nMathematical Reviews\nZentralblatt MATH\nEBSCO\n\nFront cover",
null,
"# Volume 2 (2010), Number 1\n\n## One Derivative of One Component Regularity Criterion for the Navier-Stokes Equations\n\n### Author(s): YUAN-SHAN ZHAO AND YUE HU\n\nAbstract: We study the incompressible Navier-Stokes equations in the entire three-dimensional space and we prove that if there exists one derivative of one component of the velocity ${\\partial }_{3}{u}_{3}\\in {L}_{t}^{s}{L}_{x}^{r},\\text{\\hspace{0.17em}}\\text{where}\\text{\\hspace{0.17em}}\\frac{2}{s}+\\frac{3}{r}\\le \\frac{1}{4},\\text{\\hspace{0.17em}}12\\le r\\le \\infty$ then the solution is regular. This extends one result of Patrick Penel, Toulon, Milan Pokorý, Praha [Appl.Math.,49,483-493(2004)]\n\n## On Some Multiplier Difference Sequence Spaces Defined over a 2-normed Linear Space\n\n### Author(s): B.SURENDER REDDY AND HEMEN DUTTA\n\nAbstract: In this paper, we introduce a new class of generalized difference sequences with base space, a real linear 2-normed space and by means of a fixed multiplier. We study the spaces of thus constructed classes of sequences for relevant linear topological structures. Further we investigate the spaces for solidity, monotonicity, symmetricity etc. We also obtain some relations between these spaces as well as prove some inclusion results.\n\n## On Some Inequalities of Simpson-type Via Quasi-Convex Functions and Applications\n\n### Author(s): MOHAMMAD ALOMARI AND MASLINA DARUS\n\nAbstract: Some inequalities of Simpson's type for quasi-convex functions are introduced. In the literature the error estimates for the midpoint rule is $|{E}_{mid}\\left(f,d\\right)|\\le \\frac{K}{24}\\sum _{i=0}^{n-1}{\\left({x}_{i+1}-{x}_{i}\\right)}^{3}$ , in this paper we restrict the conditions on f to get better error estimates than the original.\n\n## Solving Cauchy Problem for a Class of Sixth-order Hyperbolic Equations with Triple Characteristics\n\n### Author(s): LAZHAR BOUGOFFA AND HIND K. AL-JEAID\n\nAbstract: In this paper, the Cauchy problem for a class of the homogeneous hyperbolic equations for sixth-order with triple characteristics is considered and can be solved analytically by direct integration techniques. Also, an efficient modification of Adomian decomposition method is proposed for solving this type of problems. We then conduct a comparative study between the ADM and direct method with the help of several illustrative examples.\n\n## New Explicit and Implicit Solutions to Elliptic Equations with Two Space Variables\n\nAbstract: We present a direct method for finding a new explicit and implicit solutions of elliptic equations with hyperbolic, trigonometric and exponential nonlinearities.\n\n## BAICA-CARDU Paratrigonometry, a Generalization of the Classical and Some New Non-classical Trigonometries and Its Application in Mechanics and Wave Theory\n\n### Author(s): M. BAICA AND M.CARDU\n\nAbstract: In their previous papers the authors introduced some new Trigonometries as: 1. Quadratic Trigonometry (QT), 2. Polygonal Trigonometry (PT), 3. Trans Trigonometry (TT), 4. Infra Trigonometry (IT), 5. Ultra-Trigonometry (UT), 6. Extra Trigonometry (ET), 7. Para-Trigonometry (PRT). This time in this paper we perform a synthesis of all these Trigonometries and state some of their applications.\n\n## Oscillation of a Class of Two-variables Functional Equations with Variable Coefficients\n\n### Author(s): WENGUI YANG\n\nAbstract: In this paper we will establish some sufficient conditions of oscillation of a class of two-variables functional equations with variable coefficients. Our results extend Zhang and Zhou's results (B.G. Zhang and Y. Zhou, Comput. Math. Appl. 42 (3-5) (2001) 369-378).\n\n## On Algebraic Properties of the Generalized Chebyshev Polynomials\n\n### Author(s): AHMET İPEK\n\nAbstract: Chebyshev polynomials are of great importance in many areas of mathematics, particularly approximation theory. Numerous articles and books have been written about this topic. Analytical properties of Chebyshev polynomials are well understood, but algebraic properties less so. In this paper, new generalized Chebyshev polynomials of the first and second kinds have been introduced and studied. Many of the properties of these polynomials are proved.\n\n## A Note on Bounds for the Spectral Norms of Circulant-Cauchy-Toeplitz Matrices\n\n### Author(s): AHMET İPEK\n\nAbstract: In this paper, we established lower and upper bounds for the spectral norms of some Circulant-Cauchy-Toeplitz matrices.\n\n## A Nonlinear Mixed Type Volterra-Fredholm Functional Integral Equation Via Perov's Theorem\n\nAbstract: In this paper we study the following mixed type Volterra-Fredholm functional integral equation $x\\left(t\\right)=F\\left(t,x\\left(t\\right),{\\int }_{{a}_{1}}^{{t}_{1}}\\dots {\\int }_{{a}_{m}}^{{t}_{m}}K\\left(t,s,x\\left(s\\right)\\right)ds,{\\int }_{{a}_{1}}^{{b}_{1}}\\dots {\\int }_{{a}_{m}}^{{b}_{m}}H\\left(t,s,x\\left(s\\right)\\right)ds\\right)$. Using the Perov's Theorem and the Picard operator technique we establish existence, uniqueness, data dependence and Gronwall results for the solutions.\n\n## The Solution of a System of Nonlinear Integral Equations from Physics\n\n### Author(s): MARIA DOBRIŢOIU\n\nAbstract: Using the Perov's Theorem and the General data dependence Theorem, in this paper, we obtain some conditions concerning the existence and uniqueness of the solution in the Banach space $C\\left(\\left[a,b\\right],{ℝ}^{m}\\right)$ and the continuous data dependence of the solution of the following system of nonlinear integral equations from physics: $x\\left(t\\right)={\\int }_{a}^{b}K\\left(t,s,x\\left(s\\right),x\\left(a\\right),x\\left(b\\right)\\right)ds+f\\left(t\\right),t\\in \\left[a,b\\right]$. An example is also given here.\n\n## Double Inequalities of Boole's Quadrature Rule\n\n### Author(s): MARIUS HELJIU\n\nAbstract: In this paper double inequalities of Boole's type quadrature rule are given. These inequalities are sharp."
] | [
null,
"http://tjmm.edyropress.ro/files/sigla.png",
null,
"http://tjmm.edyropress.ro/files/title.png",
null,
"http://tjmm.edyropress.ro/files/coperta.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.86597353,"math_prob":0.9667154,"size":6083,"snap":"2023-40-2023-50","text_gpt3_token_len":1373,"char_repetition_ratio":0.13390361,"word_repetition_ratio":0.0093240095,"special_character_ratio":0.1857636,"punctuation_ratio":0.114423074,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99671733,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-27T07:54:06Z\",\"WARC-Record-ID\":\"<urn:uuid:51e89938-02ae-401d-907a-dec18bed1f70>\",\"Content-Length\":\"14838\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:dc03dec0-1650-48f6-b687-355e1677a4cf>\",\"WARC-Concurrent-To\":\"<urn:uuid:59e503d8-5032-4577-ae1b-ff6f78ebab7c>\",\"WARC-IP-Address\":\"37.187.16.183\",\"WARC-Target-URI\":\"http://tjmm.edyropress.ro/past/2/\",\"WARC-Payload-Digest\":\"sha1:IXNGDCY75NQAWAPFNFNQCOUGKQ2TZ7EJ\",\"WARC-Block-Digest\":\"sha1:YU2ZHN6JTBWZHIJEN6OHFQ5T2XNDQAJ4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510284.49_warc_CC-MAIN-20230927071345-20230927101345-00707.warc.gz\"}"} |
https://letusprogram.com/2013/09/30/c-program-to-print-number-in-pyramid-shape/ | [
"## C++ program to print number in pyramid shape\n\nThis is once of the basic program to start programming in C++.Here your main goal is to print the number’s in pyramid shape.The size of the shape depends on the input of the user.The output is similar to this picture:",
null,
"For this we need to write the control statements such as for loop.Here in the program we use the method print_pyramid to print the output.Now we shall write a program to this problem:\n\n```#include<iostream.h>\n#include<conio.h>\nclass pyramid\n{\npublic:\nint n;\nvoid print_pyramid();\n};\nvoid pyramid :: print_pyramid()\n{\nfor(int i=1;i<=n;i++)\n{\nfor(int j=1;j<=i;j++)\n{\ncout<<j<<\" \";\n}\ncout<<\"\\n\";\n}\n}\nvoid main()\n{\nclrscr();\ncout<<\"Enter number of lines to be printed in pyramid shape:\";\npyramid ob;\ncin>>ob.n;\nob.print_pyramid();\ngetch();\n}```\n\nOutput:",
null,
"",
null,
""
] | [
null,
"https://encrypted-tbn1.gstatic.com/images",
null,
"https://letusprogram.files.wordpress.com/2013/09/pyramid.png",
null,
"https://1.gravatar.com/avatar/181177e93002db86371e930b78d10cc4",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7317937,"math_prob":0.86023897,"size":794,"snap":"2020-34-2020-40","text_gpt3_token_len":197,"char_repetition_ratio":0.1493671,"word_repetition_ratio":0.0,"special_character_ratio":0.28463477,"punctuation_ratio":0.18390805,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9570231,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,8,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-29T10:48:24Z\",\"WARC-Record-ID\":\"<urn:uuid:e1f4bb27-f5bb-4740-93c4-2ae307e86d6d>\",\"Content-Length\":\"78206\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:64526162-adb4-4728-afa7-44f913cb896e>\",\"WARC-Concurrent-To\":\"<urn:uuid:ff852d3d-3cf2-43d3-9bb2-3ae00f9fbbd2>\",\"WARC-IP-Address\":\"192.0.78.24\",\"WARC-Target-URI\":\"https://letusprogram.com/2013/09/30/c-program-to-print-number-in-pyramid-shape/\",\"WARC-Payload-Digest\":\"sha1:ZMVZ22ZNSNNYIE5I4K67HTUWFQUTPXKQ\",\"WARC-Block-Digest\":\"sha1:ZBHKTUXFCAUQMNCXC6RWU5NNPZGXSI56\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600401641638.83_warc_CC-MAIN-20200929091913-20200929121913-00724.warc.gz\"}"} |
https://tutorialcup.com/leetcode-solutions/binary-tree-zigzag-level-order-traversal-leetcode-solution.htm | [
"# Binary Tree Zigzag Level Order Traversal LeetCode Solution\n\n## Problem Statement\n\nBinary Tree Zigzag Level Order Traversal LeetCode Solution – Given the `root` of a binary tree, return the zigzag level order traversal of its nodes’ values. (i.e., from left to right, then right to left for the next level and alternate between).",
null,
"```Input: root = [3,9,20,null,null,15,7]\nOutput: [,[20,9],[15,7]]```\n\n## Explanation\n\nWe carry out simple level-order traversal but reverse alternate levels before adding them to the ans.\n\nIn this problem, we need to traverse the binary tree level by level. When we see levels in a binary tree, we need to think about BFS, because it is its logic: it first traverses all neighbors, before we go deeper. Here we also need to change direction on each level as well. So, the algorithm is the following:\n\n1. We create a queue, where we first put our root.\n2. `result` is to keep the final result and `direction`, equal to `1` or `-1` or we can keep it as a boolean in the direction of traverse.\n3. Then we start to traverse level by level: if we have `k` elements in queue currently, we remove them all and put their children instead. We continue to do this until our queue is empty. Meanwhile, we form `level` list and then add it to `result`, using correct direction and changing direction after.\n\n## Code\n\n### C++ Code for Binary Tree Zigzag Level Order Traversal\n\n```class Solution {\npublic:\nvector<vector<int> > zigzagLevelOrder(TreeNode* root) {\nif (root == NULL) {\nreturn vector<vector<int> > ();\n}\nvector<vector<int> > result;\n\nqueue<TreeNode*> nodesQueue;\nnodesQueue.push(root);\nbool leftToRight = true;\n\nwhile ( !nodesQueue.empty()) {\nint size = nodesQueue.size();\nvector<int> row(size);\nfor (int i = 0; i < size; i++) {\nTreeNode* node = nodesQueue.front();\nnodesQueue.pop();\n\n// find position to fill node's value\nint index = (leftToRight) ? i : (size - 1 - i);\n\nrow[index] = node->val;\nif (node->left) {\nnodesQueue.push(node->left);\n}\nif (node->right) {\nnodesQueue.push(node->right);\n}\n}\n// after this level\nleftToRight = !leftToRight;\nresult.push_back(row);\n}\nreturn result;\n}\n};```\n\n### Java Code for Binary Tree Zigzag Level Order Traversal\n\n```public class Solution {\npublic List<List<Integer>> zigzagLevelOrder(TreeNode root)\n{\nList<List<Integer>> sol = new ArrayList<>();\ntravel(root, sol, 0);\nreturn sol;\n}\n\nprivate void travel(TreeNode curr, List<List<Integer>> sol, int level)\n{\nif(curr == null) return;\n\nif(sol.size() <= level)\n{\n}\n\nList<Integer> collection = sol.get(level);\nif(level % 2 == 0) collection.add(curr.val);\n\ntravel(curr.left, sol, level + 1);\ntravel(curr.right, sol, level + 1);\n}\n}```\n\n### Python Code for Binary Tree Zigzag Level Order Traversal\n\n```class Solution:\ndef zigzagLevelOrder(self, root):\nif not root: return []\nqueue = deque([root])\nresult, direction = [], 1\n\nwhile queue:\nlevel = []\nfor i in range(len(queue)):\nnode = queue.popleft()\nlevel.append(node.val)\nif node.left: queue.append(node.left)\nif node.right: queue.append(node.right)\nresult.append(level[::direction])\ndirection *= (-1)\nreturn result```\n\nO(N)\n\nO(N)\n\nTranslate »"
] | [
null,
"https://tutorialcup.com/wp-content/uploads/2022/04/tree11.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.5996651,"math_prob":0.95502925,"size":3154,"snap":"2023-40-2023-50","text_gpt3_token_len":783,"char_repetition_ratio":0.12952381,"word_repetition_ratio":0.049356222,"special_character_ratio":0.27013317,"punctuation_ratio":0.19967794,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9968288,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-04T15:34:52Z\",\"WARC-Record-ID\":\"<urn:uuid:7319ce98-75eb-49ff-ae00-9512af2f9f9d>\",\"Content-Length\":\"153927\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:3bc37361-d15b-4d06-a5c1-2b1d3c75a8e1>\",\"WARC-Concurrent-To\":\"<urn:uuid:718cea01-f375-444d-8c60-ffcd034889b8>\",\"WARC-IP-Address\":\"172.67.168.78\",\"WARC-Target-URI\":\"https://tutorialcup.com/leetcode-solutions/binary-tree-zigzag-level-order-traversal-leetcode-solution.htm\",\"WARC-Payload-Digest\":\"sha1:CE6LSQF2VG6UDSMHJ2ZXMXRULESSWBLX\",\"WARC-Block-Digest\":\"sha1:OJGIQOBAYPAN3BWGIEHTXIEMBHXFKHMS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100531.77_warc_CC-MAIN-20231204151108-20231204181108-00148.warc.gz\"}"} |
https://solvedlib.com/n/fiil-in-each-blank-s0-that-the-resulling-stalement-is-true,10719433 | [
"# FiIl In each blank s0 that the resulling stalement Is true.Consider (he following long division prablem.1OxBegin (he division process by\n\n###### Question:\n\nFiIl In each blank s0 that the resulling stalement Is true. Consider (he following long division prablem. 1Ox Begin (he division process by dividing In the dividend which oblalns_ Wrile Ihls result abovo Begin the division process by dividing which obtains Write this result above in the dividend:",
null,
"",
null,
"#### Similar Solved Questions\n\n##### . The most stable alkene is: Select one: a. 1-butene b. trans butenec. 2-methyl-2-butene d. cis butene\n. The most stable alkene is: Select one: a. 1-butene b. trans butenec. 2-methyl-2-butene d. cis butene...\n##### Usg random savala8; On 0 cormpukc _ +o estmate, Wth 7S7 20 nce range X1 -8x2+2X4 | Vqume { Xe RH -2x,+4x+5x72 4x+Sx-2x2 43 ~Sx; +2Xs < 0\nUsg random savala8; On 0 cormpukc _ +o estmate, Wth 7S7 20 nce range X1 -8x2+2X4 | Vqume { Xe RH -2x,+4x+5x72 4x+Sx-2x2 43 ~Sx; +2Xs < 0...\n##### TEICONOMEETRIC INTECRRALSEvaluate zach integral16.sin \" € @16.gic? 0 co8? 0 a91 .sec2 rtal € &\nTEICONOMEETRIC INTECRRALS Evaluate zach integral 16. sin \" € @ 16. gic? 0 co8? 0 a9 1 . sec2 rtal € &...\n##### [T] Find the minimum value of $N$ such that the remainder estimate $int_{N+1}^{infty} f<R_{N}<int_{N}^{infty} f$ guarantees that $sum_{n=1}^{N} a_{n}$ estimates $sum_{n=1}^{infty} a_{n}$, accurate to within the given error.$a_{n}=frac{1}{1+n^{2}}$, error $<10^{-3}$\n[T] Find the minimum value of $N$ such that the remainder estimate $int_{N+1}^{infty} f<R_{N}<int_{N}^{infty} f$ guarantees that $sum_{n=1}^{N} a_{n}$ estimates $sum_{n=1}^{infty} a_{n}$, accurate to within the given error.$a_{n}=frac{1}{1+n^{2}}$, error $<10^{-3}$...\n##### Question 2 On average; 2% of manufactured items from a factory are defective: The acccptance Or rejection ofa large batch fthe items is based on the following procedure: A random sample of 10 items is checked and the batch is accepted if the number of defective item is at most one, otherwise the batch is rejected.(a)Calculate the probability that the batch is accepted:.(6)Calculate the probability the batch has no defective item given that the batch is accepted.(c)A total of 35 batches is taken\nQuestion 2 On average; 2% of manufactured items from a factory are defective: The acccptance Or rejection ofa large batch fthe items is based on the following procedure: A random sample of 10 items is checked and the batch is accepted if the number of defective item is at most one, otherwise the bat...\n##### (4 points) Solve the initial value problem v' | 2v f(t), %(0) Where: ( 2 if 0 <t<1. f(t) if 1 < +\n(4 points) Solve the initial value problem v' | 2v f(t), %(0) Where: ( 2 if 0 <t<1. f(t) if 1 < +...\n##### Given millimeter-wave imaging system, with aperture diameter of 0.5 m; operating at wavelength of mm (300 GHz), what is the minimum feature size in the object that can be resolved;, if the object plane is at km distance?\nGiven millimeter-wave imaging system, with aperture diameter of 0.5 m; operating at wavelength of mm (300 GHz), what is the minimum feature size in the object that can be resolved;, if the object plane is at km distance?...\n##### Operating system 6) Banker's algorithm is used in deadlock avoidance, and the following table presents the...\noperating system 6) Banker's algorithm is used in deadlock avoidance, and the following table presents the current situation: hAvailable e Need Allocation 2 31vqas 5 2 3 1 10 PO 1 20 P1 2 0 1 4 20 P2 1 0 2 no0 1 1 to P3 43 1 3 3 2 P4 1 12 Questions: (1) is the current situation safe? (2) if ...\n##### (8) Lek Pax_Y be homeomorphism. ShJ thok Y fs {xdels} , BRe_ X fs indels} :\n(8) Lek Pax_Y be homeomorphism. ShJ thok Y fs {xdels} , BRe_ X fs indels} :...\n##### For the following exercises. use shells to lind the volumes of the given solids: Note that the rotated regions lie between the curve and the x-axis and are rotated around the y-axis\nFor the following exercises. use shells to lind the volumes of the given solids: Note that the rotated regions lie between the curve and the x-axis and are rotated around the y-axis...\n##### I need help with Part e. I have already constructed the histogram using R and Rstudio (picture below). I am just confused about the empirical rule and locating the data points on the intervals. If a...\nI need help with Part e. I have already constructed the histogram using R and Rstudio (picture below). I am just confused about the empirical rule and locating the data points on the intervals. If anyone could assist me, I'd appreciate it greatly! Thank you! e radon concentration (in pCi/liter)...\n##### The licorice plant, Glycyrrhiza glabra, grows in the wild in many Middle Eastern, European, and Western...\nThe licorice plant, Glycyrrhiza glabra, grows in the wild in many Middle Eastern, European, and Western Asian countries. The intensely sweet flavor of licorice root, which is thought to be about 150 times sweeter than table sugar, is due to the carbohydrate derivative, glycyrrhizic acid (1). How man...\n##### E E 10 00 8H1 8 2 J! 3Ez 0 a,b 0 0 2 8 H 3 2 1 = [ 5 7 { 1 1 ; [\nE E 10 00 8H1 8 2 J! 3 Ez 0 a,b 0 0 2 8 H 3 2 1 = [ 5 7 { 1 1 ; [...\n##### (Just need help with part F) File_size_(MB) Time_(sec) 77 31.1 93 35.1 85 35.3 94 35.7...\n(Just need help with part F) File_size_(MB) Time_(sec) 77 31.1 93 35.1 85 35.3 94 35.7 20 14.4 74 28.9 68 29.6 88 33.5 42 21.7 20 15.3 72 28.4 24 11.5 95 35.7 59 25.6 93 36.6 71 29.1 87 34.3 92 37.2 90 35.6 67 26.8 87 32.6 83 31.2 80 34.1 57 22.8 52 25.4 76 28.9 96 38.7 70 31.8 59 24.2 57 28.1 B...\n##### Discuss the importance of regular expressions in data analytics. Also, discuss the differences between the types...\nDiscuss the importance of regular expressions in data analytics. Also, discuss the differences between the types of regular expressions. Choose two types of regular expressions... For example: [brackets] (Matches the enclosed characters in any order anywhere in a string), and * wildcards (Matc...\n##### 15Find the solution set of the system of linear equations with the augmented matrix~3 52using the Gauss-Jordan elimnination method. (You must find the reduced row echelon form and determine the leadling variables and the free variables)\n15 Find the solution set of the system of linear equations with the augmented matrix ~3 52 using the Gauss-Jordan elimnination method. (You must find the reduced row echelon form and determine the leadling variables and the free variables)...\n##### Fistonboo*nmKrndovHelp02 [ *LeddanUreetol Cnloin (Goccmon attnn UmyorityCalgry)Cedn CClCNOTES W70 5 Booalc DoctFamelnCHEMAMenittFt19 CuckarHor; Atempt LQuestion 12 (0.25 points) Once you have the lotal numbor = molcs of H\" your lemcnace Fowdar sample und the number Moiee ascorb C acid in thu samplo you can determinc the moles citric acid in VouM tDsp sample.the total number mcles 0f Ht tDsp was 5900 mol and the number 0l moles of acorb C acid 0370 mol howmany males citric acid wcro this L\nFiston boo*nm Krndov Help 02 [ * Leddan Ureetol Cnloin (Goccmon attnn Umyority Calgry) Cedn C ClC NOTES W70 5 Booalc Doct Fameln CHEMAM enitt Ft 19 CuckarHor; Atempt L Question 12 (0.25 points) Once you have the lotal numbor = molcs of H\" your lemcnace Fowdar sample und the number Moiee ascor...\n##### Question 3 (30 marks)Derive the Ordinary Least Squares (OLS) estimate for the simple linear regression model, i.e- Bo and 81 Be very specific.\nQuestion 3 (30 marks) Derive the Ordinary Least Squares (OLS) estimate for the simple linear regression model, i.e- Bo and 81 Be very specific....\n##### An auto repair shop has room for two cars: but there is only Ole repairman_ There are two types of cars that come to the shop_ Type and Type 2 and they arrive as independent Poisson processes with rates A and 42_ car arrives and there is room in the shop then it enters. otherwise it goes to the shop across the street. Type carsneed service times that are expon(/l;). the shop; Type cars have priority over Type 2 cars_ In other words _ if both types are present in the shop_ then the repairman work\nAn auto repair shop has room for two cars: but there is only Ole repairman_ There are two types of cars that come to the shop_ Type and Type 2 and they arrive as independent Poisson processes with rates A and 42_ car arrives and there is room in the shop then it enters. otherwise it goes to the shop..."
] | [
null,
"https://cdn.numerade.com/ask_images/44ee3e7f66514ae6a259b60f675a6a66.jpg ",
null,
"https://cdn.numerade.com/previews/35a3ba2b-cd01-4e85-acf2-fb2883b19971_large.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8174657,"math_prob":0.97017294,"size":15884,"snap":"2023-14-2023-23","text_gpt3_token_len":4850,"char_repetition_ratio":0.096284635,"word_repetition_ratio":0.46300286,"special_character_ratio":0.3037648,"punctuation_ratio":0.15140133,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9687202,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-04T01:05:03Z\",\"WARC-Record-ID\":\"<urn:uuid:de91e867-917e-44e9-b97a-efc7a793fa4e>\",\"Content-Length\":\"87300\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:aa28ee46-131e-45f9-88d1-f0fe21ece116>\",\"WARC-Concurrent-To\":\"<urn:uuid:cc80d86c-1163-4ca2-b5db-b93a647b96d2>\",\"WARC-IP-Address\":\"172.67.132.66\",\"WARC-Target-URI\":\"https://solvedlib.com/n/fiil-in-each-blank-s0-that-the-resulling-stalement-is-true,10719433\",\"WARC-Payload-Digest\":\"sha1:OFH3E3YOOHR5VFNBJ52E7HDYN72PUXE5\",\"WARC-Block-Digest\":\"sha1:F3BK6ETYMVKPMY5BHHZXDVQQ4EMSFZDK\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224649348.41_warc_CC-MAIN-20230603233121-20230604023121-00046.warc.gz\"}"} |
https://proofwiki.org/wiki/Intersection_of_Power_Sets | [
"# Intersection of Power Sets\n\n## Theorem\n\nThe intersection of the power sets of two sets $S$ and $T$ is equal to the power set of their intersection:\n\n$\\powerset S \\cap \\powerset T = \\powerset {S \\cap T}$\n\n## Proof\n\n $\\displaystyle X$ $\\in$ $\\displaystyle \\powerset {S \\cap T}$ $\\displaystyle \\leadstoandfrom \\ \\$ $\\displaystyle X$ $\\subseteq$ $\\displaystyle S \\cap T$ Definition of Power Set $\\displaystyle \\leadstoandfrom \\ \\$ $\\displaystyle X$ $\\subseteq$ $\\displaystyle S \\land X \\subseteq T$ Definition of Set Intersection $\\displaystyle \\leadstoandfrom \\ \\$ $\\displaystyle X$ $\\in$ $\\displaystyle \\powerset S \\land X \\in \\powerset T$ Definition of Power Set $\\displaystyle \\leadstoandfrom \\ \\$ $\\displaystyle X$ $\\in$ $\\displaystyle \\powerset S \\cap \\powerset T$ Definition of Set Intersection\n\n$\\blacksquare$"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.703402,"math_prob":0.9996979,"size":1300,"snap":"2020-34-2020-40","text_gpt3_token_len":405,"char_repetition_ratio":0.22762346,"word_repetition_ratio":0.24064171,"special_character_ratio":0.3423077,"punctuation_ratio":0.17961165,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.999516,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-14T02:11:52Z\",\"WARC-Record-ID\":\"<urn:uuid:769d2cd0-e68a-4f53-bb7c-fc63d9e3aaf8>\",\"Content-Length\":\"36632\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:29766c90-235f-4ad7-8e86-bbb30f504dba>\",\"WARC-Concurrent-To\":\"<urn:uuid:6b9c40d7-18c0-4e21-b8f1-f1e4cd34a3f4>\",\"WARC-IP-Address\":\"104.27.169.113\",\"WARC-Target-URI\":\"https://proofwiki.org/wiki/Intersection_of_Power_Sets\",\"WARC-Payload-Digest\":\"sha1:DSAYTFRSBBPQCUYPLNXAAQOP2JS45K2F\",\"WARC-Block-Digest\":\"sha1:FPHD2SKGG5AH56KNGUYZL4X6EZA2HEI4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439739134.49_warc_CC-MAIN-20200814011517-20200814041517-00231.warc.gz\"}"} |
https://www.hepdata.net/search/?q=observables%3AASYM&author=Abazov%2C+Victor+Mukhamedovich | [
"Showing 25 of 43 results\n\n#### Measurement of the muon charge asymmetry in $p\\bar{p}$ $\\to$ W+X $\\to$ $\\mu$$\\nu$ + X events at $\\sqrt{s}$=1.96 TeV\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev. D88 (2013) 091102, 2013.\nInspire Record 1253555\n\nWe present a measurement of the muon charge asymmetry from the decay of the $W$ boson via W to mu nu using 7.3 fb^{-1} of integrated luminosity collected with the D0 detector at the Fermilab Tevatron Collider at sqrt{s} = 1.96 TeV. The muon charge asymmetry is presented in two kinematic regions in muon transverse momentum and event missing transverse energy: (p^{\\mu}_{T} > 25 GeV, \\met > 25 GeV) and (p^{\\mu}_{T} > 35 GeV, \\met > 35 GeV). The measured asymmetries are compared with theory predictions made using three parton distribution function sets. The predictions do not describe the data well for p^{\\mu}_{T} > 35 GeV, \\met > 35 GeV, and larger values of muon pseudorapidity.\n\n0 data tables match query\n\n#### Measurement of the forward-backward asymmetry in the distribution of leptons in $t\\bar{t}$ events in the lepton$+$jets channel\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev. D90 (2014) 072001, 2014.\nInspire Record 1283842\n0 data tables match query\n\n#### Measurement of the forward-backward asymmetry in top quark-antiquark production in ppbar collisions using the lepton+jets channel\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev. D90 (2014) 072011, 2014.\nInspire Record 1293918\n0 data tables match query\n\n#### Measurement of the electron charge asymmetry in $\\boldsymbol{p\\bar{p}\\rightarrow W+X \\rightarrow e\\nu +X}$ decays in $\\boldsymbol{p\\bar{p}}$ collisions at $\\boldsymbol{\\sqrt{s}=1.96}$ TeV\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev. D91 (2015) 032007, 2015.\nInspire Record 1333394\n\n<p>We present a measurement of the electron charge asymmetry in <inline-formula><mml:math display=\"inline\"><mml:mi>p</mml:mi><mml:mover accent=\"true\"><mml:mi>p</mml:mi><mml:mo accent=\"true\" stretchy=\"false\">¯</mml:mo></mml:mover><mml:mo stretchy=\"false\">→</mml:mo><mml:mi>W</mml:mi><mml:mo>+</mml:mo><mml:mi>X</mml:mi><mml:mo stretchy=\"false\">→</mml:mo><mml:mi>e</mml:mi><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mi>X</mml:mi></mml:math></inline-formula> events at a center-of-mass energy of 1.96 TeV, using data corresponding to <inline-formula><mml:math display=\"inline\"><mml:mrow><mml:mn>9.7</mml:mn><mml:mtext> </mml:mtext><mml:mtext> </mml:mtext><mml:msup><mml:mrow><mml:mi>fb</mml:mi></mml:mrow><mml:mrow><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> of integrated luminosity collected with the D0 detector at the Fermilab Tevatron Collider. The asymmetry is measured as a function of the electron pseudorapidity and is presented in five kinematic bins based on the electron transverse energy and the missing transverse energy in the event. The measured asymmetry is compared with next-to-leading-order predictions in perturbative quantum chromodynamics and provides accurate information for the determination of parton distribution functions of the proton. This is the most precise lepton charge asymmetry measurement to date.</p>\n\n0 data tables match query\n\n#### Measurement of the forward-backward asymmetry of $\\Lambda$ and $\\bar{\\Lambda}$ production in $p \\bar{p}$ collisions\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev. D93 (2016) 032002, 2016.\nInspire Record 1404885\n\nWe study $\\Lambda$ and $\\bar{\\Lambda}$ production asymmetries in $p \\bar{p} \\rightarrow \\Lambda (\\bar{\\Lambda}) X$, $p \\bar{p} \\rightarrow J/\\psi \\Lambda (\\bar{\\Lambda}) X$, and $p \\bar{p} \\rightarrow \\mu^\\pm \\Lambda (\\bar{\\Lambda}) X$ events recorded by the D0 detector at the Fermilab Tevatron collider at $\\sqrt{s} = 1.96$ TeV. We find an excess of $\\Lambda$'s ($\\bar{\\Lambda}$'s) produced in the proton (antiproton) direction. This forward-backward asymmetry is measured as a function of rapidity. We confirm that the $\\bar{\\Lambda}/\\Lambda$ production ratio, measured by several experiments with various targets and a wide range of energies, is a universal function of \"rapidity loss\", i.e., the rapidity difference of the beam proton and the lambda.\n\n0 data tables match query\n\n#### Measurement of the Forward-Backward Asymmetries in the Production of Ξ and Ω Baryons in $p\\overline{p}$ Collisions\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev. D93 (2016) 112001, 2016.\nInspire Record 1457606\n\nWe measure the forward-backward asymmetries AFB of charged Ξ and Ω baryons produced in pp¯ collisions recorded by the D0 detector at the Fermilab Tevatron collider at s=1.96 TeV as a function of the baryon rapidity y. We find that the asymmetries AFB for charged Ξ and Ω baryons are consistent with zero within statistical uncertainties.\n\n0 data tables match query\n\n#### Measurement of the W Boson Production Charge Asymmetry in $p\\bar{p}\\rightarrow W+X \\rightarrow e\\nu +X$ Events at $\\sqrt{s}=1.96$ TeV\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev.Lett. 112 (2014) 151803, 2014.\nInspire Record 1268647\n\n<p>We present a measurement of the <inline-formula><mml:math display=\"inline\"><mml:mi>W</mml:mi></mml:math></inline-formula> boson production charge asymmetry in <inline-formula><mml:math display=\"inline\"><mml:mrow><mml:mi>p</mml:mi><mml:mover accent=\"true\"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy=\"false\">¯</mml:mo></mml:mrow></mml:mover><mml:mo stretchy=\"false\">→</mml:mo><mml:mi>W</mml:mi><mml:mo>+</mml:mo><mml:mi>X</mml:mi><mml:mo stretchy=\"false\">→</mml:mo><mml:mi>e</mml:mi><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mi>X</mml:mi></mml:mrow></mml:math></inline-formula> events at a center of mass energy of 1.96 TeV, using <inline-formula><mml:math display=\"inline\"><mml:mrow><mml:mn>9.7</mml:mn><mml:mtext> </mml:mtext><mml:mtext> </mml:mtext><mml:msup><mml:mrow><mml:mi>fb</mml:mi></mml:mrow><mml:mrow><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> of integrated luminosity collected with the D0 detector at the Fermilab Tevatron Collider. The neutrino longitudinal momentum is determined by using a neutrino weighting method, and the asymmetry is measured as a function of the <inline-formula><mml:math display=\"inline\"><mml:mi>W</mml:mi></mml:math></inline-formula> boson rapidity. The measurement extends over wider electron pseudorapidity region than previous results and is the most precise to date, allowing for precise determination of proton parton distribution functions in global fits.</p>\n\n0 data tables match query\n\n#### Measurement of the forward-backward asymmetry in $Λ_b^0$ and $\\bar{Λ}_b^0$ baryon production in $p\\bar{p}$ collisions at $\\sqrt{s}$=1.96 TeV\n\nThe collaboration Abazov, Victor Mukhamedovich ; Abbott, Braden Keim ; Acharya, Bannanje Sripath ; et al.\nPhys.Rev. D91 (2015) 072008, 2015.\nInspire Record 1352125\n\nWe measure the forward-backward asymmetry in the production of Λb0 and Λ¯b0 baryons as a function of rapidity in pp¯ collisions at s=1.96 TeV using 10.4 fb-1 of data collected with the D0 detector at the Fermilab Tevatron collider. The asymmetry is determined by the preference of Λb0 or Λ¯b0 particles to be produced in the direction of the beam protons or antiprotons, respectively. The measured asymmetry integrated over rapidity y in the range 0.1<|y|<2.0 is A=0.04±0.07(stat)±0.02(syst).\n\n0 data tables match query\n\n#### Measurement of the forward-backward charge asymmetry and extraction of sin**2 Theta(W)(eff) in p anti-p ---> Z/gamma* + X ---> e+ e- + X events produced at s**(1/2) = 1.96$-TeV The collaboration Abazov, V.M. ; Abbott, B. ; Abolins, M. ; et al. Phys.Rev.Lett. 101 (2008) 191801, 2008. Inspire Record 783813 We present a measurement of the forward-backward charge asymmetry ($A_{FB}$) in$p\\bar{p} \\to Z/\\gamma^{*}+X \\to e^+e^-+X$events at a center-of-mass energy of 1.96 TeV using 1.1 fb$^{-1}$of data collected with the D0 detector at the Fermilab Tevatron collider.$A_{FB}$is measured as a function of the invariant mass of the electron-positron pair, and found to be consistent with the standard model prediction. We use the$A_{FB}$measurement to extract the effective weak mixing angle sin$^2\\Theta^{eff}_W = 0.2327 \\pm 0.0018 (stat.) \\pm 0.0006 (syst.)$. 0 data tables match query #### rivet Analysis Measurement of the electron charge asymmetry in$p \\bar{p} \\to W + X \\to e \\nu + X$events at$\\sqrt{s}$= 1.96-TeV The collaboration Abazov, V.M. ; Abbott, B. ; Abolins, M. ; et al. Phys.Rev.Lett. 101 (2008) 211801, 2008. Inspire Record 791230 We present a measurement of the electron charge asymmetry in ppbar->W+X->enu+X events at a center of mass energy of 1.96 TeV using 0.75 fb-1 of data collected with the D0 detector at the Fermilab Tevatron Collider. The asymmetry is measured as a function of the electron transverse momentum and pseudorapidity in the interval (-3.2, 3.2) and is compared with expectations from next-to-leading order calculations in perturbative quantum chromodynamics. These measurements will allow more accurate determinations of the proton parton distribution functions. 0 data tables match query #### Inclusive and differential measurements of the$t\\overline{t}$charge asymmetry in pp collisions at$\\sqrt{s} =$8 TeV The collaboration Khachatryan, Vardan ; Sirunyan, Albert M ; Tumasyan, Armen ; et al. Phys.Lett. B757 (2016) 154-179, 2016. Inspire Record 1382590 0 data tables match query #### Measurement of the charge asymmetry in top quark pair production in pp collisions at$\\sqrt(s) =$8 TeV using a template method The collaboration Khachatryan, Vardan ; Sirunyan, Albert M ; Tumasyan, Armen ; et al. Phys.Rev. D93 (2016) 034014, 2016. Inspire Record 1388178 0 data tables match query #### Forward–backward asymmetry of Drell–Yan lepton pairs in pp collisions at$\\sqrt{s} = 8\\,\\mathrm{TeV}$The collaboration Khachatryan, Vardan ; Sirunyan, Albert M ; Tumasyan, Armen ; et al. Eur.Phys.J. C76 (2016) 325, 2016. Inspire Record 1415949 A measurement of the forward–backward asymmetry${A}_{\\mathrm{FB}}$of oppositely charged lepton pairs ($\\mu \\mu $and$\\mathrm{e}\\mathrm{e}$) produced via$\\mathrm{Z}/\\gamma ^*$boson exchange in pp collisions at$\\sqrt{s} = 8\\,\\mathrm{TeV}$is presented. The data sample corresponds to an integrated luminosity of 19.7$\\,\\mathrm{fb}^{-1}$collected with the CMS detector at the LHC. The measurement of${A}_{\\mathrm{FB}}$is performed for dilepton masses between 40$\\,\\text {GeV}$and 2$\\,\\mathrm{TeV}$and for dilepton rapidity up to 5. The${A}_{\\mathrm{FB}}$measurements as a function of dilepton mass and rapidity are compared with the standard model predictions. 0 data tables match query #### rivet Analysis Measurement of the$W$charge asymmetry in the$W \\to \\mu \\nu$decay mode in$pp$collisions at$\\sqrt s=7$TeV with the ATLAS detector The collaboration Aad, Georges ; Abbott, Brad ; Abdallah, Jalal ; et al. Phys.Lett. B701 (2011) 31-49, 2011. Inspire Record 892704 This letter reports a measurement of the muon charge asymmetry from W Boson produced in proton-proton collisions at a centre-of-mass energy of 7 TeV with the ATLAS experiment at the LHC. The asymmetry is measured in the W Boson to muon decay mode as a function of the muon pseudorapidity using a data sample corresponding to a total integrated luminosity of 31 pb-1. The results are compared to predictions based on next-to-leading order calculations with various parton distribution functions. This measurement provides information on the u and d quark momentum fractions in the proton. 0 data tables match query #### Measurement of the electron charge asymmetry in inclusive$W$production in$pp$collisions at$\\sqrt{s}=7$TeV The collaboration Chatrchyan, Serguei ; Khachatryan, Vardan ; Sirunyan, Albert M ; et al. Phys.Rev.Lett. 109 (2012) 111806, 2012. Inspire Record 1118047 A measurement of the electron charge asymmetry in inclusive pp to W + X to e nu + X production at sqrt(s) = 7 TeV is presented based on data recorded by the CMS detector at the LHC and corresponding to an integrated luminosity of 840 inverse picobarns. The electron charge asymmetry reflects the unequal production of positive and negative W bosons in pp collisions. The electron charge asymmetry is measured in bins of absolute value of electron pseudorapidity in the range of abs(eta) < 2.4. The asymmetry rises from about 0.1 to 0.2 as a function of the pseudorapidity and is measured with a relative precision better than 7%. This measurement provides new stringent constraints for parton distribution functions. 0 data tables match query #### Measurement of the muon charge asymmetry in inclusive$pp \\to W+X$production at$\\sqrt s =$7 TeV and an improved determination of light parton distribution functions The collaboration Chatrchyan, Serguei ; Khachatryan, Vardan ; Sirunyan, Albert M ; et al. Phys.Rev. D90 (2014) 032004, 2014. Inspire Record 1273570 Measurements of the muon charge asymmetry in inclusive pp to WX production at sqrt(s) = 7 TeV are presented. The data sample corresponds to an integrated luminosity of 4.7 inverse femtobarns recorded with the CMS detector at the LHC. With a sample of more than twenty million W to mu nu events, the statistical precision is greatly improved in comparison to previous measurements. These new results provide additional constraints on the parton distribution functions of the proton in the range of the Bjorken scaling variable x from 10E-3 to 10E-1. These measurements and the recent CMS measurement of associated W + charm production are used together with the cross sections for inclusive deep inelastic ep scattering at HERA in a next-to-leading-order QCD analysis. The determination of the valence quark distributions is improved, and the strange-quark distribution is probed directly through the leading-order process g + s to W + c in proton-proton collisions at the LHC. 0 data tables match query #### Measurements of the$t\\bar{t}$charge asymmetry using the dilepton decay channel in pp collisions at$\\sqrt{s} =$7 TeV The collaboration Chatrchyan, Serguei ; Khachatryan, Vardan ; Sirunyan, Albert M ; et al. JHEP 1404 (2014) 191, 2014. Inspire Record 1281538 0 data tables match query #### rivet Analysis Forward-backward asymmetry of Drell-Yan lepton pairs in$pp$collisions at$\\sqrt{s} = 7$TeV The collaboration Chatrchyan, Serguei ; Khachatryan, Vardan ; Sirunyan, Albert M ; et al. Phys.Lett. B718 (2013) 752-772, 2013. Inspire Record 1122847 0 data tables match query #### rivet Analysis rivet Analysis rivet Analysis Measurement of the forward-backward asymmetry of electron and muon pair-production in$pp$collisions at$\\sqrt{s}$= 7 TeV with the ATLAS detector The collaboration Aad, Georges ; Abbott, Brad ; Abdallah, Jalal ; et al. JHEP 1509 (2015) 049, 2015. Inspire Record 1351916 This paper presents measurements from the ATLAS experiment of the forward-backward asymmetry in the reaction pp → Z/γ$^{*}$→ l$^{+}$l$^{−}$, with l being electrons or muons, and the extraction of the effective weak mixing angle. The results are based on the full set of data collected in 2011 in pp collisions at the LHC at$ \\sqrt{s}=7 $TeV, corresponding to an integrated luminosity of 4.8 fb$^{−1}$. The measured asymmetry values are found to be in agreement with the corresponding Standard Model predictions. The combination of the muon and electron channels yields a value of the effective weak mixing angle of sin$^{2}$θ$_{eff}^{lept}$= 0.2308 ± 0.0005(stat.) ± 0.0006(syst.) ± 0.0009(PDF), where the first uncertainty corresponds to data statistics, the second to systematic effects and the third to knowledge of the parton density functions. This result agrees with the current world average from the Particle Data Group fit. 0 data tables match query #### Measurement of the forward-backward asymmetry in$Z/\\gamma^{\\ast} \\rightarrow \\mu^{+}\\mu^{-}$decays and determination of the effective weak mixing angle The collaboration Aaij, Roel ; Adeva, Bernardo ; Adinolfi, Marco ; et al. JHEP 1511 (2015) 190, 2015. Inspire Record 1394859 The forward-backward charge asymmetry for the process$ q\\overline{q}\\to Z/{\\gamma}^{\\ast}\\to {\\mu}^{+}{\\mu}^{-} $is measured as a function of the invariant mass of the dimuon system. Measurements are performed using proton proton collision data collected with the LHCb detector at$ \\sqrt{s}=7 $and 8 TeV, corresponding to integrated luminosities of 1 fb$^{−1}$and 2 fb$^{−1}$respectively. Within the Standard Model the results constrain the effective electroweak mixing angle to be$ { \\sin}^2{\\theta}_{\\mathrm{W}}^{\\mathrm{eff}}=0.23142\\pm 0.00073\\pm 0.00052\\pm 0.00056, $where the first uncertainty is statistical, the second systematic and the third theoretical. This result is in agreement with the current world average, and is one of the most precise determinations at hadron colliders to date. 0 data tables match query #### Measurement of the charge asymmetry in top-quark pair production in the lepton-plus-jets final state in pp collision data at$\\sqrt{s}=8\\,\\mathrm TeV{}$with the ATLAS detector The collaboration Aad, Georges ; Abbott, Brad ; Abdallah, Jalal ; et al. Eur.Phys.J. C76 (2016) 87, 2016. Inspire Record 1392455 This paper reports inclusive and differential measurements of the$t\\bar{t}$charge asymmetry$A_{\\text {C}}$in$20.3~{\\mathrm{fb}^{-1}}$of$\\sqrt{s} = 8~\\mathrm TeV{}pp$collisions recorded by the ATLAS experiment at the Large Hadron Collider at CERN. Three differential measurements are performed as a function of the invariant mass, transverse momentum and longitudinal boost of the$t\\bar{t}$system. The$t\\bar{t}$pairs are selected in the single-lepton channels (e or$\\mu $) with at least four jets, and a likelihood fit is used to reconstruct the$t\\bar{t}$event kinematics. A Bayesian unfolding procedure is performed to infer the asymmetry at parton level from the observed data distribution. The inclusive$t\\bar{t}$charge asymmetry is measured to be$A_{\\text {C}}{} = 0.009 \\pm 0.005$(stat.$+$syst.). The inclusive and differential measurements are compatible with the values predicted by the Standard Model. 0 data tables match query #### Measurement of the charge asymmetry in highly boosted top-quark pair production in$\\sqrt{s} =$8 TeV$pp$collision data collected by the ATLAS experiment The collaboration Aad, Georges ; Abbott, Brad ; Abdallah, Jalal ; et al. Phys.Lett. B756 (2016) 52-71, 2016. Inspire Record 1410588 In the pp→tt¯ process the angular distributions of top and anti-top quarks are expected to present a subtle difference, which could be enhanced by processes not included in the Standard Model. This Letter presents a measurement of the charge asymmetry in events where the top-quark pair is produced with a large invariant mass. The analysis is performed on 20.3 fb −1 of pp collision data at s=8TeV collected by the ATLAS experiment at the LHC, using reconstruction techniques specifically designed for the decay topology of highly boosted top quarks. The charge asymmetry in a fiducial region with large invariant mass of the top-quark pair ( mtt¯>0.75 TeV ) and an absolute rapidity difference of the top and anti-top quark candidates within −2<|yt|−|yt¯|<2 is measured to be 4.2±3.2% , in agreement with the Standard Model prediction at next-to-leading order. A differential measurement in three tt¯ mass bins is also presented. 0 data tables match query #### Measurement of the$\\Lambda_b$polarization and angular parameters in$\\Lambda_b\\to J/\\psi\\, \\Lambda$decays from pp collisions at$\\sqrt{s}=$7 and 8 TeV The collaboration Sirunyan, Albert M ; Tumasyan, Armen ; Adam, Wolfgang ; et al. Phys.Rev. D97 (2018) 072010, 2018. Inspire Record 1654926 An analysis of the bottom baryon decay Λb→J/ψ(→μ+μ-)Λ(→pπ-) is performed to measure the Λb polarization and three angular parameters in data from pp collisions at s=7 and 8 TeV, collected by the CMS experiment at the Large Hadron Collider. The Λb polarization is measured to be 0.00±0.06(stat)±0.06(syst) and the parity-violating asymmetry parameter is determined to be 0.14±0.14(stat)±0.10(syst). The measurements are compared to various theoretical predictions, including those from perturbative quantum chromodynamics. 0 data tables match query #### Study of the production of$\\Lambda_b^0$and$\\overline{B}^0$hadrons in$pp$collisions and first measurement of the$\\Lambda_b^0\\rightarrow J/\\psi pK^-$branching fraction The collaboration Aaij, R. ; Adeva, Bernardo ; Adinolfi, Marco ; et al. Chin.Phys. C40 (2016) 011001, 2016. Inspire Record 1391317 The product of the differential production cross-section and the branching fraction of the decay is measured as a function of the beauty hadron transverse momentum, p(T), and rapidity, y. The kinematic region of the measurements is p(T) < 20 GeV/c and 2.0 < y < 4.5. The measurements use a data sample corresponding to an integrated luminosity of 3fb(−)(1) collected by the LHCb detector in pp collisions at centre-of-mass energies in 2011 and in 2012. Based on previous LHCb results of the fragmentation fraction ratio the branching fraction of the decay is measured to bewhere the first uncertainty is statistical, the second is systematic, the third is due to the uncertainty on the branching fraction of the decay B̅(0) → J/ψK̅*(892)(0), and the fourth is due to the knowledge of . The sum of the asymmetries in the production and decay between and is also measured as a function of p(T) and y. The previously published branching fraction of , relative to that of , is updated. The branching fractions of are determined. 0 data tables match query #### Measurement of$D_s^{\\pm}$production asymmetry in$pp$collisions at$\\sqrt{s} =7$and 8 TeV The collaboration Aaij, Roel ; Adeva, Bernardo ; Adinolfi, Marco ; et al. JHEP 1808 (2018) 008, 2018. Inspire Record 1674916 The inclusive D$_{s}^{±}$production asymmetry is measured in pp collisions collected by the LHCb experiment at centre-of-mass energies of$ \\sqrt{s}=7 $and 8 TeV. Promptly produced D$_{s}^{±}$mesons are used, which decay as D$_{s}^{±}$→ ϕπ$^{±}$, with ϕ → K$^{+}$K$^{−}$. The measurement is performed in bins of transverse momentum, p$_{T}$, and rapidity, y, covering the range 2.5 < p$_{T}$< 25.0 GeV/c and 2.0 < y < 4.5. No kinematic dependence is observed. Evidence of nonzero D$_{s}^{±}\\$ production asymmetry is found with a significance of 3.3 standard deviations.\n\n0 data tables match query"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7596163,"math_prob":0.9515855,"size":14980,"snap":"2020-34-2020-40","text_gpt3_token_len":4115,"char_repetition_ratio":0.16700053,"word_repetition_ratio":0.1232023,"special_character_ratio":0.2528705,"punctuation_ratio":0.108052306,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98585755,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-07T21:49:09Z\",\"WARC-Record-ID\":\"<urn:uuid:f7c66321-515f-4f66-a7a8-9b71aa603a10>\",\"Content-Length\":\"167886\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ea025fa6-355e-470e-9440-4a6fb7cc8c08>\",\"WARC-Concurrent-To\":\"<urn:uuid:1f381c19-999e-45d6-ad17-0961a3853f2f>\",\"WARC-IP-Address\":\"188.184.99.23\",\"WARC-Target-URI\":\"https://www.hepdata.net/search/?q=observables%3AASYM&author=Abazov%2C+Victor+Mukhamedovich\",\"WARC-Payload-Digest\":\"sha1:2HL76PKAZ6OJMAGKGJKKNTYL2T75JFAE\",\"WARC-Block-Digest\":\"sha1:4M7YTY7REU3RKS2MHP4RZHG44NNPLUPD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439737225.57_warc_CC-MAIN-20200807202502-20200807232502-00484.warc.gz\"}"} |
https://math.stackexchange.com/questions/263583/counting-no-of-ways-to-make-a-necklace | [
"Counting no. of ways to make a necklace\n\nClaudia wants to use 8 indistinguishable red beads and 32 indistinguishable blue beads to make a necklace such that there are at least 2 blue beads between any red beads. In how many ways can she do this? This is one of the unsolved problem in the book 'A Path to Combinatorics for Undergraduates' by Titu Andreescu and Zuming Feng. My approach: Denote blue by b, red by r. Then we create elements of the form 'brb'(8 elements), and 16'b's. We place the 16 'b's arounds a circle with a space in between them and we choose from those 16 available places 8 for the 'brb' and divide the whole be 2 to account for rotational symmetry.\n\nI am not sure whether I am fully accounting for the rotational symmetry and the fact that the beads are indistinguishable. Not Homework. Trying to learn. Thank you.\n\n• Look up Polyá Counting or Burnsides Lemma. – utdiscant Dec 22 '12 at 7:11\n• Okay I will but I was looking for something simple. I am only in high school. – Noel Dec 22 '12 at 13:32\n• Sorry - irrelevant - but I laughed a little. The book's called \"A Path to Combinatorics for Undergraduates,\" it's natural that you'll receive undergraduate tools here, regardless of what level of schooling you're actually at. :) – Gyu Eun Lee Dec 22 '12 at 23:31\n\nThis problem can indeed be solved by Polya counting. First place the eight red beads along a circle, leaving some kind of space between them for the blue beads. Now place two blue beads between each adjacent pair of red beads as well as an empty slot that will be filled later. That leaves $32-2*8 = 16$ blue beads. Now the empty slots may be filled by any number of blue beads as long as there are $16$ blue beads in total. This means that the blue beads going into the eight slots have generating function $$f(z) = \\frac{1}{1-z}.$$ What we have in fact is that the generating function is $$g(z) = 1 + z + z^2 + z^3 + \\cdots z^{15} + z^{16}$$ but we shall see that we can use $f(z)$ in place of $g(z)$ with no overcounting.\nNow the eight slots are being permuted by $C_8$, the cylic group of order $8.$ The cycle index of the cyclic group $C_n$ is $$Z(C_n) = \\frac{1}{n} \\sum_{d|n} \\varphi(d) a_d^{n/d}$$ so that $Z(C_8)$ is $$Z(C_8) = \\frac{1}{8} \\left(a_1^8 + a_2^4 + 2 a_4^2 + 4 a_8 \\right).$$ It follows that the number of orbits or necklace configurations is given by $$[z^{16}] Z(C_8)_{a_1=f(z); a_2=f(z^2); a_4=f(z^4); a_8=f(z^8)}$$ which is $$[z^{16}] \\frac{1}{8} \\left(\\frac{1}{(1-z)^8} + \\frac{1}{(1-z^2)^4} + 2 \\frac{1}{(1-z^4)^2} + 4 \\frac{1}{(1-z^8)} \\right).$$ Finally recall that $$[z^n] \\frac{1}{(1-z)^q} = \\binom{n+q-1}{q-1}$$ so that the value of the coefficient of $z^{16}$ is $$\\frac{1}{8} \\left( \\binom{16+7}{7} +\\binom{8+3}{3} +2\\binom{4+1}{1} +4\\binom{2+0}{0}\\right) = 30667.$$ In the case where instead of the cyclic group $C_n$ the dihedral group $D_n$ is acting on the slots on the necklace (i.e., the symmetry includes reflections) the cycle index is given by $$Z(D_n) = \\frac{1}{2} Z(C_n) + \\frac{1}{4} \\left( a_1^2 a_2^{(n-2)/2} + a_2^{n/2}\\right)$$ so that the answer becomes $$\\frac{1}{2} 30667 + \\frac{1}{4} [z^{16}] \\left( \\frac{1}{(1-z)^2}\\frac{1}{(1-z^2)^3} + \\frac{1}{(1-z^2)^4}\\right) = 15581.$$"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.92201686,"math_prob":0.9996542,"size":795,"snap":"2019-26-2019-30","text_gpt3_token_len":199,"char_repetition_ratio":0.11378002,"word_repetition_ratio":0.0,"special_character_ratio":0.22893082,"punctuation_ratio":0.08176101,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9998035,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-06-20T19:53:56Z\",\"WARC-Record-ID\":\"<urn:uuid:eb7e0aa7-a123-4ffd-b4cd-665b46a1a937>\",\"Content-Length\":\"144829\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4a36329a-5e9e-44e0-b033-62f1f33fd1ed>\",\"WARC-Concurrent-To\":\"<urn:uuid:c5afc007-b695-441b-9035-1fe72b336af6>\",\"WARC-IP-Address\":\"151.101.65.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/263583/counting-no-of-ways-to-make-a-necklace\",\"WARC-Payload-Digest\":\"sha1:FXPGYCP7K24PXM2KYWDZL2CCDQU2NAS4\",\"WARC-Block-Digest\":\"sha1:SDFCKFGSNVH5U6EUWIFID2NP2F5BDFNB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-26/CC-MAIN-2019-26_segments_1560627999273.24_warc_CC-MAIN-20190620190041-20190620212041-00361.warc.gz\"}"} |
https://www.colorhexa.com/242a27 | [
"# #242a27 Color Information\n\nIn a RGB color space, hex #242a27 is composed of 14.1% red, 16.5% green and 15.3% blue. Whereas in a CMYK color space, it is composed of 14.3% cyan, 0% magenta, 7.1% yellow and 83.5% black. It has a hue angle of 150 degrees, a saturation of 7.7% and a lightness of 15.3%. #242a27 color hex could be obtained by blending #48544e with #000000. Closest websafe color is: #333333.\n\n• R 14\n• G 16\n• B 15\nRGB color chart\n• C 14\n• M 0\n• Y 7\n• K 84\nCMYK color chart\n\n#242a27 color description : Very dark (mostly black) cyan - lime green.\n\n# #242a27 Color Conversion\n\nThe hexadecimal color #242a27 has RGB values of R:36, G:42, B:39 and CMYK values of C:0.14, M:0, Y:0.07, K:0.84. Its decimal value is 2370087.\n\nHex triplet RGB Decimal 242a27 `#242a27` 36, 42, 39 `rgb(36,42,39)` 14.1, 16.5, 15.3 `rgb(14.1%,16.5%,15.3%)` 14, 0, 7, 84 150°, 7.7, 15.3 `hsl(150,7.7%,15.3%)` 150°, 14.3, 16.5 333333 `#333333`\nCIE-LAB 16.392, -3.41, 1.06 1.922, 2.177, 2.238 0.303, 0.344, 2.177 16.392, 3.571, 162.727 16.392, -2.497, 1.318 14.756, -2.578, 1.336 00100100, 00101010, 00100111\n\n# Color Schemes with #242a27\n\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #2a2427\n``#2a2427` `rgb(42,36,39)``\nComplementary Color\n• #242a24\n``#242a24` `rgb(36,42,36)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #242a2a\n``#242a2a` `rgb(36,42,42)``\nAnalogous Color\n• #2a2424\n``#2a2424` `rgb(42,36,36)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #2a242a\n``#2a242a` `rgb(42,36,42)``\nSplit Complementary Color\n• #2a2724\n``#2a2724` `rgb(42,39,36)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #27242a\n``#27242a` `rgb(39,36,42)``\n• #272a24\n``#272a24` `rgb(39,42,36)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #27242a\n``#27242a` `rgb(39,36,42)``\n• #2a2427\n``#2a2427` `rgb(42,36,39)``\n• #010101\n``#010101` `rgb(1,1,1)``\n• #0c0f0e\n``#0c0f0e` `rgb(12,15,14)``\n• #181c1a\n``#181c1a` `rgb(24,28,26)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #303834\n``#303834` `rgb(48,56,52)``\n• #3c4541\n``#3c4541` `rgb(60,69,65)``\n• #47534d\n``#47534d` `rgb(71,83,77)``\nMonochromatic Color\n\n# Alternatives to #242a27\n\nBelow, you can see some colors close to #242a27. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.\n\n• #242a26\n``#242a26` `rgb(36,42,38)``\n• #242a26\n``#242a26` `rgb(36,42,38)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #242a28\n``#242a28` `rgb(36,42,40)``\n• #242a28\n``#242a28` `rgb(36,42,40)``\n• #242a29\n``#242a29` `rgb(36,42,41)``\nSimilar Colors\n\n# #242a27 Preview\n\nThis text has a font color of #242a27.\n\n``<span style=\"color:#242a27;\">Text here</span>``\n#242a27 background color\n\nThis paragraph has a background color of #242a27.\n\n``<p style=\"background-color:#242a27;\">Content here</p>``\n#242a27 border color\n\nThis element has a border color of #242a27.\n\n``<div style=\"border:1px solid #242a27;\">Content here</div>``\nCSS codes\n``.text {color:#242a27;}``\n``.background {background-color:#242a27;}``\n``.border {border:1px solid #242a27;}``\n\n# Shades and Tints of #242a27\n\nA shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #090a0a is the darkest color, while #ffffff is the lightest one.\n\n• #090a0a\n``#090a0a` `rgb(9,10,10)``\n• #121513\n``#121513` `rgb(18,21,19)``\n• #1b1f1d\n``#1b1f1d` `rgb(27,31,29)``\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #2d3531\n``#2d3531` `rgb(45,53,49)``\n• #363f3b\n``#363f3b` `rgb(54,63,59)``\n• #3f4a44\n``#3f4a44` `rgb(63,74,68)``\n• #48544e\n``#48544e` `rgb(72,84,78)``\n• #515f58\n``#515f58` `rgb(81,95,88)``\n• #5a6962\n``#5a6962` `rgb(90,105,98)``\n• #63746c\n``#63746c` `rgb(99,116,108)``\n• #6c7e75\n``#6c7e75` `rgb(108,126,117)``\n• #75897f\n``#75897f` `rgb(117,137,127)``\n• #809289\n``#809289` `rgb(128,146,137)``\n• #8b9b93\n``#8b9b93` `rgb(139,155,147)``\n• #95a49d\n``#95a49d` `rgb(149,164,157)``\n``#a0ada7` `rgb(160,173,167)``\n• #aab6b0\n``#aab6b0` `rgb(170,182,176)``\n• #b5bfba\n``#b5bfba` `rgb(181,191,186)``\n• #bfc8c4\n``#bfc8c4` `rgb(191,200,196)``\n``#cad2ce` `rgb(202,210,206)``\n• #d5dbd8\n``#d5dbd8` `rgb(213,219,216)``\n• #dfe4e1\n``#dfe4e1` `rgb(223,228,225)``\n• #eaedeb\n``#eaedeb` `rgb(234,237,235)``\n• #f4f6f5\n``#f4f6f5` `rgb(244,246,245)``\n• #ffffff\n``#ffffff` `rgb(255,255,255)``\nTint Color Variation\n\n# Tones of #242a27\n\nA tone is produced by adding gray to any pure hue. In this case, #242a27 is the less saturated color, while #004e27 is the most saturated one.\n\n• #242a27\n``#242a27` `rgb(36,42,39)``\n• #212d27\n``#212d27` `rgb(33,45,39)``\n• #1e3027\n``#1e3027` `rgb(30,48,39)``\n• #1b3327\n``#1b3327` `rgb(27,51,39)``\n• #183627\n``#183627` `rgb(24,54,39)``\n• #153927\n``#153927` `rgb(21,57,39)``\n• #123c27\n``#123c27` `rgb(18,60,39)``\n• #0f3f27\n``#0f3f27` `rgb(15,63,39)``\n• #0c4227\n``#0c4227` `rgb(12,66,39)``\n• #094527\n``#094527` `rgb(9,69,39)``\n• #064827\n``#064827` `rgb(6,72,39)``\n• #034b27\n``#034b27` `rgb(3,75,39)``\n• #004e27\n``#004e27` `rgb(0,78,39)``\nTone Color Variation\n\n# Color Blindness Simulator\n\nBelow, you can see how #242a27 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.\n\nMonochromacy\n• Achromatopsia 0.005% of the population\n• Atypical Achromatopsia 0.001% of the population\nDichromacy\n• Protanopia 1% of men\n• Deuteranopia 1% of men\n• Tritanopia 0.001% of the population\nTrichromacy\n• Protanomaly 1% of men, 0.01% of women\n• Deuteranomaly 6% of men, 0.4% of women\n• Tritanomaly 0.01% of the population"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.52884483,"math_prob":0.7148318,"size":3686,"snap":"2023-14-2023-23","text_gpt3_token_len":1662,"char_repetition_ratio":0.13986963,"word_repetition_ratio":0.010989011,"special_character_ratio":0.56294084,"punctuation_ratio":0.23444444,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99190354,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-03-28T16:05:00Z\",\"WARC-Record-ID\":\"<urn:uuid:47098c26-427b-4a15-9b3c-bad38ec3c8a6>\",\"Content-Length\":\"36115\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:164f152e-90c7-4b75-8367-d473f6c47732>\",\"WARC-Concurrent-To\":\"<urn:uuid:a9578878-9762-4cde-8e53-24f0e05c704e>\",\"WARC-IP-Address\":\"178.32.117.56\",\"WARC-Target-URI\":\"https://www.colorhexa.com/242a27\",\"WARC-Payload-Digest\":\"sha1:H5JLPOMZQ5QWCJGNWR7XRY4277YVIXUN\",\"WARC-Block-Digest\":\"sha1:4TZPTIXIGIM56CKRKZIT4JTIX773TDGC\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296948867.32_warc_CC-MAIN-20230328135732-20230328165732-00048.warc.gz\"}"} |
https://deepai.org/publication/diagnosing-bottlenecks-in-deep-q-learning-algorithms | [
"",
null,
"# Diagnosing Bottlenecks in Deep Q-learning Algorithms\n\nQ-learning methods represent a commonly used class of algorithms in reinforcement learning: they are generally efficient and simple, and can be combined readily with function approximators for deep reinforcement learning (RL). However, the behavior of Q-learning methods with function approximation is poorly understood, both theoretically and empirically. In this work, we aim to experimentally investigate potential issues in Q-learning, by means of a \"unit testing\" framework where we can utilize oracles to disentangle sources of error. Specifically, we investigate questions related to function approximation, sampling error and nonstationarity, and where available, verify if trends found in oracle settings hold true with modern deep RL methods. We find that large neural network architectures have many benefits with regards to learning stability; offer several practical compensations for overfitting; and develop a novel sampling method based on explicitly compensating for function approximation error that yields fair improvement on high-dimensional continuous control domains.\n\n## Authors\n\n##### This week in AI\n\nGet the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.\n\n## 1 Introduction\n\nQ-learning algorithms, which are based on approximating state-action value functions, are an efficient and commonly used class of RL methods. In recent years, such methods have been applied to great effect in domains such as playing video games from raw pixels (Mnih et al., 2015) and continuous control in robotics (Kalashnikov et al., 2018)\n\n. Methods based on approximate dynamic programming and Q-function estimation have several very appealing properties: they are generally moderately sample-efficient, when compared to policy gradient methods, they are simple to use, and they allow for off-policy learning. This makes them an appealing choice for a wide range of tasks, from robotic control\n\n(Kalashnikov et al., 2018) to off-policy learning from historical data for recommender (Shani et al., 2005) systems and other applications. However, although the basic tabular Q-learning algorithm is convergent and admits theoretical analysis (Sutton & Barto, 2018), its non-linear counterpart with function approximation (such as with deep neural networks) is poorly understood theoretically. In this paper, we aim to investigate the degree to which the theoretical issues with Q-learning actually manifest in practice. Thus, we empirically analyze aspects of the Q-learning method in a unit testing framework, where we can employ oracle solvers to obtain ground truth Q-functions and distributions for exact analysis. We investigate the following questions:\n\n1) What is the effect of function approximation on convergence? Most practical reinforcement learning problems, such as robotic control, require function approximation to handle large or continuous state spaces. However, the behavior of Q-learning methods under function approximation is not well understood. There are known counterexamples where the method diverges (Baird, 1995), and there are no known convergence guarantees (Sutton & Barto, 2018). To investigate these problems, we study the convergence behavior of Q-learning methods with function approximation, parametrically varying the function approximator power and analyzing the quality of the solution as compared to the optimal Q-function and the optimal projected Q-function under that function approximator. We find, somewhat surprisingly, that function approximation error is not a major problem in Q-learning algorithms, but only when the representational capacity of the function approximator is high. This makes sense in light of the theory: a high-capacity function approximator can perform a nearly perfect projection of the backed up Q-function, thus mitigating potentially convergence issues due to an imperfect norm projection. We also find that divergence rarely occurs, for example, we observed divergence in only 0.9% of our experiments. We discuss this further in Section 4.\n\n2) What is the effect of sampling error and overfitting? Q-learning is used to solve problems where we do not have access to the transition function of the MDP. Thus, Q-learning methods need to learn by collecting samples in the environment, and training on these samples incurs sampling error, potentially leading to overfitting. This causes errors in the computation of the Bellman backup, which degrades the quality of the solution. We experimentally show that overfitting exists in practice by performing ablation studies on the number of gradient steps, and by demonstrating that oracle based early stopping techniques can be used to improve performance of Q-learning algorithms. (Section 5). Thus, in our experiments we quantify the amount of overfitting which happens in practice, incorporating a variety of metrics, an performing a number of ablations and investigate methods to mitigate its effects.\n\n3) What is the effect of distribution shift and a moving target? The standard formulation of Q-learning prescribes an update rule, with no corresponding objective function (Sutton et al., 2009a). This results in a process which optimizes an objective that is non-stationary in two ways: the target values are updated during training, and the distribution under which the Bellman error is optimized changes, as samples are drawn from different policies. We refer to these problems as the moving target and distribution shift problems, respectively. These properties can make convergence behavior difficult to understand, and prior works have hypothesized that nonstationarity is a source of instability (Mnih et al., 2015; Lillicrap et al., 2015). In our experiments, we develop metrics to quantify the amount of distribution shift and performance change due to non-stationary targets. Surprisingly, we find that in a controlled experiment, distributional shift and non-stationary targets do not in fact correlate with reduction in performance. In fact, sampling strategies with large distributional shift often perform very well.\n\n4) What is the best sampling or weighting distribution? Deeply tied to the distribution shift problem is the choice of which distribution to sample from. Do moving distributions cause instability, as Q-values trained on one distribution are evaluated under another in subsequent iterations? Researchers have often noted that on-policy samples are typically superior to off-policy samples (Sutton & Barto, 2018), and there are several theoretical results that highlight favorable convergence properties under on-policy samples. However, there is little theoretical guidance on how to pick distributions so as to maximize learning rate. To this end, we investigate several choices for the sampling distribution. Surprisingly, we find that on-policy training distributions are not always preferable, and that a clear pattern in performance with respect to training distribution is that broader, higher-entropy distributions perform better, regardless of distributional shift. Motivated by our findings, we propose a novel weighting distribution, adversarial feature matching (AFM), which is explicitly compensates for function approximator error, while still producing high-entropy sampling distributions.\n\nOur contributions are as follows: We introduce a unit testing framework for Q-learning to disentangle issues related to function approximation, sampling, and distributional shift where approximate components are replaced by oracles. This allows for controlled analysis of different sources of error. We perform a detailed experimental analysis of many hypothesized sources of instability, error, and slow training in Q-learning algorithms on tabular domains, and show that many of these trends hold true in high dimensional domains. We propose novel choices of sampling distributions which lead to improved performance even on high-dimensional tasks. Our overall aim is to offer practical guidance for designing RL algorithms, as well as to identify important issues to solve in future research.\n\n## 2 Preliminaries\n\nQ-learning algorithms aim to solve a Markov decision process (MDP) by learning the optimal state-action value function, or Q-function. We define an MDP as a tuple\n\n. represent the state and action spaces, respectively. and represent the dynamics (transition distribution) and reward function, and represents the discount factor. The goal in RL is to find a policy that maximizes the expected cumulative discounted rewards, known as the returns:\n\n π∗=argmaxπ Est+1∼T(⋅|st,at),at∼π(⋅|st)[∞∑t=0γtR(st,at)]\n\nThe quantity of interest in Q-learning methods are state-action value functions, which give the expected future return starting from a particular state-action tuple, denoted . The state value function can also be denoted as . Q-learning algorithms are based on iterating the Bellman backup operator , defined as\n\n (TQ)(s,a)=R(s,a)+γEs′∼T[V(s′)]\n V(s)=maxa′Q(s,a′)\n\nThe (tabular) Q-iteration algorithm is a dynamic programming algorithm that iterates the Bellman backup . Because the Bellman backup is a -contraction in the L- norm, and (the Q-values of ) is its fixed point, Q-iteration can be shown to converge to (Sutton & Barto, 2018). A deterministic optimal policy can then be obtained as .\n\nWhen state spaces cannot be enumerated in a tabular format, function approximators can be used to represent the Q-values. An important class of such Q-learning methods are fitted Q-iteration (FQI) (Ernst et al., 2005), or approximate dynamic programming (ADP) methods, which form the basis of modern deep RL methods such as DQN (Mnih et al., 2015). FQI projects the values of the Bellman backup onto a family of Q-function approximators :\n\n Qt+1←Πμ(TQt).\n\nHere, denotes a -weighted L2 projection, which minimizes the Bellman error\n\n Πμ(Q)\\makebox[0.0pt]\\tiny def=argminQ′∈Q Es,a∼μ[(Q′(s,a)−Q(s,a))2]. (1)\n\nThe values produced by the Bellman backup, are commonly referred to as target values, and when neural networks are used for function approximation, the previous Q-function is referred to as the target network. In this work, we distinguish between the cases when the Bellman error is estimated with Monte-Carlo sampling or computed exactly (see Section 3.1). The sampled variant corresponds to FQI as described in the literature (Ernst et al., 2005; Riedmiller, 2005), while the exact variant is analogous to conventional ADP (Bertsekas & Tsitsiklis, 1996).\n\nConvergence guarantees for Q-iteration do not cleanly translate to FQI. is an projection, but is a contraction in the norm – this norm mistmatch means the composition of the backup and projection is no longer guaranteed to be a contraction under any norm (Bertsekas & Tsitsiklis, 1996), and hence the convergence is not guaranteed.\n\nA related branch of Q-learning methods are online Q-learning methods, in which Q-values are updated while samples are being collected in the MDP. This includes classic algorithms such as Watkin’s Q-learning (Watkins & Dayan, 1992). Online Q-learning methods can be viewed as a form of stochastic approximation (such as Robbins-Monro) applied to Q-iteration and FQI (Bertsekas & Tsitsiklis, 1996), and share many of its theoretical properties (Szepesvári, 1998). Modern deep RL algorithms such as DQN (Mnih et al., 2015) have characteristics of both online Q-learning and FQI – using replay buffers means the sampling distribution changes very little between target updates (see Section 6.3), and target networks are justified from the viewpoint of FQI. Because FQI corresponds to the case when the sampling distribution is static between target updates, the behavior of modern deep RL methods more closely resembles FQI than a true online method without target networks.\n\n## 3 Experimental Setup\n\nOur experimental setup is centered around unit-testing. We first introduce a spectrum of Q-learning algorithms, starting with exact approximate dynamic programming and gradually replacing oracle components, such as knowledge of dynamics, until the algorithm resembles modern deep Q-learning methods. We then introduce a suite of tabular environments where oracle solutions can be computed and compared against, to aid in diagnosis, as well as testing in high-dimensional environments to verify our hypotheses.\n\nIn order to provide consistent metrics across domains, we normalize returns and errors involving Q-functions (such as Bellman error) by the returns of the expert policy on each environment.\n\n### 3.1 Algorithms\n\nIn the analysis presented in Section 4, 5, 6 and 7, we will use three different Q-learning variants, each of which remove some of the approximations in the standard Q-learning method used in the literature – Exact-FQI, Sampling-FQI, and Replay-FQI. Although FQI is not exactly identical to commonly used deep RL methods, such as DQN (Mnih et al., 2015), DDPG (Lillicrap et al., 2015), and SAC (Haarnoja et al., 2017), it is structurally similar and, when the replay buffer for the commonly used methods becomes large, the difference becomes negligible, since the sampling distribution changes very little between target network updates. However, FQI methods are much more amenable for controlled analysis, since we can separately isolate target values, update rates, and the number of samples used for each iteration. We therefore use variants of FQI as the basis for our analysis, but we also confirm that similar trends hold with more commonly used algorithms on standard benchmark problems.\n\nExact-FQI (Algorithm 1): Exact-FQI computes the backup and projection on all state-action tuples without any sampling error. It also assumes knowledge of dynamics and reward function to compute Bellman backups exactly. We use Exact-FQI to study convergence, distribution shift (by varying weighting distributions on transitions), and function approximation in the absence of sampling error. Exact-FQI eliminates errors due to sampling states, and computing inexact, sampled backups.\n\nSampled-FQI (Algorithm 2): Sampled-FQI is a special case of Exact-FQI, where the Bellman error is approximated with Monte-Carlo estimates from a sampling distribution , and the Bellman backup is approximated with samples from the dynamics as . We use Sampled-FQI to study effects of overfitting. Sampled-FQI incorporates all sources of error – arising from function approximation, sampling and also distribution shift.\n\nReplay-FQI (Algorithm 3): Replay-FQI is a special case of Sampled-FQI that uses a replay buffer (Lin, 1992), that saves past transition samples , which are used for computing Bellman error. Replay-FQI strongle resembles DQN (Mnih et al., 2015), lacking the online updates that allow to change within an FQI iteration. With large replay buffers, we expect the difference between Replay-FQI and DQN to be minimal as changes slowly.\n\nWe additionally investigate the following choices of weighting distributions () for the Bellman error. When sampling the Bellman error, these can be implemented by sampling directly from the distribution, or via importance sampling.\n\nUnif: Uniform weights over state-action space. This is the weighting distribution typically used by dynamic programming algorithms, such as FQI.\n\n: The on-policy state-action marginal induced by .\n\n: The state-action marginal induced by .\n\nRandom: State-action marginal induced by executing uniformly random actions.\n\nPrioritized(s,a): Weights Bellman errors proportional to . This is similar to prioritized replay (Schaul et al., 2015) without importance sampling.\n\nReplay and Replay10: Averaged state-action marginal of all policies (or the previous 10) produced during training. This simulates sampling uniformly from a replay buffer where infinite samples are collected from each policy.\n\n### 3.2 Domains\n\nWe evaluate our methods on suite of tabular environments where we can compute oracle values. This will help us compare, analyze and fix various sources of error by means of comparing the learned Q-functions to the true, oracle-compute Q-functions. We selected 8 tabular domains, each with different qualitative attributes, including: gridworlds of varying sizes and observations, blind Cliffwalk (Schaul et al., 2015), discretized Pendulum and Mountain Car based on implementations in OpenAI Gym (Plappert et al., 2018), and a random sparsely connected graph. We give full details of these environments in Appendix A, as well as their motivation for inclusion.\n\n### 3.3 Function Approximators\n\nThroughout our experiments, we use 2-layer ReLU networks, denoted by a tuple\n\nwhere N represents the number of units in a layer. The “Tabular” architecture refers to the case when no function approximation is used.\n\n### 3.4 High-Dimensional Testing\n\nIn addition to diagnostic experiments on tabular domains, we also wish to see if the observed trends hold true on high-dimensional environments. To this end, we include experiments on continuous control tasks in the OpenAI Gym benchmark (Plappert et al., 2018) (HalfCheetah-v2, Hopper-v2, Ant-v2, Walker2d-v2). In continuous domains, computing the maximum over actions of the Q-value is difficult (). A common choice in this case is to use a second “actor” neural network to approximate (Lillicrap et al., 2015; Fujimoto et al., 2018; Haarnoja et al., 2018). This approach most closely resembles Replay-FQI, but using the actor network in place of the max.\n\n## 4 Function Approximation and Convergence\n\nThe first issue we investigate is the connection between function approximation and convergence properties.\n\n### 4.1 Technical Background\n\nAs discussed in Section 2, when function approximation is introduced to Q-learning, convergence guarantees are lost. This interaction between approximation and convergence has been a long-studied topic in reinforcement learning. In the control literature, it is closely related to the problems of state-aliasing or interference (Farrell & Berger, 1995). Baird (1995) introduces a simple counterexample in which Watkin’s Q-learning with linear approximators can cause unbounded divergence. In the policy evaluation scenario, Tsitsiklis & Van Roy (1997) prove that on-policy TD-learning with linear function approximators converge, and methods such as GTD (Sutton et al., 2009a) and ETD (Sutton et al., 2016) have extended results to off-policy cases. In the control scenario, convergent algorithms such as SBEED (Dai et al., 2018) and Greedy-GQ (Maei et al., 2010) have been developed. However, several works have noted that divergence need not occur. Munos (2005) theoretically addresses the norm-mismatch problem, which show that unbounded divergence is impossible provided has adequate support and projections are non-expansive in p-norms. Concurrently to us, Van Hasselt et al. (2018) experimentally find that unbounded divergence rarely occurs with DQN variants on Atari games.\n\n### 4.2 How does function approximation affect convergence properties and suboptimality of solutions?\n\nThe crucial quantities we wish to measure are a trend between function approximation and performance, and a measure for the bias in the learning procedure introduced by function approximation. Thus, using Exact-FQI with uniform weighting (to remove sampling error), we measure the returns of the learning policy, and the error between and the solution found by Exact-FQI () or the projection of the optimal solution (). represents the best solution inside the model class, in absence of error from the bootstrapping process of FQI. Thus, the difference between FQI error and projection error represents the bias introduced by the bootstrapping procedure, while controlling for bias that is simply due to function approximation – this quantity is roughly the inherent Bellman error of the function class (Munos & Szepesvári, 2008). This is the gap which can possibly be improved upon via better Q-learning algorithm design. We plot our results in Fig. 1.",
null,
"Figure 1: Normalized returns and normalized Q-function error with function approximation, averaged across domains and seeds. We see that for small architectures, there is a significant gap between the solution found by FQI (FQI Error) and the best solution within the model class (Project Error).\n\nWe first note the obvious trend that smaller architectures produce lower returns, and converge to more suboptimal solutions. However, we also find that smaller architectures introduce significant bias in the learning process, and there is often a significant gap between the solution found by Exact-FQI and the best solution within the model class. This gap may be due to the fact that when the target is bootstrapped, we must be able to represent all Q-function along the path to the solution, and not just the final result (Bertsekas & Tsitsiklis, 1996). This observation implies that using large architectures is crucial not only because they have capacity to represent a better solution, but also because they are significantly easier to train using bootstrapping, and suffer less from nonconvergence issues. We also note that divergence rarely happens in practice. We observed divergence in 0.9% of our experiments using function approximation, measured by the largest Q-value growing larger than 10 times that of .\n\nFor high-dimensional problems, we present experiments on varying the architecture of the Q-network in SAC (Haarnoja et al., 2018) in Appendix Fig. 13. We still observe that large networks have the best performance, and that divergence rarely happens even in high-dimensional continuous spaces. We briefly discuss theoretical intuitions on apparent discrepancy between the lack of unbounded divergence in relation known counterexamples in Appendix B.\n\n## 5 Sampling Error and Overfitting\n\nA second source of error in minimizing the Bellman error, orthogonal to function approximation, is that of sampling or generalization error. The next issue we investigate is the effect of sampling error on Q-learning methods.\n\n### 5.1 Technical Background",
null,
"Figure 2: Samples plotted with returns for a 256x256 network. More samples yields better performance.\n\nApproximate dynamic programming assumes that the projection of the Bellman backup (Eqn. 1) is computed exactly, but in reinforcement learning we can normally only compute the empirical Bellman error\n\nover a finite set of samples. In the PAC framework, overfitting can be quantified by a bounded error in between the empirical and expected loss with high probability, which decays with sample size\n\n(Shalev-Shwartz & Ben-David, 2014). Munos & Szepesvári (2008); Maillard et al. (2010); Tosatto et al. (2017) provide such PAC-bounds which account for sampling error in the context of Q-learning and value-based methods, and quantify the quality of the final solution in terms of sample complexity.\n\nWe analyze several key points that relate to sampling error. First, we show that Q-learning is prone to overfitting, and that this overfitting has a real impact on performance, in both tabular and high-dimensional settings. We also show that the replay buffer is in fact a very effective technique in addressing this issue, and discuss several methods to migitate the effects of overfitting in practice.",
null,
"Figure 3: On-policy validation losses for varying amounts of on-policy data (or replay buffer), averaged across environments and seeds. Note that sampling from the replay buffer has lower on-policy validation loss, despite bias from distribution shift.\n\n### 5.2 Quantifying Overfitting\n\nWe first quantify the amount of overfitting that happens during training, by varying the number of samples. In order provide comparable validation errors across different experiments, we fix a reference sequence of Q-functions, , obtained during a normal training run. We then retrace the training sequence, and minimize the projection error for each training iteration, using varying amounts of on-policy data or sampling from a replay buffer. We measure the exact validation error (the expected Bellman error) at each iteration under the on-policy distribution, plotted in Fig. 3. We note the obvious trend that more samples leads to lower validation loss, confirming that overfitting can in fact occur. A more interesting observation is that sampling from the replay buffer results in the lowest on-policy validation loss, despite bias due to distribution mismatch from sampling off-policy data. As we discuss in Section 6, we believe that replay buffers are mainly effective because they greatly reduce the effect of overfitting and create relatively good coverage over the state space, not necessarily due to reducing the effects of distribution shift.\n\nNext, Fig. 2 shows the relationship between number of samples and returns. We see a clear trend that higher sample count leads to improved learning speed and a better final solution, confirming our hypothesis that overfitting has a significant effect on the performance of Q-learning. A full sweep including architectures is presented in Appendix Fig. 14. We observe that despite overfitting being an issue, larger architectures still perform better because the bias introduced by smaller architectures dominates.",
null,
"Figure 4: Normalized returns plotted over training iterations (32 samples are taken per iteration), for different ratios of gradient steps taken per sample during projection using Replay-FQI. We observe that intermediate values of gradient steps work best, and too many gradient steps hinders performance.",
null,
"Figure 5: Normalized returns plotted over training iterations (32 samples are taken per iteration), for different early stopping methods using Replay-FQI. We observe that using proper early stopping can result in a modest performance increase.\n\n### 5.3 What methods can be used to compensate for overfitting?\n\nFinally, we discuss methods to compensate for overfitting. One common method for reducing overfitting is to regularize the function approximator to reduce its capacity. However, as we have seen before that weaker architectures can give rise to suboptimal convergence, we instead study early stopping\n\nmethods to mitigate overfitting without reducing model size. First, we observe that the number of gradient steps taken per sample in the projection step has an important effect on performance – too few steps and the algorithm learns slowly, but too many steps and the algorithm may initially learn quickly but overfit. To show this, we run a hyperparameter sweep over the number of gradient steps taken per environment step in Replay-FQI and TD3 (TD3 uses 1 by default). Results for FQI are shown in Fig.\n\n4, and for TD3 in Appendix Fig. 15.\n\nIn order to understand whether better early stopping criteria can possibly help with overfitting, we employ oracle\n\nearly stopping rules. While neither of these rules can be used to solve overfitting in practice, these experiments can provide guidance for future methods and an “upper bound” on the best improvement that can be obtained from optimal stopping. We investigate two oracle early stopping criteria for setting the number of gradient steps: using the expected Bellman error and the expected returns of the greedy policy w.r.t. the current Q-function (oracle returns). We implement both methods by running the projection step of Replay-FQI to convergence using gradient descent, and afterwards selecting the intermediate Q-function which is judged best by the evaluation metric (lowest Bellman error or highest returns). Using such oracle stopping metrics results in a modest boost in performance in tabular domains (Fig.\n\n5). Thus, we believe that there is promise in further improving such early-stopping methods for reducing overfitting in deep RL algorithms.\n\nWe might draw a few actionable conclusions from these experiments. First, overfitting is indeed a serious issue with Q-learning, and too many gradient steps or too few samples can lead to poor performance. Second, replay buffers and early stopping can be used to mitigate the effects of overfitting. Third, although overfitting is a problem, large architectures are still preferred, because the harm from function approximation bias outweighs the harm from increased overfitting with large models.\n\n## 6 Non-Stationarity\n\nIn this section, we discuss issues related to the non-stationarity of the Q-learning process (relating to the Bellman backup and Bellman error minimization).\n\n### 6.1 Technical Background\n\nInstability in Q-learning methods is often attributed to the nonstationarity of the regression objective (Lillicrap et al., 2015; Mnih et al., 2015). Nonstationarity occurs in two places: in the changing target values , and in a changing weighting distribution (“distribution shift”) (i.e., due to samples being taken from different policies). Note that a non-stationary objective, by itself, is not indicative of instability. For example, gradient descent can be viewed as successively minimizing linear approximations to a function: for gradient descent on with parameter and learning rate , we have the “moving” objective . However, the fact that the Q-learning algorithm prescribes an update rule and not a stationary objective complicates analysis. Indeed, the motivation behind algorithms such as GTD (Sutton et al., 2009b, a) and residual methods (Baird, 1995; Scherrer, 2010) can be seen as introducing a stationary objective that can be optimized with standard procedures such as gradient descent for increased stability. Therefore, a key question to investigate is whether these non-stationarities are detrimental to the learning process.\n\n### 6.2 Does a moving target cause instability in the absence of a moving distribution?\n\nTo study the moving target problem, we must first isolate the effects of a moving target, and study how the rate at which the target changes impacts performance. To control the rate at which the target changes, we introduce an additional smoothing parameter to Q-iteration, where the target values are now computed as an -moving average over previous targets. We define the -smoothed Bellman backup, , as follows:\n\n TαQ=αTQ+(1−α)Q\n\nThis scheme is inspired by the soft target update used in algorithms such as DDPG (Lillicrap et al., 2015) and SAC (Haarnoja et al., 2017) to improve the stability of learning. Standard Q-iteration uses a “hard” update where . A soft target update weakens the contraction of Q-iteration from to (See Appendix C), so we expect slower convergence, but perhaps it is more stable under heavy function approximation error. We performed experiments with this modified backup using Exact-FQI under the weighting distribution.\n\nOur results are presented in Appendix Fig. 12. We find that the most cases, the hard update with results in the fastest convergence and highest asymptotic performance. However, for the smallest two architectures we used, and , lower values of (such as 0.1) achieve slightly higher asymptotic performance. Thus, while more expressive architectures are still stable under fast-changing targets, we believe that a slowly moving target may have benefits under heavy approximation error. This evidence points to either using large function approximators, in line with the conclusions drawn in the previous sections, or adaptively slowing the target updates when the architecture is weak (relative to the problem difficulty) and the projected Bellman error is therefore high.\n\n### 6.3 Does distribution shift impact performance?",
null,
"Figure 6: Distribution shift and loss shift plotted against time. Prioritized and on-policy distributions induce the greatest shift, whereas replay buffers greatly reduce the amount of shift.\n\nTo study the distribution shift problem, we exactly compute the amount of distribution shift between iterations in total-variation distance, and the “loss shift”:\n\n Eμt+1[(Qt−TQt)2]−Eμt[(Qt−TQt)2].\n\nThe loss shift quantifies the Bellman error objective when evaluated under a new distribution - if the distribution shifts to previously unseen or low support states, we would expect a highly inaccurate Q-value in such states, and a correspondingly high loss shift.",
null,
"Figure 7: Average distribution shift across time for different weighting distributions, plotted against returns for a 256x256 model. We find that distribution shift does not have strong correlation with returns.\n\nWe run our experiments using Exact-FQI with a 256x256 layer architecture, and plot the distribution discrepancy and the loss discrepancy in Fig. 6. We find that Prioritized has the greatest shift, followed by on-policy variants. Replay buffers greatly reduce distribution shift compared to on-policy learning, which is similar to the de-correlation argument cited for its use by Mnih et al. (2015). However, we find that this metric correlates very little with the actual performance of the algorithm (Fig. 7). For example, prioritized weighting performs well yet has high distribution shift.\n\nOverall, our experiments indicate that nonstationarities in both distributions and target values, when isolated, do not cause significant stability issues. Instead, other factors such as sampling error and function approximation appear to have more significant effects on performance. In the light of these findings, we might therefore ask: can we design a better sampling distribution, without regard for distributional shift and with regard for high-entropy, that results in better final performance, and is realizable in practice? We investigate this in the following section.\n\n## 7 Sampling Distributions\n\nAs alluded to in Section 6, the choice of sampling distribution is an important design decision can have a large impact on performance. Indeed, it is not immediately clear which distribution is ideal for Q-learning. In this section, we hope to shed some light on this issue.\n\n### 7.1 Technical Background\n\nOff-policy data has been cited as one of the “deadly triads” for Q-learning (Sutton & Barto, 2018), which has potential to cause instabilities in learning. On-policy distributions (Tsitsiklis & Van Roy, 1997) and fixed behavior distributions (Sutton et al., 2009b; Maei et al., 2010) have often been targeted for theoretical convergence analysis, and many works use importance sampling to correct for off-policyness (Precup et al., 2001; Munos et al., 2016) However, to our knowledge, there is relatively little guidance which compares how different weighting distributions compare in terms of convergence rate and final solutions.\n\nNevertheless, several works give hypotheses on good choices for weighting distributions. (Munos, 2005) provides an error bound which suggests that “more uniform” weighting distributions can guarantee better worst-case performance. (Geist et al., 2017) suggests that when the state-distribution is fixed, the action distribution should be weighted by the optimal policy for residual Bellman errors. In deep RL, several methods have been developed to prevent instabilities in Q-Learning, such as prioritized replay (Schaul et al., 2015), and mixing replay buffer with on-policy data (Hausknecht & Stone, 2016; Zhang & Sutton, 2017) have been found to be beneficial. In our experiments, we aim to empirically analyze multiple choices for weighting distributions to determine which are the most effective.\n\n### 7.2 What Are the Best Weighting Distributions in Absence of Sampling Error?",
null,
"Figure 8: Weighting distribution versus architecture in Exact-FQI. Replay(s, a) consistently provides the highest performance. Note that Adversarial Feature Matching is comparable to Replay(s, a), but surprisingly better for small networks.",
null,
"Figure 9: Normalized returns plotted against normalized entropy for different weighting distributions. All experiments use Exact-FQI with a 256x256 network. We see a general trend that high-entropy distributions lead to greater performance.\n\nWe begin by studying the effect of weighting distributions when disentangled from sampling error. We run Exact-FQI with varying choices of architectures and weighting distributions and report our results in Fig. 8. , and consistently result in the highest returns across all architectures. We believe that these results are in favor of the uniformity hypothesis: the top performing distributions spread weight across larger support of the state-action space. For example, a replay buffer contains state-action tuples from many policies, and therefore would be expected to have wider support than the state-action distribution of a single policy. We can see this general trend in Fig. 9. These distributions generally result in the tightest contraction rates, and allow the Q-function to focus on locations where the error is high. In the sampled setting, this observation motivates exploration algorithms that maximize state coverage (for example, Hazan et al. (2018) solve an exploration objective which maximizes state-space entropy). However, note that in this particular experiment, there is no sampling. All states are observed, just with different weights, thus isolating the issue of distributions from the issue of sampling.\n\n### 7.3 Designing a Better Off-Policy Distribution: Adversarial Feature Matching\n\nIn our final study, we attempt to design a better weighting distribution using insights from previous sections that can be easily integrated into deep RL methods. We refer to this method as adversarial feature-matching (AFM). We draw upon three specific insights outlined in previous analysis. First, the function approximator should be incentivized to maximize its ability to distinguish states to minimize function approximation bias (Section 4). Second, the weighting distribution should emphasize areas where the Q-function incurs high Bellman error, in order to minimize the discrepancy between norm error and norm error. Third, more-uniform weighting distributions tend to be higher performant. The first insight was also demonstrated in (Liu et al., 2018) where enforcing sparsity in the Q-function was found to provide locality in the Q-function which prevented catastrophic interference and provided better values for bootstrapping.\n\nWe propose to model our problem as a minimax game, where the weighting distribution is a parameterized adversary which tries to maximize the Bellman error, while the Q-function () tries to minimize it. Note that in the unconstrained setting, this game is equivalent to minimizing the norm error in its dual-norm representation. However, in practical settings where minimizing stochastic approximations of the norm can be difficult for neural networks (also noticed when using PER (Van Hasselt et al., 2018)\n\n), it is crucial to introduce constraints to limit the power of the adversary. These constraints also make the adversary closer to the uniform distribution while still allowing it to be sufficiently different at specific state-action pairs.\n\nWe elect to use a feature matching constraint which enforces the expected feature vectors,\n\n, under to roughly match the expected feature vector under uniform sampling from the replay buffer. We can express the output of a neural network Q-function as or, in the continuous case, as , where the feature vector represent the the output of all but the final layer. Intuitively, this constraint restricts the adversarial sampler to distributing probability mass among states (or state-action pairs) that are perceptually similar to the Q-function, which in turn forces the Q-function to reduce state-aliasing by learning features that are more separable. Note that, in our case, . This also provides a natural extension of our method by performing expected gradient matching over all parameters (), instead of matching only (we leave it to future work to explore this direction). Formally, this objective is given as follows:\n\n minθ,wmaxϕEpϕ(s,a)[(Qw,θ(s,a)−y(s,a))2]s.t. ||Epϕ(s,a)[Φ(s)]−∑iΦ(si)N||≤ε\n\nNote that is a function of but, while solving the maximization, is assumed to be a constant. This is equivalent to solving only the inner maximization with a constraint, and empirically provides better stability. Implementation details for AFM are provided in Appendix D. The denotes an estimator for the true expectation under some sampling distribution, such as a uniform distribution over all states and actions (in exact FQI) or the replay buffer distribution. So, holds when using a replay buffer.\n\nWhile both AFM and PER tend to upweight samples in the buffer with a high Bellman error, PER explicitly attempts to reduce distribution shift via importance sampling. As we observed in Section 7, distributional shift is not actually harmful in practice, and AFM dispenses with this goal, instead explicitly aiming to rebalance the buffer to attain better coverage via adversarial optimization. In our experiments, this results in substantially better performance, consistent with the hypothesis that coverage, rather than reduction of distributional shift, is the most important property in a sampling distribution.\n\nIn tabular domains with Exact-FQI, we find that AFM performs at par with the top performing weighting distributions, such as and better than (Fig. 8). This confirms that adaptive prioritization works better than Prioritized(). Another benefit of AFM is its robustness to function approximation and the performance gains in the case of small architectures (say, ) are particularly noticeable. (Fig. 8)\n\nIn tabular domains with Replay-FQI (Table 1), we also compare AFM to prioritized replay (PER) (Schaul et al., 2015), where AFM and PER perform similarly in terms of normalized returns. Note that AFM reweights samples drawn uniformly from the buffer, whereas PER changes which samples are actually drawn. We also evaluate a variant of AFM (AFM+Sampling in Table 1) which changes which samples instead of reweighting. Essentially, in this version we sample from the replay buffer using probabilities determined by the AFM optimization, rather than using importance sampling while making bellman updates. We note that, in Table 1, AFM+Sampling performs strictly better than AFM and PER.\n\nWe further evaluate AFM on MuJoCo tasks with the TD3 algorithm (Fujimoto et al., 2018) and the entropy constrained SAC algorithm (Haarnoja et al., 2018). We find that in all 3 tested domains (Half-Cheetah, Hopper and Ant), AFM yields substantial empirical improvement in the case of TD3 (Fig. 10) and performs slightly better than entropy constrained SAC (Fig. 11). Surprisingly, we found PER to not work very well in these domains. In light of these results, we conclude that: (1) the choice of sampling distribution is very important for performance, and (2) considerations such as incorporating knowledge about the function approximator (for example, through ) into the choice of (the sampling/weighting distribution) can be very effective.\n\n## 8 Conclusions and Discussion\n\nFrom our analysis, we have several broad takeaways for the design of deep Q-learning algorithms.\n\nPotential convergence issues with Q-learning do not seem to be endemic empirically, but function approximation still has a strong impact on the solution to which these methods converge. This impact goes beyond just approximation error, suggesting that Q-learning methods do find suboptimal solutions (within the given function class) with smaller function approximators. However, expressive architectures largely mitigate this problem, suffer less from bootstrapping error, converge faster, and more stable with moving targets.\n\nSampling error can cause substantial overfitting problems with Q-learning. However, replay buffers and early stopping can mitigate this problem, and the biases incurred from small function approximators outweigh any benefits they may have in terms of overfitting. We believe the best strategy is to keep large architectures but carefully select the number of gradient steps used per sample. We showed that employing oracle early stopping techniques can provide huge benefits in the performance in Q-learning. This motivates the future research direction of devising early stopping techniques to dynamically control the number of gradient steps in Q-learning, rather than setting it as a hyperparameter as this can give rise to big difference in performance.\n\nThe choice of sampling or weighting distribution has significant effect on solution quality, even in the absence of sampling error. Surprisingly, we do not find on-policy distributions to be the most performant, but rather methods which have high state-entropy and spread mass uniformly among state-action pairs, seem to be highly effective for training. Based on these insights, we propose a new weighting distribution which balances high-entropy and state aliasing, AFM, that yields fair improvements in both tabular and continuous domains with state-of-the-art off-policy RL algorithms.\n\nFinally, we note that there are many other topics in Q-learning that we did not investigate, such as overestimation bias and multi-step returns. We believe that these issues too could be studied in future work with our oracle-based analysis framework.\n\n## Acknowledgements\n\nWe thank Vitchyr Pong and Kristian Hartikainen for providing us with implementations of RL algorithms. We thank Chelsea Finn for comments on an earlier draft of this paper. SL thanks George Tucker for helpful discussion. We thank Google, NVIDIA, and Amazon for providing computational resources. This research was supported by Berkeley DeepDrive, NSF IIS-1651843 and IIS-1614653, the DARPA Assured Autonomy program, and ARL DCIST CRA W911NF-17-2-0181.\n\n## References\n\n• Arjovsky et al. (2017) Arjovsky, M., Chintala, S., and Bottou, L. Wasserstein generative adversarial networks. In\n\nInternational Conference on Machine Learning (ICML)\n\n, pp. 214–223, 2017.\n• Baird (1995) Baird, L. Residual Algorithms : Reinforcement Learning with Function Approximation. In International Conference on Machine Learning (ICML), 1995.\n• Bertsekas & Tsitsiklis (1996) Bertsekas, D. P. and Tsitsiklis, J. N. Neuro-dynamic programming. Athena Scientific, 1996.\n• Dai et al. (2018) Dai, B., Shaw, A., Li, L., Xiao, L., He, N., Liu, Z., Chen, J., and Song, L. Sbeed: Convergent reinforcement learning with nonlinear function approximation. In International Conference on Machine Learning, pp. 1133–1142, 2018.\n• Daskalakis et al. (2018) Daskalakis, C., Ilyas, A., Syrgkanis, V., and Zeng, H. Training GANs with optimism. In International Conference on Learning Representations, 2018.\n• Ernst et al. (2005) Ernst, D., Geurts, P., and Wehenkel, L. Tree-based batch mode reinforcement learning. Journal of Machine Learning Research, 6(Apr):503–556, 2005.\n• Farrell & Berger (1995) Farrell, J. A. and Berger, T. On the effects of the training sample density in passive learning control. In American Control Conference, 1995.\n• Fujimoto et al. (2018) Fujimoto, S., van Hoof, H., and Meger, D. Addressing function approximation error in actor-critic methods. In International Conference on Machine Learning (ICML), pp. 1587–1596, 2018.\n• Geist et al. (2017) Geist, M., Piot, B., and Pietquin, O. Is the bellman residual a bad proxy? In Advances in Neural Information Processing Systems (NeurIPS), pp. 3205–3214. 2017.\n• Haarnoja et al. (2017) Haarnoja, T., Tang, H., Abbeel, P., and Levine, S. Reinforcement learning with deep energy-based policies. In International Conference on Machine Learning (ICML), 2017.\n• Haarnoja et al. (2018) Haarnoja, T., Zhou, A., Abbeel, P., and Levine, S. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. CoRR, abs/1801.01290, 2018. URL http://arxiv.org/abs/1801.01290.\n• Hausknecht & Stone (2016) Hausknecht, M. and Stone, P. On-policy vs. off-policy updates for deep reinforcement learning. In Deep Reinforcement Learning: Frontiers and Challenges, IJCAI, 2016.\n• Hazan et al. (2018) Hazan, E., Kakade, S. M., Singh, K., and Van Soest, A. Provably efficient maximum entropy exploration. arXiv preprint arXiv:1812.02690, 2018.\n• Kalashnikov et al. (2018) Kalashnikov, D., Irpan, A., Pastor, P., Ibarz, J., Herzog, A., Jang, E., Quillen, D., Holly, E., Kalakrishnan, M., Vanhoucke, V., and Levine, S. Qt-opt: Scalable deep reinforcement learning for vision-based robotic manipulation. In CoRL, volume 87 of Proceedings of Machine Learning Research, pp. 651–673. PMLR, 2018.\n• Lillicrap et al. (2015) Lillicrap, T. P., Hunt, J. J., Pritzel, A., Heess, N., Erez, T., Tassa, Y., Silver, D., and Wierstra, D. Continuous control with deep reinforcement learning. International Conference on Learning Representations (ICLR), 2015.\n• Lin (1992) Lin, L.-J. Self-improving reactive agents based on reinforcement learning, planning and teaching. Machine learning, 8(3-4):293–321, 1992.\n• Liu et al. (2018) Liu, V., Kumaraswamy, R., Le, L., and White, M. The utility of sparse representations for control in reinforcement learning. CoRR, abs/1811.06626, 2018. URL http://arxiv.org/abs/1811.06626.\n• Maei et al. (2010) Maei, H. R., Szepesvári, C., Bhatnagar, S., and Sutton, R. S. Toward off-policy learning control with function approximation. In International Conference on Machine Learning (ICML), 2010.\n• Maillard et al. (2010) Maillard, O.-A., Munos, R., Lazaric, A., and Ghavamzadeh, M. Finite-sample analysis of bellman residual minimization. In Asian Conference on Machine Learning (ACML), pp. 299–314, 2010.\n• Metelli et al. (2018) Metelli, A. M., Papini, M., Faccio, F., and Restelli, M. Policy optimization via importance sampling. CoRR, abs/1809.06098, 2018. URL http://arxiv.org/abs/1809.06098.\n• Mnih et al. (2015) Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., Graves, A., Riedmiller, M., Fidjeland, A. K., Ostrovski, G., Petersen, S., Beattie, C., Sadik, A., Antonoglou, I., King, H., Kumaran, D., Wierstra, D., Legg, S., and Hassabis, D. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, feb 2015. ISSN 0028-0836.\n• Munos (2005) Munos, R. Error bounds for approximate value iteration. In\n\nAAI Conference on Artificial intelligence (AAAI)\n\n, pp. 1006–1011. AAAI Press, 2005.\n• Munos & Szepesvári (2008) Munos, R. and Szepesvári, C. Finite-time bounds for fitted value iteration. Journal of Machine Learning Research, 9(May):815–857, 2008.\n• Munos et al. (2016) Munos, R., Stepleton, T., Harutyunyan, A., and Bellemare, M. Safe and efficient off-policy reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), pp. 1054–1062, 2016.\n• Plappert et al. (2018) Plappert, M., Andrychowicz, M., Ray, A., McGrew, B., Baker, B., Powell, G., Schneider, J., Tobin, J., Chociej, M., Welinder, P., Kumar, V., and Zaremba, W. Multi-goal reinforcement learning: Challenging robotics environments and request for research, 2018.\n• Precup et al. (2001) Precup, D., Sutton, R. S., and Dasgupta, S. Off-policy temporal difference learning with function approximation. In International Conference on Machine Learning (ICML), pp. 417–424, 2001.\n• Riedmiller (2005) Riedmiller, M. Neural fitted q iteration–first experiences with a data efficient neural reinforcement learning method. In European Conference on Machine Learning, pp. 317–328. Springer, 2005.\n• Schaul et al. (2015) Schaul, T., Quan, J., Antonoglou, I., and Silver, D. Prioritized experience replay. International Conference on Learning Representations (ICLR), 2015.\n• Scherrer (2010) Scherrer, B. Should one compute the temporal difference fix point or minimize the bellman residual? the unified oblique projection view. In International Conference on Machine Learning (ICML), pp. 959–966, 2010.\n• Shalev-Shwartz & Ben-David (2014) Shalev-Shwartz, S. and Ben-David, S. Understanding machine learning: From theory to algorithms. Cambridge university press, 2014.\n• Shani et al. (2005) Shani, G., Heckerman, D., and Brafman, R. I. An mdp-based recommender system. Journal of Machine Learning Research, 6(Sep):1265–1295, 2005.\n• Sutton & Barto (2018) Sutton, R. S. and Barto, A. G. Reinforcement learning: An introduction. Second edition, 2018.\n• Sutton et al. (2009a) Sutton, R. S., Maei, H. R., Precup, D., Bhatnagar, S., Silver, D., Szepesvári, C., and Wiewiora, E. Fast gradient-descent methods for temporal-difference learning with linear function approximation. In International Conference on Machine Learning (ICML), 2009a.\n• Sutton et al. (2009b) Sutton, R. S., Maei, H. R., and Szepesvári, C. A convergent o(n) temporal-difference algorithm for off-policy learning with linear function approximation. In Advances in Neural Information Processing Systems (NeurIPS), 2009b.\n• Sutton et al. (2016) Sutton, R. S., Mahmood, A. R., and White, M. An emphatic approach to the problem of off-policy temporal-difference learning. The Journal of Machine Learning Research, 17(1):2603–2631, 2016.\n• Szepesvári (1998) Szepesvári, C. The asymptotic convergence-rate of q-learning. In Advances in Neural Information Processing Systems, pp. 1064–1070, 1998.\n• Tosatto et al. (2017) Tosatto, S., Pirotta, M., D’Eramo, C., and Restelli, M. Boosted fitted q-iteration. In International Conference on Machine Learning (ICML), pp. 3434–3443. JMLR. org, 2017.\n• Tsitsiklis & Van Roy (1997) Tsitsiklis, J. N. and Van Roy, B. Analysis of temporal-diffference learning with function approximation. In Advances in Neural Information Processing Systems (NeurIPS), pp. 1075–1081, 1997.\n• Tuomas Haarnoja & Levine (2018) Tuomas Haarnoja, Aurick Zhou, K. H. G. T. S. H. J. T. V. K. H. Z. A. G. P. A. and Levine, S. Soft actor-critic algorithms and applications. Technical report, 2018.\n• Van Hasselt et al. (2018) Van Hasselt, H., Doron, Y., Strub, F., Hessel, M., Sonnerat, N., and Modayil, J. Deep reinforcement learning and the deadly triad. arXiv preprint arXiv:1812.02648, 2018.\n• Watkins & Dayan (1992) Watkins, C. J. and Dayan, P. Q-learning. Machine learning, 8(3-4):279–292, 1992.\n• Yazıcı et al. (2019) Yazıcı, Y., Foo, C.-S., Winkler, S., Yap, K.-H., Piliouras, G., and Chandrasekhar, V. The unusual effectiveness of averaging in GAN training. In International Conference on Learning Representations, 2019.\n• Zhang & Sutton (2017) Zhang, S. and Sutton, R. S. A deeper look at experience replay. CoRR, abs/1712.01275, 2017. URL http://arxiv.org/abs/1712.01275.\n\n## Appendix A Benchmark Tabular Domains\n\nWe evaluate on a benchmark of 8 tabular domains, selected for qualitative differences.\n\n4 Gridworlds. The Gridworld environment is an NxN grid with randomly placed walls. The reward is proportional to Manhattan distance to a goal state (1 at the goal, 0 at the initial position), and there is a 5% chance the agent travels in a different direction than commanded. We vary two parameters: the size ( and ), and the state representations. We use a “one-hot” representation, an (X, Y) coordinate tuple (represented as two one-hot vectors), and a “random” representation, a vector drawn from , where N is the width or height of the Gridworld. The random observation significantly increases the challenge of function approximation, as significant state aliasing occurs.\n\nCliffwalk: Cliffwalk is a toy example from Schaul et al. (2015). It consists of a sequence of states, where each state has two allowed actions: advance to the next state or return to the initial state. A reward of 1.0 is obtained when the agent reaches the final state. Observations consist of vectors drawn from .\n\nInvertedPendulum and MountainCar: InvertedPendulum and MountainCar are discretized versions of continuous control tasks found in OpenAI gym (Plappert et al., 2018), and are based on problems from classical RL literature. In the InvertedPendulum task, an agent must swing up an pendulum and hold it in its upright position. The state consists of the angle and angular velocity of the pendulum. Maximum reward is given when the pendulum is upright. The observation consists of the and of the pendulum angle, and the angular velocity. In the MountainCar task, the agent must push a vehicle up a hill, but the hill is steep enough that the agent must gather momentum by swinging back and forth within a valley in order to reach the top. The state consists of the position and velocity of the vehicle.\n\nSparseGraph: The SparseGraph environment is a 256-state graph with randomly drawn edges. Each state has two edges, each corresponding to an action. One state is chosen as the goal state, where the agent receives a reward of one.\n\n## Appendix B Fitted Q-iteration with Bounded Projection Error\n\nWhen function approximation is introduced to Q-iteration, we lose guarantees that our solution will converge to the optimal solution , because the composition of projection and backup is no longer guaranteed to be a contraction under any norm. However, this does not imply divergence, and in most cases it merely degrades the quality of solution found.\n\nThis can be seen by recalling the following result from (Bertsekas & Tsitsiklis, 1996), that describes the quality of the solution obtained by fitted Q-iteration (FQI) when the projection error at each step is bounded. The conclusion is that FQI converges to an ball around the optimal solution which scales proportionally with the projection error. While this statement does not claim that divergence cannot occur in general (this theorem can only be applied in retrospect, since we cannot always uniformly bound the projection error at each iteration), it nevertheless offers important intuitions on the behavior of FQI under approximation error. For similar results concerning -weighted norms, see (Munos, 2005).\n\n###### Theorem B.1 (Bounded error in fitted Q-iteration).\n\nLet the projection or Bellman error at each iteration of FQI be uniformly bounded by , i.e. . Then, the error in the final solution is bounded as\n\n limi→∞∥^Qi−Q∗∥∞≤δ1−γ\n###### Proof.\n\nSee of Chapter 6 of Bertsekas & Tsitsiklis (1996). ∎\n\nWe can use this statement to provide a bound on the performance of the final policy.\n\n###### Corollary B.1.1.\n\nSuppose we run fitted Q-iteration, and let the projection error at each iteration be uniformly bounded by , i.e. . Letting denote the returns of a policy , the the performance of the final policy is bounded as:\n\n limi→∞|η(πi)−η(π∗)|≤2γδ(1−γ)2\n###### Proof.\n\nThis result is obtained by substituting Thm. B.1 into Propositon 6.1 of Bertsekas & Tsitsiklis (1996). ∎\n\n### b.1 Unbounded divergence in FQI\n\nBecause norms are bounded by the norm, Thm. B.1 implies that unbounded divergence is impossible when weighting distribution has positive support at all states and actions (i.e. ), and the projection is non-expansive in the norm (such as when using linear approximators).\n\nWe can bound the -weighted in terms of the as follows: . Thus, we can apply Thm. B.1 with to show that unbounded divergence is impossible. Note that because this bound scales with the size of the state and action spaces, it is fairly loose in many practical cases, and practitioners may nevertheless see Q-values grow to large values (tighter bounds concerning L2 norms can be found in (Munos, 2005), which depend on the transition distribution). It also suggests that distributions which are fairly uniform (so as to maximize the denominator) can perform well.\n\nWhen the weighting distribution does not have support over all states and actions, divergence can still occur, as noted in the counterexamples such as Section 11.2 of Sutton & Barto (2018). In this case, we consider two states (state 1 and 2) with feature vectors 1 and 2, respectively, and a linear approximator with parameter . There exists a single action with a deterministic transition from state 1 to state 2, and we only sample the transition from state 1 to state 2 (i.e. is 1 for state 1 and 0 for state 2). All rewards are 0. In this case, the projected Bellman backup takes the form:\n\n wt+1=argminw (w−2γwt)2\n\nWhich will cause unbounded growth when iterated, provided . However, if we add a transition from state 2 back to itself or to state 1, and place nonzero probability on sampling these transitions, divergence can be avoided.\n\n## Appendix C α-smoothed Q-iteration\n\nIn this section we show that the -smoothed Bellman backup introduced in Section 6 is still a valid Q-iteration method, in that it is a contraction (for ) and thus converges to .\n\nWe define the -smoothed Bellman backup as:\n\n TαQ=αTQ+(1−α)Q\n###### Theorem C.1 (Contraction rate of the α-smoothed Bellman backup).\n\nis a -contraction:\n\n ∥TαQ1−TαQ2∥∞≤(1−α+γα)∥Q1−Q2∥∞\n###### Proof.\n\nThis statement follows from straightforward application of the triangle rule and the fact that is a -contraction:\n\n ∥TαQ1−TαQ2∥∞ =∥(αTQ1−(1−α)Q1)−(αTQ2−(1−α)Q2∥∞ =∥α(TQ1−TQ2)+(1−α)(Q1−Q2)∥∞ ≤α∥TQ1−TQ2∥∞+(1−α)∥Q1−Q2∥∞ ≤αγ∥Q1−Q2∥∞+(1−α)∥Q1−Q2∥∞ =(1−α+αγ)∥Q1−Q2∥∞",
null,
"Figure 12: Results for the α-smoothed Bellman backup experiment. Normalized ℓ∞ norm error to Q∗ and normalized returns plotted for different values of α and architectures. Values are averaged over all domains and 5 seeds. For large architectures, higher values of α result in faster convergence and higher asymptotic returns. However, for smaller architectures, low values of α slightly outperform higher values.\n\n## Appendix D Adversarial Feature Matching (AFM): Detailed Explanation and Practical Implementation\n\nAs described in section 7.3, we devise a novel weighting scheme for the Bellman error objective based on an adversarial minimax game. The adversary computes weights (representing the weighting distribution ), for the Bellman error: . Recalling from Section 7.3, the optimization problem is given by:\n\n minθ,wmaxϕEpϕ(s,a)[(Qw,θ(s,a)−y(s,a))2]s.t. ∣∣∣∣Epϕ(s,a)[Φ(s)]−∑iΦ(si)N||≤ε\n\nwhere are the state features learned by the Q-function approximator. is easy to extract out of the multiheaded () model typically used for discrete action control, as one choice is to let be the output of the penultimate layer of the Q-network. For continuous control tasks, however, we model (which is a function of the actions as well) as state-only features are unavailable, unless separately modeled. This can also be interpreted as modelling a feature matching constraint on the gradient of with respect to the last linear parameters . A possible extension is to take into account the entire gradient as the features in the feature matching constraint, that is, .\n\nThis choice of the constraint is suitable and can be interpreted in two ways. First, an adversary constrained in this manner has enough power to exploit the Q-network at states which get aliased under the chosen function class, thereby promoting more separable feature learning and reducing some negative aspects of function approximation that can arise in Q-learning. This is also similar in motivation to (Liu et al., 2018). Second, this feature constraint also bears a similarity the Maximum Mean Discrepancy (MMD) distance between two distributions and that can be written as , where the set of functions is the canonical feature map, (from real space to the RKHS). In our context, this is analogous to optimizing a distance between the adversarial distribution and the replay buffer distribution (as the average is a Monte-Carlo estimator of the expected under the replay buffer distribution ). In the light of these arguments, AFM, and other associated methods that take into account the properties of the function approximator into account (for example, here), can greatly reduce the bias incurred due to function approximation in the due course of Q-learning/FQI, as depicted in 1.\n\n#### Solving the optimization\n\nWe solve this saddle point problem using alternating dual gradient descent. We first solve the inner maximization problem, and then use its solution to then solve the outer minimization problem. We first compute the Lagrangian for the maximization, by introducing a dual variable ,\n\n Linner(ϕ;λ,θ)=−Epϕ(s,a)[(Qθ(s,a)−y(s,a))2]+λ(||Epϕ(s,a)[Φ(s)]−∑Φ(s)N||−ε)\n\n(Note that this Lagrangian is flipped in sign because we first convert the maximization problem to standard minimization form.) We now solve the inner problem using dual gradient descent. We then plug in the solutions (approximate solutions obtained after gradient descent), into the Lagrangian, to then solve the outside minimization over . Note that while depends on\n\n(as it is the feature layer of the Q-network), we don not backpropagate through\n\nwhile solving the minimization. This improves stability of the Q-network training in practice and to makes sure that Q-function is only affected by FQI updates. In practice, we take up to 10 gradient steps for the inner problem every 1 gradient step of the outer problem. The algorithm is summarized in Algorithm 4. Our results provided in the main paper and here don’t particularly assume any other tricks like Optimistic Gradient (Daskalakis et al., 2018), using exponential moving average of the parameters (Yazıcı et al., 2019). Our tabular experiments seemed to benefit some what using these tricks.\n\n#### Practical implementation with replay buffers\n\nWe incorporate this weighting/sampling distribution into Q-learning in the setting with replay buffers and with state-action sampling. We evaluate the weighting version of our method, AFM, where, we usually sample a large batch of state-action pairs from a usual replay buffer used in Q-learning, but use importance weights to then match in expectation. Thus, we use a parametric function approximator to model – that is, the importance weights of the adversarial distribution with respect to the replay buffer distribution . Mathematically, we estimate: , where\n\n. The latter expectation is then approximated using a set of finite samples. It has been noted in literature that importance sampling (IS) suffers from high variance especially if the number of samples is small. Hence, we use the self-normalized importance sampling estimator, which averages the importance weights in a set of samples or a large number of samples. That is, let\n\n, then instead of using as the importance weights, we use (where and represent state-action tuples; concisely mentioned for visual clarity) as the importance weights. We also regularize the second-order Renyi Divergence between and for stability. Mathematically, it can be shown that this is a lower bound on the true expectation of under , which is being estimated using importance sampling. This result has also been shown in (Metelli et al., 2018) (Theorem 4.1), where the authors use this lower bound in policy optimization via importance sampling. We state the theorem below for completeness.\n\n###### Theorem D.1.\n\n(Metelli et al., 2018) Let and be two probability measures on the measurable space such that and . Let\n\nbe i.i.d. random variables sampled from\n\n, and be a bounded function. Then, for any and with probability at least it holds that:\n\n Ex∼Q[f(x)]≥1N∑wP/Q(xi)f(xi)−||f||∞√(1−δ)d2(P||Q)Nδ\n\nwhere is the exponentiated second-order Renyi Divergence between and .\n\nHence, our objective for the inner loop now becomes: is now computed using samples with an additional renyi regularisation term. Since, we end up modeling this ratio, through out parameteric model, we can hence easily compute an estimator for the Renyi divergence term. The overall lower bound inner maximization problem is:\n\n maxϕ1N∑(s,a)∼prb[fϕ(s,a)(Qθ,w(s,a)−y(s,a))2]−C ⎷(1−δ)(∑fϕ(s,a))2N)Nδs.t.~{}~{}||∑s,a∈prb[fϕ(s,a)Φ(s)]N−∑s,a∈prbΦ(s)N||≤ε\n\nWe found that this Renyi penalty helped stabilize training. In practice, we model the importance weights:\n\nas a parametric model with an identical architecture to the Q-network. We use parameter clipping for\n\n, where the parameter are clipped to , analogous to Wasserstein GANs (Arjovsky et al., 2017). We also found that self-normalization during importance sampling has a huge practical benefit. Note that as the true norm of the Bellman error is not known, for computing in the Renyi Divergence term, and hence we either replace it by constant, or compute a stochastic approximation to the norm over the current batch. We found the former to be more stable, and hence, used that in all our experiments. This coefficient of the Renyi divergence penalty is tuned uniformly between . The learning rate for the adversary was chosen to be 1e-4 for the tabular environments, and 5e-4 for TD3. The batch size for our algorithm was chosen to be 128 for the tabular environments and 500 for TD3/SAC. Note that a larger batch size ensures smoothness in the minmax optimization problem. We also found that instead of having a Lagrange multiplier for the feature matching constraint, having Lagrange multipliers for constraining each of the individual dimensions of the features also helps very much. This is to ensure that the hyperparameters remain the same across different architectures regardless of the dimension of the penultimate layer of the Q-network. The algorithm in this case is exactly the same as the algorithm before with a vector valued dual variable . We used TD3 and SAC implementations from rlkit (https://github.com/vitchyr/rlkit/tree/master/rlkit)\n\n## Appendix E Function approximation analysis on Mujoco Tasks\n\nAs discussed in Section 4, we validate our findings on the effect of function approximation on 3 MuJoCo tasks from OpenAI Gym with the SAC algorithm from the author’s implementation at (Tuomas Haarnoja & Levine, 2018). We observe that bigger networks learn faster and better in general."
] | [
null,
"https://deepai.org/static/images/logo.png",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null,
"https://deepai.org/publication/None",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8967912,"math_prob":0.8736257,"size":65000,"snap":"2021-21-2021-25","text_gpt3_token_len":14359,"char_repetition_ratio":0.157502,"word_repetition_ratio":0.02415508,"special_character_ratio":0.21552308,"punctuation_ratio":0.15684648,"nsfw_num_words":1,"has_unicode_error":false,"math_prob_llama3":0.97268647,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-17T15:49:35Z\",\"WARC-Record-ID\":\"<urn:uuid:5aa3fbd8-2221-4243-8968-13b15ae559ba>\",\"Content-Length\":\"835199\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c70e7e8d-5371-43a5-b3e9-f9cad7d343dd>\",\"WARC-Concurrent-To\":\"<urn:uuid:db6ef73f-060d-46b3-8b27-3c851a77f0ab>\",\"WARC-IP-Address\":\"52.38.4.123\",\"WARC-Target-URI\":\"https://deepai.org/publication/diagnosing-bottlenecks-in-deep-q-learning-algorithms\",\"WARC-Payload-Digest\":\"sha1:IP745TNJMV6AASJDB657CCM6S4QETUKZ\",\"WARC-Block-Digest\":\"sha1:WF4TV2NLDFZFU4LS3JRG3TPX3HWSS4HA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243991258.68_warc_CC-MAIN-20210517150020-20210517180020-00197.warc.gz\"}"} |
https://curriculum.illustrativemathematics.org/HS/teachers/1/4/11/index.html | [
"# Lesson 11\n\nDomain and Range (Part 2)\n\n## 11.1: Which One Doesn't Belong: Unlabeled Graphs (5 minutes)\n\n### Warm-up\n\nThis warm-up prompts students to carefully analyze and compare the properties of four graphs. Each graph represents a function, but no labels or scales are shown on the coordinate axes, so students need to look for and make use of the structure of the graphs in determining how each one is like or unlike the others (MP7).\n\nIn making comparisons, students have a reason to use language precisely (MP6), especially mathematical terms that describe features of graphs or properties of functions.\n\n### Student Facing\n\nWhich one doesn't belong?\n\n### Student Response\n\nFor access, consult one of our IM Certified Partners.\n\n### Activity Synthesis\n\nAsk each group to share one reason why a particular item does not belong. Record and display the responses for all to see. Encourage students to use relevant mathematical vocabulary in their explanations, and ask students to explain the meaning of any terminology that they do use, such as \"intercepts,\" \"minimum,\" or \"linear functions.\"\n\nAfter each response, ask the class if they agree or disagree. Since there is no single correct answer to the question of which one does not belong, attend to students’ explanations and ensure the reasons given are correct.\n\nBy now students are well aware that certain features of a graph have special significance in that they tell us something about the quantities or relationships in the situation. Tell students that features of graphs can also help us understand the domain and range of a function. We will explore this in the lesson.\n\n## 11.2: Time on the Swing (20 minutes)\n\n### Activity\n\nIn this activity, students are given the same four graphs they saw in the warm-up and four descriptions of functions and are asked to match them. All of the functions share the same context. Students then use these features to reason about likely domain and range of each function.\n\nTo make the matches, students analyze and interpret features of the graphs, looking for and making use of structure in the situation and in the graphs (MP7). Here are some possible ways students may reason about each match:\n\n• The swing goes up and down while the child is swinging, so D could be a graph for function $$h$$.\n• The time left on the swing decreases as the time on the swing increases, so A is a possible graph for function $$r$$.\n• The distance of the child from the top beam of the swing doesn't change as long as the child is on the swing, so C is a possible graph for function $$d$$.\n• The total number of times the swing is pushed must be a counting number and cannot be fractional. Graph B has multiple pieces and each one could represent the total number of push for certain intervals of time, so B is a possible graph of $$s$$.\n\nStudents reason quantitatively and abstractly as they connect verbal and graphical representations of functions and as they think about the domain and range of each function (MP2).\n\n### Launch\n\nAsk students to imagine a child getting on a swing, swinging for 30 seconds, and then getting off the swing. Explain that they will look at four functions that can be found in this situation. Their job is to match verbal descriptions and graphs that define the same functions, and then to think about reasonable domain and range for each function. Tell students they will need additional information for the last question.\n\nArrange students in groups of 2. Give students a few minutes of quiet time to think about the first two questions, and then time to discuss their thinking with their partner. Follow with a whole-class discussion.\n\nInvite students to share their matching decisions and explanations as to how they know each pair of representations belong together. Make sure that students can offer an explanation for each match, including for their last pair (other than because the description and the graph are the only pair left). See some possible explanations in the Activity Narrative.\n\nNext, ask students to share the points that they think would be helpful for determining the domain and range of each function. If students gesture to the intercepts, a maximum, or a minimum on a graph but do not use those terms to refer to points, ask them to use mathematical terms to clarify what they mean.\n\nHere is the information students will need for the last question. Display it for all to see, or provide it as requested. If the requested information is not shown or cannot be reasoned from what is available, ask students to request a different piece of information.\n\n• The child is given 30 seconds on the swing.\n• While the child is on the swing, an adult pushes the swing a total of 5 times.\n• The swing is 1.5 feet (18 inches) above ground.\n• The chains that hold the seat and suspend it from the top beam are 7 feet long.\n• The highest point that the child swings up to is 4 feet above the ground.\n\nIf time is limited, ask each partner to choose two functions (different than their partner's) and write the domain and range only for those functions.\n\nSpeaking, Representing: MLR8 Discussion Supports. Use this routine to support whole-class discussion as students explain how they matched the function description to the graph. Display the following sentence frames for all to see: “_____ matches the graph _____ because . . .” and “I noticed _____, so . . . .” Encourage students to challenge each other when they disagree. The student frames will help students consider the domain and range of functions as they connect written descriptions with graphical representations.\nDesign Principle(s): Support sense-making\nRepresentation: Internalize Comprehension. Use color coding and annotations to highlight connections between representations in a problem. For example, invite students to highlight the input in each description using one color, label the horizontal axis of each graph, and highlight the label in the same color. Then they can repeat the process for the outputs and the vertical axes.\nSupports accessibility for: Visual-spatial processing\n\n### Student Facing\n\nA child gets on a swing in a playground, swings for 30 seconds, and then gets off the swing.\n\n1. Here are descriptions of four functions in the situation and four graphs representing them.\n\nThe independent variable in each function is time, measured in seconds.\n\nMatch each function with a graph that could represent it. Then, label the axes with the appropriate variables. Be prepared to explain how you make your matches.\n\n• Function $$h$$: The height of the swing, in feet, as a function of time since the child gets on the swing\n• Function $$r$$: The amount of time left on the swing as a function of time since the child gets on the swing\n• Function $$d$$: The distance, in feet, of the swing from the top beam (from which the swing is suspended) as a function of time since the child gets on the swing\n• Function $$s$$: The total number of times an adult pushes the swing as a function of time since the child gets on the swing\n\n\n\n2. On each graph, mark one or two points that—if you have the coordinates—could help you determine the domain and range of the function. Be prepared to explain why you chose those points.\n3. Once you receive the information you need from your teacher, describe the domain and range that would be reasonable for each function in this situation.\n\n### Student Response\n\nFor access, consult one of our IM Certified Partners.\n\n### Anticipated Misconceptions\n\nSome students may struggle to match the descriptions and the graphs because they confuse the independent and dependent variables and think that, in each situation, time is represented by the vertical axis. Encourage them to re-read the activity statement, clarify the input and output in each situation, label the horizontal graph with the input, and then try interpreting the graphs again.\n\n### Activity Synthesis\n\nSelect students to share the domain and range for each function and their reasoning. Record and display their responses for all to see.\n\nOne key point to highlight is that the range of a function could be a single value (say 7, as shown in graph C), a bunch of isolated values (say, only some whole numbers, as shown in graph B), all values in an interval (say, all values from 1.5 to 4, as shown in graph D, or all values between 0 and 30, as in graph A), or a combination of these.\n\nThe domain of a function may also be limited in similar ways. Tell students that, in upcoming lessons, we will look at functions in which the rules relating their input and output are a bit more complex, so their domain and range are also a bit more so.\n\n## 11.3: Back to the Bouncing Ball (10 minutes)\n\n### Activity\n\nIn this activity, students continue to interpret a graph of a function in terms of a situation and relate the features of the graph to the domain and range of the function. The context is a familiar one, allowing students to focus their reasoning on domain and range.\n\nUnlike in the activity about a child on a swing, the graph includes a scale on each axis and the coordinate pairs of some points, allowing students to identify the range more definitively. On the other hand, the graph is a partial representation of the function, as it does not show what happens after a dropped ball hits the ground the fifth time. When describing the domain, students need to attend to what is reasonable in this situation (that is, noting that the ball likely does not just stop after the fifth bounce).\n\n### Student Facing\n\nA tennis ball was dropped from a certain height. It bounced several times, rolled along for a short period, and then stopped. Function $$H$$ gives its height over time.\n\nHere is a partial graph of $$H$$. Height is measured in feet. Time is measured in seconds.\n\nBe prepared to explain what each value or set of values means in this situation.\n\n1. Find $$H(0)$$.\n2. Solve $$H(x) = 0$$.\n3. Describe the domain of the function.\n4. Describe the range of the function.\n\n### Student Response\n\nFor access, consult one of our IM Certified Partners.\n\n### Student Facing\n\n#### Are you ready for more?\n\nIn function $$H$$, the input was time in seconds and the output was height in feet.\n\nThink about some other quantities that could be inputs or outputs in this situation.\n\n1. Describe a function whose domain includes only integers. Be sure to specify the units.\n2. Describe a function whose range includes only integers. Be sure to specify the units.\n3. Sketch a graph of each function.\n\n### Student Response\n\nFor access, consult one of our IM Certified Partners.\n\n### Activity Synthesis\n\nFocus the discussion on how students reasoned about the domain and the range for the function. Highlight explanations that account for what is realistic in the context.\n\n• The domain tells us all the possible amounts of time that passed since the moment the tennis ball was dropped until it stopped rolling.\n• The range includes all the possible heights of the tennis ball from the time it was dropped until the time it stopped rolling.\n\nAsk students if there are points on the graph whose coordinates are particularly useful for identifying the domain and range of the function. (The heights of the bounces? The points where the ball hits the ground? Points between the two? Others?)\n\nEmphasize that, just like in the activity about the swing, some points and features on a graph can give us more information than others about possible input-output values of a function.\n\nSpeaking, Listening, Representing: MLR8 Discussion Supports. Use this routine to support whole-class discussion of the meaning of domain and range in the context of a tennis ball bouncing. As students share explanations of their reasoning about the domain and the range for the function, encourage students to press for details and precision in language in peers’ responses by asking questions such as, “Can you explain this using points on the graph?” or “Are there values for the domain and range not shown on the graph? How do you know?”\nDesign Principle(s): Optimize output (for explanation); Cultivate conversation\n\n## Lesson Synthesis\n\n### Lesson Synthesis\n\nDisplay several familiar graphs of functions from this unit. Here are some examples.\n\nAsk students to examine the graphs and use them to help summarize what graphs can tell us about the domain and range of functions. Ask students to complete the following prompts as thoroughly as they can.\n\n• I can learn about the domain and range of a function from a graph by looking for . . .\n• A graph may not always show all that is needed to fully describe the domain and range, however. For example, it may not show . . .\n\n## 11.4: Cool-down - A Pot of Water (5 minutes)\n\n### Cool-Down\n\nFor access, consult one of our IM Certified Partners.\n\n## Student Lesson Summary\n\n### Student Facing\n\nThe graph of a function can sometimes give us information about its domain and range.\n\nHere are graphs of two functions we saw earlier in the unit. The first graph represents the best price of bagels as a function of the number of bagels bought. The second graph represents the height of a bungee jumper as a function of seconds since the jump began.\n\nWhat are the domain and range of each function?\n\nThe number of bagels cannot be negative but could include 0 (no bagels bought). The domain of the function therefore includes 0 and positive whole numbers, or $$n \\geq 0$$.\n\nThe best price can be \\\\$0 (for buying 0 bagels), certain multiples of 1.25, certain multiples of 6, and so on. The range includes 0 and certain positive values.\n\nThe domain of the height function would include any amount of time since the jump began, up until the jump is complete. From the graph, we can tell that this happened more than 70 seconds after the jump began, but we don't know the exact value of $$t$$."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.93561643,"math_prob":0.93029946,"size":12077,"snap":"2022-27-2022-33","text_gpt3_token_len":2531,"char_repetition_ratio":0.17667523,"word_repetition_ratio":0.050400376,"special_character_ratio":0.21354641,"punctuation_ratio":0.09383033,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97605366,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-06-25T02:12:29Z\",\"WARC-Record-ID\":\"<urn:uuid:a8709f54-efb4-4df3-9266-c178b206cb99>\",\"Content-Length\":\"130648\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7a343feb-f0ea-4820-9c7d-29e58187c3ae>\",\"WARC-Concurrent-To\":\"<urn:uuid:f5c22c01-9b5f-4a2b-8d44-28eba1e7172e>\",\"WARC-IP-Address\":\"34.201.80.84\",\"WARC-Target-URI\":\"https://curriculum.illustrativemathematics.org/HS/teachers/1/4/11/index.html\",\"WARC-Payload-Digest\":\"sha1:E3AFIPY74UH3ZF22A3LKMFJRX7Z4DQJX\",\"WARC-Block-Digest\":\"sha1:BWVPIQV5S4FE2JQLB7F7IJXGOIGM5C75\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656103033925.2_warc_CC-MAIN-20220625004242-20220625034242-00157.warc.gz\"}"} |
https://git.proxmox.com/?p=mirror_edk2.git;a=blob;f=MdeModulePkg/Universal/Network/SnpDxe/Callback.c;h=c4789ba11dc81be576666a40eb7e1bca2e180f9e;hb=4cda7726e5fd30aaf3e05c80207ae1b264bfa123 | [
"1 /** @file\\r\n2 This file contains two sets of callback routines for undi3.0 and undi3.1.\\r\n3 the callback routines for Undi3.1 have an extra parameter UniqueId which\\r\n4 stores the interface context for the NIC that snp is trying to talk.\\r\n5 \\r\n6 Copyright (c) 2006 - 2008, Intel Corporation. <BR>\\r\n7 All rights reserved. This program and the accompanying materials\\r\n9 which accompanies this distribution. The full text of the license may be found at\\r\n11 \\r\n12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\\r\n13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\\r\n14 \\r\n15 **/\\r\n16 \\r\n17 #include \"Snp.h\"\\r\n18 \\r\n19 //\\r\n20 // Global variables\\r\n21 // these 2 global variables are used only for 3.0 undi. we could not place\\r\n22 // them in the snp structure because we will not know which snp structure\\r\n23 // in the callback context!\\r\n24 //\\r\n25 BOOLEAN mInitializeLock = TRUE;\\r\n26 EFI_LOCK mLock;\\r\n27 \\r\n28 //\\r\n29 // End Global variables\\r\n30 //\\r\n31 extern EFI_PCI_IO_PROTOCOL *mPciIo;\\r\n32 \\r\n33 /**\\r\n34 This is a callback routine supplied to UNDI at undi_start time.\\r\n35 UNDI call this routine with a virtual or CPU address that SNP provided to \\r\n36 convert it to a physical or device address. Since EFI uses the identical \\r\n37 mapping, this routine returns the physical address same as the virtual address\\r\n38 for most of the addresses. an address above 4GB cannot generally be used as a \\r\n39 device address, it needs to be mapped to a lower physical address. This \\r\n40 routine does not call the map routine itself, but it assumes that the mapping\\r\n41 was done at the time of providing the address to UNDI. This routine just \\r\n42 looks up the address in a map table (which is the v2p structure chain). \\r\n43 \\r\n46 The DeviceAddrPtr will contain 0 in case of any error.\\r\n47 \\r\n48 **/\\r\n49 VOID\\r\n50 SnpUndi32CallbackV2p30 (\\r\n53 )\\r\n54 {\\r\n55 V2P *V2p;\\r\n56 //\\r\n57 // Do nothing if virtual address is zero or physical pointer is NULL.\\r\n58 // No need to map if the virtual address is within 4GB limit since\\r\n59 // EFI uses identical mapping\\r\n60 //\\r\n62 DEBUG ((EFI_D_NET, \"\\nv2p: Null virtual address or physical pointer.\\n\"));\\r\n63 return ;\\r\n64 }\\r\n65 \\r\n66 if (CpuAddr < FOUR_GIGABYTES) {\\r\n68 return ;\\r\n69 }\\r\n70 //\\r\n71 // SNP creates a vaddr tp paddr mapping at the time of calling undi with any\\r\n72 // big address, this callback routine just looks up in the v2p list and\\r\n74 //\\r\n75 if (FindV2p (&V2p, (VOID *) (UINTN) CpuAddr) != EFI_SUCCESS) {\\r\n77 } else {\\r\n79 }\\r\n80 }\\r\n81 \\r\n82 /**\\r\n83 This is a callback routine supplied to UNDI at undi_start time.\\r\n84 UNDI call this routine when it wants to have exclusive access to a critical\\r\n85 section of the code/data.\\r\n86 \\r\n87 @param Enable non-zero indicates acquire\\r\n88 zero indicates release\\r\n89 \\r\n90 **/\\r\n91 VOID\\r\n92 SnpUndi32CallbackBlock30 (\\r\n93 IN UINT32 Enable\\r\n94 )\\r\n95 {\\r\n96 //\\r\n97 // tcpip was calling snp at tpl_notify and if we acquire a lock that was\\r\n98 // created at a lower level (TPL_CALLBACK) it gives an assert!\\r\n99 //\\r\n100 if (mInitializeLock) {\\r\n101 EfiInitializeLock (&mLock, TPL_NOTIFY);\\r\n102 mInitializeLock = FALSE;\\r\n103 }\\r\n104 \\r\n105 if (Enable != 0) {\\r\n106 EfiAcquireLock (&mLock);\\r\n107 } else {\\r\n108 EfiReleaseLock (&mLock);\\r\n109 }\\r\n110 }\\r\n111 \\r\n112 /**\\r\n113 This is a callback routine supplied to UNDI at undi_start time.\\r\n114 UNDI call this routine with the number of micro seconds when it wants to\\r\n115 pause.\\r\n116 \\r\n117 @param MicroSeconds number of micro seconds to pause, ususlly multiple of 10.\\r\n118 \\r\n119 **/\\r\n120 VOID\\r\n121 SnpUndi32CallbackDelay30 (\\r\n122 IN UINT64 MicroSeconds\\r\n123 )\\r\n124 {\\r\n125 if (MicroSeconds != 0) {\\r\n126 gBS->Stall ((UINTN) MicroSeconds);\\r\n127 }\\r\n128 }\\r\n129 \\r\n130 /**\\r\n131 This is a callback routine supplied to UNDI at undi_start time.\\r\n132 This is the IO routine for UNDI. This is not currently being used by UNDI3.0\\r\n133 because Undi3.0 uses io/mem offsets relative to the beginning of the device\\r\n134 io/mem address and so it needs to use the PCI_IO_FUNCTION that abstracts the\\r\n135 start of the device's io/mem addresses. Since SNP cannot retrive the context\\r\n136 of the undi3.0 interface it cannot use the PCI_IO_FUNCTION that specific for\\r\n137 that NIC and uses one global IO functions structure, this does not work.\\r\n138 This however works fine for EFI1.0 Undis because they use absolute addresses\\r\n139 for io/mem access.\\r\n140 \\r\n142 @param NumBytes number of bytes to read or write\\r\n144 @param BufferAddr memory location to read into or that contains the bytes to \\r\n145 write\\r\n146 \\r\n147 **/\\r\n148 VOID\\r\n149 SnpUndi32CallbackMemio30 (\\r\n151 IN UINT8 NumBytes,\\r\n154 )\\r\n155 {\\r\n156 EFI_PCI_IO_PROTOCOL_WIDTH Width;\\r\n157 \\r\n158 switch (NumBytes) {\\r\n159 case 2:\\r\n160 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 1;\\r\n161 break;\\r\n162 \\r\n163 case 4:\\r\n164 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 2;\\r\n165 break;\\r\n166 \\r\n167 case 8:\\r\n168 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 3;\\r\n169 break;\\r\n170 \\r\n171 default:\\r\n172 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 0;\\r\n173 }\\r\n174 \\r\n178 mPciIo,\\r\n179 Width,\\r\n180 1, // BAR 1, IO base address\\r\n182 1, // count\\r\n184 );\\r\n185 break;\\r\n186 \\r\n187 case PXE_IO_WRITE:\\r\n188 mPciIo->Io.Write (\\r\n189 mPciIo,\\r\n190 Width,\\r\n191 1, // BAR 1, IO base address\\r\n193 1, // count\\r\n195 );\\r\n196 break;\\r\n197 \\r\n200 mPciIo,\\r\n201 Width,\\r\n202 0, // BAR 0, Memory base address\\r\n204 1, // count\\r\n206 );\\r\n207 break;\\r\n208 \\r\n209 case PXE_MEM_WRITE:\\r\n210 mPciIo->Mem.Write (\\r\n211 mPciIo,\\r\n212 Width,\\r\n213 0, // BAR 0, Memory base address\\r\n215 1, // count\\r\n217 );\\r\n218 break;\\r\n219 }\\r\n220 \\r\n221 return ;\\r\n222 }\\r\n223 \\r\n224 /**\\r\n225 This is a callback routine supplied to UNDI3.1 at undi_start time.\\r\n226 UNDI call this routine when it wants to have exclusive access to a critical\\r\n227 section of the code/data.\\r\n228 New callbacks for 3.1:\\r\n229 there won't be a virtual2physical callback for UNDI 3.1 because undi3.1 uses\\r\n230 the MemMap call to map the required address by itself!\\r\n231 \\r\n232 @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to \\r\n233 store Undi interface context (Undi does not read or write\\r\n234 this variable)\\r\n235 @param Enable non-zero indicates acquire\\r\n236 zero indicates release\\r\n237 **/\\r\n238 VOID\\r\n239 SnpUndi32CallbackBlock (\\r\n240 IN UINT64 UniqueId,\\r\n241 IN UINT32 Enable\\r\n242 )\\r\n243 {\\r\n244 SNP_DRIVER *Snp;\\r\n245 \\r\n246 Snp = (SNP_DRIVER *) (UINTN) UniqueId;\\r\n247 //\\r\n248 // tcpip was calling snp at tpl_notify and when we acquire a lock that was\\r\n249 // created at a lower level (TPL_CALLBACK) it gives an assert!\\r\n250 //\\r\n251 if (Enable != 0) {\\r\n252 EfiAcquireLock (&Snp->Lock);\\r\n253 } else {\\r\n254 EfiReleaseLock (&Snp->Lock);\\r\n255 }\\r\n256 }\\r\n257 \\r\n258 /**\\r\n259 This is a callback routine supplied to UNDI at undi_start time.\\r\n260 UNDI call this routine with the number of micro seconds when it wants to\\r\n261 pause.\\r\n262 \\r\n263 @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to\\r\n264 store Undi interface context (Undi does not read or write\\r\n265 this variable)\\r\n266 @param MicroSeconds number of micro seconds to pause, ususlly multiple of 10.\\r\n267 **/\\r\n268 VOID\\r\n269 SnpUndi32CallbackDelay (\\r\n270 IN UINT64 UniqueId,\\r\n271 IN UINT64 MicroSeconds\\r\n272 )\\r\n273 {\\r\n274 if (MicroSeconds != 0) {\\r\n275 gBS->Stall ((UINTN) MicroSeconds);\\r\n276 }\\r\n277 }\\r\n278 \\r\n279 /**\\r\n280 This is a callback routine supplied to UNDI at undi_start time.\\r\n281 This is the IO routine for UNDI3.1 to start CPB.\\r\n282 \\r\n283 @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this \\r\n284 to store Undi interface context (Undi does not read or\\r\n285 write this variable)\\r\n287 @param NumBytes number of bytes to read or write.\\r\n289 @param BufferPtr memory location to read into or that contains the bytes\\r\n290 to write.\\r\n291 **/\\r\n292 VOID\\r\n293 SnpUndi32CallbackMemio (\\r\n294 IN UINT64 UniqueId,\\r\n296 IN UINT8 NumBytes,\\r\n298 IN OUT UINT64 BufferPtr\\r\n299 )\\r\n300 {\\r\n301 SNP_DRIVER *Snp;\\r\n302 EFI_PCI_IO_PROTOCOL_WIDTH Width;\\r\n303 \\r\n304 Snp = (SNP_DRIVER *) (UINTN) UniqueId;\\r\n305 \\r\n306 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 0;\\r\n307 switch (NumBytes) {\\r\n308 case 2:\\r\n309 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 1;\\r\n310 break;\\r\n311 \\r\n312 case 4:\\r\n313 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 2;\\r\n314 break;\\r\n315 \\r\n316 case 8:\\r\n317 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) 3;\\r\n318 break;\\r\n319 }\\r\n320 \\r\n324 Snp->PciIo,\\r\n325 Width,\\r\n326 Snp->IoBarIndex, // BAR 1 (for 32bit regs), IO base address\\r\n328 1, // count\\r\n329 (VOID *) (UINTN) BufferPtr\\r\n330 );\\r\n331 break;\\r\n332 \\r\n333 case PXE_IO_WRITE:\\r\n334 Snp->PciIo->Io.Write (\\r\n335 Snp->PciIo,\\r\n336 Width,\\r\n337 Snp->IoBarIndex, // BAR 1 (for 32bit regs), IO base address\\r\n339 1, // count\\r\n340 (VOID *) (UINTN) BufferPtr\\r\n341 );\\r\n342 break;\\r\n343 \\r\n346 Snp->PciIo,\\r\n347 Width,\\r\n348 Snp->MemoryBarIndex, // BAR 0, Memory base address\\r\n350 1, // count\\r\n351 (VOID *) (UINTN) BufferPtr\\r\n352 );\\r\n353 break;\\r\n354 \\r\n355 case PXE_MEM_WRITE:\\r\n356 Snp->PciIo->Mem.Write (\\r\n357 Snp->PciIo,\\r\n358 Width,\\r\n359 Snp->MemoryBarIndex, // BAR 0, Memory base address\\r\n361 1, // count\\r\n362 (VOID *) (UINTN) BufferPtr\\r\n363 );\\r\n364 break;\\r\n365 }\\r\n366 \\r\n367 return ;\\r\n368 }\\r\n369 \\r\n370 /**\\r\n371 This is a callback routine supplied to UNDI at undi_start time.\\r\n372 UNDI call this routine when it has to map a CPU address to a device\\r\n374 \\r\n375 @param UniqueId - This was supplied to UNDI at Undi_Start, SNP uses this to store\\r\n376 Undi interface context (Undi does not read or write this variable)\\r\n378 @param NumBytes - size of memory to be mapped\\r\n379 @param Direction - direction of data flow for this memory's usage:\\r\n380 cpu->device, device->cpu or both ways\\r\n382 \\r\n383 **/\\r\n384 VOID\\r\n385 SnpUndi32CallbackMap (\\r\n386 IN UINT64 UniqueId,\\r\n388 IN UINT32 NumBytes,\\r\n389 IN UINT32 Direction,\\r\n391 )\\r\n392 {\\r\n394 EFI_PCI_IO_PROTOCOL_OPERATION DirectionFlag;\\r\n395 UINTN BuffSize;\\r\n396 SNP_DRIVER *Snp;\\r\n397 UINTN Index;\\r\n398 EFI_STATUS Status;\\r\n399 \\r\n400 BuffSize = (UINTN) NumBytes;\\r\n401 Snp = (SNP_DRIVER *) (UINTN) UniqueId;\\r\n403 \\r\n404 if (CpuAddr == 0) {\\r\n406 return ;\\r\n407 }\\r\n408 \\r\n409 switch (Direction) {\\r\n410 case TO_AND_FROM_DEVICE:\\r\n411 DirectionFlag = EfiPciIoOperationBusMasterCommonBuffer;\\r\n412 break;\\r\n413 \\r\n414 case FROM_DEVICE:\\r\n415 DirectionFlag = EfiPciIoOperationBusMasterWrite;\\r\n416 break;\\r\n417 \\r\n418 case TO_DEVICE:\\r\n420 break;\\r\n421 \\r\n422 default:\\r\n424 //\\r\n425 // any non zero indicates error!\\r\n426 //\\r\n427 return ;\\r\n428 }\\r\n429 //\\r\n430 // find an unused map_list entry\\r\n431 //\\r\n432 for (Index = 0; Index < MAX_MAP_LENGTH; Index++) {\\r\n433 if (Snp->MapList[Index].VirtualAddress == 0) {\\r\n434 break;\\r\n435 }\\r\n436 }\\r\n437 \\r\n438 if (Index >= MAX_MAP_LENGTH) {\\r\n439 DEBUG ((EFI_D_INFO, \"SNP maplist is FULL\\n\"));\\r\n441 return ;\\r\n442 }\\r\n443 \\r\n445 \\r\n446 Status = Snp->PciIo->Map (\\r\n447 Snp->PciIo,\\r\n448 DirectionFlag,\\r\n450 &BuffSize,\\r\n453 );\\r\n454 if (Status != EFI_SUCCESS) {\\r\n457 }\\r\n458 \\r\n459 return ;\\r\n460 }\\r\n461 \\r\n462 /**\\r\n463 This is a callback routine supplied to UNDI at undi_start time.\\r\n464 UNDI call this routine when it wants to unmap an address that was previously\\r\n465 mapped using map callback.\\r\n466 \\r\n467 @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to store.\\r\n468 Undi interface context (Undi does not read or write this variable)\\r\n470 @param NumBytes size of memory mapped\\r\n471 @param Direction direction of data flow for this memory's usage:\\r\n472 cpu->device, device->cpu or both ways\\r\n474 \\r\n475 **/\\r\n476 VOID\\r\n477 SnpUndi32CallbackUnmap (\\r\n478 IN UINT64 UniqueId,\\r\n480 IN UINT32 NumBytes,\\r\n481 IN UINT32 Direction,\\r\n483 )\\r\n484 {\\r\n485 SNP_DRIVER *Snp;\\r\n486 UINT16 Index;\\r\n487 \\r\n488 Snp = (SNP_DRIVER *) (UINTN) UniqueId;\\r\n489 \\r\n490 for (Index = 0; Index < MAX_MAP_LENGTH; Index++) {\\r\n492 break;\\r\n493 }\\r\n494 }\\r\n495 \\r\n496 if (Index >= MAX_MAP_LENGTH)\\r\n497 {\\r\n498 DEBUG ((EFI_D_ERROR, \"SNP could not find a mapping, failed to unmap.\\n\"));\\r\n499 return ;\\r\n500 }\\r\n501 \\r\n505 return ;\\r\n506 }\\r\n507 \\r\n508 /**\\r\n509 This is a callback routine supplied to UNDI at undi_start time.\\r\n510 UNDI call this routine when it wants synchronize the virtual buffer contents\\r\n511 with the mapped buffer contents. The virtual and mapped buffers need not\\r\n512 correspond to the same physical memory (especially if the virtual address is\\r\n513 > 4GB). Depending on the direction for which the buffer is mapped, undi will\\r\n514 need to synchronize their contents whenever it writes to/reads from the buffer\\r\n516 \\r\n517 EFI does not provide a sync call, since virt=physical, we sould just do\\r\n518 the synchronization ourself here!\\r\n519 \\r\n520 @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to store\\r\n521 Undi interface context (Undi does not read or write this variable)\\r\n523 @param NumBytes size of memory mapped.\\r\n524 @param Direction direction of data flow for this memory's usage:\\r\n525 cpu->device, device->cpu or both ways.\\r\n527 \\r\n528 **/\\r\n529 VOID\\r\n530 SnpUndi32CallbackSync (\\r\n531 IN UINT64 UniqueId,\\r\n533 IN UINT32 NumBytes,\\r\n534 IN UINT32 Direction,\\r\n536 )\\r\n537 {\\r\n538 if ((CpuAddr == 0) || (DeviceAddr == 0) || (NumBytes == 0)) {\\r\n539 return ;\\r\n540 \\r\n541 }\\r\n542 \\r\n543 switch (Direction) {\\r\n544 case FROM_DEVICE:\\r"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.683985,"math_prob":0.6770538,"size":13026,"snap":"2020-45-2020-50","text_gpt3_token_len":3781,"char_repetition_ratio":0.1452158,"word_repetition_ratio":0.206507,"special_character_ratio":0.32135728,"punctuation_ratio":0.08945821,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9620816,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-26T18:42:25Z\",\"WARC-Record-ID\":\"<urn:uuid:18df5f03-0905-49c1-89a1-13f7e8cd2159>\",\"Content-Length\":\"194463\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:13ba4960-7de4-466f-aa95-aadb91ae1fea>\",\"WARC-Concurrent-To\":\"<urn:uuid:ec20110d-adf6-4efe-92dc-a803c32d61fa>\",\"WARC-IP-Address\":\"79.133.36.253\",\"WARC-Target-URI\":\"https://git.proxmox.com/?p=mirror_edk2.git;a=blob;f=MdeModulePkg/Universal/Network/SnpDxe/Callback.c;h=c4789ba11dc81be576666a40eb7e1bca2e180f9e;hb=4cda7726e5fd30aaf3e05c80207ae1b264bfa123\",\"WARC-Payload-Digest\":\"sha1:KST7P55M266FLQ73C7LA4AZEYN6CDNWX\",\"WARC-Block-Digest\":\"sha1:3NJTTV62GPOGNHMOLG3ZMYUUT7KBQKBS\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141188899.42_warc_CC-MAIN-20201126171830-20201126201830-00500.warc.gz\"}"} |
https://math.stackexchange.com/questions/2574815/find-an-angle-of-a-triangle-on-a-larger-triangle-which-cut-through-its-midpoint | [
"# Find an angle of a triangle on a larger triangle which cut through its midpoint\n\nIn triangle $$\\triangle BAC$$ with $$\\angle ABC = 30\\deg$$. $$D$$ is the midpoint of $$BC$$. We join $$A$$ and $$D$$ and $$\\angle CDA = 45 \\deg$$. Find $$\\angle BAC$$.",
null,
"On applying Sine rule, $$\\frac{2x}{\\sin {(15+\\theta)}}=\\frac{AC}{\\sin 30}$$ and also $$\\frac{x}{\\sin \\theta}=\\frac{AC}{\\sin 45}$$\nWhere $$x$$ is $$CD$$ or $$DB$$ and $$\\theta$$ is $$\\angle CAD$$.\n\nBut solving this gives $$\\frac{\\sin {(15+\\theta)}}{\\sin \\theta}=\\sqrt 2$$\n\nIs this correct?\n\n• I think that this can be solved suing just F and Z angles. Draw a line parallel to $AB$ that goes through $C$. – stuart stevenson Dec 20 '17 at 18:57\n• @stuartstevenson Ok....but....can you please go through my method?....i want to know why it is not working. – ami_ba Dec 20 '17 at 19:01\n• i think your second equation is wrong! – Dr. Sonnhard Graubner Dec 20 '17 at 19:08\n• I don't think there's a problem with it. – stuart stevenson Dec 20 '17 at 19:10\n• but i think so, you can not use $$45^{\\circ}$$ AND $$\\theta$$ in the triangle $$\\Delta ADC$$ – Dr. Sonnhard Graubner Dec 20 '17 at 19:14\n\nYour reasoning looks good to me. Using your second equation, $$AC=\\frac{x}{\\sqrt{2}\\sin{\\theta}}$$ Now substituting $AC$ in the first equation, $$\\frac{2x}{\\sin{(15+\\theta)}}=\\frac{2x}{\\sqrt{2}\\sin{\\theta}}$$ or $$\\sin{(15+\\theta)}=\\sqrt{2}\\sin{\\theta}$$ Using trig identity, $$\\cos15\\sin\\theta+\\sin15\\cos\\theta=\\sqrt{2}\\sin{\\theta}$$ Dividing by $\\sin\\theta$ we get $$\\cot\\theta=\\frac{\\sqrt{2}-\\cos15}{\\sin15}$$ Knowing that $\\sin15=\\frac{\\sqrt{3}-1}{2\\sqrt{2}}$, $\\cos15=\\frac{\\sqrt{3}+1}{2\\sqrt{2}}$ we get $\\cot\\theta=\\sqrt{3}$, $\\theta=30°$\n\n• Perfect....thank you☺️☺️ – ami_ba Dec 21 '17 at 3:35\n\nyou will Need three equations $$a^2=b^2+c^2-2bc\\cos(\\alpha)$$ $$a=\\frac{b\\sin(\\alpha)}{\\sin(30^{\\circ})}$$ $$c=\\frac{b\\sin(150^{\\circ})}{\\sin(30^{\\circ})}$$ then you Can divide by $b^2$ and you will get only an equation for $$\\alpha$$\n\nNever Underestimate the Power of Euclidean Geometry",
null,
"• By Exterior Angle Theorem $$\\angle DAB = 15°$$.\n• Draw from $$C$$ the line perpendicular to $$AB$$, intersecting $$AB$$ in $$E$$. We then have $$\\angle ECB = 60°$$ and thus $$\\triangle EBC$$ is half of an equilater triangle and $$CE \\cong \\frac{BC}{2} \\cong CD \\cong BD$$.\n• Now connect $$E$$ with $$D$$. $$\\triangle CED$$ is isosceles, but having $$\\angle ECB = 60°$$, it is also equilateral and thus $$ED \\cong CE$$, and $$\\angle EDA = \\angle DAB = 15°$$.\n• So $$\\triangle AED$$ is isosceles and we get also $$AE \\cong CE$$.\n• We conclude that $$\\triangle ACE$$ is isosceles and right-angled. Therefore $$\\angle BAC = 45°$$.\n\n$$\\blacksquare$$"
] | [
null,
"https://i.stack.imgur.com/obpU1.jpg",
null,
"https://i.stack.imgur.com/R1DDO.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7145418,"math_prob":1.0000091,"size":1415,"snap":"2021-31-2021-39","text_gpt3_token_len":509,"char_repetition_ratio":0.1438696,"word_repetition_ratio":0.0,"special_character_ratio":0.37738517,"punctuation_ratio":0.06741573,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000099,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,4,null,4,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-07-27T14:09:38Z\",\"WARC-Record-ID\":\"<urn:uuid:cfa9b035-3aa2-4124-a6a2-78c052c66c61>\",\"Content-Length\":\"190545\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cfabcd2e-04b4-431b-8002-1800873129f4>\",\"WARC-Concurrent-To\":\"<urn:uuid:f48b5ea5-1806-43a5-83f3-098f55fa8930>\",\"WARC-IP-Address\":\"151.101.129.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/2574815/find-an-angle-of-a-triangle-on-a-larger-triangle-which-cut-through-its-midpoint\",\"WARC-Payload-Digest\":\"sha1:IO5G2BGO7RNDZYLLMDY5FDGN3UVBZD6H\",\"WARC-Block-Digest\":\"sha1:74SCL2JDBYKSUJXLFFE2KCBGMJWF5XRN\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046153392.43_warc_CC-MAIN-20210727135323-20210727165323-00644.warc.gz\"}"} |
https://scicomp.stackexchange.com/questions/503/can-diagonal-plus-fixed-symmetric-linear-systems-be-solved-in-quadratic-time-aft | [
"# Can diagonal plus fixed symmetric linear systems be solved in quadratic time after precomputation?\n\nIs there an $O(n^3+n^2 k)$ method to solve $k$ linear systems of the form $(D_i + A) x_i = b_i$ where $A$ is a fixed SPD matrix and $D_i$ are positive diagonal matrices?\n\nFor example, if each $D_i$ is scalar, it suffices to compute the SVD of $A$. However, this breaks down for general $D$ due to lack of commutativity.\n\nUpdate: The answers so far are \"no\". Does anyone have any interesting intuition as to why? A no answer means that there's no nontrivial way to compress the information between two noncommuting operators. It isn't terribly surprisingly, but it'd be great to understand it better.\n\n• SPD = semi-positive definite? – rcollyer Jan 2 '12 at 15:50\n• Yes, though the problem is essentially the same without SPD. I added that constraint only to ensure that the systems are never singular. – Geoffrey Irving Jan 2 '12 at 19:40\n\n## 3 Answers\n\nThe closest positive answers to your question that I could find is for sparse diagonal perturbations (see below).\n\nWith that said, I do not know of any algorithms for the general case, though there is a generalization of the technique you mentioned for scalar shifts from SPD matrices to all square matrices:\n\nGiven any square matrix $A$, there exists a Schur decomposition $A=U T U^H$, where $U$ is unitary and $T$ is upper triangular, and $A+\\sigma I = U (T + \\sigma I) U^H$ provides a Schur decomposition of $A + \\sigma I$. Thus, your precomputation idea extends to all square matrices through the algorithm:\n\n• Compute $[U,T]=\\mathrm{schur}(A)$ in at most $\\mathcal{O}(n^3)$ work.\n• Solve each $(A+\\sigma I) x = b$ via $x := U (T +\\sigma I)^{-1} U^H b$ in $\\mathcal{O}(n^2)$ work (the middle inversion is simply back substitution).\n\nThis line of reasoning reduces to the approach you mentioned when $A$ is SPD since the Schur decomposition reduces to an EVD for normal matrices, and the EVD coincides with the SVD for Hermitian positive-definite matrices.\n\nResponse to update: Until I have a proof, which I do not, I refuse to claim that the answer is \"no\". However, I can give some insights as to why it's hard, as well as another subcase where the answer is yes.\n\nThe essential difficulty is that, even though the update is diagonal, it is still in general full rank, so the primary tool for updating an inverse, the Sherman-Morrison-Woodbury formula, does not appear to help. Even though the scalar shift case is also full rank, it is an extremely special case since it commutes with every matrix, as you mentioned.\n\nWith that said, if each $D$ was sparse, i.e., they each had $\\mathcal{O}(1)$ nonzeros, then the Sherman-Morrison-Woodbury formula yields an $\\mathcal{O}(n^2)$ solve with each pair $\\{D,b\\}$. For example, with a single nonzero at the $j$th diagonal entry, so that $D=\\delta e_j e_j^H$:\n\n$$[A^{-1}+\\delta e_j e_j^H]^{-1} = A^{-1} - \\frac{\\delta A^{-1} e_j e_j^H A^{-1}}{1+\\delta (e_j^H A^{-1} e_j)},$$\n\nwhere $e_j$ is the $j$th standard basis vector.\n\nAnother update: I should mention that I tried the $A^{-1}$ preconditioner that @GeoffOxberry suggested on a few random SPD $1000 \\times 1000$ matrices using PCG and, perhaps not surprisingly, it seems to greatly reduce the number of iterations when $||D||_2/||A||_2$ is small, but not when it is $\\mathcal{O}(1)$ or greater.\n\nIf $(D_{i} + A)$ is diagonally dominant for each $i$, then recent work by Koutis, Miller, and Peng (see Koutis' website for work on symmetric diagonally dominant matrices) could be used to solve each system in $\\mathcal{O}(n^2 \\log(n))$ time (actually $\\mathcal{O}(m\\log(n))$ time, where $m$ is the maximum number of nonzero entries in $(D_{i} + A)$ over all $i$, so you could take advantage of sparsity as well). Then, the total running time would be $\\mathcal{O}(n^2 \\log(n) k)$, which is better than the $\\mathcal{O}(n^3 k)$ approach of solving each system naïvely using dense linear algebra, but slightly worse than the quadratic run time you're asking for.\n\nSignificant sparsity in $(D_{i} + A)$ for all $i$ could be exploited by sparse solvers to yield an $\\mathcal{O}(n^2 k)$ algorithm, but I'm guessing that if you had significant sparsity, then you would have mentioned it.\n\nYou could also use $A^{-1}$ as a preconditioner to solve each system using iterative methods, and see how that works out.\n\nResponse to update: @JackPaulson makes a great point from the standpoint of numerical linear algebra and algorithms. I will focus on computational complexity arguments instead.\n\nThe computational complexity of the solution of linear systems and the computational complexity of matrix multiplication are essentially equal. (See Algebraic Complexity Theory.) If you could find an algorithm that could compress the information between two non-commuting operators (ignoring the positive semidefinite part) and directly solve the collection of systems you're proposing in quadratic time in $n$, then it's likely that you could use such an algorithm to make inferences about faster matrix multiplication. It's difficult to see how positive semidefinite structure could be used in a dense, direct method for linear systems to decrease its computational complexity.\n\nLike @JackPaulson, I'm unwilling to say that the answer is \"no\" without a proof, but given the connections above, the problem is very difficult and of current research interest. The best you could do from an asymptotic standpoint without leveraging special structure is an improvement on the Coppersmith and Winograd algorithm, yielding a $\\mathcal{O}(n^{\\alpha}k)$ algorithm, where $\\alpha \\approx 2.375$. That algorithm would be difficult to code, and would likely be slow for small matrices, because the constant factor preceding the asymptotic estimate is probably huge relative to Gaussian elimination.\n\n• I have yet to see a concrete statement of where the crossover might be, but several reputable sources have stated that (implementation issues aside), Coppersmith-Winograd cannot beat standard methods for matrix sizes that will be able to fit in memory in the near future (a few decades). Given that the Linpack benchmark takes more than a day to run on the current top machines, it does not seem likely that Coppersmith-Winograd will ever be used in practice. Strassen is actually practical for large problems, though it is somewhat less numerical stable. – Jed Brown Dec 25 '11 at 5:16\n• That does not surprise me. +1 for the implementation details. – Geoff Oxberry Dec 25 '11 at 13:42\n\nA first order Taylor expansion can be used to improve convergence over simple lagging. Suppose we have a preconditioner (or factors for a direct solve) available for $A+D$, and we want to use it for preconditioning $A$. We can compute\n\n\\begin{align} A^{-1} &= (A+D-D)^{-1} (A+D) (A+D)^{-1} \\\\ &= [(A+D)^{-1} (A+D-D)]^{-1} (A+D)^{-1} \\\\ &= [I - (A+D)^{-1} D]^{-1} (A+D)^{-1} \\\\ &\\approx [I + (A+D)^{-1} D] (A+D)^{-1} \\end{align}\n\nwhere the Taylor expansion was used to write the last line. Application of this preconditioner requires two solves with $A+D$.\n\nIt works fairly well when the preconditioner is shifted away from 0 by a similar or larger amount than the operator we are trying to solve with (e.g. $D\\gtrsim 0$). If the shift in the preconditioner is smaller ($D \\lesssim \\min \\sigma(A)$), the preconditioned operator becomes indefinite.\n\nIf the shift in the preconditioner is much larger than in the operator, this method tends to produce a condition number about half that of preconditioning by the lagged operator (in the random tests I ran, it could be better or worse for a specific class of matrices). That factor of 2 in condition number gives a factor of $\\sqrt 2$ in iteration count. If the iteration cost is dominated by the solves with $A+D$, then this is not a sufficient factor to justify the first order Taylor expansion. If matrix application is proportionately expensive (e.g. you only have an inexpensive-to-apply preconditioner for $A+D$), then this first order method may make sense."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8979222,"math_prob":0.99537927,"size":2390,"snap":"2019-35-2019-39","text_gpt3_token_len":664,"char_repetition_ratio":0.09974853,"word_repetition_ratio":0.0,"special_character_ratio":0.28075314,"punctuation_ratio":0.10330579,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99948853,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-08-25T14:35:48Z\",\"WARC-Record-ID\":\"<urn:uuid:9684601c-6e26-442e-a42b-a54c6ae0036a>\",\"Content-Length\":\"158224\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e9fc87c1-e90c-4337-a9b5-dfb5fa3543c1>\",\"WARC-Concurrent-To\":\"<urn:uuid:86f9ba78-d2d7-4244-a8d8-5d0e112cd0d9>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://scicomp.stackexchange.com/questions/503/can-diagonal-plus-fixed-symmetric-linear-systems-be-solved-in-quadratic-time-aft\",\"WARC-Payload-Digest\":\"sha1:RLOLMTINX7BYA6L2WF7AK4NWK2DXLYB7\",\"WARC-Block-Digest\":\"sha1:3Y3IEYGYH6JVSQBJY7ZOFEPL65JPBY6E\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-35/CC-MAIN-2019-35_segments_1566027330233.1_warc_CC-MAIN-20190825130849-20190825152849-00404.warc.gz\"}"} |
https://johnmuschelli.com/intro_to_r/HW/homework3.html | [
"### Instructions\n\n1. You must submit both the RMD and “knitted” HTML files as one compressed .zip to the Homework 3 Drop Box on CoursePlus.\n2. All assignments are due by the end of the grading period for this term (26 June 2020).\n\n### Getting Started\n\nIn this assignment, we will be working with the infant mortality data set, found here: http://johnmuschelli.com/intro_to_r/data/indicatordeadkids35.csv.\n\nThe packages listed below are simply suggestions, but please edit this list as you see fit.\n\n## you can add more, or change...these are suggestions\nlibrary(tidyverse)\nlibrary(dplyr)\nlibrary(ggplot2)\nlibrary(tidyr)\n\n### Problem Set\n\n1. Read the data using read_csv() and name it mort. Rename the first column to country using the rename() command in dplyr. Create an object year variable by extracting column names (using colnames()) and make it to an integer as.integer() ), excluding the first column either with string manipulations or bracket subsetting or subsetting with is.na().\n\n2. Reshape the data so that there is a variable named year corresponding to year (key) and a column of the mortalities named mortality (value), using the tidyr package and its gather() function. Name the output long and make year a numeric variable.\nHint: remember that -COLUMN_NAME removes that column, gather all the columns but country.\n\n3. Read in this the tab-delim file and call it pop: http://johnmuschelli.com/intro_to_r/data/country_pop.txt. The file contains population information on each country. Rename the second column to \"Country\" and the column \"% of world population\", to percent.\nHint: use read_tsv()\n\n4. Determine the population of each country in pop using arrange(). Get the order of the countries based on this (first is the highest population), and extract that column and call it pop_levels. Make a variable in the long data set named sorted that is the country variable coded as a factor based on pop_levels.\n\n5. Parts a, b, and c below are only broken up here for clarity, but all three components can be addressed in one chunk of code/as one function, using %>% as necessary.\n\na. Subset long based on years 1975-2010, including 1975 and 2010 and call this long_sub using & or the between() function.\nb. Further subset long_sub for the following countries using dplyr::filter() and the %in% operator on the sorted country factor (sorted):c(\"Venezuela\", \"Bahrain\", \"Estonia\", \"Iran\", \"Thailand\", \"Chile\", \"Western Sahara\", \"Azerbaijan\", \"Argentina\", \"Haiti\").\nc. Lastly, remove missing rows for mortality using filter() and is.na().\n\nHint: Be sure to assign your final object created from a through c as long_sub so you can use it in questions 6 and 7.\n\n6. Plotting: create “spaghetti”/line plots for the countries in long_sub, using different colors for different countries, using sorted. The x-axis should be year, and the y-axis should be mortality. Make the plot using a.qplot and b. ggplot.\n\n7. Bonus: load the plotly package (library(plotly)) and assign the plot from question 6 to g and run ggplotly(g)."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.79947716,"math_prob":0.5554885,"size":2762,"snap":"2021-43-2021-49","text_gpt3_token_len":681,"char_repetition_ratio":0.113850616,"word_repetition_ratio":0.0,"special_character_ratio":0.23750906,"punctuation_ratio":0.14694656,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96610963,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-25T01:42:49Z\",\"WARC-Record-ID\":\"<urn:uuid:5bdba052-f4d7-4803-a706-7515388874c7>\",\"Content-Length\":\"635024\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:15e29e19-dd9f-41d0-8276-83eb252c49a5>\",\"WARC-Concurrent-To\":\"<urn:uuid:6ad5f232-ebbe-43b3-ad2f-fcc2c1dcbaa5>\",\"WARC-IP-Address\":\"172.67.144.169\",\"WARC-Target-URI\":\"https://johnmuschelli.com/intro_to_r/HW/homework3.html\",\"WARC-Payload-Digest\":\"sha1:ZZ6CDRRKUKFFZVLH54ZINDGE6T666BH5\",\"WARC-Block-Digest\":\"sha1:D3TUBPYZQ6KHJRLZSAS2DDTCD6NCHRQJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323587608.86_warc_CC-MAIN-20211024235512-20211025025512-00155.warc.gz\"}"} |
https://apboardsolutions.in/ap-board-6th-class-maths-solutions-chapter-8-intext-questions/ | [
"# AP Board 6th Class Maths Solutions Chapter 8 Basic Geometric Concepts InText Questions\n\nAP State Syllabus AP Board 6th Class Maths Solutions Chapter 8 Basic Geometric Concepts InText Questions and Answers.\n\n## AP State Syllabus 6th Class Maths Solutions 8th Lesson Basic Geometric Concepts InText Questions",
null,
"(Page No. 111)\n\ni) How many rays are there ?\nSolution:\nFour",
null,
"ii) How many coins are close to player Q ?\nSolution:\nB, C and D coins are close to player Q.\n\niii) While striking with striker there is a possibility of a coin touches with any other. Draw all such possibilities in the given picture by means of the line segments.\nSolution:\n$$\\overline{\\mathrm{CB}}$$ and $$\\overline{\\mathrm{DE}}$$ .\n\niv) How many such line segments can be drawn in the picture ?\nSolution:\n$$\\overline{\\mathrm{AB}}, \\overline{\\mathrm{BC}}, \\overline{\\mathrm{ED}}, \\overline{\\mathrm{AC}}, \\overline{\\mathrm{AE}}, \\overline{\\mathrm{CD}}, \\overline{\\mathrm{CE}}, \\overline{\\mathrm{AD}}, \\overline{\\mathrm{BD}} \\text { and } \\overline{\\mathrm{BE}}$$",
null,
"Let’s Do (Page No. 112)\n\nQuestion 1.\nObserve the table and their notations and fill the gaps.",
null,
"Solution:",
null,
"Lets Explore (Page No. 114)\n\nQuestion 1.\nMeasure the lengths of all line segments in the given figures by using divider and scale. Then compare the sides of the given figures.",
null,
"Solution:\ni) In ΔABC; $$\\overline{\\mathrm{AB}}$$ = 2.2 cm; $$\\overline{\\mathrm{BC}}$$ = 2 cm and $$\\overline{\\mathrm{AC}}$$ = 2.2 cm ‘\n2.2 cm = 2.2 cm > 2 cm i.e., $$\\overline{\\mathrm{AB}}=\\overline{\\mathrm{AC}}>\\overline{\\mathrm{BC}}$$\nTwo sides are equal and one side is different in length.\n\nii) In PQRS rectangle $$\\overline{\\mathrm{PS}}=\\overline{\\mathrm{QR}}$$ = 2.7 cm; $$\\overline{\\mathrm{P Q}}=\\overline{\\mathrm{RS}}$$ = 1.8 cm and $$\\overline{\\mathrm{PR}}=\\overline{\\mathrm{QS}}$$ = 3.2 cm.\nOpposite sides are equal and diagonals are equal in length,\n\niii) In KLMN square $$\\overline{\\mathrm{KL}}=\\overline{\\mathrm{LM}}=\\overline{\\mathrm{MN}}=\\overline{\\mathrm{KN}}$$ = 1.8 cm\nAll sides are equal in length.",
null,
"Let’s Do (Page No. 115)\n\nQuestion 1.\n(i) Find the parallel lines in the below figure. Name, write and read them.",
null,
"Solution:\na) l, m are parallel lines.\nWe denote this by writing l || m and can be read as l is parallel to m.\nb) n, o are parallel lines.\nWe denote this by writing n||o and can be read as n is parallel to o.\nc) p, q are parallel lines.\nWe denote this by writing p||q and can be read as p is parallel to q.\n\nii) Find the intersecting lines in the above figure. Name, write and read them.\nSolution:\nIntersecting lines are (l, q); (m,q); (m, r); (n,q); (p, r); (o, r); (o, q); (q, r);\n\niii) Find the concurrent lines in the above figure. Name, write and read them.\nSolution:\nThree or more lines passing through the same point are called concurrent lines. Concurrent lines are (l, o, p) & (m, n, p).\n\niv) Find the perpendicular lines in the above figure. Name, write and read them.\nSolution:\na) p, o are perpendicular lines.\nWe denote this by writing p ⊥ o and can be read as p is perpendicular to o.\nb) p, n are perpendicular lines.\nWe denote this by writing p ⊥ n and can be read as p is perpendicular to n.\nc) n, q are perpendicular lines.\nWe denote this by writing n ⊥ q and can be read as n is perpendicular to q.\nd) q, o are perpendicular lines.\nWe denote this by writing q⊥ o and can be read as q is perpendicular to o.",
null,
"(Page No. 119)\n\nQuestion 1.\nMeasure the angles at the vertices.",
null,
"Solution:",
null,
"In triangle ABC,\nm∠BAC = 60°\nm∠ABC = 60°\nm∠ACB = 60°",
null,
"In triangle XYZ,\nm∠YXZ = 40°\nm∠XYZ = 70°\nm∠XZY = 70°",
null,
"",
null,
"In triangle PQR,\nm∠QPR = 35°\nm∠PQR = 38°\nm∠PRQ = 107°"
] | [
null,
"https://apboardsolutions.in/wp-content/uploads/2020/12/AP-Board-Solutions.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-1.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2020/12/AP-Board-Solutions.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-2.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-3.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-4.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2020/12/AP-Board-Solutions.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-5.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2020/12/AP-Board-Solutions.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-6.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-7.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-8.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2020/12/AP-Board-Solutions.png",
null,
"https://apboardsolutions.in/wp-content/uploads/2021/04/AP-Board-6th-Class-Maths-Solutions-Chapter-8-Basic-Geometric-Concepts-InText-Questions-9.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7627685,"math_prob":0.9989384,"size":3493,"snap":"2022-27-2022-33","text_gpt3_token_len":1076,"char_repetition_ratio":0.1994841,"word_repetition_ratio":0.1520979,"special_character_ratio":0.30375037,"punctuation_ratio":0.15579228,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99963653,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28],"im_url_duplicate_count":[null,null,null,1,null,null,null,1,null,1,null,1,null,null,null,1,null,null,null,1,null,1,null,1,null,null,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-05T06:48:59Z\",\"WARC-Record-ID\":\"<urn:uuid:64c2faed-43a9-43c5-b99b-8cf06218f8e5>\",\"Content-Length\":\"41746\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f51092e9-1794-48e7-89b1-fbc43b16dc83>\",\"WARC-Concurrent-To\":\"<urn:uuid:2e1cf7ac-99bf-474f-81d9-3de22fbb4497>\",\"WARC-IP-Address\":\"143.244.140.135\",\"WARC-Target-URI\":\"https://apboardsolutions.in/ap-board-6th-class-maths-solutions-chapter-8-intext-questions/\",\"WARC-Payload-Digest\":\"sha1:4KRXLNAADKWGX6M6MTDNPYBTFMTTMHVH\",\"WARC-Block-Digest\":\"sha1:KUNJIWG4NLY2V43TDEKNP64CRO4JT57J\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104514861.81_warc_CC-MAIN-20220705053147-20220705083147-00613.warc.gz\"}"} |
https://www.markedbyteachers.com/as-and-a-level/science/rates-of-halogenoalkanes.html | [
"• Join over 1.2 million students every month\n• Accelerate your learning by 29%\n• Unlimited access from just £6.99 per month\n\n# Rates of Halogenoalkanes\n\nExtracts from this document...\n\nIntroduction\n\nRates of Reaction of Halogenoalkanes I have been asked to design an experiment to examine how the rate of reaction of halogenoalkanes varies with respect to the C-X bond. I will be varying the C-X bond using the halogens chlorine, bromine and iodine (C-Cl, C-Br or C-I) to see which of these bonds gives the fastest rate of hydrolysis. Other factors that affect the rate of reaction are temperature, concentration of reagents, pressure, surface area and the use of a catalyst, however I will make sure that these remain constant, in order to ensure that only the chosen variable (the halogenoalkanes) is causing any difference to the rate of hydrolysis. The hydrolysis of the halogenoalkanes involves a nucleophilic substitution reaction. The mechanism for the reaction is as follows. Firstly as the halogen atom is more electronegative than the carbon atom, the C-X bond is polarised to become, C?+ - X?- . The positive charge of the carbon atom promotes attack by a nucleophile (a chemical that donates a pair of electrons to form a new covalent bond) this causes heterolytic fission of the carbon-halogen bond to occur and the halogen atom is displaced as a halide ion. A new covalent bond is then formed between the nucleophile and the carbon. ...read more.\n\nMiddle\n\nis added to the halogenoalkanes. Calculations: From my preliminary experiment I know that a reasonable mass of 1-bromobutane to be hydrolysed is 0.20g. Using this I can calculate the mass of 1-chlorobutane and 1-iodobutane needed. For the experiment to be a fair test, the amount (in moles) of halogenoalkane being reacted must remain constant. I will use the equation: To work out the amount (in moles) that represents 0.20g of 1-bromobutane: Mr of C4H9Br (4 x 12.0) + (9x1.0) + (1x79.9) = 0.00146092 mol. of C4H9Br If the amount of halogenoalkane is to be constant then I must use this number of moles of the other two halogenoalkane compounds. Therefore for each reagent I will use the same equation as above, but rearrange it to make mass the subject and use the number just calculated for the moles value: For 1-chlorobutane (C4H9Cl): Mass = moles x Mr Mass = 0.00146092 x (4x12.0) + (9x1.0) + (35.5) Mass = 0.14g For 1-iodobutane (C4H9I): Mass = moles x Mr Mass = 0.00146092 x (4x12.0) + (9x1.0) + (127.0) Mass = 0.27g I also need to calculate the amount of AgNO3 that reacts with each hydrogen halide compound. Knowing the amount required by the reactions I can then ensure there is excess silver nitrate available, so as not to limit any of the reactions. ...read more.\n\nConclusion\n\n10) Put the bungs back in and shake each test tube twice. Shaking ensures complete mixing. Each test tube must be shaken the same number of times so that shaking does not become a variable (it must not be shaking that has any effect on the rate of hydrolysis). 11) Arrange the test tubes so that the sides with the crosses drawn on are furthest away from you. Look through each tube. The moment a cross becomes invisible, stop the stopwatch corresponding to the test tube number. Continue with this until all the crosses have become invisible, or 20 minutes has elapsed since the last silver nitrate was added. The halogenoalkanes should react well before 20 minutes, so this extra time is given to demonstrate that the control will never react, even when left for much longer than the other test tubes. A time of 20 minutes is sensible as it allows the experiment to be completed in a practical amount of time, whilst still giving adequate time to the control. 12) Record any observations of the test tube contents. Detailed and well presented observations will allow proper analysis of the results. 13) Record the time shown on each stopwatch in the relevant column of a results table. 14) Repeat the above procedure a further 2 times. To increase the reliability of the results. ...read more.\n\nThe above preview is unformatted text\n\nThis student written piece of work is one of many that can be found in our AS and A Level Organic Chemistry section.\n\n## Found what you're looking for?\n\n• Start learning 29% faster today\n• 150,000+ documents available\n• Just £6.99 a month\n\nNot the one? Search for your essay title...\n• Join over 1.2 million students every month\n• Accelerate your learning by 29%\n• Unlimited access from just £6.99 per month\n\n# Related AS and A Level Organic Chemistry essays\n\n1.",
null,
"## Find the enthalpy change of combustion of a number of alcohol's' so that you ...\n\nFrom my table you can see that the enthalpy change of combustion form methanol to ethanol increases by '134.34 Kj mol-1' and from ethanol to propan-1-ol is '158.96 Kj mol-1'. This shows the increase in enthalpy is roughly the same meaning that as the number of carbon atoms increase so does the enthalpy change of combustion.\n\n2.",
null,
"## The aim of this experiment is to produce Aspirin. This is an estrification in ...\n\n* Once the crystals were dry, they were weighed and the theoretical yield and percentage yield of aspirin was calculated. Results Appearance of crystals = white crystals Amount of salicylic acid used = 4.0029g Amount of re-crystallised product produced = 2.6586g Determine the melting point of Aspirin Apparatus * Melting\n\n1.",
null,
"## Comparing the enthalpy changes of combustion of different alcohols\n\nThis means that when taking the reading from a thermometer, it was possible to gain a recording within 0.05 of a degree. Therefore the percentage uncertainty will be found by the formula (0.05/temperature change) x 100. Percentage Errors Methanol 1st Recording Mass of fuel burned: 1.96g; Percentage uncertainty: (0.005/1.96)\n\n2.",
null,
"## Investigating the Enthalpy Changes of Combustion of Alcohols.\n\nIt is known that branching an alcohol reduced the enthalpy of combustion (2), but why? Another possible source of error is the fact that some of the heat energy evaporated the water in the calorimeter, rather than just heating up the water.\n\n1.",
null,
"## The aim of this experiment is to investigate the enthalpy change of combustion for ...\n\n* Light the spirit burner and replace the base of the calorimeter. * Wait for the temperature to rise several degrees while continuously stirring the water. * Extinguish the flame and switch off the suction pump. * Keep stirring for a further minute to ensure that the temperature of the water increases to its true value.\n\n2.",
null,
"## The Preparation of 1-bromobutane\n\nIt is used in the preparation of alcohols e.g. hydrolysis of 1-bromobutane produces 1-butan-1-ol 2. William synthesis: it is used in the preparation of ether. When a halogeno alkane is refluxed with an alcoholic solution of sodium alkoxide, ether is produced. E.g. CH3CH2CH2CH2Br + CH3COO-Na+ CH3CH2CH2CH2-O-CH2CH3 + NaBr 3)\n\n1.",
null,
"## The aim of this experiment is to obtain the rate equation for the reaction ...\n\nThe colorimeter was set zero again by putting the tube with distilled water. 7. Step 6 was repeated 4 times with solutions in test tube 3-6 and all of the absorbance was recorded. The colorimeter was set zero after using the tube of distilled water before every reading. 8.\n\n2.",
null,
"## Hydrolysing Organic Halogen Compounds. The purpose of this experiment is to find out ...\n\nThe leaving group is the halide ion which varies from chlorides, bromides and iodides depending on the substrates. Therefore the bonding energy / bonding length also varies depending on the halide group.",
null,
"• Over 160,000 pieces\nof student written work\n• Annotated by\nexperienced teachers\n• Ideas and feedback to",
null,
""
] | [
null,
"https://static1.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/61656/images/preview/img_138_1.jpg",
null,
"https://static1.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/907541/images/preview/img_138_1.jpg",
null,
"https://static2.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/836662/images/preview/img_138_1.jpg",
null,
"https://static2.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/60455/images/preview/img_138_1.jpg",
null,
"https://static3.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/20748/images/preview/img_138_1.jpg",
null,
"https://static3.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/946474/images/preview/img_138_1.jpg",
null,
"https://static3.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/935638/images/preview/img_138_1.jpg",
null,
"https://static2.mbtfiles.co.uk/media/docs/newdocs/as_and_a_level/science/chemistry/organic_chemistry/933447/images/preview/img_138_1.jpg",
null,
"https://static2.mbtfiles.co.uk/skin/frontend/mbt/mbt/images/cms/study-guides/what-is-mbt-text.png",
null,
"https://static2.mbtfiles.co.uk/skin/frontend/mbt/mbt/images/cms/study-guides/what-is-mbt.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9048117,"math_prob":0.86489344,"size":4156,"snap":"2021-31-2021-39","text_gpt3_token_len":1054,"char_repetition_ratio":0.116329476,"word_repetition_ratio":0.025352113,"special_character_ratio":0.23869105,"punctuation_ratio":0.11015912,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95586103,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],"im_url_duplicate_count":[null,6,null,4,null,5,null,4,null,6,null,1,null,1,null,1,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-23T00:03:57Z\",\"WARC-Record-ID\":\"<urn:uuid:3268ac5a-18a6-4e0b-a7f1-2d032c68383a>\",\"Content-Length\":\"78580\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ebabbfc6-da2d-46aa-b2b5-ba53188f8a0c>\",\"WARC-Concurrent-To\":\"<urn:uuid:a4b6465f-60fd-43a2-885c-dadb5366ef48>\",\"WARC-IP-Address\":\"149.86.98.195\",\"WARC-Target-URI\":\"https://www.markedbyteachers.com/as-and-a-level/science/rates-of-halogenoalkanes.html\",\"WARC-Payload-Digest\":\"sha1:COBO5UBLXSGJ6IQEH3NWYR722QBPFY5W\",\"WARC-Block-Digest\":\"sha1:TD5GZ5MVMSOQKVTGBXCUAGUW2ABUBBBH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057403.84_warc_CC-MAIN-20210922223752-20210923013752-00339.warc.gz\"}"} |
https://www.scirp.org/journal/paperinformation.aspx?paperid=110796 | [
"Mutual Influence of the Atmosphere and the Ocean under Wave Processes\n\nAbstract\n\nThe article solves the problem of surface gravitational waves using the theory of tangential discontinuity between media: air-water. Using the improved equation of mass continuity and taking into account the atmosphere inhomogeneity in the gravitational field of the Earth, it is shown that during wave processes, these two media mutually influence each other, which explains the reason for the formation of a stormy condition over the ocean and the drop in atmospheric pressure before the storm. The mechanism of the formation of the “killer wave” has been established and thus the “greatest mystery of nature” has been solved. The scale of wind and tsunami wavelengths has been established.\n\nKeywords\n\nShare and Cite:\n\nKirtskhalia, V. and Ninidze, K. (2021) Mutual Influence of the Atmosphere and the Ocean under Wave Processes. Journal of Modern Physics, 12, 1346-1365. doi: 10.4236/jmp.2021.129081.\n\n1. Introduction\n\nIn early works (see e.g. ), we argued that linear theory describes only capillary waves. As it turned out, this statement was erroneous, but we came to this conclusion thanks to the existing theory of capillary waves, which is based on the assumptions of the potentiality motion of a liquid in the gravitational field of the Earth and its incompressibility. In these assumptions, the linear theory of tangential discontinuity is used in solving the problem, and in the dynamic boundary condition on the liquid surface, the surface tension force is used as the only stabilizing factor of the pressure perturbation ( , §62). Nevertheless, in the dispersion equation of capillary waves, a gravitational acceleration is present along with the surface tension coefficient and therefore, these waves are called capillary-gravitational. After we showed that the liquid cannot be incompressible, i.e. $\\nabla \\stackrel{¯}{V}\\ne 0$ , where $\\stackrel{\\to }{V}$ -is the velocity of the liquid particle, the gravitational acceleration from the dispersion equation disappeared . This fact led us to believe that gravitational waves should be described by a nonlinear theory. However, a simple analysis shows that in most cases gravitational waves are linear. Indeed, the maximum perturbation of pressure on the water surface in a gravitational wave is equal to ${{P}^{\\prime }}_{\\mathrm{max}}={\\rho }_{0}ga$, where a is the amplitude of the wave and ${\\rho }_{0}$ is the undisturbed density of water. At $a=3\\text{\\hspace{0.17em}}\\text{m}$, which is approximately equal to the maximum value of the amplitude of the wind wave away from the coast and is greater than the amplitude of the tsunami wave, this disturbance is equal to 2.7 × 104 Pa, while the equilibrium pressure is P0 = 1 atm. = 1.013 × 105 Pa. Thus, the pressure on the surface of water can be represented in the following form $P={P}_{0}+{P}^{\\prime }$, where ${P}^{\\prime }/{P}_{0}<1$, and therefore, linear theory can be used.\n\nA surface gravitational wave is generated and propagated at the interface between two media, i.e. it is a typical problem of tangential discontinuity. Therefore, the dispersion equation must contain the thermodynamic parameters of both media. Despite this, when solving this problem, many authors do not take into account the influence of atmospheric parameters on the phenomenon under study (see for example. ), but nevertheless, they get results that match the results of observations. For example, in work the two-dimensional problem of the surface gravitational wave was solved, in which the following are used:\n\n1) Equation of motion of fluid— $\\rho \\frac{\\text{d}\\stackrel{\\to }{V}}{\\text{d}t}=-\\nabla P+\\rho \\stackrel{\\to }{g}$ (1)\n\n2) Equation of incompressibility of liquid— $\\nabla \\stackrel{\\to }{V}=0$ (2)\n\nHere: $\\stackrel{\\to }{V}$ is velocity of a liquid particle, P—pressure, $\\rho$ —density, $\\stackrel{\\to }{g}$ —gravitational acceleration. It is assumed that the velocity is small and after linearization, the system of Equations (1), (2) takes the form:\n\n$\\frac{\\partial u}{\\partial t}=-\\frac{1}{\\rho }\\frac{\\partial P}{\\partial x},$ (3)\n\n$\\frac{\\partial w}{\\partial t}=-\\frac{1}{\\rho }\\frac{\\partial P}{\\partial z}-g,$ (4)\n\n$\\frac{\\partial u}{\\partial x}+\\frac{\\partial w}{\\partial z}=0.$ (5)\n\nBy denoting $\\xi \\left(x,t\\right)={\\xi }_{0}\\mathrm{cos}\\left(\\omega t-kx\\right)$, the displacement of the liquid surface along the Z axis and writing the boundary conditions on the free surface and on the bottom as\n\n${w|}_{z=0}=\\frac{\\partial \\xi }{\\partial t}$ and ${w|}_{z=-H}=0$, (6)\n\nsolutions of the system of Equations (3), (4), (5) will be:\n\n$u={\\xi }_{0}\\omega \\frac{\\mathrm{cosh}\\left[k\\left(z+H\\right)\\right]}{\\mathrm{sinh}\\left(kH\\right)}\\mathrm{cos}\\left(\\omega t-kx\\right),$ (7)\n\n$w=-{\\xi }_{0}\\omega \\frac{\\mathrm{sinh}\\left[k\\left(z+H\\right)\\right]}{\\mathrm{sinh}\\left(kH\\right)}\\mathrm{sin}\\left(\\omega t-kx\\right),$ (8)\n\n$P=-\\rho gz+\\rho g{\\xi }_{0}\\frac{\\mathrm{cosh}\\left[k\\left(z+H\\right)\\right]}{\\mathrm{cosh}\\left(kH\\right)}\\mathrm{cos}\\left(\\omega t-kx\\right).$ (9)\n\nSubstituting solutions (7) and (9) in (3), or (8) and (9) in (4) at, the author obtains an expression for the phase velocity in the form:\n\n$|{U}_{p}|=\\sqrt{\\frac{g}{k}\\mathrm{tanh}\\left(kH\\right)}.$ (10)\n\nFor deep water, when $kH=2\\pi H/\\lambda >1⇒\\mathrm{tanh}\\left(kH\\right)\\cong 1$, where $\\lambda$ is the wavelength, from (10) follows\n\n$|{U}_{p}|=\\sqrt{\\frac{g}{k}}$ (11)\n\nand for shallow water, when $kH=2\\pi H/\\lambda <1⇒\\mathrm{tanh}\\left(kH\\right)\\cong kH$,\n\n$|{U}_{p}|=\\sqrt{gH}.$ (12)\n\nSimilar results were obtained in using the hydrostatic approximation method, in which Equation (4) is integrated under the following assumption $\\partial w/\\partial t=0$. In the work it is noted that the validity of this assumption is not proven and this doubt is well-founded, because firstly- $\\partial w/\\partial t=0$ means that $w=const=0$, and therefore, no vertical movement of the liquid particle occurs, and second-at $\\partial w/\\partial t=0$, from Equation (4) follows $\\nabla P=\\rho \\stackrel{\\to }{g}$ which is a condition for the equilibrium of the liquid and therefore, vibrations are impossible.\n\nAs noted above, while analyzing the problem of surface gravity waves, both media should be taken into account—air and water, i.e. should be obtained in a linear approximation of the equations of gravitational waves in these media, and then, tied to their solutions on the boundary surface using boundary conditions.\n\nWhen performing these procedures, the perturbed values of density and pressure in each medium are linked by the equation of the state of the medium $\\rho ={P}^{\\prime }/{C}^{2}$, where C is the speed of sound in the medium. We called attention to the absurdity of the fact that the speed of sound in the entire atmosphere is calculated by the formula $C=\\sqrt{\\gamma {k}_{B}T/{m}_{0}}$ , where $\\gamma ={c}_{p}/{c}_{\\upsilon }=1.4$ is an adiabatic index of air and is equal to the ratio of heat capacities at constant pressure and volume, ${k}_{B}=1.38×{10}^{-23}\\text{J}/\\text{K}$ —the Boltzmann constant, ${m}_{0}=4.81×{10}^{-26}\\text{ }\\text{ }\\text{kg}$ —mass of one air molecule, T—absolute temperature. This means that on the altitude of 60 km and on the North Pole, where the temperatures are the same and equal to −40˚C, the speeds of sounds should have the same values.\n\nWe have found the answer to this paradox and it is that the abovementioned formula is just only for a homogeneous medium where the density depends only on the pressure $\\rho =\\rho \\left(P\\right)$. In the inhomogeneous medium, which is the earth’s atmosphere, due to the influence of the gravitational field on it, the density also depends on entropy $\\rho =\\rho \\left(P,S\\right)$. In that case the density perturbation equals to the following:\n\n${\\rho }^{\\prime }={\\left(\\frac{\\partial {\\rho }_{0}}{\\partial {P}_{0}}\\right)}_{s}{P}^{\\prime }+{\\left(\\frac{\\partial {\\rho }_{0}}{\\partial {S}_{0}}\\right)}_{p}{S}^{\\prime },$ (13)\n\nwhere ${P}_{0},{\\rho }_{0},{S}_{0}$ -represent unperturbed values of pressure, density and entropy accordingly. Considering that ${S}^{\\prime }={\\left(\\partial {S}_{0}/\\partial {P}_{0}\\right)}_{T}{P}^{\\prime }$, from (13) we easily receive :\n\n${\\rho }^{\\prime }=\\left(\\frac{1}{{C}_{s}^{2}}+\\frac{1}{{C}_{p}^{2}}\\right){P}^{\\prime }=\\frac{1}{{C}^{2}}{P}^{\\prime }.$ (14)\n\nHere:\n\n${C}_{S}^{2}=\\left(\\frac{\\partial {P}_{0}}{\\partial {\\rho }_{0}}\\right)=\\gamma \\frac{{k}_{B}T}{{m}_{0}}$ is the speed of adiabatic sound, (15)\n\n${C}_{P}^{2}={\\left[{\\left(\\frac{\\partial {\\rho }_{0}}{\\partial {S}_{0}}\\right)}_{P}{\\left(\\frac{\\partial {S}_{0}}{\\partial {P}_{0}}\\right)}_{T}\\right]}^{-1}=\\frac{{c}_{p}{\\rho }_{0}^{2}}{T{\\left(\\partial {\\rho }_{0}/\\partial T\\right)}_{s}^{2}}$ is the speed of isobaric sound, (16)\n\n${C}^{2}=\\frac{{C}_{s}^{2}{C}_{p}^{2}}{{C}_{s}^{2}+{C}_{p}^{2}}$ is the true value of the speed of sound. (17)\n\nThus, the square of the true value of the speed of sound is reduced from the squares of the velocities of adiabatic and isobaric sounds. Substituting into (16) the value ${\\rho }_{0}$ from the Laplace equation\n\n${\\rho }_{0}={\\rho }_{0}^{0}\\mathrm{exp}\\left(-{m}_{0}gz/{k}_{B}T\\right),$ (18)\n\nwhere ${\\rho }_{0}^{0}$ -is unperturbed density value at sea level, for the speed of isobaric sound we receive the following:\n\n${C}_{p}=\\sqrt{\\frac{{c}_{p}{k}_{B}^{2}{T}^{3}}{{m}_{0}^{2}{g}^{2}{z}^{2}}}.$ (19)\n\nUsing (15) and (19), from (17) we find:\n\n$C\\left(z,T\\right)=\\sqrt{\\frac{\\gamma {k}_{B}T}{{m}_{0}\\left(1+\\frac{\\gamma m{g}^{2}{z}^{2}}{{c}_{p}{k}_{B}{T}^{2}}\\right)}}.$ (20)\n\nWe can see that the true value of the speed of sound in the Earth’s atmosphere truly depends on the altitude (density) and condition $z=0$ is equivalent to the condition $g=0$. Thus, at the sea level, air is a homogeneous medium and the speed of sound should be calculated by the Equation (15).\n\nFigure 1 shows the temperature distribution over height in the Earth’s atmosphere . We can see that up to the altitude of approximately 11 km., the temperature drops according to strictly linear law $T=\\alpha +\\beta z$, where $\\alpha =288.15\\text{\\hspace{0.17em}}\\text{K}$\n\nFigure 1. Temperature as a function of geometrical altitude.\n\nand $\\beta =-6.52×{10}^{-3}\\text{K}/\\text{m}$. This part of the atmosphere is called the troposphere, which has no heat source, hence the entropy S is constant, i.e. can be used the adiabatic equation\n\n$\\frac{\\text{d}S}{\\text{d}t}=\\frac{\\partial S}{\\partial t}+\\left(\\stackrel{\\to }{V}\\nabla \\right)S=0,$ (21)\n\nOn the top boundary of the troposphere, the drop in temperature abruptly stops and remains constant till the altitude of approximately 20 km (tropopause), and then increases in the stratosphere. In this regard, the law of entropy constancy, which was used in our calculations, ceases to be true. Therefore, our theory is valid up to the height $z\\cong 11\\text{\\hspace{0.17em}}\\text{km}$.\n\nSubstituting in (15), (19) and (20) $T=288.15-6.53×{10}^{-3}z$ and taking into account that ${c}_{p}={10}^{3}\\text{J}/\\text{kg}\\cdot \\text{K}$, we get:\n\n${C}_{s}\\left(z\\right)=\\sqrt{401.66\\left(288.15-6.53×{10}^{-3}z\\right)},$ (22)\n\n${C}_{p}\\left(z\\right)=925.70\\frac{\\sqrt{{\\left(288.15-6.53×{10}^{-3}z\\right)}^{3}}}{z},$ (23)\n\n$C\\left(z\\right)=20.05\\sqrt{\\frac{{\\left(288.15-6.53×{10}^{-3}z\\right)}^{3}}{{\\left(288.15-6.53×{10}^{-3}z\\right)}^{2}+4.69×{10}^{-4}{z}^{2}}}.$ (24)\n\nIn Figure 2, the graphs of expressions (22) and (23) are shown. Calculations show that the relative inaccuracy, between values ${C}_{s}\\left(z\\right)$ and $C\\left(z\\right)$ at heights $z=1\\text{\\hspace{0.17em}}\\text{km}$ and $z=10\\text{\\hspace{0.17em}}\\text{km}$ is equal to 0.3% and 33%, respectively, i.e. increases 110 times. Obviously, such an error cannot be ignored when calculating the Mach number .\n\nIn the work , the author suggests that at the upper boundary of the troposphere ( $z\\cong \\left(10\\text{\\hspace{0.17em}}\\text{-}\\text{\\hspace{0.17em}}11\\right)\\text{km}$ which is often called the ozone layer), there is an exothermic reaction of ozone synthesis ( ${\\text{O}}_{2}+\\text{O}\\to {\\text{O}}_{3}+24$ k.cal/mol), which is the reason for such dynamics of the temperature distribution. Let us show that our theory fully confirms this hypothesis.\n\nFigure 2. Dependence of isobaric ( ${C}_{s}\\left(z\\right)$ -the blue curve) and true ( $C\\left(z\\right)$ -the green curve) speeds of sounds on the altitude in the troposphere.\n\nIn Figure 3, the graphs of the height distribution of the adiabatic ${C}_{s}\\left(z\\right)$ and isobaric ${C}_{p}\\left(z\\right)$ velocities of sounds are shown. It is seen that these graphs intersect at a height of $z\\cong 10200\\text{\\hspace{0.17em}}\\text{m}$. Equating ${C}_{s}^{2}\\left(T\\right)$ and ${C}_{p}^{2}\\left(z,T\\right)$ from Formulas (15) and (19), we obtain\n\n$\\frac{\\gamma kT}{{m}_{0}}=\\frac{{c}_{p}{k}^{2}{T}^{3}}{{m}_{0}^{2}{g}^{2}{z}^{2}}⇒z=\\sqrt{\\frac{{c}_{p}k}{\\gamma {m}_{0}}}\\frac{T}{g}.$ (25)\n\nSubstituting in (25) $T=\\alpha +\\beta z$ we find:\n\n$z=\\frac{\\sqrt{{c}_{p}k{\\alpha }^{2}/\\gamma {m}_{0}{g}^{2}}}{1+\\sqrt{{c}_{p}k{\\beta }^{2}/\\gamma {m}_{0}{g}^{2}}}=10230\\text{\\hspace{0.17em}}\\text{m}.$ (26)\n\nThis altitude almost exactly coincides with the upper boundary of the troposphere, presented in Figure 1, which proves the high reliability of our theory. Thus, it can be said with high confidence, that expressions (25) and/or (26) are equations of the upper border of the troposphere, where adiabatic and isobaric speeds of sound are equated, i.e. a resonance ${\\omega }_{s}={\\omega }_{p}$ occurs. As it is known, the abrupt change in the dynamics of the process, which is observed in Figure 1, is as a general rule in connection with resonance. Thus, it can be assumed that the resonance of frequencies of the adiabatic and isobaric sounds is a trigger mechanism for the exothermic reaction of ozone synthesis and, as a consequence, the release of a large amount of heat.\n\nThe discovery of an isobaric sound leads to another important result. Let us transform the following expression:\n\n${\\left[\\frac{{\\rho }_{0}}{{\\left(\\partial {\\rho }_{0}/\\partial T\\right)}_{p}}\\right]}^{2}={\\left[\\frac{m}{\\upsilon }{\\left(\\frac{\\partial \\left(m/\\upsilon \\right)}{\\partial T}\\right)}_{p}^{-1}\\right]}_{m=const}^{2}={\\left[\\frac{1}{\\upsilon }{\\left(\\frac{\\partial \\upsilon }{\\partial T}\\right)}_{p}\\right]}^{-2}=\\frac{1}{{\\beta }_{p}^{2}},$ (27)\n\nFigure 3. The dependences of adiabatic ( ${C}_{s}\\left(T\\right)$ -green curve) and isobaric ( ${C}_{p}\\left(z,T\\right)$ -red curve) sound velocities from the altitude in the troposphere.\n\nwhere $\\upsilon$ -is gas volume and ${\\beta }_{p}$ -is the coefficient of thermal expansion. Then from (16) we shall find that:\n\n${C}_{p}\\left(z,T\\right)=\\frac{1}{{\\beta }_{p}}{\\left(\\frac{{c}_{p}}{T}\\right)}^{1/2}.$ (28)\n\nFrom (28) it is derived, that ${\\beta }_{p}={\\beta }_{p}\\left(z,T\\right)$, i.e. the coefficient of the thermal expansion depends not only on the temperature, as is usual to modern thermodynamics, but also on the altitude of the atmosphere. This fact invalidates the universality of the laws of the ideal gas. More detailed account of this please see the work .\n\nSince the sound wave carries the density perturbation, an idea of generalization of the equation of mass continuity for an inhomogeneous medium arose. This equation was also received for the homogeneous medium and it determines the change of density as a result of substance mass change in the constant volume. However, the change in density is possibly also due to the change of volume of the constant mass of the substance, i.e.:\n\n$\\frac{\\text{d}\\rho }{\\text{d}t}=\\frac{\\text{d}}{\\text{d}t}\\left(\\frac{m}{\\upsilon }\\right)=\\frac{\\upsilon \\frac{\\text{d}m}{\\text{d}t}-m\\frac{\\text{d}\\upsilon }{\\text{d}t}}{{\\upsilon }^{2}}={\\left(\\frac{\\text{d}\\rho }{\\text{d}t}\\right)}_{\\upsilon }-{\\left(\\rho \\frac{\\text{d}}{\\text{d}t}\\mathrm{ln}\\upsilon \\right)}_{m},$ (29)\n\nEquation (29) is reduced to the following :\n\n$\\frac{\\text{d}\\rho }{\\text{d}t}=-\\rho \\nabla \\stackrel{\\to }{V}-\\frac{\\stackrel{\\to }{V}\\nabla P}{{C}_{p}^{2}}.$ (30)\n\nThe first summand in the right side of the Equation (30) determines the change of mass in the constant volume while the second summand is the isobaric change of the volume of the substance constant mass as a result of the change in temperature, which is caused by the change in entropy in the inhomogeneous medium. This work has radically altered the existing concepts of compressibility and incompressibility of medium. It is considered, that these concepts have a mechanical meaning. In reality, they have thermodynamic meaning and characterize the homogeneity or non homogeneity of the medium. The homogeneous medium is always compressible. The incompressibility is a consequence of its non homogeneity and it manifests as strongly as inhomogeneous the medium is, as it occurs in the Earth’s atmosphere with increasing altitude. The speed of sound in a homogeneous medium is adiabatic, and in an inhomogeneous medium it is a combination of the speeds of adiabatic and isobaric sounds.\n\nThe work considers the problem of internal waves from the monograph . The authors consider the water to be incompressible and contemplate, that the density perturbation is isobaric, i.e. only the second summand is considered in the Equation (13). As a result, they receive a so-called internal wave, the frequency of which depends only on the direction of the wave vector, the magnitude of which can be any. It is clear that such wave does not exist in nature and the reason for this paradox is the use of incompressibility condition towards the water. Hence, water is a compressible (homogeneous) medium. Though it may seem paradoxical, water is a much more compressible medium (in the thermodynamic sense), than the atmosphere in the higher layers. Work has been dedicated to this problem.\n\nAnother paradox that we noticed is that the Euler equation in its current form contradicts the basic principle of physics. Indeed, let us consider the Euler equation in its generally accepted form: $\\rho \\text{d}\\stackrel{\\to }{V}/\\text{d}t=\\rho \\left[\\partial \\stackrel{\\to }{V}/\\partial t+\\left(\\stackrel{\\to }{V}\\nabla \\right)\\stackrel{\\to }{V}\\right]=-\\nabla P+\\rho \\stackrel{\\to }{g}$. If ${\\stackrel{\\to }{V}}_{0}$ there is a stationary velocity of motion of the liquid and ${\\stackrel{\\to }{V}}^{\\prime }$ is its small perturbation, then after linearization its left side, which determines the acceleration of the liquid particle, will be equal to $\\left[\\partial {\\stackrel{\\to }{V}}^{\\prime }/\\partial t+\\left({\\stackrel{\\to }{V}}_{0}\\nabla \\right){\\stackrel{\\to }{V}}^{\\prime }\\right]$. Thus, the acceleration of a liquid particle depends on the stationary velocity of the medium, which contradicts the principle of relativity. This contradiction is caused by the assumption $\\text{d}\\rho /\\text{d}t=0⇒\\rho =const$, i.e. the assumption of incompressibility of the liquid $\\nabla \\stackrel{\\to }{V}=0$ and neglect of the second term in Equation (30). In fact, if the first term is equal to zero (incompressible medium), remains the second term, and if the second term is equal to zero (compressible medium), the first remains. Thus, $\\text{d}\\rho /\\text{d}t\\ne 0$ and density $\\rho$ must be entered under the derivative\n\n$\\frac{\\text{d}\\left(\\rho \\stackrel{\\to }{V}\\right)}{\\text{d}t}=\\stackrel{\\to }{V}\\frac{\\text{d}\\rho }{\\text{d}t}+\\rho \\frac{\\text{d}\\stackrel{\\to }{V}}{\\text{d}t}=-\\nabla P+\\rho \\stackrel{\\to }{g}.$ (31)\n\nLet’s substitute in the right side of Equation (31) the value $\\text{d}\\rho /\\text{d}t$ from Equation (30)\n\n$\\begin{array}{l}-\\stackrel{\\to }{V}\\rho \\nabla \\stackrel{\\to }{V}-\\frac{{V}^{2}\\nabla P}{{C}_{p}^{2}}+\\rho \\frac{\\text{d}\\stackrel{\\to }{V}}{\\text{d}t}=-\\nabla P+\\rho \\stackrel{\\to }{g}\\\\ ⇒\\rho \\left[\\frac{\\text{d}\\stackrel{\\to }{V}}{\\text{d}t}-\\left(V\\nabla \\right)\\stackrel{←}{V}\\right]-\\frac{{V}^{2}\\nabla P}{{C}_{p}^{2}}=-\\nabla P+\\rho \\stackrel{\\to }{g}\\end{array}$ (32)\n\nNeglect the term ${V}^{2}\\nabla P/{C}_{p}^{2}$, the Euler equation takes the form:\n\n$\\rho \\frac{\\partial \\stackrel{\\to }{V}}{\\partial t}=-\\nabla P+\\rho \\stackrel{\\to }{g}.$ (33)\n\nAs can be seen the nonlinear term dropped out of the Euler equation and, therefore, there is no contradiction. The Equation (30) along with the Equation (27) was used by us in the problem of the capillary waves , after which all existing contradictions were removed.\n\nIn our opinion, plasma is an incompressible medium, because it is a substantially inhomogeneous, due to the fact that each electron and ion are in a force field created by neighboring particles. It can be assumed that this is precisely the reason for the difficulties in implementing a controlled thermonuclear reaction, since it is impossible to compress the plasma to the required state and keep it in this state for a long enough period of time.\n\n2. A New Approach to the Theory of Surface Gravitational Waves\n\nLet us now apply these equations to the problem of surface gravitational waves:\n\n$\\left\\{\\begin{array}{l}\\rho \\frac{\\text{d}\\stackrel{\\to }{V}}{\\text{d}t}=\\rho \\left[\\frac{\\partial \\stackrel{\\to }{V}}{\\partial t}+\\left(\\stackrel{\\to }{V}\\nabla \\right)\\stackrel{\\to }{V}\\right]=-\\nabla P+\\rho \\stackrel{\\to }{g}\\\\ \\frac{\\text{d}\\rho }{\\text{d}t}=\\frac{\\partial \\rho }{\\partial t}+\\left(\\stackrel{\\to }{V}\\nabla \\right)\\rho =-\\rho \\nabla \\stackrel{\\to }{V}-\\frac{\\stackrel{\\to }{V}\\nabla P}{{C}_{p}^{2}}\\end{array}$ (34)\n\nSuppose that ${V}_{0}=0$ and let’s represent all the variables as the sum of their stationary values and small perturbations:\n\n$P={P}_{0}+{P}^{\\prime };\\rho ={\\rho }_{0}+{\\rho }^{\\prime };\\stackrel{\\to }{V}={\\stackrel{\\to }{V}}^{\\prime }.$\n\nUsing under the linearization of system (34) the condition of equilibrium of the medium in the gravitational field of the Earth $\\nabla {P}_{0}={\\rho }_{0}\\stackrel{\\to }{g}$, which is true for both air and water, we get:\n\n$\\left\\{\\begin{array}{l}{\\rho }_{0}\\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}=-\\nabla {P}^{\\prime }+{\\rho }^{\\prime }\\stackrel{\\to }{g}\\\\ \\frac{\\partial {\\rho }^{\\prime }}{\\partial t}+\\left({\\stackrel{\\to }{V}}^{″}\\nabla \\right){\\rho }_{0}=-{\\rho }_{0}\\nabla {\\stackrel{\\to }{V}}^{\\prime }-\\frac{{\\rho }_{0}\\stackrel{\\to }{g}{\\stackrel{\\to }{V}}^{\\prime }}{{C}_{p}^{2}}\\end{array}$ (35)\n\nLet’s apply the operator $\\nabla$ to the first equation of the system (32) and the operator $\\partial /\\partial t$ to the second, after which we have\n\n$\\left\\{\\begin{array}{l}\\nabla {\\rho }_{0}\\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}+{\\rho }_{0}\\nabla \\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}=-\\Delta {P}^{\\prime }+\\nabla {\\rho }^{\\prime }\\stackrel{\\to }{g}\\\\ \\frac{{\\partial }^{2}{\\rho }^{\\prime }}{\\partial {t}^{2}}+\\left(\\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}\\nabla \\right){\\rho }_{0}=-{\\rho }_{0}\\nabla \\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}-\\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}\\frac{\\nabla {P}_{0}}{{C}_{p}^{2}}\\end{array}$ (36)\n\nGiven that ${P}_{0}$ and ${\\rho }_{0}$ in air and in water depend only on the vertical z coordinate, the following relations are valid:\n\n$z\\nabla {\\rho }_{0}\\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}=\\left(\\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}\\nabla \\right){\\rho }_{0}=\\frac{\\text{d}{\\rho }_{0}}{\\text{d}z}\\frac{\\partial {{V}^{\\prime }}_{z}}{\\partial t};\\text{\\hspace{0.17em}}\\text{\\hspace{0.17em}}\\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}\\frac{\\nabla {P}_{0}}{{C}_{p}^{2}}=-\\frac{{\\rho }_{0}g}{{C}_{p}^{2}}\\frac{\\partial {{V}^{\\prime }}_{z}}{\\partial t}\\nabla {\\rho }^{\\prime }\\stackrel{\\to }{g}=-g\\frac{\\partial {\\rho }^{\\prime }}{\\partial z},$\n\nafter that, the system (36) can be rewritten as\n\n$\\left\\{\\begin{array}{l}\\frac{\\text{d}{\\rho }_{0}}{\\text{d}z}\\frac{\\partial {{V}^{\\prime }}_{z}}{\\partial t}+{\\rho }_{0}\\nabla \\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}=-\\Delta {P}^{\\prime }-g\\frac{\\partial {\\rho }^{\\prime }}{\\partial z}\\\\ \\frac{\\text{d}{\\rho }_{0}}{\\text{d}z}\\frac{\\partial {{V}^{\\prime }}_{z}}{\\partial t}+{\\rho }_{0}\\nabla \\frac{\\partial {\\stackrel{\\to }{V}}^{\\prime }}{\\partial t}=-\\frac{{\\partial }^{2}{\\rho }^{\\prime }}{\\partial {t}^{2}}+\\frac{{\\rho }_{0}g}{{C}_{p}^{2}}\\frac{\\partial {{V}^{\\prime }}_{z}}{\\partial t}\\end{array}$ (37)\n\nEquating the right parts of the system (37) we get\n\n$\\Delta {P}^{\\prime }+g\\frac{\\partial {\\rho }^{\\prime }}{\\partial z}+\\frac{{\\rho }_{0}g}{{C}_{p}^{2}}\\frac{\\partial {{V}^{\\prime }}_{z}}{\\partial t}-\\frac{{\\partial }^{2}{\\rho }^{\\prime }}{\\partial {t}^{2}}=0.$ (38)\n\nUsing the equation of state of the medium ${\\rho }^{\\prime }=\\left(1/{C}^{2}\\right){P}^{\\prime }$ and expressing $\\partial {{V}^{\\prime }}_{z}/\\partial t$ from the first equation of the system (35) $\\partial {{V}^{\\prime }}_{z}/\\partial t=-\\left(1/{\\rho }_{0}\\right)\\left(\\partial {P}^{\\prime }/\\partial z+g{P}^{\\prime }/{C}^{2}\\right)$, Equation (38) takes the form:\n\n$\\Delta {P}^{\\prime }+g\\frac{\\partial }{\\partial z}\\left(\\frac{{P}^{\\prime }}{{C}^{2}}\\right)-\\frac{g}{{C}_{p}^{2}}\\left(\\frac{\\partial {P}^{\\prime }}{\\partial z}+g\\frac{{P}^{\\prime }}{{C}^{2}}\\right)-\\frac{1}{{C}^{2}}\\frac{{\\partial }^{2}{P}^{\\prime }}{\\partial {t}^{2}}=0.$ (39)\n\nC-is the speed of sound in the gravitational field of the Earth and is an important thermodynamic parameter of the medium, which, like other parameters, must depend on the vertical z coordinate. It is expressed in terms of the adiabatic ${C}_{s}$ and isobaric ${C}_{p}$ speeds of sounds by the following ratio :\n\n$\\frac{1}{{C}^{2}\\left(z\\right)}=\\frac{1}{{C}_{s}^{2}\\left(z\\right)}+\\frac{1}{{C}_{p}^{2}\\left(z\\right)}⇒{C}^{2}\\left(z\\right)=\\frac{{C}_{s}^{2}\\left(z\\right){C}_{p}^{2}\\left(z\\right)}{{C}_{s}^{2}\\left(z\\right)+{C}_{p}^{2}\\left(z\\right)}.$ (40)\n\nTaking into account (40), Equation (39) can be written as:\n\n$\\Delta {P}^{\\prime }+\\frac{g}{{C}_{s}^{2}\\left(z\\right)}\\frac{\\partial {P}^{\\prime }}{\\partial z}-\\frac{g}{{C}^{2}\\left(z\\right)}\\left(\\frac{1}{{C}^{2}\\left(z\\right)}\\frac{\\text{d}{C}^{2}\\left(z\\right)}{\\text{d}z}+\\frac{g}{{C}_{p}^{2}\\left(z\\right)}\\right){P}^{\\prime }-\\frac{1}{{C}^{2}\\left(z\\right)}\\frac{{\\partial }^{2}{P}^{\\prime }}{\\partial {t}^{2}}=0.$ (41)\n\nWe introduce the notation:\n\n$\\begin{array}{l}\\Gamma \\left(z\\right)=\\frac{1}{{C}^{4}\\left(z\\right)}\\frac{\\text{d}{C}^{2}\\left(z\\right)}{\\text{d}z}=\\frac{1}{{C}_{s}^{4}\\left(z\\right)}\\frac{\\text{d}{C}_{s}^{2}\\left(z\\right)}{\\text{d}z}+\\frac{1}{{C}_{p}^{4}\\left(z\\right)}\\frac{\\text{d}{C}_{p}^{2}\\left(z\\right)}{\\text{d}z};\\\\ \\Sigma \\left(z\\right)=\\frac{1}{{C}^{2}\\left(z\\right){C}_{p}^{2}\\left(z\\right)}\\end{array}$ (42)\n\nand then, Equation (39) finally takes the form:\n\n$\\Delta {P}^{\\prime }+\\frac{g}{{C}_{s}^{2}\\left(z\\right)}\\frac{\\partial {P}^{\\prime }}{\\partial z}-g\\left[\\Gamma \\left(z\\right)+g\\Sigma \\left(z\\right)\\right]{P}^{\\prime }-\\frac{1}{{C}^{2}\\left(z\\right)}\\frac{{\\partial }^{2}{P}^{\\prime }}{\\partial {t}^{2}}=0.$ (43)\n\nEquation (43) is the equation of mechanical waves in any medium in the earth’s gravitational field, or the generalized equation of gravitational waves. We will search ${P}^{\\prime }$ in the form:\n\n${P}^{\\prime }\\left(x,z,t\\right)={P}_{a}\\left(z\\right)\\mathrm{exp}\\left[i\\left(kx-\\omega t\\right)\\right]$ (44)\n\nafter then from (43) we get:\n\n$\\frac{{\\text{d}}^{2}{P}_{a}\\left(z\\right)}{\\text{d}{z}^{2}}+\\frac{g}{{C}_{s}^{2}\\left(z\\right)}\\frac{\\text{d}{P}_{a}\\left(z\\right)}{\\text{d}z}-\\left\\{{k}^{2}+g\\left[\\Gamma \\left(z\\right)+g\\Sigma \\left(z\\right)\\right]-\\frac{{\\omega }^{2}}{{C}^{2}\\left(z\\right)}\\right\\}{{P}^{\\prime }}_{a}\\left(z\\right)=0.$ (45)\n\nLet’s denote the values related to air $\\left(z>0\\right)$ by index 1, and to water $\\left(z<0\\right)$ -by index 2 and consider this equation for air, where:\n\n${C}_{s1}^{2}=\\gamma \\frac{{k}_{B}T}{{m}_{0}}$ and ${C}_{p1}^{2}=\\frac{{c}_{p}{k}_{B}^{2}{T}^{3}}{{m}_{0}^{2}{g}^{2}{z}^{2}}.$ (46)\n\nSubstituting in (46) $T=\\alpha +\\beta z$, where $\\alpha =288.15\\text{\\hspace{0.17em}}\\text{K}$ and $\\beta =-6.52×{10}^{-3}\\text{K}/\\text{m}$, we get:\n\n${C}_{s1}^{2}\\left(z\\right)=\\gamma \\frac{{k}_{B}\\left(\\alpha +\\beta z\\right)}{{m}_{0}}$ and ${C}_{p1}^{2}\\left(z\\right)=\\frac{{c}_{p}{k}_{B}^{2}{\\left(\\alpha +\\beta z\\right)}^{3}}{{m}_{0}^{2}{g}^{2}{z}^{2}}.$ (47)\n\nThus, Equation (45) is a second-order differential equation with variable coefficients. Considering that ${c}_{p}={10}^{3}\\text{J}/\\text{kg}\\cdot \\text{K}$, to simplify the problem, we will average these coefficients in the range of heights from $z={z}_{0}=10000\\text{\\hspace{0.17em}}\\text{m}$ after which the following relations are valid\n\n$\\frac{1}{{\\stackrel{¯}{C}}_{s1}^{2}}=\\frac{1}{{z}_{0}}\\underset{0}{\\overset{{Z}_{0}}{\\int }}\\frac{1}{{C}_{s1}^{2}\\left(z\\right)}\\text{d}z=9.80×{10}^{-6}\\frac{{\\mathrm{sec}}^{2}}{{\\text{m}}^{2}},$\n\n$\\frac{1}{{\\stackrel{¯}{C}}_{p1}^{2}}=\\frac{1}{{z}_{0}}\\underset{0}{\\overset{{Z}_{0}}{\\int }}\\frac{1}{{C}_{p1}^{2}\\left(z\\right)}\\text{d}z=2.90×{10}^{-6}\\frac{{\\mathrm{sec}}^{2}}{{\\text{m}}^{\\text{2}}},$\n\n$\\frac{1}{{\\stackrel{¯}{C}}_{1}^{2}}=\\frac{1}{{z}_{0}}\\underset{0}{\\overset{{Z}_{0}}{\\int }}\\frac{1}{{C}_{1}^{2}\\left(z\\right)}\\text{d}z=12.70×{10}^{-6}\\frac{{\\mathrm{sec}}^{2}}{{\\text{m}}^{2}},$ (48)\n\n${\\stackrel{¯}{\\Gamma }}_{1}=\\frac{1}{{z}_{0}}\\underset{0}{\\overset{{Z}_{0}}{\\int }}\\Gamma \\left(z\\right)\\text{d}z=-1.30×{10}^{-9}\\frac{{\\mathrm{sec}}^{2}}{{\\text{m}}^{3}},$\n\n${\\stackrel{¯}{\\Sigma }}_{1}=\\frac{1}{{z}_{0}}\\underset{0}{\\overset{{Z}_{0}}{\\int }}{\\Sigma }_{1}\\left(z\\right)\\text{d}z=4.75×{10}^{-11}\\frac{{\\mathrm{sec}}^{4}}{{\\text{m}}^{4}}.$\n\nDenoting $g\\left({\\stackrel{¯}{\\Gamma }}_{1}+g{\\stackrel{¯}{\\Sigma }}_{1}\\right)={\\stackrel{¯}{\\Omega }}_{1}=-8.19×{10}^{-9}\\text{ }\\text{ }{\\text{m}}^{-2}$, Equation (45) for air takes the form:\n\n$\\frac{{\\text{d}}^{2}{P}_{a1}\\left(z\\right)}{\\text{d}{z}^{2}}+\\frac{g}{{\\stackrel{¯}{C}}_{s1}^{2}}\\frac{\\text{d}{P}_{a1}\\left(z\\right)}{\\text{d}z}-\\left({k}^{2}+{\\stackrel{¯}{\\Omega }}_{1}-\\frac{{\\omega }^{2}}{{\\stackrel{¯}{C}}_{1}^{2}}\\right){P}_{a1}\\left(z\\right)=0.$ (49)\n\nWe will seek a solution to Equation (49) in the form\n\n${P}_{a1}\\left(z\\right)=A\\mathrm{exp}\\left(\\gamma z\\right),$ (50)\n\nwhich gives\n\n${P}_{a1}\\left(z\\right)={A}_{1}\\mathrm{exp}\\left({\\gamma }_{1}z\\right)+{A}_{2}\\mathrm{exp}\\left({\\gamma }_{2}z\\right),$ (51)\n\nwhere:\n\n${\\gamma }_{1}=-\\frac{k}{{\\theta }_{s1}}\\left[1+\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-{x}^{2}\\right)}\\right],$ (52)\n\n${\\gamma }_{2}=-\\frac{k}{{\\theta }_{s1}}\\left[1-\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1`}}{{k}^{2}}-{x}^{2}\\right)}\\right].$ (53)\n\nHere $x={U}_{p}/{\\stackrel{¯}{C}}_{1}$ and ${U}_{p}=\\omega /k$ -is the phase velocity of the wave. ${\\theta }_{s1}$ -dimensionless quantity that is equal to\n\n${\\theta }_{s1}=\\frac{2k{\\stackrel{¯}{C}}_{s1}^{2}}{g}.$ (54)\n\nIt is easy to see that if the condition is met\n\n$1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-{x}^{2}\\right)>1,$ (55)\n\nwe have: ${\\gamma }_{1}<0$, ${\\gamma }_{2}>0$ and then, based on the wave surface condition ( ${P}_{a1}\\left(z\\right)\\to 0$ when $z\\to \\infty$ ), in (51) must be put ${A}_{2}=0$. On condition\n\n$0\\le 1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-{x}^{2}\\right)<1,$ (56)\n\nwe have: ${\\gamma }_{1}<0$, ${\\gamma }_{2}<0$ a and then in the right part (51), both terms should be taken into account. Substituting the value ${\\stackrel{¯}{\\Omega }}_{1}=-8.19×{10}^{-9}\\text{ }\\text{ }{\\text{m}}^{-2}$, the solutions of inequalities (56) and (56) are:\n\n$k>9.05×{10}^{-5}/\\sqrt{1-{x}^{2}}{\\text{m}}^{-1}⇒\\lambda <6.90×{10}^{4}\\sqrt{1-{x}^{2}}\\text{ }\\text{ }\\text{m},$ (57)\n\n$k<9.05×{10}^{-5}/\\sqrt{1-{x}^{2}}{\\text{m}}^{-1}⇒\\lambda >6.90×{10}^{4}\\sqrt{1-{x}^{2}}\\text{ }\\text{ }\\text{m}.$ (58)\n\nlet’s call the waves satisfying condition (57) wind waves, and condition (58) tsunami waves.\n\nFor water $\\left(z<0\\right)$ dependencies ${C}_{s2}$ and ${C}_{p2}$ on z are unknown, but we can assume with a high probability that they are very weak. As for their numerical values, they can be determined from the experimental data. Substituting in (28) the values of the coefficient of thermal expansion and specific heat capacity at constant pressure for water ${\\beta }_{p}=1.50×{10}^{-4}\\text{ }\\text{ }{\\text{K}}^{-1}$, ${c}_{p}=4.19×{10}^{3}\\text{J}/\\text{kg}\\cdot \\text{K}$ at a temperature of $T=288\\text{\\hspace{0.17em}}\\text{K}$ we obtain ${C}_{p2}=25210\\text{\\hspace{0.17em}}\\text{m}/\\text{sec}$. On the other hand, the speed of sound in water, measured experimentally with great accuracy ${C}_{2}=1480\\text{\\hspace{0.17em}}\\text{m}/\\text{sec}$, and then, from formula (17), we have ${C}_{s2}={C}_{2}{C}_{p2}/\\sqrt{{C}_{p2}^{2}-{C}_{2}^{2}}=1482.60\\text{\\hspace{0.17em}}\\text{m}/\\text{sec}$. As we can see, the speed of sound in water is practically equal to the adiabatic speed of sound, i.e. ${C}_{2}={C}_{s2}$. This result irrefutably proves that the mechanism of sound propagation in water is adiabatic $\\left({C}_{p2}=\\infty \\right)$ and on the right-hand side of Equation (30) only the first term remains. Thus, Equation (45) for water has the form:\n\n$\\frac{{\\text{d}}^{2}{P}_{a2}\\left(z\\right)}{\\text{d}{z}^{2}}+\\frac{g}{{C}_{2}^{2}}\\frac{\\text{d}{P}_{a2}\\left(z\\right)}{\\text{d}z}-\\left({k}^{2}-\\frac{{\\omega }^{2}}{{C}_{2}^{2}}\\right){P}_{a2}\\left(z\\right)=0$ (59)\n\nRepresenting the amplitude of the pressure perturbation in the form ${P}_{a2}\\left(z\\right)=B\\mathrm{exp}\\left(\\delta z\\right)$ from (59), we obtain\n\n${P}_{a2}\\left(z\\right)={B}_{1}\\mathrm{exp}\\left({\\delta }_{1}z\\right)+{B}_{2}\\mathrm{exp}\\left({\\delta }_{2}z\\right)$, (60)\n\nwhere:\n\n${\\delta }_{1}=-\\frac{k}{{\\theta }_{s2}}\\left[1+\\sqrt{1+{\\theta }_{s2}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{2}}{{k}^{2}}-\\frac{{U}_{p2}^{2}}{{C}_{2}^{2}}\\right)}\\right]<0,$ (61)\n\n${\\delta }_{2}=-\\frac{k}{{\\theta }_{s2}}\\left[1-\\sqrt{1+{\\theta }_{s2}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{2}}{{k}^{2}}-\\frac{{U}_{p}^{2}}{{C}_{2}^{2}}\\right)}\\right]>0,$ (62)\n\n${\\theta }_{s2}=\\frac{2k{C}_{s2}^{2}}{g}=\\frac{2k{C}_{2}^{2}}{g}.$ (63)\n\nObviously, since the region of water is bounded along the vertical coordinate, both terms in (60) must be preserved for it.\n\n3. Waves of Wind\n\nLet us first consider the wind waves, when the amplitudes of pressure perturbations in air and water are determined by a system of expressions:\n\n$\\left\\{\\begin{array}{l}{P}_{a1}\\left(z\\right)=A\\mathrm{exp}\\left({\\gamma }_{1}z\\right)\\\\ {P}_{a2}\\left(z\\right)={B}_{1}\\mathrm{exp}\\left({\\delta }_{1}z\\right)+{B}_{2}\\mathrm{exp}\\left({\\delta }_{2}z\\right)\\end{array}$ (64)\n\nNow it is necessary to determine the boundary condition connecting the perturbed pressures of two media on the water surface. Obviously, this condition must have the form\n\n${{P}_{2}|}_{z=0}={{P}_{1}|}_{z=0}+{\\rho }_{02}g\\varsigma \\left(x,t\\right),$ (65)\n\nwhere\n\n$\\xi \\left(x,t\\right)=a\\mathrm{exp}\\left[i\\left(kx-\\omega t\\right)\\right]$ (66)\n\nis a displacement of the free surface of the liquid along the Z axis, a is the amplitude of the surface wave. Conditions for the continuity of the z components of perturbed air and water velocities at the air-water interface will give:\n\n${{V}_{z1}|}_{z=0}={{V}_{z2}|}_{z=0}=\\frac{\\partial \\xi }{\\partial t}$ (67)\n\nand at the bottom of the water $\\left(z=-H\\right)$ we will have:\n\n${{V}_{z2}|}_{z=-H}=0.$ (68)\n\nBy representing ${V}_{z}\\left(x,z,t\\right)$ from the first equation of the system (35) in the form ${V}_{z}\\left(x,z,t\\right)={V}_{a}\\left(z\\right)\\mathrm{exp}\\left[i\\left(kx-\\omega t\\right)\\right]$, we obtain:\n\n${V}_{z}\\left(x,z,t\\right)=-\\frac{i}{{\\rho }_{0}\\omega }\\left[\\frac{\\text{d}{P}_{a}\\left(z\\right)}{\\text{d}z}+\\frac{g}{{C}^{2}}{P}_{a}\\left(z\\right)\\right]\\mathrm{exp}\\left[i\\left(kx-\\omega t\\right)\\right].$ (69)\n\nTaking into account expressions (64) and (69), the boundary conditions (47), (49) and (50) will have the form\n\n$\\left\\{\\begin{array}{l}{A}_{1}-{B}_{1}-{B}_{2}+{\\rho }_{02}ga=0\\hfill \\\\ \\frac{1}{{\\rho }_{01}\\omega }\\left({\\gamma }_{1}+\\frac{g}{{\\stackrel{¯}{C}}_{1}^{2}}\\right)A-\\omega a=0\\hfill \\\\ \\frac{1}{{\\rho }_{02}\\omega }\\left({\\delta }_{1}+\\frac{g}{{C}_{2}^{2}}\\right){B}_{1}+\\frac{1}{{\\rho }_{02}\\omega }\\left({\\delta }_{2}+\\frac{g}{{C}_{2}^{2}}\\right){B}_{2}-\\omega a=0\\hfill \\\\ \\left({\\delta }_{1}+\\frac{g}{{C}_{2}^{2}}\\right)\\mathrm{exp}\\left(-{\\delta }_{1}H\\right){B}_{1}+\\left({\\delta }_{2}+\\frac{g}{{C}_{2}^{2}}\\right)\\mathrm{exp}\\left(-{\\delta }_{2}H\\right){B}_{2}=0\\hfill \\end{array}$ (70)\n\nBy equating the determinant of the system (70) to zero, we obtain the dispersion equation for surface gravitational waves in the form\n\n${\\stackrel{˜}{\\delta }}_{1}\\mathrm{exp}\\left(-{\\delta }_{1}H\\right)\\left[\\frac{{\\stackrel{˜}{\\gamma }}_{1}{\\stackrel{˜}{\\delta }}_{2}g}{{\\rho }_{01}{\\omega }^{2}}+\\frac{{\\stackrel{˜}{\\delta }}_{2}}{{\\rho }_{02}}-\\frac{{\\stackrel{˜}{\\gamma }}_{1}}{{\\rho }_{01}}\\right]-{\\stackrel{˜}{\\delta }}_{2}\\mathrm{exp}\\left(-{\\delta }_{2}H\\right)\\left[\\frac{{\\stackrel{˜}{\\gamma }}_{1}{\\stackrel{˜}{\\delta }}_{1}g}{{\\rho }_{01}{\\omega }^{2}}+\\frac{{\\stackrel{˜}{\\delta }}_{1}}{{\\rho }_{02}}-\\frac{{\\stackrel{˜}{\\gamma }}_{1}}{{\\rho }_{01}}\\right]=0,$ (71)\n\nwhere:\n\n${\\stackrel{˜}{\\gamma }}_{1}={\\gamma }_{1}+\\frac{g}{{\\stackrel{¯}{C}}_{1}^{2}}=\\frac{2g}{{\\stackrel{¯}{C}}_{p1}^{2}}+\\frac{k}{{\\theta }_{s1}}\\left[1-\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-{x}^{2}\\right)}\\right],$ (72)\n\n${\\stackrel{˜}{\\delta }}_{1}={\\delta }_{1}+\\frac{g}{{\\stackrel{¯}{C}}_{2}^{2}}=\\frac{k}{{\\theta }_{s2}}\\left[1-\\sqrt{1+{\\theta }_{s2}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{2}}{{k}^{2}}-\\frac{{\\stackrel{¯}{C}}_{1}^{2}}{{C}_{2}^{2}}{x}^{2}\\right)}\\right],$ (73)\n\n${\\stackrel{˜}{\\delta }}_{2}={\\delta }_{2}+\\frac{g}{{\\stackrel{¯}{C}}_{2}^{2}}=\\frac{k}{{\\theta }_{s2}}\\left[1+\\sqrt{1+{\\theta }_{s2}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{2}}{k}-\\frac{{\\stackrel{¯}{C}}_{1}^{2}}{{C}_{2}^{2}}{x}^{2}\\right)}\\right].$ (74)\n\nConsidering that $x\\le 1$, in formula (72) ${x}^{2}$ must be saved. As for the quantity ${U}_{p}^{2}/{C}_{2}^{2}=\\left({\\stackrel{¯}{C}}_{1}^{2}/{C}_{2}^{2}\\right){x}^{2}\\cong 0.03{x}^{2}$ it is of the second or greater order of smallness and in the linear approximation should be discarded in formulas (73) and (74). For the minimum value ${k}_{\\mathrm{min}}=9.05×{10}^{-5}\\text{ }\\text{ }{\\text{m}}^{-1}$ from (63) we have ${\\left({\\theta }_{s2}\\right)}_{\\mathrm{min}}\\cong 40$. Thus, we can neglect the unit in comparison with ${\\theta }_{s2}$ and from (61), (62), (73) and (74) we have: ${\\delta }_{1}={\\stackrel{˜}{\\delta }}_{1}=-k$, ${\\delta }_{2}={\\stackrel{˜}{\\delta }}_{2}=k$. Then from (71) we easily obtain:\n\n$\\begin{array}{l}\\left\\{\\frac{2}{{\\theta }_{p1}}+\\frac{1}{{\\vartheta }_{s1}}\\left[1-\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-x\\right)}\\right]\\right\\}×\\left[\\frac{kg}{{\\omega }^{2}}\\mathrm{tanh}\\left(kH\\right)-1\\right]\\\\ \\text{ }-k\\frac{{\\rho }_{01}}{{\\rho }_{02}}\\mathrm{tanh}\\left(kH\\right)=0,\\end{array}$ (75)\n\nwhere ${\\theta }_{p1}=2k{\\stackrel{¯}{C}}_{p1}^{2}/g$. Equation (75) is a dispersion equation for wind waves and, as we see, it contains the thermodynamic parameters of both water and air. The last summand in (75) can be neglected due to its smallness, and then, it splits into two equations:\n\n$\\frac{2}{{\\theta }_{p1}}+\\frac{1}{{\\theta }_{s1}}\\left[1-\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-{x}^{2}\\right)}\\right]=0,$ (76)\n\n$\\frac{kg}{{\\omega }^{2}}\\mathrm{tanh}\\left(kH\\right)-1=0.$ (77)\n\nEquation (76) describes longitudinal waves in the air excited by perturbations on the surface of water and propagating along this surface. Let’s consider this equation, ignoring the dependence of the sounds velocities on the coordinate z, i.e. take their values at sea level: ${\\stackrel{¯}{C}}_{1}={C}_{1}\\left(0\\right)={C}_{s1}\\left(0\\right)=340\\text{\\hspace{0.17em}}\\text{m}/\\text{sec}$, ${C}_{p1}=\\infty$. Then ${\\stackrel{¯}{\\Omega }}_{1}\\left(z\\right)=0$ and it will take the for\n\n$1-\\sqrt{1+{\\theta }_{s1}^{2}\\left(1-{x}^{2}\\right)}=0⇒|x|=1⇒|{U}_{p}|={C}_{1}\\left(0\\right).$ (78)\n\nObviously, in this case, the condition (57) is optional and the wave vector k can take any value. We see that in this assumption, the speed of the wave in the air does not depend on the wavelength and is equal to the speed of sound at sea level. There is no doubt that perturbations whose wave lengths are comparable to the lengths of surface gravitational waves cannot propagate in the air at the speed of sound, and thus it is impossible to ignore the dependence of the speed of sound on the z coordinate.\n\nThe solution to Equation (76) is:\n\n$|x|=\\sqrt{1+\\frac{{\\stackrel{\\to }{\\Omega }}_{1}}{{k}^{2}}-\\frac{4}{{\\theta }_{p1}{\\theta }_{s1}}\\left(1+\\frac{{\\theta }_{s1}}{{\\theta }_{p1}}\\right)}=\\sqrt{1+\\frac{1}{{k}^{2}}\\left[{\\stackrel{¯}{\\Omega }}_{1}-\\frac{{g}^{2}}{{\\stackrel{¯}{C}}_{p1}^{2}{\\stackrel{¯}{C}}_{s1}^{2}}\\left(1+\\frac{{\\stackrel{¯}{C}}_{s1}^{2}}{{\\stackrel{¯}{C}}_{p1}^{2}}\\right)\\right]}.$ (79)\n\nSubstituting in (79) the numerical values of the parameters from (48), we get\n\n$|x|=\\sqrt{1-\\frac{1.17×{10}^{-8}}{{k}^{2}}}⇒|{U}_{p}|=\\sqrt{1-\\frac{1.17×{10}^{-8}}{{k}^{2}}}{\\stackrel{¯}{C}}_{1}.$ (80)\n\nFrom (80) we find\n\n$k=\\frac{1.08×{10}^{-4}}{\\sqrt{1-{x}^{2}}}$ (81)\n\nwhich is consistent with the condition (57) and therefore the roots (79) are not extraneous for any valid valuesk. Table 1 shows the roots of Equation (62) for those values k $\\left(\\lambda \\right)$, that satisfy condition (57)\n\nWe see that for $k>{10}^{-3}\\text{ }\\text{ }{\\text{m}}^{-1}⇒\\lambda <6.28×{10}^{3}\\text{ }\\text{ }\\text{m}$, the phase velocity of the wave in the air is constant and equal to ${U}_{p}={\\stackrel{¯}{C}}_{1}\\cong 281.72\\text{\\hspace{0.17em}}\\text{m}/\\text{sec}$, and then, with a decrease of k, it falls and at $k=1.08×{10}^{-4}\\text{ }\\text{ }{\\text{m}}^{-1}⇒\\lambda =5.80×{10}^{4}\\text{ }\\text{ }\\text{m}$, we have $x=0$, i.e., the wave stops. This means that at this wavelength, two regions of about 30 km long, with high and low pressures are formed in the atmosphere above water. In the area of low atmospheric pressure, the amplitude of the surface wave will increase and the pressure difference between the two areas will lead to the appearance of wind. When is further reduced k to its minimum value, which is defined from (57) ${k}_{\\mathrm{min}}\\cong 9×{10}^{-5}\\text{ }\\text{ }{\\text{m}}^{-1}⇒{\\lambda }_{\\mathrm{max}}\\cong 7×{10}^{4}\\text{ }\\text{ }\\text{m}$, the roots of Equation (76) and the corresponding frequencies of standing waves in the atmosphere become imaginary, which leads to a sharp increase in the pressure difference and, consequently, the amplitude of the surface wave and the wind force. This result clearly explains the reason for the drop in atmospheric pressure over the sea and ocean before the storm, as well as the reason for its strengthening.\n\nTable 1. The dependence of the roots of Equation (76) on $k\\ge 9.05×{10}^{-5}\\text{ }\\text{ }{\\text{m}}^{-1}⇒\\lambda \\le 6.94×{10}^{4}\\text{ }\\text{ }\\text{m}$.\n\nThe solution to Equation (77), which describes surface gravitational waves on water, is:\n\n$|{U}_{p}|=\\sqrt{\\frac{g}{k}\\mathrm{tanh}\\left(kH\\right)}=\\sqrt{\\frac{g\\lambda }{2\\pi }\\mathrm{tanh}\\left(\\frac{2\\pi H}{\\lambda }\\right)}$ (82)\n\nwhich coincides with (10) and thus, the existing theory for wind waves gives the correct result.\n\nThe phase velocity of a wave in the atmosphere does not depend on the depth of the ocean and decreases from the speed of sound to zero with increasing wavelength. In the ocean, on the contrary, the phase velocity increases from zero with increasing wavelength and depth. It is evident, that at certain wavelengths, which will depend on the depth of the ocean, these speeds will coincide and resonance of the frequencies will occur of waves in the atmosphere and the ocean. We can assume that this resonance is the cause of the “killer wave”, especially since there is no other explanation yet. It should be noted, that the resonance alone is not enough for the appearance of a “killer wave”—it is essential that the oscillations in the air and in the water are occurring in antiphase.\n\nThe resonant wavelengths are obtained by equating the right sides of the Equations (80) and (82), i.e.\n\n$\\sqrt{1-\\frac{1.17×{10}^{-8}{\\lambda }^{2}}{4{\\pi }^{2}}}{\\stackrel{¯}{C}}_{1}=\\sqrt{\\frac{g\\lambda }{2\\pi }\\mathrm{tanh}\\left(\\frac{2\\pi H}{\\lambda }\\right)}$ (83)\n\nFor deep water $\\left(2\\pi H/\\lambda >1⇒\\mathrm{tanh}\\left(2\\pi H/\\lambda \\right)=1\\right)$, the Equation (83) obtains\n\n$1-\\frac{1.17×{10}^{-8}}{4\\pi {}^{2}}{\\lambda }^{2}=\\frac{g}{2\\pi {\\stackrel{¯}{C}}_{1}^{2}}\\lambda$ (84)\n\nThe Equation (84) does not depend on H and its solution is $\\lambda \\cong 6.4×{10}^{4}\\text{ }\\text{ }\\text{m}$ so therefore $H>{10}^{4}\\text{ }\\text{ }\\text{m}$. Since there are practically no such depths with a flat relief, it can be said with great confidence that “killer waves” do not arise in deep water.\n\nFor the shallow water $\\left(2\\pi H/\\lambda <1⇒\\mathrm{tanh}\\left(2\\pi H/\\lambda \\right)=2\\pi H/\\lambda \\right)$ we have\n\n$\\lambda =2\\pi ×{10}^{4}\\sqrt{\\frac{1}{1.17}\\left(1-\\frac{gH}{{\\stackrel{¯}{C}}_{1}^{2}}\\right)}$ (85)\n\nIn order for the values $\\lambda$ from (85) to satisfy the shallow water condition, the following condition must be fulfilled\n\n$\\left(1-\\frac{gH}{{\\stackrel{¯}{C}}_{1}^{2}}\\right)>1.17×{10}^{-8}{H}^{2}$ (86)\n\nwhich obtains the following $H<5.3×{10}^{3}\\text{ }\\text{ }\\text{m}$. Therefore, the “killer waves” arise in shallow water, the depth of which does not exceed 5.3 km.\n\nThe values of the killer wavelength for different depths and the corresponding values of the phase velocities, calculated by the formulas (85) and ${U}_{p}=\\sqrt{gH}$ as well as the values of the periods and the ratio $2\\pi H/\\lambda$ are given in Table 2 below.\n\nTable 2. Values of lengths, phase velocities and periods of the “killer wave” for various depths.\n\nFigure 4 presents the graphs of the dependences of the phase velocities of longitudinal waves in the air (80) and on the water surface (82) for the same depths. We can see that the values of the resonant wavelengths coincide with the tabulated values.\n\nFigure 4. Plots of dependences of the phase velocities of longitudinal waves on the air (80) (blue curve) and on the water surface (82) (green curves) for different depths.\n\n4. Tsunami Waves\n\nLet us now consider tsunami waves, i.e. surface gravitational waves for those values k that satisfy condition (58): $k<9.05×{10}^{-5}\\text{ }\\text{ }{\\text{m}}^{-1}⇒\\lambda >6.90×{10}^{4}\\text{ }\\text{ }\\text{m}$. In this case, the amplitude of longitudinal waves in the atmosphere is determined by the expression (51), where ${A}_{1}\\cong {A}_{2}<1$ and according to (52), (53) and (56), ${\\gamma }_{1}<0$ and ${\\gamma }_{2}<0$, i.e. both terms give the wave attenuation at $z\\to \\infty$. It can be seen that the wave corresponding to the first term decays faster than the wave corresponding to the second term, and therefore, to fulfill the condition of the wave’s superficiality, it is sufficient to leave only the second term and thus we have:\n\n$\\left\\{\\begin{array}{l}{P}_{a1}\\left(z\\right)=A\\mathrm{exp}\\left({\\gamma }_{2}z\\right)\\\\ {P}_{a2}\\left(z\\right)={B}_{1}\\mathrm{exp}\\left({\\delta }_{1}z\\right)+{B}_{2}\\mathrm{exp}\\left({\\delta }_{2}z\\right)\\end{array}$ (87)\n\nNote that boundary conditions (65), (67), and (68) are also valid for tsunami waves, and then, comparing (61) and (83), it is easy to verify that for tsunami waves we obtain an equation similar to Equation (71)\n\n${\\stackrel{˜}{\\delta }}_{1}\\mathrm{exp}\\left(-{\\delta }_{1}H\\right)\\left[\\frac{{\\stackrel{˜}{\\gamma }}_{2}{\\stackrel{˜}{\\delta }}_{2}g}{{\\rho }_{01}{\\omega }^{2}}+\\frac{{\\stackrel{˜}{\\delta }}_{2}}{{\\rho }_{02}}-\\frac{{\\stackrel{˜}{\\gamma }}_{2}}{{\\rho }_{01}}\\right]-{\\stackrel{˜}{\\delta }}_{2}\\mathrm{exp}\\left(-{\\delta }_{2}H\\right)\\left[\\frac{{\\stackrel{˜}{\\gamma }}_{2}{\\stackrel{˜}{\\delta }}_{1}g}{{\\rho }_{01}{\\omega }^{2}}+\\frac{{\\stackrel{˜}{\\delta }}_{1}}{{\\rho }_{02}}-\\frac{{\\stackrel{˜}{\\gamma }}_{2}}{{\\rho }_{01}}\\right]=0.$ (88)\n\nFor waves, the length of which is $\\lambda \\ge 500\\text{\\hspace{0.17em}}\\text{km}$, the value ${\\theta }_{s2}$ changes in the interval ${\\theta }_{s2}\\le 5.5$ and, therefore, it cannot be neglected in comparison with the unit, in contrast to ${\\theta }_{s2}^{2}$. Then we will have:\n\n$\\left\\{\\begin{array}{l}{\\stackrel{˜}{\\gamma }}_{2}=\\frac{2}{{\\theta }_{p1}}+\\frac{1}{{\\theta }_{s1}}\\left[1+\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-{x}^{2}\\right)}\\right]\\\\ {\\delta }_{1}=-{\\stackrel{˜}{\\delta }}_{2}=-k\\left(1+\\frac{1}{{\\theta }_{s2}}\\right),{\\delta }_{2}=-{\\stackrel{˜}{\\delta }}_{1}=k\\left(1-\\frac{1}{{\\theta }_{s2}}\\right)\\end{array}$ (89)\n\nafter which, Equation (88) takes the form\n\n$\\begin{array}{l}\\left\\{\\frac{2}{{\\theta }_{p1}}+\\frac{1}{{\\vartheta }_{s1}}\\left[1+\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-x\\right)}\\right]\\right\\}\\\\ \\text{ }×\\left[\\left(\\frac{kg}{{\\omega }^{2}}+\\frac{1}{{\\theta }_{s2}}\\right)\\mathrm{tanh}\\left(kH\\right)-1\\right]-k\\frac{{\\rho }_{01}}{{\\rho }_{02}}\\mathrm{tanh}\\left(kH\\right)=0\\end{array}$ (90)\n\nIgnoring the last term, Equation (90) again splits into two equations:\n\n$\\frac{2}{{\\theta }_{p1}}+\\frac{1}{{\\theta }_{s1}}\\left[1+\\sqrt{1+{\\theta }_{s1}^{2}\\left(1+\\frac{{\\stackrel{¯}{\\Omega }}_{1}}{{k}^{2}}-{x}^{2}\\right)}\\right]=0,$ (91)\n\n$\\left(\\frac{kg}{{\\omega }^{2}}+\\frac{1}{{\\theta }_{s2}}\\right)\\mathrm{tanh}\\left(kH\\right)-1=0.$ (92)\n\nFrom condition (56) it follows that Equation (91) has no solution and this means that during a tsunami, wave processes in the atmosphere are not generated. As for Equation (92), its solution is\n\n${U}_{p}=\\sqrt{\\frac{\\left(g/k\\right)\\mathrm{tanh}\\left(kH\\right)}{1-\\mathrm{tanh}\\left(kH\\right)/{\\theta }_{s2}}}.$ (93)\n\nConsidering that $kH<1⇒\\mathrm{tanh}\\left(kH\\right)\\cong kH$, we will have:\n\n${U}_{p}=\\sqrt{\\frac{gH}{1-\\frac{gH}{2{C}_{2}^{2}}}}.$ (94)\n\nFor great depths, for example, at $H={10}^{4}\\text{ }\\text{ }\\text{m}$, the value $gH/2{C}_{2}^{2}=0.02$ and it can be ignored. Thus, the phase velocity of the tsunami wave is ${U}_{p}=\\sqrt{gH}$.\n\n5. Conclusions\n\nThis article does not claim to be highly accurate or to be the ultimate truth. The upper boundary of the troposphere changes depending on geographic parameters, and this concludes, that the average values of the problem parameters calculated here and, therefore, all the numerical data given in the article are rather conditional. However, undoubtedly the proposed method for solving the problem is new and makes it possible to trace the correlation between the ocean and the atmosphere during wave processes. In particular, it became clear why the atmospheric pressure in the ocean drops before the storm, as well as differentiating between the wavelengths of wind and tsunami became possible.\n\nIts apparent advantage is also that at the level of a highly plausible hypothesis, it reveals the greatest mystery of nature called the “Killer Wave”. Now it is clear why this wave is solitary. This is due to the fact that the flat topography of the ocean floor is disturbed at the distances of the order of the wavelengths that we calculated. It is also clear why a cavity, is formed before the wave. This is attributed to the fact that there is a region in front of the wave, where the pressure in the water sharply drops and in the atmosphere sharply increases.\n\nAll this became possible after the discovery of the isobaric speed of sound and the dependence of the true value of the speed of sound in the atmosphere on the vertical coordinate. This led to a radical change in many established dogmas and ideas in aero and hydrodynamics, which are recognized by the international scientific community (work is posted on several sites on the Internet (see, for example, ) and work is posted in the NASA database ). Despite this, the Internet to this day gives the values of the speed of sound at different heights of the atmosphere, calculated by the formula (15). Obviously, this can be explained by the fact that our theoretical results have not been experimentally confirmed. We hope that this article will be able to help popularize this problem and in the relevant scientific community will show desire in conducting the necessary experiments. The importance of such experiments also lies in the fact that if it is possible in laboratories to create conditions corresponding to the upper boundary of the troposphere and to confirm the fact of heat release, we will get an alternative source of energy.\n\nConflicts of Interest\n\nThe authors declare no conflicts of interest regarding the publication of this paper.\n\n Kirtskhalia, V.G. (2016) Journal of Fluids, 2016, Article ID: 4519201. https://doi.org/10.1155/2016/4519201 Landau, L.D. and Lifchitz, E.N. (1988) Theoretical Physics, Hydrodynamics. Vol. 6, Nauka, Moscow. Kowalik, Z. (2012) Introduction to Numerical Modeling of Tsunami Waves. Institute of Marine Science University of Alaska, Fairbank. https://www.sfos.uaf.edu/directory/faculty/kowalik/Tsunami_Book Stoker, J.J. (1957) Water Waves. Interscience, New York. Whitham, G. (1974) Linear and Nonlinear Waves. John Wiley & Sons (Wiley-Interscience), New York. Gossard, E.E. and Hooke, W.H. (1975) Waves in the Atmosphere. Wang, G.S.K. (1986) The Journal of the Acoustical Society of America, 79, 1359-1366. Kirtskhalia, V.G. (2012) Open Journal of Acoustics, 2, 80-85. https://doi.org/10.4236/oja.2012.22009 Kirtskhalia, V. (2012) Open Journal of Acoustics, 2, 115-120. https://doi.org/10.4236/oja.2012.23013 National Aeronautics and Space Administration (1976) U.S. Standard Atmosphere. Kirtskhalia, V.G. (2021) IOP Conference Series: Materials Science and Engineering, 1024, Article ID: 012037. https://doi.org/10.1088/1757-899X/1024/1/012037 Sorokhtin, O.G. (2009) The Process of Absorption of Ultra-Violet Radiation of the Sun Terrestrial Atmosphere. Bulletin of the Russian Academy of Natural Sciences, 2009/3. Kirtskhalia, V.G. (2015) Journal of Modern Physics, 7, 948-954. https://doi.org/10.4236/jmp.2015.67099 Kirtskhalia, V.G. (2013) Journal of Modern Physics, 4, 1075-1079. https://doi.org/10.4236/jmp.2013.48144 Kirtskhalia, V.G. (2019) Journal of Modern Physics, 10, 452-458. https://doi.org/10.4236/jmp.2019.104030 Kirtskhalia, V.G. (2012) Open Journal of Acoustics, 2, 80-85. https://www.researchgate.net/publication/274750587_Speed_of_SoundinAtmosphereof_the_Earth The Smithsonian/NASA Astrophysics Date System. http://www.sengpielaudio.com/calculator-speedsound.htm",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"customer@scirp.org",
null,
"+86 18163351462(WhatsApp)",
null,
"1655362766",
null,
"",
null,
"Paper Publishing WeChat",
null,
""
] | [
null,
"https://www.scirp.org/images/Twitter.svg",
null,
"https://www.scirp.org/images/fb.svg",
null,
"https://www.scirp.org/images/in.svg",
null,
"https://www.scirp.org/images/weibo.svg",
null,
"https://www.scirp.org/images/emailsrp.png",
null,
"https://www.scirp.org/images/whatsapplogo.jpg",
null,
"https://www.scirp.org/Images/qq25.jpg",
null,
"https://www.scirp.org/images/weixinlogo.jpg",
null,
"https://www.scirp.org/images/weixinsrp120.jpg",
null,
"https://www.scirp.org/Images/ccby.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9198411,"math_prob":0.9998462,"size":27388,"snap":"2023-14-2023-23","text_gpt3_token_len":6195,"char_repetition_ratio":0.16856559,"word_repetition_ratio":0.028674597,"special_character_ratio":0.23360597,"punctuation_ratio":0.10609826,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9999697,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-01T15:53:43Z\",\"WARC-Record-ID\":\"<urn:uuid:c6c08489-c74a-4e12-9e36-c20cb4ff0727>\",\"Content-Length\":\"401058\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b625780f-3f67-4061-9758-cb143fc4e7bd>\",\"WARC-Concurrent-To\":\"<urn:uuid:595ec79a-3895-441b-8a41-ec68f99a9128>\",\"WARC-IP-Address\":\"107.191.112.46\",\"WARC-Target-URI\":\"https://www.scirp.org/journal/paperinformation.aspx?paperid=110796\",\"WARC-Payload-Digest\":\"sha1:6YUACWLXSRANTPK6L2UVNH4YTOLWVKLL\",\"WARC-Block-Digest\":\"sha1:F5QTCHW3S4ZRSUGZ3ESW7VNZANI7SIRQ\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224647895.20_warc_CC-MAIN-20230601143134-20230601173134-00658.warc.gz\"}"} |
https://blog.ednalyn.com/tag/python/ | [
"## Programming Environment Setup\n\nI was bored over the weekend so I decided to restore my Macbook Pro to factory settings so that I can set up my programming environment the proper way. After all, what’s a data scientist without her toys?\n\nLet’s start with a replacement to the default terminal and pyenv installation to manage different Python versions.\n\nLet’s move on to managing different Python interpreters and virtual environments using pyenv-virtualenv.\n\n## Into the Heart of Darkness - Pt. 2\n\nExploring the Trump Twitter Archive with spaCy.\n\nIn a previous post, we set out to explore the dataset provided by the Trump Twitter Archive. My initial goal was to do something fun by using a very interesting dataset. However, it didn’t quite turn out that way.\n\nOn this post, we’ll continue our journey but this time we’ll be using spaCy.\n\nFor this project, we’ll be using pandas for data manipulation, spaCy for natural language processing, and joblib to speed things up.\n\nLet’s get started by firing up a Jupyter notebook!\n\n### Housekeeping\n\nLet’s import pandas and also set the display options so Jupyter won’t truncate our columns and rows. Let’s also set a random seed for reproducibility.\n\n`# for manipulating dataimport pandas as pd`\n`# setting the random seed for reproducibilityimport randomrandom.seed(493)`\n`# to print out all the outputsfrom IPython.core.interactiveshell import InteractiveShellInteractiveShell.ast_node_interactivity = \"all\"`\n`# set display optionspd.set_option('display.max_columns', None)pd.set_option('display.max_rows', None)pd.set_option('display.max_colwidth', -1)`\n\n### Getting the Data\n\nLet’s read the data into a dataframe. If you want to follow along, you can download the cleaned dataset here along with the file for stop words¹. This dataset contains Trump’s tweets from the moment he took office on January 20, 2017 to May 30, 2020.\n\n`df = pd.read_csv('trump_20200530_clean.csv', parse_dates=True, index_col='datetime')`\n\nLet’s take a quick look at the data.\n\n`df.head()df.info()`\n\n### Using spaCy\n\nNow let’s import spaCy and begin natural language processing.\n\n`# for natural language processing: named entity recognitionimport spacyimport en_core_web_sm`\n\nWe’re only going to use spaCy’s ner functionality or named-entity recognition so we’ll disable the rest of the functionalities. This will save us a lot of loading time later.\n\n`nlp = spacy.load(‘en_core_web_sm’, disable=[‘tagger’, ‘parser’, ‘textcat’])`\n\nNow let’s load the contents stopwords file into the variable `stopswords`. Note that we converted the list into a set to also save some processing time later.\n\n`with open(‘twitter-stopwords — TA — Less.txt’) as f: contents = f.read().split(‘,’)stopwords = set(contents)`\n\nNext, we’ll import joblib and define a few functions to help with parallel processing.\n\n```from joblib import Parallel, delayed\n\ndef chunker(iterable, total_length, chunksize):\nreturn (iterable[pos: pos + chunksize] for pos in range(0, total_length, chunksize))\n\ndef flatten(list_of_lists):\n\"Flatten a list of lists to a combined list\"\nreturn [item for sublist in list_of_lists for item in sublist]\n\ndef process_chunk(texts):\npreproc_pipe = []\nfor doc in nlp.pipe(texts, batch_size=20):\npreproc_pipe.append([(ent.text) for ent in doc.ents if ent.label_ in ['NORP', 'PERSON', 'FAC', 'ORG', 'GPE', 'LOC', 'PRODUCT', 'EVENT']])\nreturn preproc_pipe\n\ndef preprocess_parallel(texts, chunksize=100):\nexecutor = Parallel(n_jobs=7, backend='multiprocessing', prefer=\"processes\")\ndo = delayed(process_chunk)\ntasks = (do(chunk) for chunk in chunker(texts, len(df), chunksize=chunksize))\nreturn flatten(result)```\n\nIn the code above², the function `preprocess_parallel` executes the other function `process_chunks` in parallel to help with speed. The function `process_chunks` iterates through a series of texts — in our case, the column `'tweet'` of our the `df` dataframe — and inspects the entity if it belongs to either NORP, PERSON, FAC, ORG, GPE, LOC, PRODUCT, or EVENT. If it is, the entity is then appended to `'preproc_pipe'` and subsequently returned to its caller. Prashanth Rao has a very good article on making spaCy super fast.\n\nLet’s call the main driver for the functions now.\n\n`df['entities'] = preprocess_parallel(df['tweet'], chunksize=1000)`\n\nDoing a quick `df.head()` will reveal the new column `'entities'` that we added earlier to hold the entities found in the `'tweet'` column.\n\n### Prettifying the Results\n\nIn the code below, we’re making a list of lists called `'entities'` and then flattening it for easier processing. We’re also converting it into a set called `'entities_set'`.\n\n`entities = [entity for entity in df.entities if entity != []]entities = [item for sublist in entities for item in sublist]`\n`entities_set = set(entities)`\n\nNext, let’s count the frequency of the entities and append it to the list of tuples `entities_counts`. Then let’s convert the results into a dataframe `df_counts`.\n\n`df_counts = pd.Series(entities).value_counts()[:20].to_frame().reset_index()df_counts.columns=['entity', 'count']df_counts`\n\nFor this step, we’re going to reinitialize an empty list `entity_counts` and manually construct a list of tuples with a combined set of entities and the sum of their frequencies or count.\n\n```entity_counts = []\n\nentity_counts.append(('Democrats', df_counts.loc[df_counts.entity.isin(['Democrats', 'Dems', 'Democrat'])]['count'].sum()))\nentity_counts.append(('Americans', df_counts.loc[df_counts.entity.isin(['American', 'Americans'])]['count'].sum()))\nentity_counts.append(('Congress', df_counts.loc[df_counts.entity.isin(['House', 'Senate', 'Congress'])]['count'].sum()))\nentity_counts.append(('America', df_counts.loc[df_counts.entity.isin(['U.S.', 'the United States', 'America'])]['count'].sum()))\nentity_counts.append(('Republicans', df_counts.loc[df_counts.entity.isin(['Republican', 'Republicans'])]['count'].sum()))\n\nentity_counts.append(('China', 533))\nentity_counts.append(('FBI', 316))\nentity_counts.append(('Russia', 313))\nentity_counts.append(('Fake News', 248))\nentity_counts.append(('Mexico', 213))\nentity_counts.append(('Obama', 176))```\n\nLet’s take a quick look before continuing.\n\nFinally, let’s convert the list of tuples into a dataframe.\n\n`df_ner = pd.DataFrame(entity_counts, columns=[\"entity\", \"count\"]).sort_values('count', ascending=False).reset_index(drop=True)`\n\nAnd that’s it!\n\nWe’ve successfully created a ranking of the named entities that President Trump most frequently talked about in his tweets since taking office.\n\nThank you for reading! Exploratory data analysis uses a lot of techniques and we’ve only explored a few on this post. I encourage you to keep practicing and employ other techniques to derive insights from data.\n\nIn the next post, we shall continue our journey into the heart of darkness and do some topic-modeling using LDA.\n\nStay tuned!\n\n GONG Wei’s Homepage. (May 30, 2020). Stop words for tweets. https://sites.google.com/site/iamgongwei/home/sw\n\n Towards Data Science. (May 30, 2020). Turbo-charge your spaCy NLP pipeline. https://towardsdatascience.com/turbo-charge-your-spacy-nlp-pipeline-551435b664ad\n\n## Into the Heart of Darkness - Pt. 1\n\nExploring the Trump Twitter Archive with Python. For beginners.\n\nIn this post, we’ll explore the dataset provided by the Trump Twitter Archive. My goal was to do something fun by using a very interesting dataset. However, as it turned out, exposure to Trump’s narcissism and shenanigans were quite depressing — if not traumatic.\n\nYou’d been warned!\n\nFor this project, we’ll be using pandas and numpy for data manipulation, matplotlib for visualizations, datetime for working with timestamps, unicodedata and regex for processing strings, and finally, nltk for natural language processing.\n\nLet’s get started by firing up a Jupyter notebook!\n\n### Environment\n\nWe’re going to import pandas and matplotlib, and also set the display options for Jupyter so that the rows and columns are not truncated.\n\n`# for manipulating dataimport pandas as pdimport numpy as np`\n`# for visualizations%matplotlib inlineimport matplotlib.pyplot as plt`\n`# to print out all the outputsfrom IPython.core.interactiveshell import InteractiveShellInteractiveShell.ast_node_interactivity = \"all\"`\n`# set display optionspd.set_option('display.max_columns', None)pd.set_option('display.max_rows', None)pd.set_option('display.max_colwidth', -1)`\n\n### Getting the Data\n\nLet’s read the data into a dataframe. If you want to follow along, you can download the dataset here. This dataset contains Trump’s tweets from the moment he took office on January 20, 2017 to May 30, 2020.\n\n`df = pd.read_csv('trump_20200530.csv')`\n\nLet’s look at the first five rows and see the number of records (rows) and fields (columns).\n\n`df.head()df.shape`\n\nLet’s do a quick renaming of the columns to make it easier for us later.\n\n`df.columns=['source', 'tweet', 'date_time', 'retweets', 'favorites', 'is_retweet', 'id']`\n\nLet’s drop the id column since it’s not really relevant right now.\n\n`df = df.drop(columns=['id'])`\n\nLet’s do a quick sanity check, this time let’s also check the dtypes of the columns.\n\n`df.head()df.info()`\n\n### Working with Timestamps\n\nWe can see from the previous screenshot that the ‘date_time’ column is a string. Let’s parse it to a timestamp.\n\n`# for working with timestampsfrom datetime import datetimefrom dateutil.parser import parse`\n`dt = []for ts in df.date_time: dt.append(parse(ts))dt[:5]`\n\nLet’s add a column with ‘datetime’ that contains the timestamp information.\n\n`df['datetime'] = df.apply(lambda row: parse(row.date_time), axis=1)`\n\nLet’s double-check the data range of our dataset.\n\n`df.datetime.min()df.datetime.max()`\n\n### Trimming the Data\n\nLet’s see how many sources there are for the tweets.\n\n`df.source.value_counts()`\n\nLet’s only keep the ones that were made using the ‘Twitter for iPhone’ app.\n\n`df = df.loc[df.source == 'Twitter for iPhone']`\n\nWe should drop the old ‘date_time’ column and the ‘source’ column as well.\n\n`df = df.drop(columns=['date_time', 'source'])`\n\n### Separating the Retweets\n\nLet’s see how many are retweets.\n\n`df.is_retweet.value_counts()`\n\nLet’s make another dataframe that contains only retweets and drop the ‘is_retweet’ column.\n\n`df_retweets = df.loc[df.is_retweet == True]df_retweets = df_retweets.drop(columns=['is_retweet'])`\n\nSanity check:\n\n`df_retweets.head()df_retweets.shape`\n\nBack on the original dataframe, let’s remove the retweets from the dataset and drop the ‘is_retweet’ column altogether.\n\n`df = df.loc[df.is_retweet == False]df = df.drop(columns=['is_retweet'])`\n\nAnother sanity check:\n\n`df.head()df.shape`\n\n### Exploring the Data\n\nLet’s explore both of the dataframes and answer a few questions.\n\n#### What time does the President tweet the most? What time does he tweet the least?\n\nThe graph below shows that the President most frequently tweets around 12pm. He also tweets the least around 8am. Maybe he’s not a morning person?\n\n`title = 'Number of Tweets by Hour'df.tweet.groupby(df.datetime.dt.hour).count().plot(figsize=(12,8), fontsize=14, kind='bar', rot=0, title=title)plt.xlabel('Hour')plt.ylabel('Number of Tweets')`\n\n#### What day does the President tweet the most? What day does he tweet the least?\n\nThe graph below shows that the President most frequently tweets on Wednesday. He also tweets the least on Thursday.\n\n`title = 'Number of Tweets by Day of the Week'df.tweet.groupby(df.datetime.dt.dayofweek).count().plot(figsize=(12,8), fontsize=14, kind='bar', rot=0, title=title)plt.xlabel('Day of the Week')plt.ylabel('Number of Tweets')plt.xticks(np.arange(7),['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'])`\n\n#### Isolating Twitter Handles from the Retweets\n\nLet’s import regex so we can use it to parse the text and isolate the Twitter handles of the original tweets. In the code below, we add another column that contains the Twitter handle.\n\n`import re`\n`pattern = re.compile('(?<=RT @).*?(?=:)')df_retweets['original'] = [re.search(pattern, tweet).group(0) for tweet in df_retweets.tweet]`\n\nLet’s create another dataframe that will contain only the original Twitter handles and their associated number of retweets.\n\n`df_originals = df_retweets.groupby(['original']).sum().sort_values('retweets').reset_index().sort_values('retweets', ascending=False)`\n\nLet’s check the data real quick:\n\n`df_originals.head()df_originals.shape`\n\nLet’s visualize the results real quick so we can get an idea if the data is disproportionate or not.\n\n`df_originals = df_retweets.groupby(['original']).sum().sort_values('retweets').reset_index().sort_values('retweets', ascending=False)[:10].sort_values('retweets')df_originals.plot.barh(x='original', y='retweets', figsize=(16,10), fontsize=16)plt.xlabel(\"Originating Tweet's Username\")plt.xticks([])`\n\n#### Which Twitter user does the President like to retweet the most?\n\nThe graph below shows that the President likes to retweet the tweets from ‘@realDonaldTrump’. Does this mean the president likes to retweet himself? You don’t say!\n\nThe interesting handle on this one is ‘@charliekirk11’. Charlie Kirk is the founder of Turning Point USA. CBS News described the organization as a far-right organization that is “shunned or at least ignored by more established conservative groups in Washington, but embraced by many Trump supporters”.¹\n\n#### The Top 5 Retweets\n\nLet’s look at the top 5 tweets that were retweeted the most by others based on the original Twitter handle.\n\n`df_retweets.loc[df_retweets.original == 'realDonaldTrump'].sort_values('retweets', ascending=False)[:5]`\n\nAnd another one with ‘@charliekirk11’.\n\n`df_retweets.loc[df_retweets.original == 'charliekirk11'].sort_values('retweets', ascending=False)[:5]`\n\n### Examining Retweets’ Favorites count\n\nLet’s find out how many of the retweets are favorited by others.\n\n`df_retweets.favorites.value_counts()`\n\nSurprisingly, none of the retweets seemed to have been favorited by anybody. Weird.\n\nWe should drop it.\n\n### Counting N-Grams\n\nTo do some n-gram ranking, we need to import unicodedata and nltk. We also need to specify additional stopwords that we may need to exclude from our analysis.\n\n`# for cleaning and natural language processingimport unicodedataimport nltk`\n`# add appropriate words that will be ignored in the analysisADDITIONAL_STOPWORDS = ['rt']`\n\nHere are a few of my favorite functions for natural language processing:\n\n```def clean(text):\n\"\"\"\nA simple function to clean up the data. All the words that\nare not designated as a stop word is then lemmatized after\nencoding and basic regex parsing are performed.\n\"\"\"\nwnl = nltk.stem.WordNetLemmatizer()\ntext = (unicodedata.normalize('NFKD', text)\n.encode('ascii', 'ignore')\n.decode('utf-8', 'ignore')\n.lower())\nwords = re.sub(r'[^\\w\\s]', '', text).split()\nreturn [wnl.lemmatize(word) for word in words if word not in stopwords]\n\ndef get_words(df, column):\n\"\"\"\nTakes in a dataframe and columns and returns a list of\nwords from the values in the specified column.\n\"\"\"\nreturn clean(''.join(str(df[column].tolist())))\n\ndef get_bigrams(df, column):\n\"\"\"\nTakes in a list of words and returns a series of\nbigrams with value counts.\n\"\"\"\nreturn (pd.Series(nltk.ngrams(get_words(df, column), 2)).value_counts())[:10]\n\ndef get_trigrams(df, column):\n\"\"\"\nTakes in a list of words and returns a series of\ntrigrams with value counts.\n\"\"\"\nreturn (pd.Series(nltk.ngrams(get_words(df, column), 3)).value_counts())[:10]\n\ndef viz_bigrams(df ,column):\nget_bigrams(df, column).sort_values().plot.barh(color='blue', width=.9, figsize=(12, 8))\n\nplt.title('20 Most Frequently Occuring Bigrams')\nplt.ylabel('Bigram')\nplt.xlabel('# Occurances')\n\ndef viz_trigrams(df, column):\nget_trigrams(df, column).sort_values().plot.barh(color='blue', width=.9, figsize=(12, 8))\n\nplt.title('20 Most Frequently Occuring Trigrams')\nplt.ylabel('Trigram')\nplt.xlabel('# Occurances')\n```\n\nLet’s look at the top 10 bigrams in the `df` dataframe using the ‘tweet’ column.\n\n`get_bigrams(df, 'tweet')`\n\nAnd now, for the top 10 trigrams:\n\nLet’s use the `viz_bigrams()` function and visualize the bigrams.\n\n`viz_bigrams(df, ‘tweet’)`\n\nSimilarly, let’s use the `viz_trigrams()` function and visualize the trigrams.\n\n`viz_trigrams(df, 'tweet')`\n\nAnd there we have it!\n\nFrom the moment that Trump took office, we can confidently say that the “fake news media” has been on top of the president’s mind.\n\n### Conclusion\n\nUsing basic Python and the nltk library, we’ve explored the dataset from the Trump Twitter Archive and did some n-gram ranking out of it.\n\nThank you for reading! Exploratory data analysis uses a lot of techniques and we’ve only explored a few on this post. I encourage you to keep practicing and employ other techniques to derive insights from data.\n\nIn the next post, we shall continue our journey into the heart of darkness and use spaCy to extract named-entities from the same dataset.\n\nStay tuned!\n\n CBS News. “Trump speaks to conservative group Turning Point USA”. www.cbsnews.com. Archived from the original on July 31, 2019. Retrieved August 5, 2019.\n\n## Populating a Network Graph with Named-Entities\n\nAn early attempt of using networkx to visualize the results of natural language processing.\n\nI do a lot of natural language processing and usually, the results are pretty boring to the eye. When I learned about network graphs, it got me thinking, why not use keywords as nodes and connect them together to create a network graph?\n\nYupp, why not!\n\nIn this post, we’ll do exactly that. We’re going to extract named-entities from news articles about coronavirus and then use their relationships to connect them together in a network graph.\n\n# A Brief Introduction\n\nNetwork graphs are a cool visual that contains nodes (vertices) and edges (lines). It’s often used in social network analysis and network analysis but data scientists also use it for natural language processing.\n\nNatural Language Processing or NLP is a branch of artificial intelligence that deals with programming computers to process and analyze large volumes of text and derive meaning out of them.¹ In other words, it’s all about teaching computers how to understand human language… like a boss!\n\nEnough introduction, let’s get to coding!\n\nTo get started, let’s make sure to take care of all dependencies. Open up a terminal and execute the following commands:\n\n`pip install -U spacypython -m spacy download enpip install networkxpip install fuzzywuzzy`\n\nThis will install spaCy and download the trained model for English. The third command installs networkx. This should work for most systems. If it doesn’t work for you, check out the documentation for spaCy and networkx. Also, we’re using fuzzywuzzy for some text preprocessing.\n\nWith that out of the way, let’s fire up a Jupyter notebook and get started!\n\n# Imports\n\nRun the following code block into a cell to get all the necessary imports into our Python environment.\n\n`import pandas as pdimport numpy as npimport picklefrom operator import itemgetterfrom fuzzywuzzy import process, fuzz# for natural language processingimport spacyimport en_core_web_sm# for visualizations%matplotlib inlinefrom matplotlib.pyplot import figureimport networkx as nx`\n\n# Getting the Data\n\nIf you want to follow along, you can download the sample dataset here. The file was created using newspaper to import news articles from the npr.org. If you’re feeling adventurous, use the code snippet below to build your own dataset.\n\n```import requests\nimport json\nimport time\nimport newspaper\nimport pickle\n\ncorpus = []\ncount = 0\nfor article in npr.articles:\ntime.sleep(1)\narticle.parse()\ntext = article.text\ncorpus.append(text)\nif count % 10 == 0 and count != 0:\nprint('Obtained {} articles'.format(count))\ncount += 1\n\ncorpus300 = corpus[:300]\n\nwith open(\"npr_coronavirus.txt\", \"wb\") as fp: # Pickling\npickle.dump(corpus300, fp)\n\n# with open(\"npr_coronavirus.txt\", \"rb\") as fp: # Unpickling\n\nLet’s get our data.\n\n`with open('npr_coronavirus.txt', 'rb') as fp: # Unpickling corpus = pickle.load(fp)`\n\n# Extract Entities\n\n`nlp = en_core_web_sm.load()`\n\nThen, we’ll extract the entities:\n\n`entities = []for article in corpus[:50]: tokens = nlp(''.join(article)) gpe_list = [] for ent in tokens.ents: if ent.label_ == 'GPE': gpe_list.append(ent.text) entities.append(gpe_list)`\n\nIn the above code block, we created an empty list called `entities` to store a list of lists that contains the extracted entities from each of the articles. In the for-loop, we looped through the first 50 articles of the corpus. For each iteration, we converted each articles into tokens (words) and then we looped through all those words to get the entities that are labeled as `GPE` for countries, states, and cities. We used `ent.text` to extract the actual entity and appended them one by one to `entities`.\n\nHere’s the result:\n\nNote that North Carolina has several variations of its name and some have “the” prefixed in their names. Let’s get rid of them.\n\n`articles = []for entity_list in entities: cleaned_entity_list = [] for entity in entity_list: cleaned_entity_list.append(entity.lstrip('the ').replace(\"'s\", \"\").replace(\"’s\",\"\")) articles.append(cleaned_entity_list)`\n\nIn the code block above, we’re simply traversing the list of lists `articles` and cleaning the entities one by one. With each iteration, we’re stripping the prefix “the” and getting rid of `'s.`\n\n# Optional: FuzzyWuzzy\n\nLooking at the entities, I’ve noticed that there are also variations in the “United States” is represented. There exists “United States of America” while some are just “United States”. We can trim these down into a more standard naming convention.\n\nFuzzyWuzzy can help with this.\n\nDescribed by pypi.org as “string matching like a boss,” FiuzzyWuzzy uses Levenshtein distance to calculate the similarities between words.¹ For a really good tutorial on how to use FuzzyWuzzy, check out Thanh Huynh’s article.FuzzyWuzzy: Find Similar Strings within one column in PythonToken Sort Ratio vs. Token Set Ratiotowardsdatascience.com\n\nHere’s the optional code for using FuzzyWuzzy:\n\n```choices = set([item for sublist in articles for item in sublist])\n\ncleaned_articles = []\nfor article in articles:\narticle_entities = []\nfor entity in set(article):\narticle_entities.append(process.extractOne(entity, choices))\ncleaned_articles.append(article_entities)```\n\nFor the final step before creating the network graph, let’s get rid of the empty lists within our list of list that were generated by articles who didn’t have any `GPE` entity types.\n\n`articles = [article for article in articles if article != []]`\n\n# Create the Network Graph\n\nFor the next step, we’ll create the world into which the graph will exist.\n\n`G = nx.Graph()`\n\nThen, we’ll manually add the nodes with `G.add_nodes_from()`.\n\n`for entities in articles: G.add_nodes_from(entities)`\n\nLet’s see what the graph looks like with:\n\n`figure(figsize=(10, 8))nx.draw(G, node_size=15)`\n\nNext, let’s add the edges that will connect the nodes.\n\n`for entities in articles: if len(entities) > 1: for i in range(len(entities)-1): G.add_edges_from([(str(entities[i]),str(entities[i+1]))])`\n\nFor each iteration of the code above, we used a conditional that will only entertain a list of entities that has two or more entities. Then, we manually connect each of the entities with `G.add_edges_from()`.\n\nLet’s see what the graph looks like now:\n\n`figure(figsize=(10, 8))nx.draw(G, node_size=10)`\n\nThis graph reminds me of spiders! LOL.\n\nTo organize it a bit, I decided to use the shell version of the network graph:\n\n`figure(figsize=(10, 8))nx.draw_shell(G, node_size=15)`\n\nWe can tell that some nodes are heavier on connections than others. To see which nodes have the most connections, let’s use `G.degree()`.\n\n`G.degree()`\n\nThis gives the following degree view:\n\nLet’s find out which node or entity has the most number of connections.\n\n`max(dict(G.degree()).items(), key = lambda x : x)`\n\nTo find out which other nodes have the most number of connections, let’s check the top 5:\n\n`degree_dict = dict(G.degree(G.nodes()))nx.set_node_attributes(G, degree_dict, 'degree')sorted_degree = sorted(degree_dict.items(), key=itemgetter(1), reverse=True)`\n\nAbove, `sorted_degrees` is a list that contains all the nodes and their degree values. We only wanted the top 5 like so:\n\n`print(\"Top 5 nodes by degree:\")for d in sorted_degree[:5]: print(d)`\n\n# Bonus Round: Gephi\n\nGephi is an open-source and free desktop application that lets us visualize, explore, and analyze all kinds of graphs and networks.²\n\nLet’s export our graph data into a file so we can import it into Gephi.\n\n`nx.write_gexf(G, \"npr_coronavirus_GPE_50.gexf\")`\n\nCool beans!\n\n# Next Steps\n\nThis time, we only processed 50 articles from npr.org. What would happen if we processed all 300 articles from our dataset? What will we see if we change the entity type from `GPE` to `PERSON`? How else can we use network graphs to visualize natural language processing results?\n\nThere’s always more to do. The possibilities are endless!\n\nI hope you enjoyed today’s post. The code is not perfect and we have a long way to go towards realizing insights from the data. I encourage you to dive deeper and learn more about spaCynetworkxfuzzywuzzy, and even Gephi.\n\nStay tuned!\n\n: Wikipedia. (May 25, 2020). Natural language processing https://en.wikipedia.org/wiki/Natural_language_processing\n\n: Gephi. (May 25, 2020). The Open Graph Viz Platform https://gephi.org/\n\n## From DataFrame to Named-Entities\n\nA quick-start guide to extracting named-entities from a Pandas dataframe using spaCy.\n\nA long time ago in a galaxy far away, I was analyzing comments left by customers and I noticed that they seemed to mention specific companies much more than others. This gave me an idea. Maybe there is a way to extract the names of companies from the comments and I could quantify them and conduct further analysis.\n\nThere is! Enter: named-entity-recognition.\n\n# Named-Entity Recognition\n\nAccording to Wikipedia, named-entity recognition or NER “is a subtask of information extraction that seeks to locate and classify named entity mentioned in unstructured text into pre-defined categories such as person names, organizations, locations, medical codes, time expressions, quantities, monetary values, percentages, etc.”¹ In other words, NER attempts to extract words that categorized into proper names and even numerical entities.\n\nIn this post, I’ll share the code that will let us extract named-entities from a Pandas dataframe using spaCy, an open-source library provides industrial-strength natural language processing in Python and is designed for production use.²\n\nTo get started, let’s install spaCy with the following pip command:\n\n`pip install -U spacy`\n\n`python -m spacy download en`\n\nWith that out of the way, let’s open up a Jupyter notebook and get started!\n\n# Imports\n\nRun the following code block into a cell to get all the necessary imports into our Python environment.\n\n`# for manipulating dataframesimport pandas as pd# for natural language processing: named entity recognitionimport spacyfrom collections import Counterimport en_core_web_smnlp = en_core_web_sm.load()# for visualizations%matplotlib inline`\n\nThe important line in this block is `nlp = en_core_web_sm.load()` because this is what we’ll be using later to extract the entities from the text.\n\n# Getting the Data\n\n`df = pd.read_csv('ever_trump.csv')`\n\nRunning `df.head()` in a cell will get us acquainted with the data set quickly.\n\n# Getting the Tokens\n\nSecond, let’s create tokens that will serve as input for spaCy. In the line below, we create a variable `tokens` that contains all the words in the `'text'` column of the `df` dataframe.\n\n`tokens = nlp(''.join(str(df.text.tolist())))`\n\nThird, we’re going to extract entities. We can just extract the most common entities for now:\n\n`items = [x.text for x in tokens.ents]Counter(items).most_common(20)`\n\n# Extracting Named-Entities\n\nNext, we’ll extract the entities based on their categories. We have a few to choose from people to events and even organizations. For a complete list of all that spaCy has to offer, check out their documentation on named-entities.\n\nTo start, we’ll extract people (real and fictional) using the `PERSON` type.\n\n`person_list = []for ent in tokens.ents: if ent.label_ == 'PERSON': person_list.append(ent.text) person_counts = Counter(person_list).most_common(20)df_person = pd.DataFrame(person_counts, columns =['text', 'count'])`\n\nIn the code above, we started by making an empty list with `person_list = []`.\n\nThen, we utilized a for-loop to loop through the entities found in tokens with `tokens.ents`. After that, we made a conditional that will append to the previously created list if the entity label is equal to `PERSON` type.\n\nWe’ll want to know how many times a certain entity of `PERSON` type appears in the tokens so we did with `person_counts = Counter(person_list).most_common(20)`. This line will give us the top 20 most common entities for this type.\n\nFinally, we created the `df_person` dataframe to store the results and this is what we get:\n\nWe’ll repeat the same pattern for the `NORP` type which recognizes nationalities, religious and political groups.\n\n`norp_list = []for ent in tokens.ents: if ent.label_ == 'NORP': norp_list.append(ent.text) norp_counts = Counter(norp_list).most_common(20)df_norp = pd.DataFrame(norp_counts, columns =['text', 'count'])`\n\nAnd this is what we get:\n\n# Bonus Round: Visualization\n\nLet’s create a horizontal bar graph of the `df_norp` dataframe.\n\n`df_norp.plot.barh(x='text', y='count', title=\"Nationalities, Religious, and Political Groups\", figsize=(10,8)).invert_yaxis()`\n\nVoilà, that’s it!\n\nI hope you enjoyed this one. Natural language processing is a huge topic but I hope that this gentle introduction will encourage you to explore more and expand your repertoire.\n\nStay tuned!\n\n: Wikipedia. (May 22, 2020). Named-entity recognition https://en.wikipedia.org/wiki/Named-entity_recognition\n\n: spaCy. (May 22, 2020). Industrial-Strength Natural Language Processing in Python https://spacy.io/\n\n## Create an N-Gram Ranking in Power BI\n\nA quick start guide on building a Python visual with a few simple clicks of the mouse and a dash of code.\n\nIn a previous article, I wrote a quick start guide on creating and visualizing n-gram ranking using nltk for natural language processing. However, I needed a way to share my findings with others who don’t have Python or Jupyter Notebook installed in their machines. I needed to use our organization’s BI reporting tool: Power BI.\n\nEnter Python Visual.\n\nThe Python visual allows you to create a visualization generated by running Python code. In this post, we’ll walk through the steps needed to visualize the results of our n-gram ranking using this visual.\n\nFirst, let’s get our data. You can download the sample dataset here. Then, we could load the data into Power BI Desktop as shown below:\n\nSelect Text/CSV and click on “Connect”.\n\nSelect the file in the Windows Explorer folder and click open:\n\nNext, find the Py icon on the “Visualizations” panel.\n\nThen, click on “Enable” at the prompt that appears to enable script visuals.\n\nYou’ll see a placeholder appear in the main area and a Python script editor panel at the bottom of the dashboard.\n\nSelect the ‘text’ column on the “Fields” panel.\n\nYou’ll see a predefined script that serves as a preamble for the script that we’re going to write.\n\nIn the Python script editor panel, place your cursor at the end of line #6 and hit enter twice.\n\nThen, copy and paste the following code:\n\n`import reimport unicodedataimport nltkfrom nltk.corpus import stopwordsADDITIONAL_STOPWORDS = ['covfefe']import matplotlib.pyplot as pltdef basic_clean(text): wnl = nltk.stem.WordNetLemmatizer() stopwords = nltk.corpus.stopwords.words('english') + ADDITIONAL_STOPWORDS text = (unicodedata.normalize('NFKD', text) .encode('ascii', 'ignore') .decode('utf-8', 'ignore') .lower()) words = re.sub(r'[^\\w\\s]', '', text).split() return [wnl.lemmatize(word) for word in words if word not in stopwords]words = basic_clean(''.join(str(dataset['text'].tolist())))bigrams_series = (pandas.Series(nltk.ngrams(words, 2)).value_counts())[:12]bigrams_series.sort_values().plot.barh(color='blue', width=.9, figsize=(12, 8))plt.show()`\n\nIn a nutshell, the code above transforms extracts n-grams from the `'text'` column of the`dataset` dataframe and creates a horizontal bar graph out of it using matplotlib. The result of `plt.show()` is what Power BI displays on the Python visual.\n\nFor more information on this code, please visit my previous tutorial.From DataFrame to N-GramsA quick-start guide to creating and visualizing n-gram ranking using nltk for natural language processing.towardsdatascience.com\n\nAfter you’re done pasting the code, click on the “play” icon at the upper right corner of the Python script editor panel.\n\nAfter a few moments, you should now be able to see the horizontal bar graph like the one below:\n\nAnd that’s it!\n\nWith a few simple clicks of the mouse, along with some help from our Python script, we’re able to visualize the results of our n-gram ranking.\n\nI hope you enjoyed today’s post on one of Power BI’s strongest features. Power BI already has some useful and beautiful built-in visuals but sometimes, you just need a little bit more flexibility. Running Python code helps with this. I hope this gentle introduction will encourage you to explore more and expand your repertoire.\n\nIn the next article, I’ll share a quick-start guide to extracting named-entities from a Pandas dataframe using spaCy.\n\nStay tuned!\n\n## From DataFrame to N-Grams\n\nA quick-start guide to creating and visualizing n-gram ranking using nltk for natural language processing.\n\nWhen I was first starting to learn NLP, I remember getting frustrated or intimidated by information overload so I’ve decided to write a post that covers the bare minimum. You know what they say, “Walk before you run!”\n\nThis is a very gentle introduction so we won’t be using any fancy code here.\n\nIn a nutshell, natural language processing or NLP simply refers to the process of reading and understanding written or spoken language using a computer. At its simplest use case, we can use a computer to read a book, for example, and count how many times each word was used instead of us manually doing it.\n\nNLP is a big topic and there’s already been a ton of articles written on the subject so we won’t be covering that here. Instead, we’ll focus on how to quickly do one of the simplest but useful techniques in NLP: N-gram ranking.\n\n# N-Gram Ranking\n\nSimply put, an n-gram is a sequence of n words where n is a discrete number that can range from 1 to infinity! For example, the word “cheese” is a 1-gram (unigram). The combination of the words “cheese flavored” is a 2-gram (bigram). Similarly, “cheese flavored snack” is a 3-gram (trigram). And “ultimate cheese flavored snack” is a 4-gram (qualgram). So on and so forth.\n\nIn n-gram ranking, we simply rank the n-grams according to how many times they appear in a body of text — be it a book, a collection of tweets, or reviews left by customers of your company.\n\nLet’s get started!\n\n# Getting the Data\n\n`import pandas as pddf = pd.read_csv('tweets.csv')`\n\nUsing `df.head()` we can quickly get acquainted with the dataset.\n\n# Importing Packages\n\nNext, we’ll import packages so we can properly set up our Jupyter notebook:\n\n`# natural language processing: n-gram rankingimport reimport unicodedataimport nltkfrom nltk.corpus import stopwords# add appropriate words that will be ignored in the analysisADDITIONAL_STOPWORDS = ['covfefe']import matplotlib.pyplot as plt`\n\nIn the code block above, we imported pandas so that we can shape and manipulate our data in all sorts of different and wonderful ways! Next, we imported `re` for regex, `unicodedata` for Unicode data, and `nltk` to help with parsing the text and cleaning them up a bit. And then, we specified additional stop words that we want to ignore. This is helpful in trimming down the noise. Lastly, we imported `matplotlib` matplotlib so we can visualize the result of our n-gram ranking later.\n\nNext, let’s create a function that will perform basic cleaning of the data.\n\n# Basic Cleaning\n\n`def basic_clean(text): \"\"\" A simple function to clean up the data. All the words that are not designated as a stop word is then lemmatized after encoding and basic regex parsing are performed. \"\"\" wnl = nltk.stem.WordNetLemmatizer() stopwords = nltk.corpus.stopwords.words('english') + ADDITIONAL_STOPWORDS text = (unicodedata.normalize('NFKD', text) .encode('ascii', 'ignore') .decode('utf-8', 'ignore') .lower()) words = re.sub(r'[^\\w\\s]', '', text).split() return [wnl.lemmatize(word) for word in words if word not in stopwords]`\n\nThe function above takes in a list of words or text as input and returns a cleaner set of words. The function does normalization, encoding/decoding, lower casing, and lemmatization.\n\nLet’s use it!\n\n`words = basic_clean(''.join(str(df['text'].tolist())))`\n\nAbove, we’re simply calling the function `basic_lean()` to process the `'text'` column of our dataframe `df` and making it a simple list with `tolist()`. We then assign the results to `words`.\n\n# N-grams\n\nHere comes the fun part! In one line of code, we can find out which bigrams occur the most in this particular sample of tweets.\n\n`(pd.Series(nltk.ngrams(words, 2)).value_counts())[:10]`\n\nWe can easily replace the number 2 with 3 so we can get the top 10 trigrams instead.\n\n`(pd.Series(nltk.ngrams(words, 3)).value_counts())[:10]`\n\nVoilà! We got ourselves a great start. But why stop now? Let’s try it and make a little eye candy.\n\n# Bonus Round: Visualization\n\nTo make things a little easier for ourselves, let’s assign the result of n-grams to variables with meaningful names:\n\n`bigrams_series = (pd.Series(nltk.ngrams(words, 2)).value_counts())[:12]trigrams_series = (pd.Series(nltk.ngrams(words, 3)).value_counts())[:12]`\n\nI’ve replaced `[:10]` with `[:12]` because I wanted more n-grams in the results. This is an arbitrary value so you can choose whatever makes the most sense to you according to your situation.\n\nLet’s create a horizontal bar graph:\n\n`bigrams_series.sort_values().plot.barh(color='blue', width=.9, figsize=(12, 8))`\n\nAnd let’s spiffy it up a bit by adding titles and axis labels:\n\n`bigrams_series.sort_values().plot.barh(color='blue', width=.9, figsize=(12, 8))plt.title('20 Most Frequently Occuring Bigrams')plt.ylabel('Bigram')plt.xlabel('# of Occurances')`\n\nAnd that’s it! With a few simple lines of code, we quickly made a ranking of n-grams from a Pandas dataframe and even made a horizontal bar graph out of it.\n\nI hope you enjoyed this one. Natural Language Processing is a big topic but I hope that this gentle introduction will encourage you to explore more and expand your repertoire.\n\nIn the next article, we’ll visualize an n-gram ranking in Power BI with a few simple clicks of the mouse and a dash of Python!\n\nStay tuned!"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.79824954,"math_prob":0.7847999,"size":28702,"snap":"2020-34-2020-40","text_gpt3_token_len":6547,"char_repetition_ratio":0.11596627,"word_repetition_ratio":0.15630755,"special_character_ratio":0.22792837,"punctuation_ratio":0.13564214,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95765543,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-20T17:32:31Z\",\"WARC-Record-ID\":\"<urn:uuid:818196ae-072c-44e2-89d2-e23408b9ad6f>\",\"Content-Length\":\"363166\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1448404b-29a5-4249-a8c2-5b35d437aaad>\",\"WARC-Concurrent-To\":\"<urn:uuid:f7c0c845-f5bb-4383-a58a-1900dd917e52>\",\"WARC-IP-Address\":\"74.208.236.174\",\"WARC-Target-URI\":\"https://blog.ednalyn.com/tag/python/\",\"WARC-Payload-Digest\":\"sha1:O45AKSZ6FXTHU3SKPI6WFCX37D47MMJU\",\"WARC-Block-Digest\":\"sha1:CKKMW3WAYBWHHTT7G7TOK4ZWIIQYDZ7I\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600400198287.23_warc_CC-MAIN-20200920161009-20200920191009-00213.warc.gz\"}"} |
https://bootstrapworld.org/materials/latest/en-us/courses/data-science/lessons/defining-functions/pages/match-examples-definitions-math.html | [
"Referenced from lesson Defining Functions (Spring, 2021)\n\nLook at each set of examples on the left and circle what is changing from one example to the next.\n\nThen,match the examples on the left to the definitions on the right.\n\nExamples: Functions:\nx$\\displaystyle x$ fx$\\displaystyle f(x)$\n\n1\n\n2 × 1$\\displaystyle 2 \\times 1$\n\n2\n\n2 × 2$\\displaystyle 2 \\times 2$\n\n3\n\n2 × 3$\\displaystyle 2 \\times 3$\n\n1\n\nA\n\nfx=x-3$\\displaystyle f(x)=x-3$\n\nx$\\displaystyle x$ fx$\\displaystyle f(x)$\n\n15\n\n15 - 3$\\displaystyle 15 - 3$\n\n25\n\n25 - 3$\\displaystyle 25 - 3$\n\n35\n\n35 - 3$\\displaystyle 35 - 3$\n\n2\n\nB\n\nfx=2x$\\displaystyle f(x)=2x$\n\nx$\\displaystyle x$ fx$\\displaystyle f(x)$\n\n10\n\n10 + 2$\\displaystyle 10 + 2$\n\n15\n\n15 + 2$\\displaystyle 15 + 2$\n\n20\n\n20 + 2$\\displaystyle 20 + 2$\n\n3\n\nC\n\nfx=2x+1$\\displaystyle f(x)=2x+1$\n\nx$\\displaystyle x$ fx$\\displaystyle f(x)$\n\n0\n\n30 -2$\\displaystyle 3(0) -2$\n\n1\n\n31 -2$\\displaystyle 3(1) -2$\n\n2\n\n32 -2$\\displaystyle 3(2) -2$\n\n4\n\nD\n\nfx=3x-2$\\displaystyle f(x)=3x-2$\n\nx$\\displaystyle x$ fx$\\displaystyle f(x)$\n\n10\n\n210 + 1$\\displaystyle 2(10) + 1$\n\n20\n\n220 + 1$\\displaystyle 2(20) + 1$\n\n30\n\n230 + 1$\\displaystyle 2(30) + 1$\n\n5\n\nE\n\nfx=x+2$\\displaystyle f(x)=x+2$\n\nThese materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598).",
null,
"Bootstrap:Data Science by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org."
] | [
null,
"https://bootstrapworld.org/materials/latest/en-us/lib/CCbadge.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.86929584,"math_prob":0.99757904,"size":956,"snap":"2021-43-2021-49","text_gpt3_token_len":243,"char_repetition_ratio":0.1144958,"word_repetition_ratio":0.0,"special_character_ratio":0.27196652,"punctuation_ratio":0.115606934,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9949968,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-12-09T08:43:27Z\",\"WARC-Record-ID\":\"<urn:uuid:5f5f9af8-7092-43bf-ac45-457b4db53a2e>\",\"Content-Length\":\"14646\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:944dabbe-1932-4290-a51f-e4422df9d4ba>\",\"WARC-Concurrent-To\":\"<urn:uuid:c108b1ce-eb3e-414d-bb63-26c62643c42e>\",\"WARC-IP-Address\":\"128.148.32.110\",\"WARC-Target-URI\":\"https://bootstrapworld.org/materials/latest/en-us/courses/data-science/lessons/defining-functions/pages/match-examples-definitions-math.html\",\"WARC-Payload-Digest\":\"sha1:ULHC6OICUWLP6J72MK5YRD5I5VZU5IIG\",\"WARC-Block-Digest\":\"sha1:3QGVWMWU6P35IX6YLR5OSNPLDNRSZXNG\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964363689.56_warc_CC-MAIN-20211209061259-20211209091259-00414.warc.gz\"}"} |
https://physics.stackexchange.com/questions/238180/why-do-non-hydrogen-atomic-orbitals-have-the-same-degeneracy-structure-as-hydrog/238227 | [
"# Why do non-hydrogen atomic orbitals have the same degeneracy structure as hydrogen orbitals?\n\nThe solutions of the Schrödinger equation for hydrogen are the \"electronic orbitals\", shown in this picture:\n\nThey have the following degeneracy structure:\n\nIt is often said that atoms in other elements simply have more electrons \"filling up\" the orbitals in increasing order of energy, as required by the Pauli exclusion principle. This is somewhat confirmed via xray spectroscopy:\n\nBut why would non-hydrogen atoms have the same orbital degeneracy structure as hydrogen, if the actual Hamiltonian is different from one atom to another?\n\n• I suspect that the shell theorem plays a part in why this is a working approximation. – dmckee --- ex-moderator kitten Feb 18 '16 at 17:15\n\nPolyelectronic atoms don't have atomic orbitals - though they are a very useful approximation for describing the properties of polyelectronic atoms.\n\nThe 1s, 2s, etc orbitals are solutions for a central potential, and for any smooth monotonic central potential we'll get solutions of this form. The radial part of the orbitals will be different for different central potentials but the angular part is dictated by the spherical symmetry and is the same for all (smooth monotonic) central potentials.\n\nBut for any atom with more than two electrons the potential is not centrally symmetric because it includes terms like $1/r_{ij}$ for the interaction between the $i$th and $j$th electrons. This means the hydrogenic orbitals are not solutions.\n\nHowever because the electrons are delocalised over the whole atom the potential is approximately central. By this I mean that if we take a time average potential the $1/r_{ij}$ terms tend to average out to a central force. In that case we do get hydrogenic type orbital as solutions, but we have to bear in mind that they are approximate solutions. They should be regarded as a useful way of building up the complete electronic structure but they are not themselves real. For example in a lithium atom there is not actually two electrons in a 1s orbital and one in a 2s orbital. There is a single three electron wavefunction that can be approximately decomposed into hydrogenic 1s and 2s orbitals for convenience.\n\nHaving said this, for most purposes the hydrogenic orbitals are very good approximations. For example when we are considering atomic spectra we usually describe them as transitions between the hydrogenic orbitals and this works pretty well.\n\n• why with two electrons the potential is still centrally symmetric? – Sparkler Feb 18 '16 at 17:07\n• @Sparkler: suppose you're sitting on electron $i$ looking at electron $j$. From your perspective electron $j$ will spend as much time to the left of the nucleus as to the right of the nucleus, and as much time above the nucleus as below the nucleus. So even though the force due to electron $j$ is in lots of different directions if you take a time average the force vector will point towards the nucleus i.e. on average it is a central force. – John Rennie Feb 18 '16 at 17:12\n• so Li is not actually $\\mathrm{1s^2 2s^1}$ but rather $\\mathrm{1\\square^3}$..? – Sparkler Feb 18 '16 at 17:12\n• @Sparkler: yes, though obviously your notation is not standard. We would normally describe the polyelectron state using term symbols. – John Rennie Feb 18 '16 at 17:13\n• @Sparkler: yes! Basically, as you increase the atomic number the 1s orbital shrinks inwards. – John Rennie Feb 18 '16 at 17:28\n\nAlthough John Rennie is right to remind us that when talking about orbitals for a multi-electron atom, it is only an approximation, I would like to point out that the source of the exact degeneracy of the (many-electron) atomic states, it is the isotropy of the atom in the absence of external polarizing fields. This makes the (total) angular momentum J and its projection m, exact quantum numbers, applicable to classification of atomic terms."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.938609,"math_prob":0.9638571,"size":1695,"snap":"2019-51-2020-05","text_gpt3_token_len":350,"char_repetition_ratio":0.14488469,"word_repetition_ratio":0.0,"special_character_ratio":0.18997051,"punctuation_ratio":0.06020067,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9768158,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-26T02:50:33Z\",\"WARC-Record-ID\":\"<urn:uuid:d060d909-cf92-475e-ae67-1543d1b5ff96>\",\"Content-Length\":\"155386\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ed65efa6-df7c-44e0-8231-24a10cedcbd8>\",\"WARC-Concurrent-To\":\"<urn:uuid:fbdd5242-ca24-4853-a1a8-231dff5c942d>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://physics.stackexchange.com/questions/238180/why-do-non-hydrogen-atomic-orbitals-have-the-same-degeneracy-structure-as-hydrog/238227\",\"WARC-Payload-Digest\":\"sha1:YZAZOG62BVWCTUE3EO5SRZESBOK4ZVRM\",\"WARC-Block-Digest\":\"sha1:2LBHAUS6UN5IK5VOJZ2GUVN2FYKQX5N4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579251684146.65_warc_CC-MAIN-20200126013015-20200126043015-00339.warc.gz\"}"} |
https://prepdog.org/2nd/2mb1.htm | [
"",
null,
"",
null,
"Name: 2nd Grade Math Basic Test 1\n\nMultiple Choice\nIdentify the choice that best completes the statement or answers the question.\n\n1.\n\nAlgebraic Concepts – Solving Equations & Inequalities – RIT 161 – 170\n7 + ___ = 9\n a. 3 d. 1 b. 2 e. 5 c. 4\n\n2.\n\nTen cars were in a race. Two cars did not finish. How would you find the number of cars that did finish?\n a. add (+) d. divide (",
null,
") b. subtract (-) e. none of the above c. multiply (x)\n\n3.\n\nAlgebraic Concepts – Properties – RIT 171 – 180\n2 x 3 = 3 x ____\n a. 6 d. 2 b. 5 e. 9 c. 3\n\n4.\n\nAlgebraic Concepts – Solving Equations & Inequalities – RIT 171 – 180\nFind the missing factor.\n3 x ___ = 15\n a. 4 d. 12 b. 5 e. 7 c. 6\n\n5.\n\n6 + 3 - 4 = ____\n a. 13 d. 5 b. 7 e. 10 c. 9\n\n6.\n\nComputation – Whole Numbers – RIT < 150\n3 + 1 = 4\n1 + 3 = 4\n4 – 1 = 3\nWhich fact is missing?\n a. 4 – 3 = 1 c. 3 + 4 = 7 b. 4 + 3 = 7 d. 3 + 2 = 5\n\n7.\n\n5\n-2\n a. 5 d. 7 b. 3 e. 6 c. 2\n\n8.\n\n**** + *** = _____\n a. 5 d. 4 b. 3 e. 6 c. 7\n\n9.\n\n3\n1\n+4\n a. 7 d. 8 b. 5 e. 4 c. 9\n\n10.\n\n125\n+43\n a. 179 d. 199 b. 168 e. 158 c. 62\n\n11.\n\n12\n-5\n a. 5 d. 7 b. 8 e. 17 c. 6\n\n12.\n\n* * * * * *\n* * *\n3 x 3 =\n a. 9 d. 3 b. 6 e. 8 c. 12\n\n13.\n\nComputation – Decimals – RIT 161 – 170\n\n\\$5.25\n- 3.14\n a. \\$1.21 d. \\$2.39 b. \\$2.11 e. \\$4.31 c. \\$8.39\n\n14.\n\nComputation – Whole Numbers – RIT 161 – 170\n# # # # #\n# # # - # # = ______\n a. 10 d. 4 b. 3 e. 5 c. 2\n\n15.\n\n63\n+34\n a. 37 d. 98 b. 97 e. 31 c. 71"
] | [
null,
"https://prepdog.org/2nd/2_rd-_basic_1_files/prepdogorg.gif",
null,
"https://prepdog.org/2nd/2_rd-_basic_1_files/logo-test%20copy.gif",
null,
"https://prepdog.org/2nd/2mb1_files/mc002-1.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.717425,"math_prob":0.9988285,"size":1100,"snap":"2021-21-2021-25","text_gpt3_token_len":466,"char_repetition_ratio":0.10857664,"word_repetition_ratio":0.108843535,"special_character_ratio":0.5854545,"punctuation_ratio":0.1826087,"nsfw_num_words":1,"has_unicode_error":false,"math_prob_llama3":0.998879,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,null,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-08T17:11:58Z\",\"WARC-Record-ID\":\"<urn:uuid:b1587153-fdd4-42d9-a538-c32555bc8e1f>\",\"Content-Length\":\"51847\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f3431d48-3ae8-40f3-a80c-510a04dd4bee>\",\"WARC-Concurrent-To\":\"<urn:uuid:2f8ce2b0-952c-4a24-a034-64e77aa1a1a9>\",\"WARC-IP-Address\":\"72.52.248.11\",\"WARC-Target-URI\":\"https://prepdog.org/2nd/2mb1.htm\",\"WARC-Payload-Digest\":\"sha1:IUE36NJXJS23CETPYCAEFQ5222TJ3AGN\",\"WARC-Block-Digest\":\"sha1:4MGY7D6E46Z2FNY5VPDNDQHIIHKQLFM7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243988882.94_warc_CC-MAIN-20210508151721-20210508181721-00574.warc.gz\"}"} |
https://physics.stackexchange.com/questions/318338/what-exactly-is-the-relationship-between-the-algebraic-formulation-of-quantum-me | [
"# What exactly is the relationship between the algebraic formulation of Quantum Mechanics and the geometric formulation of Classical Mechanics?\n\nOkay so if we consider a particular physical system, the classical description of the system starts by first introducing a symplectic manifold, which is the cotangent bundle of a configuration manifold. There is the canonical Poisson Bracket which forms an algebra of functions on the manifold (i.e. the observables) and the time evolution of an observable $f$ is just $\\{H,f\\}$ where $H$ is the Hamiltonian.\n\nIf we want to describe the same physical system from a Quantum Mechanical perspective, we introduce a Hilbert space whose equivalence class of normalised elements correspond to the physical states. The algebra of observables on the Hilbert space form a non-commutative algebra with the time evolution described by Schrodinger's Equation. So I understand the motivation for introducing both formalisms but how do I relate these constructions?\n\nHow is the Hilbert Space related to the phase space manifold? The process of quantization replaces the poisson brackets with commutators but I don't understand what this implies for the underlying structures. Most people say that it's a hopeless task to go from Classical Mechanics to Quantum Mechanics because you've lost a lot of information but it's not at all clear to me whether this is actually the case. If anything it feels like Quantum Mechanics arises from discarding away some information from classical description, thereby quantizing it. And even if this is not the case and you do in fact lose information, the process of quantization proves that there is a systematic way of recovering this information because Quantization works independent of the specific system under consideration.\n\nNow I know that every manifold can be understood through its algebra of functions but the algebra of functions on a manifold is always defined pointwise so its naturally commutative. In Quantum Mechanics we start with non-commutative algebra of functions so I'm assuming you can't think of it as an algebra of functions over some geometric manifold. If they're not related in any way, then how can anyone convincingly say that Quantum Mechanics reduces to Classical Mechanics on the macroscopic scale.\n\n• Mar 12, 2017 at 22:40\n• Indeed, phase-space quantum mechanics will allow you to compare apples with apples, instead of with oranges. In that formulation, it is easier to see how the classical entropy of a system exceeds its quantum entropy, once a proper shift of the integration measures is readjusted; this indicates forfeiture of information in the $\\hbar \\to 0$ limit. Mar 13, 2017 at 0:51"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.90690833,"math_prob":0.9119698,"size":2153,"snap":"2023-40-2023-50","text_gpt3_token_len":413,"char_repetition_ratio":0.123313166,"word_repetition_ratio":0.0,"special_character_ratio":0.17789131,"punctuation_ratio":0.06010929,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98727584,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-30T14:15:25Z\",\"WARC-Record-ID\":\"<urn:uuid:e55576b5-ca5a-4634-803b-00b46b5bcf89>\",\"Content-Length\":\"163383\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7cb04e0d-290c-47e4-be76-44a501dbd1bc>\",\"WARC-Concurrent-To\":\"<urn:uuid:203d83a6-d17d-4d69-bc26-5d178724d9e4>\",\"WARC-IP-Address\":\"104.18.11.86\",\"WARC-Target-URI\":\"https://physics.stackexchange.com/questions/318338/what-exactly-is-the-relationship-between-the-algebraic-formulation-of-quantum-me\",\"WARC-Payload-Digest\":\"sha1:ZOI2GCWKD4LLIFWPY2ZTRGS57CYG7CMI\",\"WARC-Block-Digest\":\"sha1:QX4YKLZCBC5WMIVUEYY7HMJ3IR7DXX6S\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510676.40_warc_CC-MAIN-20230930113949-20230930143949-00236.warc.gz\"}"} |
https://www.aggiesbakery.com/product/two-tier-cake-2/ | [
"Two Tier Cake 2\n\nFrom: \\$75.00\n\nThis is a 6″ and 8″ cake that serves 25. For additional sizes please call the bakery.\n\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 0 \\$\n• + 0 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• + 16 \\$\n• + 16 \\$\n• + 16 \\$\n• + 16 \\$\n• + 16 \\$\n• + 16 \\$\n• + 16 \\$\n• + 16 \\$\n• + 0 \\$\n• + 0 \\$\n• + 10 \\$\n• + 10 \\$\n• + 10 \\$\n• \\$\n• \\$\n• \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 5 \\$\n• + 5 \\$\n• + 5 \\$\n• + 5 \\$\n• + 5 \\$\n• + 5 \\$\n• + 5 \\$\n• + 5 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• + 0 \\$\n• \\$\n\nPlease limit your comments to clarifying which accent colors should be utilized on which part of the cake’s decorations, i.e. “Use the red I selected for the flowers and the green I selected for the balloons”. We do not allow any changes to the design of the cake you selected other than customizing colors. If you would like a modified version of this cake, please call the bakery to discuss your design. Also, please note we require at least a 1-week notice for any cakes requiring unique designs other than what we offer on our website.\n\n• \\$\nSKU: TTS-2 Category: Tag:"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7407789,"math_prob":1.0000031,"size":322,"snap":"2019-43-2019-47","text_gpt3_token_len":120,"char_repetition_ratio":0.2264151,"word_repetition_ratio":0.0,"special_character_ratio":0.38509318,"punctuation_ratio":0.18987341,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9698061,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-10-16T19:25:53Z\",\"WARC-Record-ID\":\"<urn:uuid:037432a2-8748-4105-996b-fccfa07eef4c>\",\"Content-Length\":\"525802\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ce248b8e-e149-4c32-8103-3f8a25286772>\",\"WARC-Concurrent-To\":\"<urn:uuid:a94df308-caeb-41df-bd16-d61899b4b639>\",\"WARC-IP-Address\":\"45.55.53.83\",\"WARC-Target-URI\":\"https://www.aggiesbakery.com/product/two-tier-cake-2/\",\"WARC-Payload-Digest\":\"sha1:MFDS4NX5BBNDRKULXKBQH7C4P7KJSXTG\",\"WARC-Block-Digest\":\"sha1:IXT7HJ7V6JPFSEIF2MGWKQRI6UVIL2FS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-43/CC-MAIN-2019-43_segments_1570986669546.24_warc_CC-MAIN-20191016190431-20191016213931-00023.warc.gz\"}"} |
http://www.netlib.org/lapack/explore-html/d4/dca/group__real_g_esing_ga8e9cbc85a2116d7ae24a854e24fbdc14.html | [
"",
null,
"LAPACK 3.10.1 LAPACK: Linear Algebra PACKage\n\n## ◆ sgesvdq()\n\n subroutine sgesvdq ( character JOBA, character JOBP, character JOBR, character JOBU, character JOBV, integer M, integer N, real, dimension( lda, * ) A, integer LDA, real, dimension( * ) S, real, dimension( ldu, * ) U, integer LDU, real, dimension( ldv, * ) V, integer LDV, integer NUMRANK, integer, dimension( * ) IWORK, integer LIWORK, real, dimension( * ) WORK, integer LWORK, real, dimension( * ) RWORK, integer LRWORK, integer INFO )\n\nSGESVDQ computes the singular value decomposition (SVD) with a QR-Preconditioned QR SVD Method for GE matrices\n\nPurpose:\n SGESVDQ computes the singular value decomposition (SVD) of a real\nM-by-N matrix A, where M >= N. The SVD of A is written as\n[++] [xx] [x0] [xx]\nA = U * SIGMA * V^*, [++] = [xx] * [ox] * [xx]\n[++] [xx]\nwhere SIGMA is an N-by-N diagonal matrix, U is an M-by-N orthonormal\nmatrix, and V is an N-by-N orthogonal matrix. The diagonal elements\nof SIGMA are the singular values of A. The columns of U and V are the\nleft and the right singular vectors of A, respectively.\nParameters\n [in] JOBA JOBA is CHARACTER*1 Specifies the level of accuracy in the computed SVD = 'A' The requested accuracy corresponds to having the backward error bounded by || delta A ||_F <= f(m,n) * EPS * || A ||_F, where EPS = SLAMCH('Epsilon'). This authorises CGESVDQ to truncate the computed triangular factor in a rank revealing QR factorization whenever the truncated part is below the threshold of the order of EPS * ||A||_F. This is aggressive truncation level. = 'M' Similarly as with 'A', but the truncation is more gentle: it is allowed only when there is a drop on the diagonal of the triangular factor in the QR factorization. This is medium truncation level. = 'H' High accuracy requested. No numerical rank determination based on the rank revealing QR factorization is attempted. = 'E' Same as 'H', and in addition the condition number of column scaled A is estimated and returned in RWORK(1). N^(-1/4)*RWORK(1) <= ||pinv(A_scaled)||_2 <= N^(1/4)*RWORK(1) [in] JOBP JOBP is CHARACTER*1 = 'P' The rows of A are ordered in decreasing order with respect to ||A(i,:)||_\\infty. This enhances numerical accuracy at the cost of extra data movement. Recommended for numerical robustness. = 'N' No row pivoting. [in] JOBR JOBR is CHARACTER*1 = 'T' After the initial pivoted QR factorization, SGESVD is applied to the transposed R**T of the computed triangular factor R. This involves some extra data movement (matrix transpositions). Useful for experiments, research and development. = 'N' The triangular factor R is given as input to SGESVD. This may be preferred as it involves less data movement. [in] JOBU JOBU is CHARACTER*1 = 'A' All M left singular vectors are computed and returned in the matrix U. See the description of U. = 'S' or 'U' N = min(M,N) left singular vectors are computed and returned in the matrix U. See the description of U. = 'R' Numerical rank NUMRANK is determined and only NUMRANK left singular vectors are computed and returned in the matrix U. = 'F' The N left singular vectors are returned in factored form as the product of the Q factor from the initial QR factorization and the N left singular vectors of (R**T , 0)**T. If row pivoting is used, then the necessary information on the row pivoting is stored in IWORK(N+1:N+M-1). = 'N' The left singular vectors are not computed. [in] JOBV JOBV is CHARACTER*1 = 'A', 'V' All N right singular vectors are computed and returned in the matrix V. = 'R' Numerical rank NUMRANK is determined and only NUMRANK right singular vectors are computed and returned in the matrix V. This option is allowed only if JOBU = 'R' or JOBU = 'N'; otherwise it is illegal. = 'N' The right singular vectors are not computed. [in] M M is INTEGER The number of rows of the input matrix A. M >= 0. [in] N N is INTEGER The number of columns of the input matrix A. M >= N >= 0. [in,out] A A is REAL array of dimensions LDA x N On entry, the input matrix A. On exit, if JOBU .NE. 'N' or JOBV .NE. 'N', the lower triangle of A contains the Householder vectors as stored by SGEQP3. If JOBU = 'F', these Householder vectors together with WORK(1:N) can be used to restore the Q factors from the initial pivoted QR factorization of A. See the description of U. [in] LDA LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,M). [out] S S is REAL array of dimension N. The singular values of A, ordered so that S(i) >= S(i+1). [out] U U is REAL array, dimension LDU x M if JOBU = 'A'; see the description of LDU. In this case, on exit, U contains the M left singular vectors. LDU x N if JOBU = 'S', 'U', 'R' ; see the description of LDU. In this case, U contains the leading N or the leading NUMRANK left singular vectors. LDU x N if JOBU = 'F' ; see the description of LDU. In this case U contains N x N orthogonal matrix that can be used to form the left singular vectors. If JOBU = 'N', U is not referenced. [in] LDU LDU is INTEGER. The leading dimension of the array U. If JOBU = 'A', 'S', 'U', 'R', LDU >= max(1,M). If JOBU = 'F', LDU >= max(1,N). Otherwise, LDU >= 1. [out] V V is REAL array, dimension LDV x N if JOBV = 'A', 'V', 'R' or if JOBA = 'E' . If JOBV = 'A', or 'V', V contains the N-by-N orthogonal matrix V**T; If JOBV = 'R', V contains the first NUMRANK rows of V**T (the right singular vectors, stored rowwise, of the NUMRANK largest singular values). If JOBV = 'N' and JOBA = 'E', V is used as a workspace. If JOBV = 'N', and JOBA.NE.'E', V is not referenced. [in] LDV LDV is INTEGER The leading dimension of the array V. If JOBV = 'A', 'V', 'R', or JOBA = 'E', LDV >= max(1,N). Otherwise, LDV >= 1. [out] NUMRANK NUMRANK is INTEGER NUMRANK is the numerical rank first determined after the rank revealing QR factorization, following the strategy specified by the value of JOBA. If JOBV = 'R' and JOBU = 'R', only NUMRANK leading singular values and vectors are then requested in the call of SGESVD. The final value of NUMRANK might be further reduced if some singular values are computed as zeros. [out] IWORK IWORK is INTEGER array, dimension (max(1, LIWORK)). On exit, IWORK(1:N) contains column pivoting permutation of the rank revealing QR factorization. If JOBP = 'P', IWORK(N+1:N+M-1) contains the indices of the sequence of row swaps used in row pivoting. These can be used to restore the left singular vectors in the case JOBU = 'F'. If LIWORK, LWORK, or LRWORK = -1, then on exit, if INFO = 0, IWORK(1) returns the minimal LIWORK. [in] LIWORK LIWORK is INTEGER The dimension of the array IWORK. LIWORK >= N + M - 1, if JOBP = 'P' and JOBA .NE. 'E'; LIWORK >= N if JOBP = 'N' and JOBA .NE. 'E'; LIWORK >= N + M - 1 + N, if JOBP = 'P' and JOBA = 'E'; LIWORK >= N + N if JOBP = 'N' and JOBA = 'E'. If LIWORK = -1, then a workspace query is assumed; the routine only calculates and returns the optimal and minimal sizes for the WORK, IWORK, and RWORK arrays, and no error message related to LWORK is issued by XERBLA. [out] WORK WORK is REAL array, dimension (max(2, LWORK)), used as a workspace. On exit, if, on entry, LWORK.NE.-1, WORK(1:N) contains parameters needed to recover the Q factor from the QR factorization computed by SGEQP3. If LIWORK, LWORK, or LRWORK = -1, then on exit, if INFO = 0, WORK(1) returns the optimal LWORK, and WORK(2) returns the minimal LWORK. [in,out] LWORK LWORK is INTEGER The dimension of the array WORK. It is determined as follows: Let LWQP3 = 3*N+1, LWCON = 3*N, and let LWORQ = { MAX( N, 1 ), if JOBU = 'R', 'S', or 'U' { MAX( M, 1 ), if JOBU = 'A' LWSVD = MAX( 5*N, 1 ) LWLQF = MAX( N/2, 1 ), LWSVD2 = MAX( 5*(N/2), 1 ), LWORLQ = MAX( N, 1 ), LWQRF = MAX( N/2, 1 ), LWORQ2 = MAX( N, 1 ) Then the minimal value of LWORK is: = MAX( N + LWQP3, LWSVD ) if only the singular values are needed; = MAX( N + LWQP3, LWCON, LWSVD ) if only the singular values are needed, and a scaled condition estimate requested; = N + MAX( LWQP3, LWSVD, LWORQ ) if the singular values and the left singular vectors are requested; = N + MAX( LWQP3, LWCON, LWSVD, LWORQ ) if the singular values and the left singular vectors are requested, and also a scaled condition estimate requested; = N + MAX( LWQP3, LWSVD ) if the singular values and the right singular vectors are requested; = N + MAX( LWQP3, LWCON, LWSVD ) if the singular values and the right singular vectors are requested, and also a scaled condition etimate requested; = N + MAX( LWQP3, LWSVD, LWORQ ) if the full SVD is requested with JOBV = 'R'; independent of JOBR; = N + MAX( LWQP3, LWCON, LWSVD, LWORQ ) if the full SVD is requested, JOBV = 'R' and, also a scaled condition estimate requested; independent of JOBR; = MAX( N + MAX( LWQP3, LWSVD, LWORQ ), N + MAX( LWQP3, N/2+LWLQF, N/2+LWSVD2, N/2+LWORLQ, LWORQ) ) if the full SVD is requested with JOBV = 'A' or 'V', and JOBR ='N' = MAX( N + MAX( LWQP3, LWCON, LWSVD, LWORQ ), N + MAX( LWQP3, LWCON, N/2+LWLQF, N/2+LWSVD2, N/2+LWORLQ, LWORQ ) ) if the full SVD is requested with JOBV = 'A' or 'V', and JOBR ='N', and also a scaled condition number estimate requested. = MAX( N + MAX( LWQP3, LWSVD, LWORQ ), N + MAX( LWQP3, N/2+LWQRF, N/2+LWSVD2, N/2+LWORQ2, LWORQ ) ) if the full SVD is requested with JOBV = 'A', 'V', and JOBR ='T' = MAX( N + MAX( LWQP3, LWCON, LWSVD, LWORQ ), N + MAX( LWQP3, LWCON, N/2+LWQRF, N/2+LWSVD2, N/2+LWORQ2, LWORQ ) ) if the full SVD is requested with JOBV = 'A' or 'V', and JOBR ='T', and also a scaled condition number estimate requested. Finally, LWORK must be at least two: LWORK = MAX( 2, LWORK ). If LWORK = -1, then a workspace query is assumed; the routine only calculates and returns the optimal and minimal sizes for the WORK, IWORK, and RWORK arrays, and no error message related to LWORK is issued by XERBLA. [out] RWORK RWORK is REAL array, dimension (max(1, LRWORK)). On exit, 1. If JOBA = 'E', RWORK(1) contains an estimate of the condition number of column scaled A. If A = C * D where D is diagonal and C has unit columns in the Euclidean norm, then, assuming full column rank, N^(-1/4) * RWORK(1) <= ||pinv(C)||_2 <= N^(1/4) * RWORK(1). Otherwise, RWORK(1) = -1. 2. RWORK(2) contains the number of singular values computed as exact zeros in SGESVD applied to the upper triangular or trapezoidal R (from the initial QR factorization). In case of early exit (no call to SGESVD, such as in the case of zero matrix) RWORK(2) = -1. If LIWORK, LWORK, or LRWORK = -1, then on exit, if INFO = 0, RWORK(1) returns the minimal LRWORK. [in] LRWORK LRWORK is INTEGER. The dimension of the array RWORK. If JOBP ='P', then LRWORK >= MAX(2, M). Otherwise, LRWORK >= 2 If LRWORK = -1, then a workspace query is assumed; the routine only calculates and returns the optimal and minimal sizes for the WORK, IWORK, and RWORK arrays, and no error message related to LWORK is issued by XERBLA. [out] INFO INFO is INTEGER = 0: successful exit. < 0: if INFO = -i, the i-th argument had an illegal value. > 0: if SBDSQR did not converge, INFO specifies how many superdiagonals of an intermediate bidiagonal form B (computed in SGESVD) did not converge to zero.\nFurther Details:\n 1. The data movement (matrix transpose) is coded using simple nested\nDO-loops because BLAS and LAPACK do not provide corresponding subroutines.\nThose DO-loops are easily identified in this source code - by the CONTINUE\nstatements labeled with 11**. In an optimized version of this code, the\nnested DO loops should be replaced with calls to an optimized subroutine.\n2. This code scales A by 1/SQRT(M) if the largest ABS(A(i,j)) could cause\ncolumn norm overflow. This is the minial precaution and it is left to the\nSVD routine (CGESVD) to do its own preemptive scaling if potential over-\nor underflows are detected. To avoid repeated scanning of the array A,\nan optimal implementation would do all necessary scaling before calling\nCGESVD and the scaling in CGESVD can be switched off.\n3. Other comments related to code optimization are given in comments in the\ncode, enlosed in [[double brackets]].\n Please report all bugs and send interesting examples and/or comments to\ndrmac@math.hr. Thank you.\nReferences\n Zlatko Drmac, Algorithm 977: A QR-Preconditioned QR SVD Method for\nComputing the SVD with High Accuracy. ACM Trans. Math. Softw.\n44(1): 11:1-11:30 (2017)\n\nSIGMA library, xGESVDQ section updated February 2016.\nDeveloped and coded by Zlatko Drmac, Department of Mathematics\nUniversity of Zagreb, Croatia, drmac@math.hr\nContributors:\n Developed and coded by Zlatko Drmac, Department of Mathematics\nUniversity of Zagreb, Croatia, drmac@math.hr\n\nDefinition at line 412 of file sgesvdq.f.\n\n415 * .. Scalar Arguments ..\n416 IMPLICIT NONE\n417 CHARACTER JOBA, JOBP, JOBR, JOBU, JOBV\n418 INTEGER M, N, LDA, LDU, LDV, NUMRANK, LIWORK, LWORK, LRWORK,\n419 $INFO 420 * .. 421 * .. Array Arguments .. 422 REAL A( LDA, * ), U( LDU, * ), V( LDV, * ), WORK( * ) 423 REAL S( * ), RWORK( * ) 424 INTEGER IWORK( * ) 425 * 426 * ===================================================================== 427 * 428 * .. Parameters .. 429 REAL ZERO, ONE 430 parameter( zero = 0.0e0, one = 1.0e0 ) 431 * .. 432 * .. Local Scalars .. 433 INTEGER IERR, IWOFF, NR, N1, OPTRATIO, p, q 434 INTEGER LWCON, LWQP3, LWRK_SGELQF, LWRK_SGESVD, LWRK_SGESVD2, 435$ LWRK_SGEQP3, LWRK_SGEQRF, LWRK_SORMLQ, LWRK_SORMQR,\n436 $LWRK_SORMQR2, LWLQF, LWQRF, LWSVD, LWSVD2, LWORQ, 437$ LWORQ2, LWUNLQ, MINWRK, MINWRK2, OPTWRK, OPTWRK2,\n438 $IMINWRK, RMINWRK 439 LOGICAL ACCLA, ACCLM, ACCLH, ASCALED, CONDA, DNTWU, DNTWV, 440$ LQUERY, LSVC0, LSVEC, ROWPRM, RSVEC, RTRANS, WNTUA,\n441 $WNTUF, WNTUR, WNTUS, WNTVA, WNTVR 442 REAL BIG, EPSLN, RTMP, SCONDA, SFMIN 443 * .. 444 * .. Local Arrays 445 REAL RDUMMY(1) 446 * .. 447 * .. External Subroutines (BLAS, LAPACK) 448 EXTERNAL sgelqf, sgeqp3, sgeqrf, sgesvd, slacpy, slapmt, 450$ sormqr, xerbla\n451 * ..\n452 * .. External Functions (BLAS, LAPACK)\n453 LOGICAL LSAME\n454 INTEGER ISAMAX\n455 REAL SLANGE, SNRM2, SLAMCH\n456 EXTERNAL slange, lsame, isamax, snrm2, slamch\n457 * ..\n458 * .. Intrinsic Functions ..\n459 INTRINSIC abs, max, min, real, sqrt\n460 * ..\n461 * .. Executable Statements ..\n462 *\n463 * Test the input arguments\n464 *\n465 wntus = lsame( jobu, 'S' ) .OR. lsame( jobu, 'U' )\n466 wntur = lsame( jobu, 'R' )\n467 wntua = lsame( jobu, 'A' )\n468 wntuf = lsame( jobu, 'F' )\n469 lsvc0 = wntus .OR. wntur .OR. wntua\n470 lsvec = lsvc0 .OR. wntuf\n471 dntwu = lsame( jobu, 'N' )\n472 *\n473 wntvr = lsame( jobv, 'R' )\n474 wntva = lsame( jobv, 'A' ) .OR. lsame( jobv, 'V' )\n475 rsvec = wntvr .OR. wntva\n476 dntwv = lsame( jobv, 'N' )\n477 *\n478 accla = lsame( joba, 'A' )\n479 acclm = lsame( joba, 'M' )\n480 conda = lsame( joba, 'E' )\n481 acclh = lsame( joba, 'H' ) .OR. conda\n482 *\n483 rowprm = lsame( jobp, 'P' )\n484 rtrans = lsame( jobr, 'T' )\n485 *\n486 IF ( rowprm ) THEN\n487 IF ( conda ) THEN\n488 iminwrk = max( 1, n + m - 1 + n )\n489 ELSE\n490 iminwrk = max( 1, n + m - 1 )\n491 END IF\n492 rminwrk = max( 2, m )\n493 ELSE\n494 IF ( conda ) THEN\n495 iminwrk = max( 1, n + n )\n496 ELSE\n497 iminwrk = max( 1, n )\n498 END IF\n499 rminwrk = 2\n500 END IF\n501 lquery = (liwork .EQ. -1 .OR. lwork .EQ. -1 .OR. lrwork .EQ. -1)\n502 info = 0\n503 IF ( .NOT. ( accla .OR. acclm .OR. acclh ) ) THEN\n504 info = -1\n505 ELSE IF ( .NOT.( rowprm .OR. lsame( jobp, 'N' ) ) ) THEN\n506 info = -2\n507 ELSE IF ( .NOT.( rtrans .OR. lsame( jobr, 'N' ) ) ) THEN\n508 info = -3\n509 ELSE IF ( .NOT.( lsvec .OR. dntwu ) ) THEN\n510 info = -4\n511 ELSE IF ( wntur .AND. wntva ) THEN\n512 info = -5\n513 ELSE IF ( .NOT.( rsvec .OR. dntwv )) THEN\n514 info = -5\n515 ELSE IF ( m.LT.0 ) THEN\n516 info = -6\n517 ELSE IF ( ( n.LT.0 ) .OR. ( n.GT.m ) ) THEN\n518 info = -7\n519 ELSE IF ( lda.LT.max( 1, m ) ) THEN\n520 info = -9\n521 ELSE IF ( ldu.LT.1 .OR. ( lsvc0 .AND. ldu.LT.m ) .OR.\n522 $( wntuf .AND. ldu.LT.n ) ) THEN 523 info = -12 524 ELSE IF ( ldv.LT.1 .OR. ( rsvec .AND. ldv.LT.n ) .OR. 525$ ( conda .AND. ldv.LT.n ) ) THEN\n526 info = -14\n527 ELSE IF ( liwork .LT. iminwrk .AND. .NOT. lquery ) THEN\n528 info = -17\n529 END IF\n530 *\n531 *\n532 IF ( info .EQ. 0 ) THEN\n533 * .. compute the minimal and the optimal workspace lengths\n534 * [[The expressions for computing the minimal and the optimal\n535 * values of LWORK are written with a lot of redundancy and\n536 * can be simplified. However, this detailed form is easier for\n537 * maintenance and modifications of the code.]]\n538 *\n539 * .. minimal workspace length for SGEQP3 of an M x N matrix\n540 lwqp3 = 3 * n + 1\n541 * .. minimal workspace length for SORMQR to build left singular vectors\n542 IF ( wntus .OR. wntur ) THEN\n543 lworq = max( n , 1 )\n544 ELSE IF ( wntua ) THEN\n545 lworq = max( m , 1 )\n546 END IF\n547 * .. minimal workspace length for SPOCON of an N x N matrix\n548 lwcon = 3 * n\n549 * .. SGESVD of an N x N matrix\n550 lwsvd = max( 5 * n, 1 )\n551 IF ( lquery ) THEN\n552 CALL sgeqp3( m, n, a, lda, iwork, rdummy, rdummy, -1,\n553 $ierr ) 554 lwrk_sgeqp3 = int( rdummy(1) ) 555 IF ( wntus .OR. wntur ) THEN 556 CALL sormqr( 'L', 'N', m, n, n, a, lda, rdummy, u, 557$ ldu, rdummy, -1, ierr )\n558 lwrk_sormqr = int( rdummy(1) )\n559 ELSE IF ( wntua ) THEN\n560 CALL sormqr( 'L', 'N', m, m, n, a, lda, rdummy, u,\n561 $ldu, rdummy, -1, ierr ) 562 lwrk_sormqr = int( rdummy(1) ) 563 ELSE 564 lwrk_sormqr = 0 565 END IF 566 END IF 567 minwrk = 2 568 optwrk = 2 569 IF ( .NOT. (lsvec .OR. rsvec )) THEN 570 * .. minimal and optimal sizes of the workspace if 571 * only the singular values are requested 572 IF ( conda ) THEN 573 minwrk = max( n+lwqp3, lwcon, lwsvd ) 574 ELSE 575 minwrk = max( n+lwqp3, lwsvd ) 576 END IF 577 IF ( lquery ) THEN 578 CALL sgesvd( 'N', 'N', n, n, a, lda, s, u, ldu, 579$ v, ldv, rdummy, -1, ierr )\n580 lwrk_sgesvd = int( rdummy(1) )\n581 IF ( conda ) THEN\n582 optwrk = max( n+lwrk_sgeqp3, n+lwcon, lwrk_sgesvd )\n583 ELSE\n584 optwrk = max( n+lwrk_sgeqp3, lwrk_sgesvd )\n585 END IF\n586 END IF\n587 ELSE IF ( lsvec .AND. (.NOT.rsvec) ) THEN\n588 * .. minimal and optimal sizes of the workspace if the\n589 * singular values and the left singular vectors are requested\n590 IF ( conda ) THEN\n591 minwrk = n + max( lwqp3, lwcon, lwsvd, lworq )\n592 ELSE\n593 minwrk = n + max( lwqp3, lwsvd, lworq )\n594 END IF\n595 IF ( lquery ) THEN\n596 IF ( rtrans ) THEN\n597 CALL sgesvd( 'N', 'O', n, n, a, lda, s, u, ldu,\n598 $v, ldv, rdummy, -1, ierr ) 599 ELSE 600 CALL sgesvd( 'O', 'N', n, n, a, lda, s, u, ldu, 601$ v, ldv, rdummy, -1, ierr )\n602 END IF\n603 lwrk_sgesvd = int( rdummy(1) )\n604 IF ( conda ) THEN\n605 optwrk = n + max( lwrk_sgeqp3, lwcon, lwrk_sgesvd,\n606 $lwrk_sormqr ) 607 ELSE 608 optwrk = n + max( lwrk_sgeqp3, lwrk_sgesvd, 609$ lwrk_sormqr )\n610 END IF\n611 END IF\n612 ELSE IF ( rsvec .AND. (.NOT.lsvec) ) THEN\n613 * .. minimal and optimal sizes of the workspace if the\n614 * singular values and the right singular vectors are requested\n615 IF ( conda ) THEN\n616 minwrk = n + max( lwqp3, lwcon, lwsvd )\n617 ELSE\n618 minwrk = n + max( lwqp3, lwsvd )\n619 END IF\n620 IF ( lquery ) THEN\n621 IF ( rtrans ) THEN\n622 CALL sgesvd( 'O', 'N', n, n, a, lda, s, u, ldu,\n623 $v, ldv, rdummy, -1, ierr ) 624 ELSE 625 CALL sgesvd( 'N', 'O', n, n, a, lda, s, u, ldu, 626$ v, ldv, rdummy, -1, ierr )\n627 END IF\n628 lwrk_sgesvd = int( rdummy(1) )\n629 IF ( conda ) THEN\n630 optwrk = n + max( lwrk_sgeqp3, lwcon, lwrk_sgesvd )\n631 ELSE\n632 optwrk = n + max( lwrk_sgeqp3, lwrk_sgesvd )\n633 END IF\n634 END IF\n635 ELSE\n636 * .. minimal and optimal sizes of the workspace if the\n637 * full SVD is requested\n638 IF ( rtrans ) THEN\n639 minwrk = max( lwqp3, lwsvd, lworq )\n640 IF ( conda ) minwrk = max( minwrk, lwcon )\n641 minwrk = minwrk + n\n642 IF ( wntva ) THEN\n643 * .. minimal workspace length for N x N/2 SGEQRF\n644 lwqrf = max( n/2, 1 )\n645 * .. minimal workspace length for N/2 x N/2 SGESVD\n646 lwsvd2 = max( 5 * (n/2), 1 )\n647 lworq2 = max( n, 1 )\n648 minwrk2 = max( lwqp3, n/2+lwqrf, n/2+lwsvd2,\n649 $n/2+lworq2, lworq ) 650 IF ( conda ) minwrk2 = max( minwrk2, lwcon ) 651 minwrk2 = n + minwrk2 652 minwrk = max( minwrk, minwrk2 ) 653 END IF 654 ELSE 655 minwrk = max( lwqp3, lwsvd, lworq ) 656 IF ( conda ) minwrk = max( minwrk, lwcon ) 657 minwrk = minwrk + n 658 IF ( wntva ) THEN 659 * .. minimal workspace length for N/2 x N SGELQF 660 lwlqf = max( n/2, 1 ) 661 lwsvd2 = max( 5 * (n/2), 1 ) 662 lwunlq = max( n , 1 ) 663 minwrk2 = max( lwqp3, n/2+lwlqf, n/2+lwsvd2, 664$ n/2+lwunlq, lworq )\n665 IF ( conda ) minwrk2 = max( minwrk2, lwcon )\n666 minwrk2 = n + minwrk2\n667 minwrk = max( minwrk, minwrk2 )\n668 END IF\n669 END IF\n670 IF ( lquery ) THEN\n671 IF ( rtrans ) THEN\n672 CALL sgesvd( 'O', 'A', n, n, a, lda, s, u, ldu,\n673 $v, ldv, rdummy, -1, ierr ) 674 lwrk_sgesvd = int( rdummy(1) ) 675 optwrk = max(lwrk_sgeqp3,lwrk_sgesvd,lwrk_sormqr) 676 IF ( conda ) optwrk = max( optwrk, lwcon ) 677 optwrk = n + optwrk 678 IF ( wntva ) THEN 679 CALL sgeqrf(n,n/2,u,ldu,rdummy,rdummy,-1,ierr) 680 lwrk_sgeqrf = int( rdummy(1) ) 681 CALL sgesvd( 'S', 'O', n/2,n/2, v,ldv, s, u,ldu, 682$ v, ldv, rdummy, -1, ierr )\n683 lwrk_sgesvd2 = int( rdummy(1) )\n684 CALL sormqr( 'R', 'C', n, n, n/2, u, ldu, rdummy,\n685 $v, ldv, rdummy, -1, ierr ) 686 lwrk_sormqr2 = int( rdummy(1) ) 687 optwrk2 = max( lwrk_sgeqp3, n/2+lwrk_sgeqrf, 688$ n/2+lwrk_sgesvd2, n/2+lwrk_sormqr2 )\n689 IF ( conda ) optwrk2 = max( optwrk2, lwcon )\n690 optwrk2 = n + optwrk2\n691 optwrk = max( optwrk, optwrk2 )\n692 END IF\n693 ELSE\n694 CALL sgesvd( 'S', 'O', n, n, a, lda, s, u, ldu,\n695 $v, ldv, rdummy, -1, ierr ) 696 lwrk_sgesvd = int( rdummy(1) ) 697 optwrk = max(lwrk_sgeqp3,lwrk_sgesvd,lwrk_sormqr) 698 IF ( conda ) optwrk = max( optwrk, lwcon ) 699 optwrk = n + optwrk 700 IF ( wntva ) THEN 701 CALL sgelqf(n/2,n,u,ldu,rdummy,rdummy,-1,ierr) 702 lwrk_sgelqf = int( rdummy(1) ) 703 CALL sgesvd( 'S','O', n/2,n/2, v, ldv, s, u, ldu, 704$ v, ldv, rdummy, -1, ierr )\n705 lwrk_sgesvd2 = int( rdummy(1) )\n706 CALL sormlq( 'R', 'N', n, n, n/2, u, ldu, rdummy,\n707 $v, ldv, rdummy,-1,ierr ) 708 lwrk_sormlq = int( rdummy(1) ) 709 optwrk2 = max( lwrk_sgeqp3, n/2+lwrk_sgelqf, 710$ n/2+lwrk_sgesvd2, n/2+lwrk_sormlq )\n711 IF ( conda ) optwrk2 = max( optwrk2, lwcon )\n712 optwrk2 = n + optwrk2\n713 optwrk = max( optwrk, optwrk2 )\n714 END IF\n715 END IF\n716 END IF\n717 END IF\n718 *\n719 minwrk = max( 2, minwrk )\n720 optwrk = max( 2, optwrk )\n721 IF ( lwork .LT. minwrk .AND. (.NOT.lquery) ) info = -19\n722 *\n723 END IF\n724 *\n725 IF (info .EQ. 0 .AND. lrwork .LT. rminwrk .AND. .NOT. lquery) THEN\n726 info = -21\n727 END IF\n728 IF( info.NE.0 ) THEN\n729 CALL xerbla( 'SGESVDQ', -info )\n730 RETURN\n731 ELSE IF ( lquery ) THEN\n732 *\n733 * Return optimal workspace\n734 *\n735 iwork(1) = iminwrk\n736 work(1) = optwrk\n737 work(2) = minwrk\n738 rwork(1) = rminwrk\n739 RETURN\n740 END IF\n741 *\n742 * Quick return if the matrix is void.\n743 *\n744 IF( ( m.EQ.0 ) .OR. ( n.EQ.0 ) ) THEN\n745 * .. all output is void.\n746 RETURN\n747 END IF\n748 *\n749 big = slamch('O')\n750 ascaled = .false.\n751 iwoff = 1\n752 IF ( rowprm ) THEN\n753 iwoff = m\n754 * .. reordering the rows in decreasing sequence in the\n755 * ell-infinity norm - this enhances numerical robustness in\n756 * the case of differently scaled rows.\n757 DO 1904 p = 1, m\n758 * RWORK(p) = ABS( A(p,ICAMAX(N,A(p,1),LDA)) )\n759 * [[SLANGE will return NaN if an entry of the p-th row is Nan]]\n760 rwork(p) = slange( 'M', 1, n, a(p,1), lda, rdummy )\n761 * .. check for NaN's and Inf's\n762 IF ( ( rwork(p) .NE. rwork(p) ) .OR.\n763 $( (rwork(p)*zero) .NE. zero ) ) THEN 764 info = -8 765 CALL xerbla( 'SGESVDQ', -info ) 766 RETURN 767 END IF 768 1904 CONTINUE 769 DO 1952 p = 1, m - 1 770 q = isamax( m-p+1, rwork(p), 1 ) + p - 1 771 iwork(n+p) = q 772 IF ( p .NE. q ) THEN 773 rtmp = rwork(p) 774 rwork(p) = rwork(q) 775 rwork(q) = rtmp 776 END IF 777 1952 CONTINUE 778 * 779 IF ( rwork(1) .EQ. zero ) THEN 780 * Quick return: A is the M x N zero matrix. 781 numrank = 0 782 CALL slaset( 'G', n, 1, zero, zero, s, n ) 783 IF ( wntus ) CALL slaset('G', m, n, zero, one, u, ldu) 784 IF ( wntua ) CALL slaset('G', m, m, zero, one, u, ldu) 785 IF ( wntva ) CALL slaset('G', n, n, zero, one, v, ldv) 786 IF ( wntuf ) THEN 787 CALL slaset( 'G', n, 1, zero, zero, work, n ) 788 CALL slaset( 'G', m, n, zero, one, u, ldu ) 789 END IF 790 DO 5001 p = 1, n 791 iwork(p) = p 792 5001 CONTINUE 793 IF ( rowprm ) THEN 794 DO 5002 p = n + 1, n + m - 1 795 iwork(p) = p - n 796 5002 CONTINUE 797 END IF 798 IF ( conda ) rwork(1) = -1 799 rwork(2) = -1 800 RETURN 801 END IF 802 * 803 IF ( rwork(1) .GT. big / sqrt(real(m)) ) THEN 804 * .. to prevent overflow in the QR factorization, scale the 805 * matrix by 1/sqrt(M) if too large entry detected 806 CALL slascl('G',0,0,sqrt(real(m)),one, m,n, a,lda, ierr) 807 ascaled = .true. 808 END IF 809 CALL slaswp( n, a, lda, 1, m-1, iwork(n+1), 1 ) 810 END IF 811 * 812 * .. At this stage, preemptive scaling is done only to avoid column 813 * norms overflows during the QR factorization. The SVD procedure should 814 * have its own scaling to save the singular values from overflows and 815 * underflows. That depends on the SVD procedure. 816 * 817 IF ( .NOT.rowprm ) THEN 818 rtmp = slange( 'M', m, n, a, lda, rdummy ) 819 IF ( ( rtmp .NE. rtmp ) .OR. 820$ ( (rtmp*zero) .NE. zero ) ) THEN\n821 info = -8\n822 CALL xerbla( 'SGESVDQ', -info )\n823 RETURN\n824 END IF\n825 IF ( rtmp .GT. big / sqrt(real(m)) ) THEN\n826 * .. to prevent overflow in the QR factorization, scale the\n827 * matrix by 1/sqrt(M) if too large entry detected\n828 CALL slascl('G',0,0, sqrt(real(m)),one, m,n, a,lda, ierr)\n829 ascaled = .true.\n830 END IF\n831 END IF\n832 *\n833 * .. QR factorization with column pivoting\n834 *\n835 * A * P = Q * [ R ]\n836 * [ 0 ]\n837 *\n838 DO 1963 p = 1, n\n839 * .. all columns are free columns\n840 iwork(p) = 0\n841 1963 CONTINUE\n842 CALL sgeqp3( m, n, a, lda, iwork, work, work(n+1), lwork-n,\n843 $ierr ) 844 * 845 * If the user requested accuracy level allows truncation in the 846 * computed upper triangular factor, the matrix R is examined and, 847 * if possible, replaced with its leading upper trapezoidal part. 848 * 849 epsln = slamch('E') 850 sfmin = slamch('S') 851 * SMALL = SFMIN / EPSLN 852 nr = n 853 * 854 IF ( accla ) THEN 855 * 856 * Standard absolute error bound suffices. All sigma_i with 857 * sigma_i < N*EPS*||A||_F are flushed to zero. This is an 858 * aggressive enforcement of lower numerical rank by introducing a 859 * backward error of the order of N*EPS*||A||_F. 860 nr = 1 861 rtmp = sqrt(real(n))*epsln 862 DO 3001 p = 2, n 863 IF ( abs(a(p,p)) .LT. (rtmp*abs(a(1,1))) ) GO TO 3002 864 nr = nr + 1 865 3001 CONTINUE 866 3002 CONTINUE 867 * 868 ELSEIF ( acclm ) THEN 869 * .. similarly as above, only slightly more gentle (less aggressive). 870 * Sudden drop on the diagonal of R is used as the criterion for being 871 * close-to-rank-deficient. The threshold is set to EPSLN=SLAMCH('E'). 872 * [[This can be made more flexible by replacing this hard-coded value 873 * with a user specified threshold.]] Also, the values that underflow 874 * will be truncated. 875 nr = 1 876 DO 3401 p = 2, n 877 IF ( ( abs(a(p,p)) .LT. (epsln*abs(a(p-1,p-1))) ) .OR. 878$ ( abs(a(p,p)) .LT. sfmin ) ) GO TO 3402\n879 nr = nr + 1\n880 3401 CONTINUE\n881 3402 CONTINUE\n882 *\n883 ELSE\n884 * .. RRQR not authorized to determine numerical rank except in the\n885 * obvious case of zero pivots.\n886 * .. inspect R for exact zeros on the diagonal;\n887 * R(i,i)=0 => R(i:N,i:N)=0.\n888 nr = 1\n889 DO 3501 p = 2, n\n890 IF ( abs(a(p,p)) .EQ. zero ) GO TO 3502\n891 nr = nr + 1\n892 3501 CONTINUE\n893 3502 CONTINUE\n894 *\n895 IF ( conda ) THEN\n896 * Estimate the scaled condition number of A. Use the fact that it is\n897 * the same as the scaled condition number of R.\n898 * .. V is used as workspace\n899 CALL slacpy( 'U', n, n, a, lda, v, ldv )\n900 * Only the leading NR x NR submatrix of the triangular factor\n901 * is considered. Only if NR=N will this give a reliable error\n902 * bound. However, even for NR < N, this can be used on an\n903 * expert level and obtain useful information in the sense of\n904 * perturbation theory.\n905 DO 3053 p = 1, nr\n906 rtmp = snrm2( p, v(1,p), 1 )\n907 CALL sscal( p, one/rtmp, v(1,p), 1 )\n908 3053 CONTINUE\n909 IF ( .NOT. ( lsvec .OR. rsvec ) ) THEN\n910 CALL spocon( 'U', nr, v, ldv, one, rtmp,\n911 $work, iwork(n+iwoff), ierr ) 912 ELSE 913 CALL spocon( 'U', nr, v, ldv, one, rtmp, 914$ work(n+1), iwork(n+iwoff), ierr )\n915 END IF\n916 sconda = one / sqrt(rtmp)\n917 * For NR=N, SCONDA is an estimate of SQRT(||(R^* * R)^(-1)||_1),\n918 * N^(-1/4) * SCONDA <= ||R^(-1)||_2 <= N^(1/4) * SCONDA\n919 * See the reference for more details.\n920 END IF\n921 *\n922 ENDIF\n923 *\n924 IF ( wntur ) THEN\n925 n1 = nr\n926 ELSE IF ( wntus .OR. wntuf) THEN\n927 n1 = n\n928 ELSE IF ( wntua ) THEN\n929 n1 = m\n930 END IF\n931 *\n932 IF ( .NOT. ( rsvec .OR. lsvec ) ) THEN\n933 *.......................................................................\n934 * .. only the singular values are requested\n935 *.......................................................................\n936 IF ( rtrans ) THEN\n937 *\n938 * .. compute the singular values of R**T = [A](1:NR,1:N)**T\n939 * .. set the lower triangle of [A] to [A](1:NR,1:N)**T and\n940 * the upper triangle of [A] to zero.\n941 DO 1146 p = 1, min( n, nr )\n942 DO 1147 q = p + 1, n\n943 a(q,p) = a(p,q)\n944 IF ( q .LE. nr ) a(p,q) = zero\n945 1147 CONTINUE\n946 1146 CONTINUE\n947 *\n948 CALL sgesvd( 'N', 'N', n, nr, a, lda, s, u, ldu,\n949 $v, ldv, work, lwork, info ) 950 * 951 ELSE 952 * 953 * .. compute the singular values of R = [A](1:NR,1:N) 954 * 955 IF ( nr .GT. 1 ) 956$ CALL slaset( 'L', nr-1,nr-1, zero,zero, a(2,1), lda )\n957 CALL sgesvd( 'N', 'N', nr, n, a, lda, s, u, ldu,\n958 $v, ldv, work, lwork, info ) 959 * 960 END IF 961 * 962 ELSE IF ( lsvec .AND. ( .NOT. rsvec) ) THEN 963 *....................................................................... 964 * .. the singular values and the left singular vectors requested 965 *.......................................................................\"\"\"\"\"\"\"\" 966 IF ( rtrans ) THEN 967 * .. apply SGESVD to R**T 968 * .. copy R**T into [U] and overwrite [U] with the right singular 969 * vectors of R 970 DO 1192 p = 1, nr 971 DO 1193 q = p, n 972 u(q,p) = a(p,q) 973 1193 CONTINUE 974 1192 CONTINUE 975 IF ( nr .GT. 1 ) 976$ CALL slaset( 'U', nr-1,nr-1, zero,zero, u(1,2), ldu )\n977 * .. the left singular vectors not computed, the NR right singular\n978 * vectors overwrite [U](1:NR,1:NR) as transposed. These\n979 * will be pre-multiplied by Q to build the left singular vectors of A.\n980 CALL sgesvd( 'N', 'O', n, nr, u, ldu, s, u, ldu,\n981 $u, ldu, work(n+1), lwork-n, info ) 982 * 983 DO 1119 p = 1, nr 984 DO 1120 q = p + 1, nr 985 rtmp = u(q,p) 986 u(q,p) = u(p,q) 987 u(p,q) = rtmp 988 1120 CONTINUE 989 1119 CONTINUE 990 * 991 ELSE 992 * .. apply SGESVD to R 993 * .. copy R into [U] and overwrite [U] with the left singular vectors 994 CALL slacpy( 'U', nr, n, a, lda, u, ldu ) 995 IF ( nr .GT. 1 ) 996$ CALL slaset( 'L', nr-1, nr-1, zero, zero, u(2,1), ldu )\n997 * .. the right singular vectors not computed, the NR left singular\n998 * vectors overwrite [U](1:NR,1:NR)\n999 CALL sgesvd( 'O', 'N', nr, n, u, ldu, s, u, ldu,\n1000 $v, ldv, work(n+1), lwork-n, info ) 1001 * .. now [U](1:NR,1:NR) contains the NR left singular vectors of 1002 * R. These will be pre-multiplied by Q to build the left singular 1003 * vectors of A. 1004 END IF 1005 * 1006 * .. assemble the left singular vector matrix U of dimensions 1007 * (M x NR) or (M x N) or (M x M). 1008 IF ( ( nr .LT. m ) .AND. ( .NOT.wntuf ) ) THEN 1009 CALL slaset('A', m-nr, nr, zero, zero, u(nr+1,1), ldu) 1010 IF ( nr .LT. n1 ) THEN 1011 CALL slaset( 'A',nr,n1-nr,zero,zero,u(1,nr+1), ldu ) 1012 CALL slaset( 'A',m-nr,n1-nr,zero,one, 1013$ u(nr+1,nr+1), ldu )\n1014 END IF\n1015 END IF\n1016 *\n1017 * The Q matrix from the first QRF is built into the left singular\n1018 * vectors matrix U.\n1019 *\n1020 IF ( .NOT.wntuf )\n1021 $CALL sormqr( 'L', 'N', m, n1, n, a, lda, work, u, 1022$ ldu, work(n+1), lwork-n, ierr )\n1023 IF ( rowprm .AND. .NOT.wntuf )\n1024 $CALL slaswp( n1, u, ldu, 1, m-1, iwork(n+1), -1 ) 1025 * 1026 ELSE IF ( rsvec .AND. ( .NOT. lsvec ) ) THEN 1027 *....................................................................... 1028 * .. the singular values and the right singular vectors requested 1029 *....................................................................... 1030 IF ( rtrans ) THEN 1031 * .. apply SGESVD to R**T 1032 * .. copy R**T into V and overwrite V with the left singular vectors 1033 DO 1165 p = 1, nr 1034 DO 1166 q = p, n 1035 v(q,p) = (a(p,q)) 1036 1166 CONTINUE 1037 1165 CONTINUE 1038 IF ( nr .GT. 1 ) 1039$ CALL slaset( 'U', nr-1,nr-1, zero,zero, v(1,2), ldv )\n1040 * .. the left singular vectors of R**T overwrite V, the right singular\n1041 * vectors not computed\n1042 IF ( wntvr .OR. ( nr .EQ. n ) ) THEN\n1043 CALL sgesvd( 'O', 'N', n, nr, v, ldv, s, u, ldu,\n1044 $u, ldu, work(n+1), lwork-n, info ) 1045 * 1046 DO 1121 p = 1, nr 1047 DO 1122 q = p + 1, nr 1048 rtmp = v(q,p) 1049 v(q,p) = v(p,q) 1050 v(p,q) = rtmp 1051 1122 CONTINUE 1052 1121 CONTINUE 1053 * 1054 IF ( nr .LT. n ) THEN 1055 DO 1103 p = 1, nr 1056 DO 1104 q = nr + 1, n 1057 v(p,q) = v(q,p) 1058 1104 CONTINUE 1059 1103 CONTINUE 1060 END IF 1061 CALL slapmt( .false., nr, n, v, ldv, iwork ) 1062 ELSE 1063 * .. need all N right singular vectors and NR < N 1064 * [!] This is simple implementation that augments [V](1:N,1:NR) 1065 * by padding a zero block. In the case NR << N, a more efficient 1066 * way is to first use the QR factorization. For more details 1067 * how to implement this, see the \" FULL SVD \" branch. 1068 CALL slaset('G', n, n-nr, zero, zero, v(1,nr+1), ldv) 1069 CALL sgesvd( 'O', 'N', n, n, v, ldv, s, u, ldu, 1070$ u, ldu, work(n+1), lwork-n, info )\n1071 *\n1072 DO 1123 p = 1, n\n1073 DO 1124 q = p + 1, n\n1074 rtmp = v(q,p)\n1075 v(q,p) = v(p,q)\n1076 v(p,q) = rtmp\n1077 1124 CONTINUE\n1078 1123 CONTINUE\n1079 CALL slapmt( .false., n, n, v, ldv, iwork )\n1080 END IF\n1081 *\n1082 ELSE\n1083 * .. aply SGESVD to R\n1084 * .. copy R into V and overwrite V with the right singular vectors\n1085 CALL slacpy( 'U', nr, n, a, lda, v, ldv )\n1086 IF ( nr .GT. 1 )\n1087 $CALL slaset( 'L', nr-1, nr-1, zero, zero, v(2,1), ldv ) 1088 * .. the right singular vectors overwrite V, the NR left singular 1089 * vectors stored in U(1:NR,1:NR) 1090 IF ( wntvr .OR. ( nr .EQ. n ) ) THEN 1091 CALL sgesvd( 'N', 'O', nr, n, v, ldv, s, u, ldu, 1092$ v, ldv, work(n+1), lwork-n, info )\n1093 CALL slapmt( .false., nr, n, v, ldv, iwork )\n1094 * .. now [V](1:NR,1:N) contains V(1:N,1:NR)**T\n1095 ELSE\n1096 * .. need all N right singular vectors and NR < N\n1097 * [!] This is simple implementation that augments [V](1:NR,1:N)\n1098 * by padding a zero block. In the case NR << N, a more efficient\n1099 * way is to first use the LQ factorization. For more details\n1100 * how to implement this, see the \" FULL SVD \" branch.\n1101 CALL slaset('G', n-nr, n, zero,zero, v(nr+1,1), ldv)\n1102 CALL sgesvd( 'N', 'O', n, n, v, ldv, s, u, ldu,\n1103 $v, ldv, work(n+1), lwork-n, info ) 1104 CALL slapmt( .false., n, n, v, ldv, iwork ) 1105 END IF 1106 * .. now [V] contains the transposed matrix of the right singular 1107 * vectors of A. 1108 END IF 1109 * 1110 ELSE 1111 *....................................................................... 1112 * .. FULL SVD requested 1113 *....................................................................... 1114 IF ( rtrans ) THEN 1115 * 1116 * .. apply SGESVD to R**T [[this option is left for R&D&T]] 1117 * 1118 IF ( wntvr .OR. ( nr .EQ. n ) ) THEN 1119 * .. copy R**T into [V] and overwrite [V] with the left singular 1120 * vectors of R**T 1121 DO 1168 p = 1, nr 1122 DO 1169 q = p, n 1123 v(q,p) = a(p,q) 1124 1169 CONTINUE 1125 1168 CONTINUE 1126 IF ( nr .GT. 1 ) 1127$ CALL slaset( 'U', nr-1,nr-1, zero,zero, v(1,2), ldv )\n1128 *\n1129 * .. the left singular vectors of R**T overwrite [V], the NR right\n1130 * singular vectors of R**T stored in [U](1:NR,1:NR) as transposed\n1131 CALL sgesvd( 'O', 'A', n, nr, v, ldv, s, v, ldv,\n1132 $u, ldu, work(n+1), lwork-n, info ) 1133 * .. assemble V 1134 DO 1115 p = 1, nr 1135 DO 1116 q = p + 1, nr 1136 rtmp = v(q,p) 1137 v(q,p) = v(p,q) 1138 v(p,q) = rtmp 1139 1116 CONTINUE 1140 1115 CONTINUE 1141 IF ( nr .LT. n ) THEN 1142 DO 1101 p = 1, nr 1143 DO 1102 q = nr+1, n 1144 v(p,q) = v(q,p) 1145 1102 CONTINUE 1146 1101 CONTINUE 1147 END IF 1148 CALL slapmt( .false., nr, n, v, ldv, iwork ) 1149 * 1150 DO 1117 p = 1, nr 1151 DO 1118 q = p + 1, nr 1152 rtmp = u(q,p) 1153 u(q,p) = u(p,q) 1154 u(p,q) = rtmp 1155 1118 CONTINUE 1156 1117 CONTINUE 1157 * 1158 IF ( ( nr .LT. m ) .AND. .NOT.(wntuf)) THEN 1159 CALL slaset('A', m-nr,nr, zero,zero, u(nr+1,1), ldu) 1160 IF ( nr .LT. n1 ) THEN 1161 CALL slaset('A',nr,n1-nr,zero,zero,u(1,nr+1),ldu) 1162 CALL slaset( 'A',m-nr,n1-nr,zero,one, 1163$ u(nr+1,nr+1), ldu )\n1164 END IF\n1165 END IF\n1166 *\n1167 ELSE\n1168 * .. need all N right singular vectors and NR < N\n1169 * .. copy R**T into [V] and overwrite [V] with the left singular\n1170 * vectors of R**T\n1171 * [[The optimal ratio N/NR for using QRF instead of padding\n1172 * with zeros. Here hard coded to 2; it must be at least\n1173 * two due to work space constraints.]]\n1174 * OPTRATIO = ILAENV(6, 'SGESVD', 'S' // 'O', NR,N,0,0)\n1175 * OPTRATIO = MAX( OPTRATIO, 2 )\n1176 optratio = 2\n1177 IF ( optratio*nr .GT. n ) THEN\n1178 DO 1198 p = 1, nr\n1179 DO 1199 q = p, n\n1180 v(q,p) = a(p,q)\n1181 1199 CONTINUE\n1182 1198 CONTINUE\n1183 IF ( nr .GT. 1 )\n1184 $CALL slaset('U',nr-1,nr-1, zero,zero, v(1,2),ldv) 1185 * 1186 CALL slaset('A',n,n-nr,zero,zero,v(1,nr+1),ldv) 1187 CALL sgesvd( 'O', 'A', n, n, v, ldv, s, v, ldv, 1188$ u, ldu, work(n+1), lwork-n, info )\n1189 *\n1190 DO 1113 p = 1, n\n1191 DO 1114 q = p + 1, n\n1192 rtmp = v(q,p)\n1193 v(q,p) = v(p,q)\n1194 v(p,q) = rtmp\n1195 1114 CONTINUE\n1196 1113 CONTINUE\n1197 CALL slapmt( .false., n, n, v, ldv, iwork )\n1198 * .. assemble the left singular vector matrix U of dimensions\n1199 * (M x N1), i.e. (M x N) or (M x M).\n1200 *\n1201 DO 1111 p = 1, n\n1202 DO 1112 q = p + 1, n\n1203 rtmp = u(q,p)\n1204 u(q,p) = u(p,q)\n1205 u(p,q) = rtmp\n1206 1112 CONTINUE\n1207 1111 CONTINUE\n1208 *\n1209 IF ( ( n .LT. m ) .AND. .NOT.(wntuf)) THEN\n1210 CALL slaset('A',m-n,n,zero,zero,u(n+1,1),ldu)\n1211 IF ( n .LT. n1 ) THEN\n1212 CALL slaset('A',n,n1-n,zero,zero,u(1,n+1),ldu)\n1213 CALL slaset('A',m-n,n1-n,zero,one,\n1214 $u(n+1,n+1), ldu ) 1215 END IF 1216 END IF 1217 ELSE 1218 * .. copy R**T into [U] and overwrite [U] with the right 1219 * singular vectors of R 1220 DO 1196 p = 1, nr 1221 DO 1197 q = p, n 1222 u(q,nr+p) = a(p,q) 1223 1197 CONTINUE 1224 1196 CONTINUE 1225 IF ( nr .GT. 1 ) 1226$ CALL slaset('U',nr-1,nr-1,zero,zero,u(1,nr+2),ldu)\n1227 CALL sgeqrf( n, nr, u(1,nr+1), ldu, work(n+1),\n1228 $work(n+nr+1), lwork-n-nr, ierr ) 1229 DO 1143 p = 1, nr 1230 DO 1144 q = 1, n 1231 v(q,p) = u(p,nr+q) 1232 1144 CONTINUE 1233 1143 CONTINUE 1234 CALL slaset('U',nr-1,nr-1,zero,zero,v(1,2),ldv) 1235 CALL sgesvd( 'S', 'O', nr, nr, v, ldv, s, u, ldu, 1236$ v,ldv, work(n+nr+1),lwork-n-nr, info )\n1237 CALL slaset('A',n-nr,nr,zero,zero,v(nr+1,1),ldv)\n1238 CALL slaset('A',nr,n-nr,zero,zero,v(1,nr+1),ldv)\n1239 CALL slaset('A',n-nr,n-nr,zero,one,v(nr+1,nr+1),ldv)\n1240 CALL sormqr('R','C', n, n, nr, u(1,nr+1), ldu,\n1241 $work(n+1),v,ldv,work(n+nr+1),lwork-n-nr,ierr) 1242 CALL slapmt( .false., n, n, v, ldv, iwork ) 1243 * .. assemble the left singular vector matrix U of dimensions 1244 * (M x NR) or (M x N) or (M x M). 1245 IF ( ( nr .LT. m ) .AND. .NOT.(wntuf)) THEN 1246 CALL slaset('A',m-nr,nr,zero,zero,u(nr+1,1),ldu) 1247 IF ( nr .LT. n1 ) THEN 1248 CALL slaset('A',nr,n1-nr,zero,zero,u(1,nr+1),ldu) 1249 CALL slaset( 'A',m-nr,n1-nr,zero,one, 1250$ u(nr+1,nr+1),ldu)\n1251 END IF\n1252 END IF\n1253 END IF\n1254 END IF\n1255 *\n1256 ELSE\n1257 *\n1258 * .. apply SGESVD to R [[this is the recommended option]]\n1259 *\n1260 IF ( wntvr .OR. ( nr .EQ. n ) ) THEN\n1261 * .. copy R into [V] and overwrite V with the right singular vectors\n1262 CALL slacpy( 'U', nr, n, a, lda, v, ldv )\n1263 IF ( nr .GT. 1 )\n1264 $CALL slaset( 'L', nr-1,nr-1, zero,zero, v(2,1), ldv ) 1265 * .. the right singular vectors of R overwrite [V], the NR left 1266 * singular vectors of R stored in [U](1:NR,1:NR) 1267 CALL sgesvd( 'S', 'O', nr, n, v, ldv, s, u, ldu, 1268$ v, ldv, work(n+1), lwork-n, info )\n1269 CALL slapmt( .false., nr, n, v, ldv, iwork )\n1270 * .. now [V](1:NR,1:N) contains V(1:N,1:NR)**T\n1271 * .. assemble the left singular vector matrix U of dimensions\n1272 * (M x NR) or (M x N) or (M x M).\n1273 IF ( ( nr .LT. m ) .AND. .NOT.(wntuf)) THEN\n1274 CALL slaset('A', m-nr,nr, zero,zero, u(nr+1,1), ldu)\n1275 IF ( nr .LT. n1 ) THEN\n1276 CALL slaset('A',nr,n1-nr,zero,zero,u(1,nr+1),ldu)\n1277 CALL slaset( 'A',m-nr,n1-nr,zero,one,\n1278 $u(nr+1,nr+1), ldu ) 1279 END IF 1280 END IF 1281 * 1282 ELSE 1283 * .. need all N right singular vectors and NR < N 1284 * .. the requested number of the left singular vectors 1285 * is then N1 (N or M) 1286 * [[The optimal ratio N/NR for using LQ instead of padding 1287 * with zeros. Here hard coded to 2; it must be at least 1288 * two due to work space constraints.]] 1289 * OPTRATIO = ILAENV(6, 'SGESVD', 'S' // 'O', NR,N,0,0) 1290 * OPTRATIO = MAX( OPTRATIO, 2 ) 1291 optratio = 2 1292 IF ( optratio * nr .GT. n ) THEN 1293 CALL slacpy( 'U', nr, n, a, lda, v, ldv ) 1294 IF ( nr .GT. 1 ) 1295$ CALL slaset('L', nr-1,nr-1, zero,zero, v(2,1),ldv)\n1296 * .. the right singular vectors of R overwrite [V], the NR left\n1297 * singular vectors of R stored in [U](1:NR,1:NR)\n1298 CALL slaset('A', n-nr,n, zero,zero, v(nr+1,1),ldv)\n1299 CALL sgesvd( 'S', 'O', n, n, v, ldv, s, u, ldu,\n1300 $v, ldv, work(n+1), lwork-n, info ) 1301 CALL slapmt( .false., n, n, v, ldv, iwork ) 1302 * .. now [V] contains the transposed matrix of the right 1303 * singular vectors of A. The leading N left singular vectors 1304 * are in [U](1:N,1:N) 1305 * .. assemble the left singular vector matrix U of dimensions 1306 * (M x N1), i.e. (M x N) or (M x M). 1307 IF ( ( n .LT. m ) .AND. .NOT.(wntuf)) THEN 1308 CALL slaset('A',m-n,n,zero,zero,u(n+1,1),ldu) 1309 IF ( n .LT. n1 ) THEN 1310 CALL slaset('A',n,n1-n,zero,zero,u(1,n+1),ldu) 1311 CALL slaset( 'A',m-n,n1-n,zero,one, 1312$ u(n+1,n+1), ldu )\n1313 END IF\n1314 END IF\n1315 ELSE\n1316 CALL slacpy( 'U', nr, n, a, lda, u(nr+1,1), ldu )\n1317 IF ( nr .GT. 1 )\n1318 $CALL slaset('L',nr-1,nr-1,zero,zero,u(nr+2,1),ldu) 1319 CALL sgelqf( nr, n, u(nr+1,1), ldu, work(n+1), 1320$ work(n+nr+1), lwork-n-nr, ierr )\n1321 CALL slacpy('L',nr,nr,u(nr+1,1),ldu,v,ldv)\n1322 IF ( nr .GT. 1 )\n1323 $CALL slaset('U',nr-1,nr-1,zero,zero,v(1,2),ldv) 1324 CALL sgesvd( 'S', 'O', nr, nr, v, ldv, s, u, ldu, 1325$ v, ldv, work(n+nr+1), lwork-n-nr, info )\n1326 CALL slaset('A',n-nr,nr,zero,zero,v(nr+1,1),ldv)\n1327 CALL slaset('A',nr,n-nr,zero,zero,v(1,nr+1),ldv)\n1328 CALL slaset('A',n-nr,n-nr,zero,one,v(nr+1,nr+1),ldv)\n1329 CALL sormlq('R','N',n,n,nr,u(nr+1,1),ldu,work(n+1),\n1330 $v, ldv, work(n+nr+1),lwork-n-nr,ierr) 1331 CALL slapmt( .false., n, n, v, ldv, iwork ) 1332 * .. assemble the left singular vector matrix U of dimensions 1333 * (M x NR) or (M x N) or (M x M). 1334 IF ( ( nr .LT. m ) .AND. .NOT.(wntuf)) THEN 1335 CALL slaset('A',m-nr,nr,zero,zero,u(nr+1,1),ldu) 1336 IF ( nr .LT. n1 ) THEN 1337 CALL slaset('A',nr,n1-nr,zero,zero,u(1,nr+1),ldu) 1338 CALL slaset( 'A',m-nr,n1-nr,zero,one, 1339$ u(nr+1,nr+1), ldu )\n1340 END IF\n1341 END IF\n1342 END IF\n1343 END IF\n1344 * .. end of the \"R**T or R\" branch\n1345 END IF\n1346 *\n1347 * The Q matrix from the first QRF is built into the left singular\n1348 * vectors matrix U.\n1349 *\n1350 IF ( .NOT. wntuf )\n1351 $CALL sormqr( 'L', 'N', m, n1, n, a, lda, work, u, 1352$ ldu, work(n+1), lwork-n, ierr )\n1353 IF ( rowprm .AND. .NOT.wntuf )\n1354 $CALL slaswp( n1, u, ldu, 1, m-1, iwork(n+1), -1 ) 1355 * 1356 * ... end of the \"full SVD\" branch 1357 END IF 1358 * 1359 * Check whether some singular values are returned as zeros, e.g. 1360 * due to underflow, and update the numerical rank. 1361 p = nr 1362 DO 4001 q = p, 1, -1 1363 IF ( s(q) .GT. zero ) GO TO 4002 1364 nr = nr - 1 1365 4001 CONTINUE 1366 4002 CONTINUE 1367 * 1368 * .. if numerical rank deficiency is detected, the truncated 1369 * singular values are set to zero. 1370 IF ( nr .LT. n ) CALL slaset( 'G', n-nr,1, zero,zero, s(nr+1), n ) 1371 * .. undo scaling; this may cause overflow in the largest singular 1372 * values. 1373 IF ( ascaled ) 1374$ CALL slascl( 'G',0,0, one,sqrt(real(m)), nr,1, s, n, ierr )\n1375 IF ( conda ) rwork(1) = sconda\n1376 rwork(2) = p - nr\n1377 * .. p-NR is the number of singular values that are computed as\n1378 * exact zeros in SGESVD() applied to the (possibly truncated)\n1379 * full row rank triangular (trapezoidal) factor of A.\n1380 numrank = nr\n1381 *\n1382 RETURN\n1383 *\n1384 * End of SGESVDQ\n1385 *\nsubroutine slascl(TYPE, KL, KU, CFROM, CTO, M, N, A, LDA, INFO)\nSLASCL multiplies a general rectangular matrix by a real scalar defined as cto/cfrom.\nDefinition: slascl.f:143\nsubroutine slaset(UPLO, M, N, ALPHA, BETA, A, LDA)\nSLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values.\nDefinition: slaset.f:110\nsubroutine slacpy(UPLO, M, N, A, LDA, B, LDB)\nSLACPY copies all or part of one two-dimensional array to another.\nDefinition: slacpy.f:103\ninteger function isamax(N, SX, INCX)\nISAMAX\nDefinition: isamax.f:71\nsubroutine xerbla(SRNAME, INFO)\nXERBLA\nDefinition: xerbla.f:60\nlogical function lsame(CA, CB)\nLSAME\nDefinition: lsame.f:53\nreal function slange(NORM, M, N, A, LDA, WORK)\nSLANGE returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value ...\nDefinition: slange.f:114\nsubroutine sgeqp3(M, N, A, LDA, JPVT, TAU, WORK, LWORK, INFO)\nSGEQP3\nDefinition: sgeqp3.f:151\nsubroutine sgeqrf(M, N, A, LDA, TAU, WORK, LWORK, INFO)\nSGEQRF\nDefinition: sgeqrf.f:146\nsubroutine sgelqf(M, N, A, LDA, TAU, WORK, LWORK, INFO)\nSGELQF\nDefinition: sgelqf.f:143\nsubroutine sgesvd(JOBU, JOBVT, M, N, A, LDA, S, U, LDU, VT, LDVT, WORK, LWORK, INFO)\nSGESVD computes the singular value decomposition (SVD) for GE matrices\nDefinition: sgesvd.f:211\nsubroutine slapmt(FORWRD, M, N, X, LDX, K)\nSLAPMT performs a forward or backward permutation of the columns of a matrix.\nDefinition: slapmt.f:104\nsubroutine slaswp(N, A, LDA, K1, K2, IPIV, INCX)\nSLASWP performs a series of row interchanges on a general rectangular matrix.\nDefinition: slaswp.f:115\nsubroutine sormqr(SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC, WORK, LWORK, INFO)\nSORMQR\nDefinition: sormqr.f:168\nsubroutine sormlq(SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC, WORK, LWORK, INFO)\nSORMLQ\nDefinition: sormlq.f:168\nsubroutine spocon(UPLO, N, A, LDA, ANORM, RCOND, WORK, IWORK, INFO)\nSPOCON\nDefinition: spocon.f:121\nsubroutine sscal(N, SA, SX, INCX)\nSSCAL\nDefinition: sscal.f:79\nreal(wp) function snrm2(n, x, incx)\nSNRM2\nDefinition: snrm2.f90:89\nreal function slamch(CMACH)\nSLAMCH\nDefinition: slamch.f:68\nHere is the call graph for this function:\nHere is the caller graph for this function:"
] | [
null,
"http://www.netlib.org/lapack/explore-html/lapack.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7807065,"math_prob":0.99562913,"size":12663,"snap":"2022-05-2022-21","text_gpt3_token_len":3847,"char_repetition_ratio":0.13128999,"word_repetition_ratio":0.22985989,"special_character_ratio":0.29297954,"punctuation_ratio":0.15562287,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9952971,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-22T23:03:44Z\",\"WARC-Record-ID\":\"<urn:uuid:b53dd631-11ea-40eb-b8f6-ae505053d792>\",\"Content-Length\":\"215944\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9fe567bf-b64d-475e-980f-de8cc629d45c>\",\"WARC-Concurrent-To\":\"<urn:uuid:5bc9e1bb-451c-4369-a190-532acefee6b6>\",\"WARC-IP-Address\":\"160.36.131.221\",\"WARC-Target-URI\":\"http://www.netlib.org/lapack/explore-html/d4/dca/group__real_g_esing_ga8e9cbc85a2116d7ae24a854e24fbdc14.html\",\"WARC-Payload-Digest\":\"sha1:LBETNPKLCOBHG6A5R5V5C3YG2IIEPFSK\",\"WARC-Block-Digest\":\"sha1:BXIB72LPZSKRLTUXK4BU4JD4OYW5Y5RW\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662550298.31_warc_CC-MAIN-20220522220714-20220523010714-00154.warc.gz\"}"} |
http://philipp.stiller.cc/blog/wemos-d1-mini-ws2812b | [
"",
null,
"## ESP8266 + WS2812B\n\nOne of my favourite elements are LEDs. (light emitting diodes)\nThe greatest advantage of them: You can see if your project works immediately. But the old fashioned singe-color LEDs are boring and the RGB-LEDs need three different channels (per LED!) of your microcontroller. Another disadvantage of this standard-LEDs is that you need to use PWM to dim them.\nThe WS2812B solves this issues. They have also four pins but with a different purpose: VCC, GND, data-in and data-out. So you might assume that we can chain them ==> Yes you are right! But it comes even better: You can address every single LED.\nSo if we assume that we have 8 LEDs you would need 24 channels when you use a standard-LED but still only one channel if you use the WS2812B.\n\n## Materialist\n\n• WEMOS D1 mini or any other microcontroller\n• WS2812B (8 Bit) or a stripe\n• 1000 µF capacitor\n• 220 Ω resistor\n• Logic Level Converter (I will explain it later on!)\n\n## Putting it all together\n\nIn the following three subsections you will find some information about basic circuits.\n\n### Basic circuit\n\nSo let's get started. For a basically functioning LED-cluster we need to hook some parts up like this:",
null,
"As you can see we used the LED-cluster, the capacitor and the resistor in addition to the microcontroller. We need the capacitor because we can change the colours and the brightness in a very high frequency. To \"buffer\" the resulting differences in the current the datasheet recommends the usage of a capacitor with a value between 100 µF and 1000 µF. Additionally we want to protect the data-pin, what is done by the usage of a 220 Ω resistor.\nIdeally you position this two elements as close as possible to the first LED in the cluster.\n(The circuit would also work without the capacitor and the resistor. But due to the fact that this elements do not cost much I would recommend to use them as shown.)\n\n### Working with 3.3 Volts\n\nIf you are using a microcontroller with an operation voltage of 5.0 Volts (e. g.: Arduino Nano, Arduino Mega, etc.) and your only goal is to learn how to use the WS2812B, you can ignore the following excerpt and schematic.\nIf we have a look at the datasheet of the WS2812B, we will find the definition of the logic HIGH:\n\nVIH = 0.7 * VDD\n\nSo what does this mean if we power our cluster with 5.0 V?\n5.0 * 0.7 = 3.5 Volts is the minimum to be interpreted as logical HIGH. So there are two possibilities to solve this problem:\n\n• increase VIH (our 3.3 Volts - the operating voltage of our microcontroller)\n• decrease VDD (our 5.0 Volts - the operating voltage of our LED-cluster)\n\nThe second option (in my opinion a \"quick and dirty\"-fix) implies an increasing current. Based on this fact I would prefer the first one. And this can be achieved with a logic level converter. This element lets you convert signals between the two levels 3.3 and 5.0 Volts in a bidirectional way. Many of the available modules (for breadbord-usage) have 2, 4 or 8 channels.",
null,
"(Additional information: A known symptom for this problem is that the first LED in the cluster seems to be \"dead\".)\n\n### Large LED-clusters\n\nIf we assume to have a LED-stripe of five metres. If you power it from one end the current has to travel ten metres in total. The difference between the data and the power is that the data has a fixed direction. To reduce the stress of the stripe you can power it in the middle of the strip so that the current has to travel only five metres in each direction.\nIf you have a very long stripe you can power the stripe at multiple points.\n\n## Programming\n\nAfter all the hardware related text lines we now continue with the software. This paragraph will not be that long, because the documentation on the web is of very high quality.\nAdafruit published a great library. This lines of code cover all the basic operations for WS2812B-LEDs.\nA few comments to important commands: (variables are wrapped with exclamation marks.)\n\nCommand Description"
] | [
null,
"http://piwik.stiller.cc/piwik.php",
null,
"http://philipp.stiller.cc/user/pages/02.blog/wemos-d1-mini-ws2812b/Wiring_without_LLC.jpg",
null,
"http://philipp.stiller.cc/user/pages/02.blog/wemos-d1-mini-ws2812b/Wiring_with_LLC.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.91581666,"math_prob":0.79859823,"size":4685,"snap":"2019-51-2020-05","text_gpt3_token_len":1084,"char_repetition_ratio":0.10916471,"word_repetition_ratio":0.004920049,"special_character_ratio":0.22966915,"punctuation_ratio":0.12058212,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9637713,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-09T23:56:34Z\",\"WARC-Record-ID\":\"<urn:uuid:15e61a74-e1fa-41c4-b438-44f06fa3de00>\",\"Content-Length\":\"26403\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8c5475ac-c012-4874-967e-cee9ce0235bb>\",\"WARC-Concurrent-To\":\"<urn:uuid:8f7992cc-2aad-47ab-a446-4b84e1c745af>\",\"WARC-IP-Address\":\"81.19.145.70\",\"WARC-Target-URI\":\"http://philipp.stiller.cc/blog/wemos-d1-mini-ws2812b\",\"WARC-Payload-Digest\":\"sha1:MODONSN5WHFBCCSC2DYJS4XE44VPGSCE\",\"WARC-Block-Digest\":\"sha1:ZA62TNPCTZ7LV2LM4IF5MBFOD6SYJX2D\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575540525598.55_warc_CC-MAIN-20191209225803-20191210013803-00423.warc.gz\"}"} |
https://thedragonsgaze.blogspot.com/2015/08/the-problematic-volatile-snowlines-in.html | [
"## Thursday, August 20, 2015\n\n### The Problematic Volatile Snowlines In Embedded Disks\n\nVolatile snowlines in embedded disks around low-mass protostars\n\nAuthors:\n\nHarsono et al\n\nAbstract:\n\nModels of the young solar nebula assume a hot initial disk with most volatiles are in the gas phase. The question remains whether an actively accreting disk is warm enough to have gas-phase water up to 50 AU radius. No detailed studies have yet been performed on the extent of snowlines in an embedded accreting disk (Stage 0). Quantify the location of gas-phase volatiles in embedded actively accreting disk system. Two-dimensional physical and radiative transfer models have been used to calculate the temperature structure of embedded protostellar systems. Gas and ice abundances of H2O, CO2, and CO are calculated using the density-dependent thermal desorption formulation. The midplane water snowline increases from 3 to 55 AU for accretion rates through the disk onto the star between 10−9-10−4 M⊙ yr−1. CO2 can remain in the solid phase within the disk for M˙≤10−5 M⊙ yr−1 down to ∼20 AU. Most of the CO is in the gas phase within an actively accreting disk independent of disk properties and accretion rate. The predicted optically thin water isotopolog emission is consistent with the detected H182O emission toward the Stage 0 embedded young stellar objects, originating from both the disk and the warm inner envelope (hot core). An accreting embedded disk can only account for water emission arising from R<50 0=\"\" 30=\"\" 50=\"\" a=\"\" accretion=\"\" alma=\"\" and=\"\" au=\"\" be=\"\" blockquote=\"\" can=\"\" chemical=\"\" compared=\"\" content=\"\" decreases=\"\" deeply=\"\" disks=\"\" during=\"\" early=\"\" embedded=\"\" emission=\"\" envelope=\"\" extent=\"\" for=\"\" from=\"\" have=\"\" high=\"\" hot=\"\" however=\"\" in=\"\" inherited=\"\" limit.=\"\" low=\"\" measured=\"\" nebula=\"\" not=\"\" observations=\"\" occurred=\"\" of=\"\" only=\"\" our=\"\" out=\"\" periods=\"\" phase=\"\" radial=\"\" rapidly=\"\" rates.=\"\" reset=\"\" solar=\"\" stage=\"\" sublimate=\"\" system.=\"\" t-tauri=\"\" the=\"\" this=\"\" thus=\"\" to=\"\" volatiles=\"\" with=\"\" young=\"\">"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.78283566,"math_prob":0.81864506,"size":2272,"snap":"2023-14-2023-23","text_gpt3_token_len":547,"char_repetition_ratio":0.11684303,"word_repetition_ratio":0.0,"special_character_ratio":0.26760563,"punctuation_ratio":0.076719575,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9790223,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-06T09:41:14Z\",\"WARC-Record-ID\":\"<urn:uuid:33bd5d9b-ba7e-477a-8725-f06af1574cc1>\",\"Content-Length\":\"76025\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:245440b0-bad3-487c-9a83-5d5345e7aa6d>\",\"WARC-Concurrent-To\":\"<urn:uuid:23955e6d-6cda-4ba9-a9b3-15df58387d13>\",\"WARC-IP-Address\":\"142.251.163.132\",\"WARC-Target-URI\":\"https://thedragonsgaze.blogspot.com/2015/08/the-problematic-volatile-snowlines-in.html\",\"WARC-Payload-Digest\":\"sha1:Q4LZCPHSRR3SFSEDOFGZJHEIYNRDIN5W\",\"WARC-Block-Digest\":\"sha1:YNGB5XLH3TKA5HG3WZWZKBFNDWZS44YD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224652494.25_warc_CC-MAIN-20230606082037-20230606112037-00695.warc.gz\"}"} |
https://math.stackexchange.com/questions/642100/convex-hull-of-cyclic-permutations | [
"# Convex Hull of cyclic Permutations\n\nIt is known that the convex hull of permutation matrices yields exactly the stochastic matrices. I am interested in the convex hull of cyclic permutation matrices. Trivially this is a subset of the stochachastic matrices, but what more do we know than that about the relationship to the convex hull of all permutations?\n\nMy intuition would be that the chull of cyclic permutations is strictly smaller, but is this true? I have not yet found an example demonstrasting this!\n\nIf it is strictly smaller can we say something about those stochastic matrices within the \"cyclic cone\"? It seems they should hold some common property but i am unable to pinpoint it or find literature about it!\n\n$$\\begin{bmatrix} a_1 & a_2 & \\ldots & a_n \\\\ a_n & a_1 & & a_{n-1} \\\\ \\vdots & & \\ddots & \\vdots \\\\ a_2 & a_3 & \\ldots & a_1 \\end{bmatrix}, \\quad a_1 + a_2 \\ldots + a_n = 1, \\quad a_i \\ge 0.$$\n• Can this be right? It only has $n$ vertices instead of $(n-1)!$ (the number of cyclic permutations). – Austen Nov 6 '19 at 10:55"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9498251,"math_prob":0.9935686,"size":683,"snap":"2020-10-2020-16","text_gpt3_token_len":134,"char_repetition_ratio":0.13991164,"word_repetition_ratio":0.0,"special_character_ratio":0.18448023,"punctuation_ratio":0.072,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9970384,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-02-22T20:26:52Z\",\"WARC-Record-ID\":\"<urn:uuid:2da2b0f3-5558-47fe-8489-aea9225ccebf>\",\"Content-Length\":\"139470\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4a35e565-d0c7-40d4-83db-228c2e480df0>\",\"WARC-Concurrent-To\":\"<urn:uuid:06b78fc4-682c-442e-8f15-25f22e9562e5>\",\"WARC-IP-Address\":\"151.101.193.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/642100/convex-hull-of-cyclic-permutations\",\"WARC-Payload-Digest\":\"sha1:FXBHOJSS3DTM6BDSIG577EECV5AQMNYC\",\"WARC-Block-Digest\":\"sha1:AKWTZFF5WELOAZ5AZLM7ENS5TMIPTGAY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-10/CC-MAIN-2020-10_segments_1581875145713.39_warc_CC-MAIN-20200222180557-20200222210557-00478.warc.gz\"}"} |
https://matin-indul.com/us/en/stp1034hd0de | [
"Home\n\n# 5 foot 3 in inches\n\nConvert feet and inches to centimeters, inches, meters, etc. - Ft, in, cm, m, mm. 5ft3 and three quarters of an inch in cm. 161.925 centimeters. 5foot3 in meters How high is 5 foot 3? Use this easy calculator to convert feet and inches to centimeters. How tall is 5 ft 3 in centimeters Feet and inches to centimeters converter. Sample feet and inches in meter conversions A foot (plural: feet) is a non-SI unit of distance or length, measuring around a third of a metre. There are twelve inches in one foot and three feet in one Examples include mm, inch, 100 kg, US fluid ounce, 6'3, 10 stone 4, cubic cm, metres squared, grams, moles, feet per second, and many more\n\n### Convert 5'3 to cm, mm, meters, and inches\n\n• How many centimeters is 5 feet 3 inches? - There are 160.02 cm in 5 feet 3 inches. 5'3 in cm converter to calculate out how tall is 5 feet 3 inches in cm\n• This conversion of 5.3 feet to inches has been calculated by multiplying 5.3 feet by 12 and the result is 63.6 inches\n• Pennsylvania gauge. Five foot three inch. 1,581 mm. The Board of Trade of the United Kingdom recommended the use of 5 ft 3 in in Ireland, after investigating a dispute caused by diverse gauges in Ireland\n• Home›Conversion›Length conversion› Feet to inches. The distance d in inches (″) is equal to the distance d in feet (ft) times 1\n• this is how you convert: 1 foot = 12 inches. Multiply the number of feet by twelve. Add that number to the number of inches. Multiply that sum by 2.54\n• Add or subtract inches (both decimal and fraction), feet, centimeters and millimeters. Enter equations just like you would write it on paper, e.g. 4′ 3 7/8″ + 5 cm. Get results in inches (fraction and decimal), feet, centimeters, and millimeters - all measurements are displayed in imperial and metric\n• Feet to Inches (ft to in) conversion calculator for Length conversions with additional tables and formulas. More information: Inches. Feet. In 1959 the international yard and pound agreement (between the United States and countries of the Commonwealth of Nations) defined a yard as being..\n\n5 feet 3 inch in cm. Смотреть позже. Поделиться This is a conversion chart for foot length in inches (Foot and Last lengths). To switch the unit simply find the one you want on the page and click it. Enter the value you want to convert (foot length in inches). Then click the Convert Me button. Your value gets instantly converted to all other units on..",
null,
"Inches to Feet. Convert between the units (in → ft) or see the conversion table. Angstroms (Å) Astronomical units (au) Centimetres (cm) Decimetres (dm) Feet (ft) Inches (in) Kilometres (km) Light years (ly) Meters (m) Miles (mi) Mils (mil) Millimetres (mm) Nanometres (nm) Nautical miles (nmi).. Feet (ft) and inches (in) to centimeters (cm) or centimeters (cm) to inches (in). First, convert 5 feet to inches: 5 feet × 12 inches/foot = 60 inches Add up our inches: 60 + 2 = 62 inches Use this calculator to help you convert between centimeters, feet and inches (cm, ft and in), all of which are units of height, length or distance. 5 feet 3 inches Inches to Feet Conversion Calculator, Conversion Table and How to Convert. A foot (plural form: feet abbreviation: ft or ′) is a unit of length used in several different systems, including Imperial units, English units and United States customary units\n\nFind out: Is a person with the height of six foot four (inches) large, or small? How would you tell an other person your body length in meters or in foot and Most people usecentimeters as measurement for size. The height of an average South American male is 165.5 cm, or a little over 5 foot five inches Онлайн конвертер (foot) фут см This is a online length converter, convert meters to feet and inches, feet and inches to meters, include fraction and decimal inches, it also has the calculation formulas and a virtual dynamic ruler to show the corresponding To conver feet and inches to meters, fill the number into the blank of feet and inches Well, there are 12 inches in 1 foot so if you are calculating multiple feet all you have to do is multiply 12 by the number of feet and you will get the answer. Using this method, you can determine the number of inches in 5 feet by doing the simple math equation of 12 x 5 and get a product of 60\n\n### What is 5 Feet 3 Inches in Centimeters\n\n1. 5 foot 3 inches = 160.02 centimeters. How many cm are there in 5 foot 3 inches? 5 foot 3 inches to cm? Asked By Wiki User. Unanswered Questions\n2. To convert cm to feet and inches, first divide the cm value by 30.48 to convert into feet. The integer part of the result is the foot value. Foot and inch are Imperial and United States Customary length units. 1 ft = 30.48 cm. The symbols are ft and in. Please visit length conversion to convert all length..\n3. The average British woman is 5 Foot 3 Inches. But you wouldn't think that from the mannequins and models. Let's show them what we... See more of 5Foot3Inches on Facebook\n4. Easily convert Inches to Centimeters, with formula, conversion chart, auto conversion to common lengths, more. inches (in). centimeters (cm)\n\n### 5 feet and 3 inch to c\n\n• There are 12 inches in a foot and 36 inches in a yard. History/origin: The term inch was derived from the Latin unit uncia which equated to one-twelfth of One of the earliest definitions of the inch was based on barleycorns, where an inch was equal to the length of three grains of dry, round barley..\n• A foot (pl. feet ) is a common length unit used in Imperial system and the current US customary unit system. A foot is equal to 0.3048 meter. This unit of length has been used in Europe since the times of the Roman Empire and ancient Greece. A foot has 12 inches, and 3 foot make a yard\n• Convert 5.3 Inches to Centimeter | Convert 5.3 in to cm with our conversion calculator and conversion table. To convert 5.3 in to cm use direct conversion formula below\n• Here you will find our online math calculator to help you to convert lengths from inches and feet into cm. You can also choose your own degree of accuracy. How It Works... Step 1) Type in the length in feet and inches. Step 2) (Optional) - choose what accuracy you want your answer - the default is 1..\n• 1. If a woman is 5 foot, 3 inches (5' 3), what is her height in centimeters? ������ Feet and inches are often written shorthand with apostrophes (') and double quotes (). 1 foot would be written as 1' and 1 inch would be written 1\n\n### Convert 5 feet 3 inches to cm - Conversion of Measurement Unit\n\n• 1 feet = 12 inches. 1 feet = 30.48 cm. More examples of heights converted from feet and inches to c\n• US women shoe size 11 shoes are 10 2/3 inches in length, which is equivalent to a men's size 9.5. Therefore, you can convert a women's size to a men's shoe size by simply subtracting 1.5 sizes from Canadian shoe sizes are identical to US shoe sizes. Foot Length Conversion: Inches to US Shoe Size\n• Just type your height into the feet and inches boxes to convert to metres or into the metres box to convert to feet and inches. We also have a Stones to Kilograms Weight Converter and scientific/technical length conversions at MeasurementConversions.org where you can specify..\n• The table allows you to fast and easily convert most common human heights between values given in feet and inches, inches and centimeters. There is no column for hight given in meters because conversion from centimeters to meters is extremely easy (1m is equal to 100cm\n\n### 5 Feet 3 inches in cm - What is 5 Foot 3 inches in Centimeter\n\n@5foot3inches1. A Campaign Celebrating the Many Shapes and Sizes of Women! 5foot3inches.uk. Дата регистрации: февраль 2019 г Since there are 12 inches in every foot, this will give you your original foot measurement in inches. X Research source. In the example problem, you would continue by writing a × 12 after the foot measurement, then multiplying to find the answer, like this 63 inches / 12 = 5 R3 → 5 feet 3 inches",
null,
"feet. inches. metres. centimetres. millimetres. Restrictions On the (first) Feet & Inches line, the number of feet must be a whole number greater than, or equal to, 1 and the inches must be less than 12. 19 feet 4 inches 17 miles 13 yards 2 feet 5 pounds 7 ounces 3 tons 5 hundredweights 2 stones etc Convert 5 feet and 3 inches to centimeters. Use this calculator to find out how much is 5 foot 3 in centimeters. To calculate feet and inches into cms, tally up the height in inches The height converter below allows you to quickly convert between feet and inches and centimetres when you need to find out your height in centimetres\n\nMeasure your feet in the evening hours because feet expand throughout the day. If you're buying shoes for a first time walker, then be sure to purchase a pair with flexible soles and a small amount of extra growing space. When shoes are too big, blisters are likely to form while a tight fitting shoe will chafe.. It is actually expected that human males and females to lose 1.5 and 2 inches in height respectively by age 70. All of the formulas, have the same format of a base weight given a height of 5 feet, with a set weight increment added per inch over the height of 5 feet\n\n162cm = 5 feet 3.78 inches. Use the table below to check how close an individual with a height of 162cm is to going up or down an inch in height 3 feet 5/8 should be said three feet five inches, not five-eighths inches. It would be more realistic to write '5 ft 3 in' which then takes the 'eighths' out of A very understandable question. Measurements of feet, inches and fractions of an inch are straightforward: Four feet three and an half inches, six..\n\n### 5.3 feet to inches - Unit Converte\n\n• I prefer five feet five inches, but I hear five foot five inches probably more than I hear feet, in common usage. To me, it isn't logical to use the plural for inches and the singular form of foot, so, my opinion is that feet is correct. But, because the usage of the other is so ubiquitous, I'm sure there are..\n• Measurements of the A series paper sizes 4A0, 2A0, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9 and A10 in metres, centimetres, millimetres, thou, inches, feet, yards, pica, point and HPGL\n• 12 inches = 1 foot 3 feet = 1 yard 36 inches = 1 yard 5280. 9.1 Measuring Length; The Metric System - . every measurement needs to have a number and a unit of measure. stating that. John is 61 inches tall. Who is taller? 1 foot (ft) = 12 inches (in.\n• 35 inches = 2' 11''. 36 inches = 3 ft\n• Current selection is: 3 Foot 6 Inch x 5 Foot 3 Inch. Actual Color: 3 Foot 6 Inch x 5 Foot 3 Inch\n• Easily convert feet to meters, with formula, conversion chart, auto conversion to common lengths, more\n\nMeasuring in inches gives us a way for everyone to understand the size of something. When we have 12 inches together, it is known as a foot. Using 12 inches put together to make one foot lets everyone have an accurate picture of what exactly a foot of length is Convert feet to meters, meters to feet, feet to centimeters, meters to inches and much more. 1 meter (m) = 100 centimeters (mm) 1 meter (m) = 1000 millimeters (mm) 1 centimeter (cm) = 10 millimeters (mm). 1 foot (ft) = 12 inches (in)",
null,
"9 in + 3 in = 12 in = 1 ft. Hendrick wants to enlarge a photo that is 4 inches wide and 6 inches tall. The enlarged photo keeps the same ratio 2. Her party shoes had three-inch heels. 3. Can you lend me your five-foot tape measure? (Correct). 4. I am 5 feet 2 inches in my bare feet. 5. The water level rose 10 inches in just three hours. Posted on Tuesday, July 27, 2010, at 10:45 am. If you wish to respond to another reader's question or..",
null,
"### 5 ft 3 in gauge railways - Wikipedi\n\n1. feet (ft or ′). inch (in or ″). centi- meter. (*) The results above may be appoximate because, in some cases, we are rounding to 3 significant figures. Sample Feet and Inches to Centimeters Conversions\n2. One foot is equivalent to 12 inches, therefore 5 feet 4 inches is 64 inches. To convert feet to inches, multiply the number of feet by 12 and add any extra. Three feet, or 36 inches, is equivalent to 1 yard. A person who is 6 feet tall is 2 yards tall\n3. CONFIRMED: Ben Shapiro Is 5 Foot 3 Inches Tall Support The Show & Watch Exclusive Content: www.patreon.com/theprogressivevoice Donate: www.paypal.me/theprogressivevoice Listen to the audio podcast format on Itunes: itunes.a.. I am 5 Feet 10 Inches with about 37 inch Running vertical\n4. Длина Время Давление Энергия Скорость Температура Площадь Объём информации Скорость передачи данных Масса Объём Мощность Системы счисления. фут. = см. дюйм сантиметр ангстрем миллиметр дециметр фут аршин метр километр сажень верста ярд миля морская..\n5. Calculator for converting metres to feet, inches and tenths Conversion results from meters, millimetres or centimeters. Some other associated conversions - 1 kilometre ( km ) = 1000 metre , 1 metre = 100 cm , 1 cm = 10 mm 1 mile = 5280 feet , 1 yard ( yd ) = 3 feet , 1 fathom = 6 feet , 1 chain = 66 feet 1..\n\n### Feet to Inches (ft to in) conversion calculato\n\n1. 1 foot ~ 30.5 cm 1 inch ~ 2.5 cm 1 kg ~ 2.2 lbs. Below are tables of measurements (approximate). While it is not a proper converter, it still might be very handy - print it, and use when necessary\n2. Easily convert millimeters to inches, with formula, conversion chart, auto conversion to common lengths, more. millimeters (mm). inches (in)\n3. Feet and Inches. Is 5 foot 3 tall, short or average height for a man? How much is 5 ft and 3 in in cm\n4. Show details. Buy the selected items together. This item:CELOX Gauze Roll, 5-Foot by 3-Inch \\$27.99. Celox Z-Fold Gauze (3in x 5' (7.6cm x 1.5m))\n5. Our feet - inches calculator is simple to use and will provide quick calculations. If you want to work the other way then use our calculator to convert The conversion formula for this specific calculation is as follows, ft / 0.083333 = in and this is the same method used by our online calculator for feet to inches\n6. Otherwise, to help you get an accurate fit, you can use an ordinary ruler to measure your foot in inches or centimeters. Place an ordinary ruler on a hard surface and stand firmly on it. Align the ruler to the back of your heal, then identify the furthest point of your toes. Match the measurement to the charts..",
null,
"So my questions are: Which is correct? Five foot ten or five feet ten? Why would such a formula as [number other than 1] foot [number] make an exception out of the regular rule [number other than 1] feet? He's 6 foot 3 inches. Somewhat slangy, but I'm sure I've heard this before Height: Ft, Inch, Fraction. Height (decimal places allowed): Select Height. (12 inches = 1 foot; Example: 4 feet, 5 1/2 inches) Выразите его рост в сантиметрах, ем в 1 футе 12 дюймов, а в 1 дюйме 2,54 см. Результат округлите до целого числа сантиметров 1.5″ (Inches, in) - English inch is a value for measuring lengths and distances, heights and widths and etc. One inch is equal to 2.54 centimeters. Here you will find all the ways for calculating and converting inches in cm and back. If you want to know how many centimeters are in 1.5 inches you..\n\n### how tall is 5ft 3 in cm? Yahoo Answer\n\n1. There are 12 inches to a foot and 2.54 centimeters to an inch. 5 feet 3 inches is 63 inches, which is 160.02 cm. you can use feets and inches to to inter convert these quantities . following is the procedure to inter convert them : 1. First convert inches to centimeter by pressing buttons in following..\n2. A woman who is 5 feet and 4 inches tall (163 cm), should have a waist measurement below 32 inches (81 cm). The Centers for Disease Control and Prevention (CDC) note that a man with a waist size of 40 inches or above, or a woman with a waist size of 35 inches or above has a higher risk than other..\n3. Head circumference in inches. Europe (EU). Russia. Foot length in mm",
null,
"### Feet and Inches Calculator - Add or Subtract Feet, Inches, and\n\n1 Фут (Foot) = 30.48 см или 0.3048 м. 1 Дюйм (Inch) = 25.40 мм или 2.54 см. 1 Фут = 12 дюймов Feet to Inches Converting Chart - Convert from feet and inches to inches. Inches - Fractions and Decimal Equivalents - Inches - fractional and decimal equivalents TV Sizes to Distance Calculator. The optimal viewing distance is about 1.6 times the diagonal length of the television. For example, for a 55 TV, the best distance is 7 feet This is a table of conversions from inches to decimal feet, useful for surveying. For simplicity this table starts off with 1 to 12 inch equivalents in decimals of a foot. Included also is the 1/8 conversion to decimals of a foot from 1 to 2. We also include a calculator which does the math for you\n\n### Feet to Inches conversio\n\nOne foot is equal to 12 inches. Primary exceptions are the United States of America, and some countries where feet and yards are used in limited extent: the United Kingdom and Canada, where the yard remains in limited use as a part of imperial system (for example, yards are used on road signs for.. Converting Feet/Inches/Fractions to Decimal Format. Lot's of numbers to deal with, and no, not very useful for picking lottery numbers. But if you understand the basic concepts it does take the gamble out of converting these numbers and you are sure to be a winner\n\n### 5 feet 3 inch in cm - YouTub\n\nMake sure you use feet and inches. Most rooms are not a whole number such as 10 feet; they are 10 feet and 3 inches, or 9 f read more. if a 5 foot. 5 inch person sits at a desk with the length and width mesurements found above length 39 cm and width 56 cm what would the length and width of.. Instantly Convert Inches (in) to Feet (ft) and Many More Length Conversions Online. Inches Conversion Charts Convert 3.5 Inch to Foot with formula, common lengths conversion, conversion tables and more. to Feet, 3.5 in in Feet. Other Languages\n\nFeet And Inches to Centimeters Conversion Formula. According to the data from National Health and Nutrition Examination Survey (NHANES) conducted from 2007 to 2008, if you are 5 feet 3 inches tall female you are taller than 30.4 % of the females in the US arkadaşın büyük ihtimalle 1 inçin 0.1 feet olduğu gibi bir yanılgıya sahip In the United States most people think they know their U.S. shoe size (if you haven't done so please read our tips on how to measure your feet because shoe size can change over time ), but many people are still puzzled by the European shoe sizing system. HealthyFeetStore.com carries several brands.. To convert feet to meters ( ft to m ) is a simple conversion, but those left over inches complicates things. But this converter is designed to convert an entry in feet and inches, or, in feet alone or in inches alone, into meters. The results are the total of the feet and inches entered, converted into..",
null,
"### Foot Length In Inches\n\n5 feet 3 inch in cm. How Convert. Abone ol39 B. Ek inch me kitne centimeter hote hai?|How many Centimeters are in an Inch...Do You Know Many translated example sentences containing 5 feet 7 inches - Russian-English dictionary and search engine for Russian translations. They featured split and double hinged doors which allowed closer maneuvering, 11 inches longer overall length (at 31 feet, 3 inches), and a 100 gallon increase.. There are twelve inches in one foot and three feet in one yard. › To convert 5 feet 6 inches to centimeters, we first made it all inches and then multiplied the total number of inches by 2.54 to get the answer\n\n### Convert Inches to Feet (in ft\n\nfeet. inches. metres. centimetres. millimetres. Restrictions On the (first) Feet & Inches line, the number of feet must be a whole number greater than, or equal to, 1 and the That is, measurements like19 feet 4 inches 17 miles 13 yards 2 feet 5 pounds 7 ounces 3 tons 5 hundred weights 2 stones etc Español. Your Height: (feet) Does including inches at the end of six foot/feet five inches affect the grammatical number of foot to make it feet? Answer: Yes, it sometimes can. If you say inches in the plural, one would expect feet in the plural as well. But one can find examples where this is not always the case, where instead.. Convert 5 feet to inches by multiplying 5 by 12, which equals 60. Add 60 to 3 inches to get a total of 63 inches. Multiply 63 by 2.54 to get the answer as follows 5 feet 4 inches in cm Do you think you can do it on your own now? Here is the next feet and inches combination we converted to centimeters\n\n### Height Converter ft to cm and cm to i\n\nThe conversion factor I remember is that there are 2.54 centimeters in 1 inch, so first I would change the feet to inches. Let's make an estimate first and then do the calculations exactly. From above 1 inch is approximatelt 2.5 cm so 4 inches is approximately 4 2.5 = 10 cm Inch measurements are of the length of the shoe insole, not the length of the foot meant to fit in that size. Measure your foot from heel to toe, while Keep in mind whether you'd like a roomier or tighter fit. For instance, a 9.5 foot may fit into a US WOM 6 technically, but a US WOM 7 with more wiggle.. Our shoes are true to size. Not sure what size to order? Measure your foot and send us the details when placing an order. UK Sizes. Foot length (Inches) At 5 feet 3 inches tall, Tyrone Muggsy Bogues is the smallest player in NBA history. Here, 6-feet-7-inch forward Rafael Addison stoops to He defied his small stature and was able to jump 44 inches, among the highest figures in NBA history. Jonathan Daniel/Getty Images North America/Getty..\n\n### Centimeters to Feet and Inches Conversion (cm, ft and in\n\nDimensions of A4 size paper in centimetres, millimetres, inches and pixels for the UK, USA, Australia, Europe A4PaperSize.org shows the A4 sheet dimensions in centimetres, inches, millimetres and pixels for 0.708 x 0.916 feet. 0.236 x 0.305 yards. When Did A4 Size Become A Standard - ISO 216 5 feet 3 inches. Evet Arkadaşlar benimki 6 feet 1 inches sizinki kaç? < Bu mesaj bu kişi tarafından değiştirildi nonick3899 -- 19 Aralık 2015; 23:05:03 > Because the foot is three-dimensional, any two-dimensional measuring tool, such as a ruler or Brannock device®, can only approximate your true shoe size. Using one of the following charts, convert your inches measurement to your U.S. shoe size or Euro shoe size The A series was adopted in Europe in the 19th century, and is currently used all around the world, apart from in the USA and Canada. The most common paper size used in English speaking countries around the world is A4, which is 210mm x 297mm (8.27 inches x 11.7 inches) Convert 5.6 Foot to Meter with formula, common lengths conversion, conversion tables and more. To convert 5.6 ft to m multiply the length in feet by 0.3048\n\n### Inches to Feet Conversio\n\nYou also can convert 5.6 Inches to other length units. Use this formula to convert manually without calculator: 1 Inches / 2.54 = 1 Centimeter The A5 has the following dimensions: 210 x 148 mm or 8.27 x 5.83 inches. Its printable surface is reduced when applying the usual print margins: 160 x 108 mm. The surface of an A5 sheet is 0.031 m², or 0.04 square yard, 0.32 square foot, or 46.5 square inches. This size can still be used for writing.. Calculation Example of inch in foot. The unit inch is an Anglo-Saxon measure from England but widely used in different fields and countries around the world 36 inches in 1 yard = 36+36+36+36+18=162 <-theres your answer. Why does he do it the long way?? There are 3 feet per yard. And if we were to multiply 9/2 yards times 3 feet, this yard would be in the numerator. It'd be divided by this yard, and they would cancel out, and we'd just be left with feet\n\n### Body length - body height - size and length - feet - inches - meters\n\n1 feet kaç santimetre yada metre eder. Feet hesaplama aracımız ile kolayca dönüştürebilirsiniz. Feet ingilizcede ayak anlamına gelmektedir. Bu kelimenin çoğulu ise foot yani ayaklar kelimesidir. İngilizlere özgü bir ölçü birimidir inch metre. metre inç. foot cm. mil kilometre Select height unit nanometres (nm) micrometres (µm) thousands of an inch (thou) millimetres (mm) centimetres (cm) inches (in) feet (ft) yards (yd) metres (m) kilometres (km) miles (mi) nautical miles (nmi). Calculate Volume [? 1 feet kaç metre? Feet hakkında en çok merak edilen sizler tarafından sorulan sorular... (Yaklaşık bir değer olarak 1 metre 3 feet demektir.) Aşağıdaki tabloda çevirmek istediğiniz değeri girip Çevir butonuna tıklayınız. Metre ya da fit değeri girerek birbirine çevirebilirsiniz\n\n1 Дюйм (Inch) = 25.40 мм или 2.54 см. 1 Фут = 12 дюймов Города. Страны Average height to weight ratio chart by age for kids and teenage girls and boys in inches - pounds and centimeters - kilograms. Every baby, child, and teenager is different in the way they mature and grow during their teen years\n\n• Workshop klassiek scheren.\n• Dog breeds big.\n• Müllabfuhr ratingen 2018.\n• When was the declaration of independence.\n• Led scheinwerfer suzuki bandit.\n• Pokémon the movie i choose you full movie online free.\n• Bergen håndballklubb.\n• Vær. forkortelse.\n• Adventskonsert i gamle logen la traviata 3 desember.\n• Raw no.\n• Feelunique code.\n• Herr der ringe fans.\n• Harley davidson 1450 engine specs.\n• Argentina fotball 2017.\n• Tiguan hybrid 2018.\n• For mye magesyre kjerringråd.\n• Bunker kaufen hessen.\n• Nocturne.\n• Salgstider øl trondheim.\n• Washed linen kalkmaling.\n• Holdbarhet eggeplommer.\n• Kärnten seen.\n• Morsomme stedsnavn.\n• Kjøp bibel 2011.\n• Falke bilder.\n• Blåklokker sang.\n• Zunge am rand gewellt.\n• Hvordan sette opp åpningsbalanse.\n• Onleihe app funktioniert nicht.\n• Allgemeine zeitung mainz/ bekanntschaften.\n• Tenacious d in the pick of destiny rollebesetning.\n• Felg og dekk gjøvik.\n• Aufbau einer zeitung titelseite.\n• Heidi klara."
] | [
null,
"https://matin-indul.com/uyo/V1UEioVE_20ib70pPoiOKAAAAA.jpg",
null,
"https://matin-indul.com/uyo/apT3pZdCA8lbZ-7dbICPpQHaGV.jpg",
null,
"https://matin-indul.com/uyo/0e4CLsgTlgw.jpeg",
null,
"https://matin-indul.com/uyo/bi_nAxjDPk_irR5kARC4UQHaLE.jpg",
null,
"https://matin-indul.com/uyo/Ze_NglPzUiRNwiOCmau47QHaG6.jpg",
null,
"https://matin-indul.com/uyo/wf5fCJsiXhw7LeYv_Hau4QHaHa.jpg",
null,
"https://matin-indul.com/uyo/a3tl0u3PwsF4s0Hq-ur6XwHaLm.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8769517,"math_prob":0.9659332,"size":15511,"snap":"2022-27-2022-33","text_gpt3_token_len":4555,"char_repetition_ratio":0.15792868,"word_repetition_ratio":0.048550725,"special_character_ratio":0.27103347,"punctuation_ratio":0.115776844,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9637455,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,1,null,1,null,1,null,1,null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-19T21:06:49Z\",\"WARC-Record-ID\":\"<urn:uuid:8243f301-ac95-4aeb-a62e-18323c1c5ac2>\",\"Content-Length\":\"35251\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:fe36e128-fdfd-4c10-8d3c-95ea6b1e096c>\",\"WARC-Concurrent-To\":\"<urn:uuid:0f404fa4-8c9a-41a6-8ff8-4e88894f1a0d>\",\"WARC-IP-Address\":\"5.45.65.108\",\"WARC-Target-URI\":\"https://matin-indul.com/us/en/stp1034hd0de\",\"WARC-Payload-Digest\":\"sha1:WSQW7ERFZLASFJYGRJLNUOEBHHHA4M75\",\"WARC-Block-Digest\":\"sha1:WJFIJXTEZCTZXBKWJ2VRK4QGJD25VINQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882573760.75_warc_CC-MAIN-20220819191655-20220819221655-00121.warc.gz\"}"} |
https://proceedings.neurips.cc/paper/2019/hash/04df4d434d481c5bb723be1b6df1ee65-Abstract.html | [
"#### Authors\n\nKamalika Chaudhuri, Jacob Imola, Ashwin Machanavajjhala\n\n#### Abstract\n\n<p>Differential privacy, a notion of algorithmic stability, is a gold standard for measuring the additional risk an algorithm's output poses to the privacy of a single record in the dataset. Differential privacy is defined as the distance between the output distribution of an algorithm on neighboring datasets that differ in one entry. In this work, we present a novel relaxation of differential privacy, capacity bounded differential privacy, where the adversary that distinguishes output distributions is assumed to be capacity-bounded -- i.e. bounded not in computational power, but in terms of the function class from which their attack algorithm is drawn. We model adversaries in terms of restricted f-divergences between probability distributions, and study properties of the definition and algorithms that satisfy them.</p>"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.92131644,"math_prob":0.90913033,"size":963,"snap":"2020-45-2020-50","text_gpt3_token_len":187,"char_repetition_ratio":0.1282586,"word_repetition_ratio":0.0,"special_character_ratio":0.17757009,"punctuation_ratio":0.094936706,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9800988,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-24T07:06:24Z\",\"WARC-Record-ID\":\"<urn:uuid:3899dbc2-846f-413c-acab-23955eb144de>\",\"Content-Length\":\"8127\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6df8d09d-7a0d-4641-a9fd-3add5e851f6f>\",\"WARC-Concurrent-To\":\"<urn:uuid:8c013580-5c93-4e2e-a104-b7921c755c97>\",\"WARC-IP-Address\":\"198.202.70.94\",\"WARC-Target-URI\":\"https://proceedings.neurips.cc/paper/2019/hash/04df4d434d481c5bb723be1b6df1ee65-Abstract.html\",\"WARC-Payload-Digest\":\"sha1:J2QL4XKVZVO5DRUT6Z6Y4CHPAOXYL7KF\",\"WARC-Block-Digest\":\"sha1:QBQ4WXJ35B2BA64NLLWPCJCDLZEZQ3XN\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141171126.6_warc_CC-MAIN-20201124053841-20201124083841-00041.warc.gz\"}"} |
https://percent-of.com/calculate/what-is-21-of-8125/ | [
"# We use percentages in almost everything.\n\nPercentages are a very important part of our daily lives. They are used in Economics, Cooking, Health, Sports, Mathematics, Science, Jewellery, Geography, Medicine and many other areas.\n\n## Percent of Calculator\n\nCalculate percentage of X, quick & simple.\n\n%\n?\n\n21% of 8125 is:\n1706.25\n\n## Percent of - Table For 8125\n\nPercent of Difference\n1% of 8125 is 81.25 8043.75\n2% of 8125 is 162.5 7962.5\n3% of 8125 is 243.75 7881.25\n4% of 8125 is 325 7800\n5% of 8125 is 406.25 7718.75\n6% of 8125 is 487.5 7637.5\n7% of 8125 is 568.75 7556.25\n8% of 8125 is 650 7475\n9% of 8125 is 731.25 7393.75\n10% of 8125 is 812.5 7312.5\n11% of 8125 is 893.75 7231.25\n12% of 8125 is 975 7150\n13% of 8125 is 1056.25 7068.75\n14% of 8125 is 1137.5 6987.5\n15% of 8125 is 1218.75 6906.25\n16% of 8125 is 1300 6825\n17% of 8125 is 1381.25 6743.75\n18% of 8125 is 1462.5 6662.5\n19% of 8125 is 1543.75 6581.25\n20% of 8125 is 1625 6500\n21% of 8125 is 1706.25 6418.75\n22% of 8125 is 1787.5 6337.5\n23% of 8125 is 1868.75 6256.25\n24% of 8125 is 1950 6175\n25% of 8125 is 2031.25 6093.75\n26% of 8125 is 2112.5 6012.5\n27% of 8125 is 2193.75 5931.25\n28% of 8125 is 2275 5850\n29% of 8125 is 2356.25 5768.75\n30% of 8125 is 2437.5 5687.5\n31% of 8125 is 2518.75 5606.25\n32% of 8125 is 2600 5525\n33% of 8125 is 2681.25 5443.75\n34% of 8125 is 2762.5 5362.5\n35% of 8125 is 2843.75 5281.25\n36% of 8125 is 2925 5200\n37% of 8125 is 3006.25 5118.75\n38% of 8125 is 3087.5 5037.5\n39% of 8125 is 3168.75 4956.25\n40% of 8125 is 3250 4875\n41% of 8125 is 3331.25 4793.75\n42% of 8125 is 3412.5 4712.5\n43% of 8125 is 3493.75 4631.25\n44% of 8125 is 3575 4550\n45% of 8125 is 3656.25 4468.75\n46% of 8125 is 3737.5 4387.5\n47% of 8125 is 3818.75 4306.25\n48% of 8125 is 3900 4225\n49% of 8125 is 3981.25 4143.75\n50% of 8125 is 4062.5 4062.5\n51% of 8125 is 4143.75 3981.25\n52% of 8125 is 4225 3900\n53% of 8125 is 4306.25 3818.75\n54% of 8125 is 4387.5 3737.5\n55% of 8125 is 4468.75 3656.25\n56% of 8125 is 4550 3575\n57% of 8125 is 4631.25 3493.75\n58% of 8125 is 4712.5 3412.5\n59% of 8125 is 4793.75 3331.25\n60% of 8125 is 4875 3250\n61% of 8125 is 4956.25 3168.75\n62% of 8125 is 5037.5 3087.5\n63% of 8125 is 5118.75 3006.25\n64% of 8125 is 5200 2925\n65% of 8125 is 5281.25 2843.75\n66% of 8125 is 5362.5 2762.5\n67% of 8125 is 5443.75 2681.25\n68% of 8125 is 5525 2600\n69% of 8125 is 5606.25 2518.75\n70% of 8125 is 5687.5 2437.5\n71% of 8125 is 5768.75 2356.25\n72% of 8125 is 5850 2275\n73% of 8125 is 5931.25 2193.75\n74% of 8125 is 6012.5 2112.5\n75% of 8125 is 6093.75 2031.25\n76% of 8125 is 6175 1950\n77% of 8125 is 6256.25 1868.75\n78% of 8125 is 6337.5 1787.5\n79% of 8125 is 6418.75 1706.25\n80% of 8125 is 6500 1625\n81% of 8125 is 6581.25 1543.75\n82% of 8125 is 6662.5 1462.5\n83% of 8125 is 6743.75 1381.25\n84% of 8125 is 6825 1300\n85% of 8125 is 6906.25 1218.75\n86% of 8125 is 6987.5 1137.5\n87% of 8125 is 7068.75 1056.25\n88% of 8125 is 7150 975\n89% of 8125 is 7231.25 893.75\n90% of 8125 is 7312.5 812.5\n91% of 8125 is 7393.75 731.25\n92% of 8125 is 7475 650\n93% of 8125 is 7556.25 568.75\n94% of 8125 is 7637.5 487.5\n95% of 8125 is 7718.75 406.25\n96% of 8125 is 7800 325\n97% of 8125 is 7881.25 243.75\n98% of 8125 is 7962.5 162.5\n99% of 8125 is 8043.75 81.25\n100% of 8125 is 8125 0\n\n### Here's How to Calculate 21% of 8125\n\nLet's take a quick example here:\n\nYou have a Target coupon of \\$8125 and you need to know how much will you save on your purchase if the discount is 21 percent.\n\nSolution:\n\nAmount Saved = Original Price x Discount in Percent / 100\n\nAmount Saved = (8125 x 21) / 100\n\nAmount Saved = 170625 / 100\n\nIn other words, a 21% discount for a purchase with an original price of \\$8125 equals \\$1706.25 (Amount Saved), so you'll end up paying 6418.75.\n\n### Calculating Percentages\n\nSimply click on the calculate button to get the results of percentage calculations. You will see the result on the next page. If there are errors in the input fields, the result page will be blank. The program allows you to calculate the difference between two numbers in percentages. You can also input a percentage of any number and get the numeric value. Although it is a simple calculator, it can be very useful in many scenarios. Our goal is to give you an easy to use percentage calculator that gives you results you want fast.\n\nPercentage in mathematics refers to fractions based in 100. It is usually represented by “%,” “pct,” or “percentage.” This web app allows a comma or dot as a decimal separator. So you can use both freely.\n\nWe have provided several examples for you to use. You can use the examples to feed in your own data correctly. We hope you will find this site useful for calculang percentages. You can even use it for crosschecking the accuracy of your assignment results.\n\nNB. Americans use “percent,” which the British prefer “per cent.”\n\n#### Examples\n\nExample one\n\nCalculate 20% of 200?\n20% of 200 =____\n(200/100) x 20 = _____\n2 x 20 = 40\n\nIt is quite easy. Just divide 200 by 100 to get one percent. The result is 2. Then multiply it by 20 ( 20% = 20 per hundred) = 20 x 2 = 40\n\nExample two\n\nWhat percentage of 125 is 50?\n\n50 = ---% of 125\n50 x (100/125) = 40%\n\nGet the value of one percent by dividing 100 by 125. After that, multiply the value by 50 to get the percentage value of 50 units, which is 40% That is how to calculate the percentage.\n\nExample three\n\nWhat is the percentage (%) change (increase or decrease) from 120 to 150?\n\n(150-120) x (100/120) = 36\n\nSince 150 represents 100%. One percent will be equal to 100/150. 150-120 is 30. Therefore, 30 units represents 30 x (100/150) = 36 % This is how to calculate the percentage increase.\n\nwe do not use a percentage at all times. There are scenarios where we simply want to show the ratio of numbers. For instance, what is 20% of 50? This can also be interpreted as 20 hundredths of 50. This equates to 20/100 x 50 = 10.\n\nYou can use a calculation trick here. Anyme you want to divide a number by 100, just move the decimal two places to the left. 20/100 x 50 calculated above can also be writen as (20 x 50)/100. Since 20x 50 =1000. You can simply divide 1000 by 100 by moving two decimal places to the left, which gives you 10.\n\nIn another scenario, you want to calculate the percentage increase or decrease. Supposing you have \\$10 and spend \\$2 to buy candy, then you have spent 20% of your money. So how much will be remaining? All the money you have is 100%, if you spend 20%, you will have 80% remaining. You can simply use the percentage reduction tool above to calculate this value.\n\n#### Origin\n\nThe word percent is derived from the Latin word percenter which means per hundred, and it is designated by %"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.89872336,"math_prob":0.9929335,"size":6864,"snap":"2020-10-2020-16","text_gpt3_token_len":2633,"char_repetition_ratio":0.25932944,"word_repetition_ratio":0.039412674,"special_character_ratio":0.55332166,"punctuation_ratio":0.14464286,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9998326,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-02-25T06:58:23Z\",\"WARC-Record-ID\":\"<urn:uuid:3d73bcb1-572d-445a-b909-112cbb18438f>\",\"Content-Length\":\"47563\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b412bef3-128c-4764-b59c-600cdcd99606>\",\"WARC-Concurrent-To\":\"<urn:uuid:5469c74d-5cec-48e4-b75a-5161363f77d1>\",\"WARC-IP-Address\":\"209.42.195.149\",\"WARC-Target-URI\":\"https://percent-of.com/calculate/what-is-21-of-8125/\",\"WARC-Payload-Digest\":\"sha1:6KDTN2JOY3TIOX5XEEX3OBJFAJIA4DDI\",\"WARC-Block-Digest\":\"sha1:3CVE3C6BYKNO2WO4Z6YXOIKBPTXTATON\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-10/CC-MAIN-2020-10_segments_1581875146033.50_warc_CC-MAIN-20200225045438-20200225075438-00043.warc.gz\"}"} |
https://answers.everydaycalculation.com/divide-fractions/9-63-divided-by-49-72 | [
"Solutions by everydaycalculation.com\n\n## Divide 9/63 with 49/72\n\n9/63 ÷ 49/72 is 72/343.\n\n#### Steps for dividing fractions\n\n1. Find the reciprocal of the divisor\nReciprocal of 49/72: 72/49\n2. Now, multiply it with the dividend\nSo, 9/63 ÷ 49/72 = 9/63 × 72/49\n3. = 9 × 72/63 × 49 = 648/3087\n4. After reducing the fraction, the answer is 72/343\n\nMathStep (Works offline)",
null,
"Download our mobile app and learn to work with fractions in your own time:"
] | [
null,
"https://answers.everydaycalculation.com/mathstep-app-icon.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.82199764,"math_prob":0.9171696,"size":267,"snap":"2023-40-2023-50","text_gpt3_token_len":94,"char_repetition_ratio":0.14068441,"word_repetition_ratio":0.0,"special_character_ratio":0.3857678,"punctuation_ratio":0.08928572,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9686116,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-11-29T08:52:04Z\",\"WARC-Record-ID\":\"<urn:uuid:3c7c796e-18d6-4c9b-bd16-0b90445399f0>\",\"Content-Length\":\"6892\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4043db89-7022-4f16-92aa-2c8c2f0639cf>\",\"WARC-Concurrent-To\":\"<urn:uuid:5eb68c15-1e6e-478a-991d-5e68c1df2a64>\",\"WARC-IP-Address\":\"96.126.107.130\",\"WARC-Target-URI\":\"https://answers.everydaycalculation.com/divide-fractions/9-63-divided-by-49-72\",\"WARC-Payload-Digest\":\"sha1:3SW5B43PU2GRAKVLADQCLIFCYOKYNWSV\",\"WARC-Block-Digest\":\"sha1:QQYGTNOOM5Q47MLI2ZZYFDFOBRYBVZ2D\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100057.69_warc_CC-MAIN-20231129073519-20231129103519-00714.warc.gz\"}"} |
https://docs.adaptive-vision.com/avl/datatypes/Image.html | [
"# Image\n\n### Description\n\nThe Image data type stores information about dimensions, pixel format and raw pixel values. The list of possible formats is similar to the one from the OpenCV library – there can be from 1 to 4 channels and 6 possible primitive types:\n\n• sint8 - integer number from -128 to 127\n• uint8 - integer number from 0 to 255\n• sint16 - integer number from -32768 to 32767\n• uint16 - integer number from 0 to 65535\n• sint32 - integer number from -2147483648 to 2147483647\n• real - real (floating point) number\n\nFor maximum flexibility handling of specific color spaces is left to appropriate filters.",
null,
"A single-channel image.",
null,
"A 3-channel RGB image.",
null,
"A 3-channel HSV image displayed as RGB.\n\n## Geometrical Coordinates\n\nIf w and h are the image dimensions, then all real-valued coordinates within the image are included in the ranges from 0.0 to w and from 0.0 to h (right-open). The top left pixel of the image covers the square area with the top-left corner at (0.0, 0.0) and the bottom-right corner at (w, h). The X axis is directed to the right, the Y axis downwards.\n\nAngles are in degrees – from 0 to 360. For directions, the angle 0 denotes the direction of the X axis, i.e. the direction from left to right. The angles increase in the clock-wise manner.",
null,
"## Memory Representation\n\nWhen writing user filters you need to know the memory representation of images. The pixel data of an image is stored in a continuous memory buffer of the following structure:\n\n• First in the buffer comes the upper-left pixel.\n• Then follow the remaining pixels of the first row.\n• Channels are interleaved, i.e. all components of a single pixel are located at neighboring memory addresses.\n• There might be a memory padding at the end of each row (including the last one) to improve memory alignment.\n• The offset of the beginning of the k'th row is equal to 'k * pitch', where 'pitch' is the byte-distance between consecutive rows. Due to row padding this might be different than 'pixel_size * width'.\n\n## Remarks\n\n• A region of interest, if required, is supposed to be provided as a separate object.\n• Single image can allocate no more than 2GB of memory.\n• Maximum image single dimension is 65535 (because regions use 16-bit integers for performance reasons).\n\n## Library Definition\n\nclass Image\n{\nprotected:\nint width; // number of pixel columns\nint height; // number of pixel rows\nint pitch; // byte-distance between consecutive rows\nPlainType::Type type; // type of channels\nint depth; // number of channels\natl::Blob blob; // the pixel data\nint pixelSize; // byte-size of a pixel (computed from 'type' and 'depth')\n\npublic:\n/// Constructor used for images, which will be created later, e.g. by 'LoadFromBmp' function\nImage();\n\n/// Constructor used for creating new images\nImage( int width, int height, PlainType::Type type, int depth, atl::Optional< const Region&&> inRoi );\n\n/// Constructor used for creating wrappers on existing data\nImage( int width, int height, int pitch, PlainType::Type type, int depth, void* data );\n\n/// Copying constructor. Performs deep data copy\nImage( const Image& rhs );\n\n~Image();\n\n/// Deep data copy\nImage& operator = ( const Image& rhs );\n\nvoid Reset();\n\n/// Iff the format is different then recreates the image (pixel data will be own).\n/// Typically used for (re-)creating output images in image processing functions.\nvoid Reset( int width, int height, PlainType::Type type, int depth,\natl::Optional< const Region&&> inRoi );\nvoid Reset( const Image& rhs, atl::Optional< const Region&&> inRoi );\n\n/// Turns the image into a wrapper of external data (pixel data will be NOT own)\nvoid Reset( int width, int height, int pitch, PlainType::Type type, int depth,\nvoid* data );\n\ninline int Width () const;\ninline int Height() const;\ninline int Pitch () const;\ninline int Area () const;\ninline Box Frame() const;\n\n/// Number of channels (standard RGB images have 3)\ninline int Depth() const;\n\n/// Type of channels (standard RGB images have UINT8)\ninline PlainType::Type Type() const;\n\ninline PixelFormat Format() const;\n\n/// Size of pixels in bytes\ninline int PixelSize() const;\n\nvoid* Data();\nconst void* Data() const;\n\n/// Returns pointer to pixels memory which since that point will\n/// be owned externally (this image will not delete it in the destructor).\nvoid* Release();\n\n/// Helper method for range checking\nbool HasLocation( int x, int y ) const;\nbool HasLocation( Location p ) const;\nbool HasPoint( float x, float y ) const;\n\nint PtrToX( const void* ptr ) const;\nint PtrToY( const void* ptr ) const;\n\ntemplate < typename P&> P* RowBegin( int i );\ntemplate < typename P&> const P* RowBegin( int i ) const;\ntemplate < typename P&> P* RowEnd ( int i );\ntemplate < typename P&> const P* RowEnd ( int i ) const;\n\ntemplate < typename P&> P* Ptr( int x, int y );\ntemplate < typename P&> const P* Ptr( int x, int y ) const;\ntemplate < typename P&> P* Ptr( const Location& p );\ntemplate < typename P&> const P* Ptr( const Location& p ) const;\n\ntemplate < typename P&> P& Value( int x, int y );\ntemplate < typename P&> const P& Value( int x, int y ) const;\ntemplate < typename P&> P& Value( const Location& p );\ntemplate < typename P&> const P& Value( const Location& p ) const;\n}\n\n\nMethods:\n\n• int Width() - returns number of pixel columns\n• int Height() - returns number of pixel rows\n• int Pitch() - returns byte-distance between consecutive rows\n• PlainType Type() - returns type of pixel components\n• int Depth() - returns number of channels\n• void* Data() - returns pointer to image data buffer\n• T* RowBegin<T>( int i ) - returns pointer to first element in image row\n• T* RowEnd<T>( int i ) - returns pointer to first after last element in image row\n• T* Ptr<T>( int x, int y ) - returns pointer to element at specified coordinates\n• T& Value<T>( int i ) - allows to access pixel value at specified coordinates"
] | [
null,
"https://docs.adaptive-vision.com/avl/img/manual/LenaMono.png",
null,
"https://docs.adaptive-vision.com/avl/img/manual/LenaRgb.png",
null,
"https://docs.adaptive-vision.com/avl/img/manual/LenaHsv.png",
null,
"https://docs.adaptive-vision.com/avl/img/datatypes/Coordinates.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.6431403,"math_prob":0.91849077,"size":5747,"snap":"2020-24-2020-29","text_gpt3_token_len":1380,"char_repetition_ratio":0.14765802,"word_repetition_ratio":0.1673428,"special_character_ratio":0.27005395,"punctuation_ratio":0.13408877,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97142315,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,3,null,3,null,3,null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-05T06:39:56Z\",\"WARC-Record-ID\":\"<urn:uuid:511a497d-027e-462f-849c-7f0b5b5f3ce3>\",\"Content-Length\":\"16665\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e7034a5c-9355-40eb-b981-df4c21477cbd>\",\"WARC-Concurrent-To\":\"<urn:uuid:57b57ea3-b708-4fa9-adbc-59a014435c03>\",\"WARC-IP-Address\":\"91.227.37.63\",\"WARC-Target-URI\":\"https://docs.adaptive-vision.com/avl/datatypes/Image.html\",\"WARC-Payload-Digest\":\"sha1:TU5XEZIDV5UTRTRAAZ7P6PEYBKAWDXWX\",\"WARC-Block-Digest\":\"sha1:VRR6GZ7JTWJCAB2FOW62NKSSCP7FCZ6N\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593655887046.62_warc_CC-MAIN-20200705055259-20200705085259-00182.warc.gz\"}"} |
https://celestialtutors.com/topic/separable-differential-equations/embed/ | [
"What is separable differential equation? A differential Equation is separable if it can be written as f(y) dy= g(x) dx. Its solution can be found by integration both sides. A differential equation where we are able to move all y terms and dy to left and all x terms along with dx to right side, … Continue reading Separable Differential Equations"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9217011,"math_prob":0.9981774,"size":486,"snap":"2021-21-2021-25","text_gpt3_token_len":103,"char_repetition_ratio":0.17634855,"word_repetition_ratio":0.0,"special_character_ratio":0.19341564,"punctuation_ratio":0.044444446,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9758027,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-14T13:04:45Z\",\"WARC-Record-ID\":\"<urn:uuid:fb2c0b20-f299-4dfc-a2ef-23e72a803520>\",\"Content-Length\":\"20157\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d08b23de-9272-416e-a0aa-fdd6923cb316>\",\"WARC-Concurrent-To\":\"<urn:uuid:557cb729-410d-4b0d-8c8d-8519dfbb4e3c>\",\"WARC-IP-Address\":\"122.160.61.100\",\"WARC-Target-URI\":\"https://celestialtutors.com/topic/separable-differential-equations/embed/\",\"WARC-Payload-Digest\":\"sha1:RL4ZZF6A4DK5OFSUW7HVA3UWWU2Y4GYP\",\"WARC-Block-Digest\":\"sha1:AEYGAY42LIWQHHAMKAPSGRCCMJHUOMLE\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623487612154.24_warc_CC-MAIN-20210614105241-20210614135241-00501.warc.gz\"}"} |
https://www.math-dictionary.com/what-is-a-sum.html | [
"# What is a Sum in Math? Definition and Examples\n\nWhat is a sum in math? In math, a sum is the result of an addition. For example, in 16 + 4 = 20, 20 is the sum.",
null,
"## Other examples of sum in math\n\n1. In 5 + 4 = 9, 9 is the sum\n\n2. In 10 + 10 = 20, 20 is the sum\n\n3. In -5 + 4 = -1, -1 is the sum\n\n4. In 6x + 5y + -2x + y + z = 4x + 6y + z, 4x + 6y + z is the sum\n\n5. In 3x2 + 2x2 = 5x2, 5x2 is the sum"
] | [
null,
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 289 250'%3E%3C/svg%3E",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9039156,"math_prob":1.000005,"size":725,"snap":"2023-40-2023-50","text_gpt3_token_len":255,"char_repetition_ratio":0.14285715,"word_repetition_ratio":0.0116959065,"special_character_ratio":0.37931034,"punctuation_ratio":0.17204301,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000092,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-10-04T03:48:32Z\",\"WARC-Record-ID\":\"<urn:uuid:93a9d1ae-16a5-4a22-a319-53c86f211463>\",\"Content-Length\":\"23395\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7a6cecdc-5806-4d58-a79d-a170fc0b79db>\",\"WARC-Concurrent-To\":\"<urn:uuid:e2109101-2372-4dd0-86e5-e7cf0d308962>\",\"WARC-IP-Address\":\"173.247.218.135\",\"WARC-Target-URI\":\"https://www.math-dictionary.com/what-is-a-sum.html\",\"WARC-Payload-Digest\":\"sha1:2GZM2HVJKXVIYYMKKFJAHLHSLFAIRU6X\",\"WARC-Block-Digest\":\"sha1:TYJ4RLWM2AQ2ZC2V5YBMIVD4PJXLEE5J\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233511351.18_warc_CC-MAIN-20231004020329-20231004050329-00300.warc.gz\"}"} |
https://markov-bases.de/search.php?perpage=20&offset=280&sortby=reducible | [
"",
null,
"# The Markov Bases Database\n\n## 298 entries found\n\nDidn't find what you were looking for? Write us an email.\n\n1. N is the number of random variables for those models where the state space is a product space.\n2. dim is the dimension of the model. dim+1 is the rank of the sufficient statistics matrix.\n3. d is the cardinality of the state space.\n4. The properties in the table are:\n• binary: binary variables\n• hierarchical: is it hierarchical\n• graph: is it a graph-model\n• graphical: is it a graphical (clique) model\n• normal: is the semigroup normal\n• unique: is the Markov Basis unique\n• reducible: is the model reducible; that is, does the simplicial complex have a complete separator?\n5. deg is the Markov degree, the highest degree of an element in any minimial Markov basis.\n6. The size of a minimal Markov basis.\n7. The number of symmetry classes (usually the maximal symmetry)."
] | [
null,
"https://markov-bases.de/img/MBDB5.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.6598107,"math_prob":0.9886326,"size":2479,"snap":"2021-43-2021-49","text_gpt3_token_len":879,"char_repetition_ratio":0.20121212,"word_repetition_ratio":0.43881118,"special_character_ratio":0.4405002,"punctuation_ratio":0.04918033,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9982086,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-11-28T02:51:07Z\",\"WARC-Record-ID\":\"<urn:uuid:10bb5926-e688-437e-88a5-c35776b1276f>\",\"Content-Length\":\"54975\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0399de46-e3bf-4aae-9c1a-640843a2e691>\",\"WARC-Concurrent-To\":\"<urn:uuid:7c09bb3b-123b-4390-908f-55b9378f6e4f>\",\"WARC-IP-Address\":\"185.233.107.174\",\"WARC-Target-URI\":\"https://markov-bases.de/search.php?perpage=20&offset=280&sortby=reducible\",\"WARC-Payload-Digest\":\"sha1:5BYMKMNSN6JMOXTPKCZLDKZ7VC4J3AGZ\",\"WARC-Block-Digest\":\"sha1:QDKSCLKTDR4EB3UGS7VHCBXYSSGSIC3B\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964358443.87_warc_CC-MAIN-20211128013650-20211128043650-00268.warc.gz\"}"} |
https://engvle.com/course/info.php?id=280 | [
"### MATH2230 | S1_2021/22: Engineering Mathematics II\n\nVector calculus: parametric curves and arc length, review of partial differentiation, vector fields, line integrals and double integrals, Green’s theorem, surface integrals, triple integrals and Divergence theorem. Laplace transforms: definition and existence of Laplace transforms, properties of Laplace transforms (linearity, inverse transform, shift formulae, Laplace transform of derivatives), applications and further properties of Laplace transforms (solving differential equations, convolution and integral equations, Dirac’s delta function, differentiation of transforms, Gamma function). Fourier series: definitions, convergence, even and odd functions, half range expansions. Partial differential equations: definitions, heat equation (derivation, solution by separation of variables, insulated ends as boundary conditions, nonhomogeneous boundary conditions), wave equation (derivation, solution by separation of variables), Laplace’s equation in Cartesian and polar coordinates.",
null,
""
] | [
null,
"https://engvle.com/pluginfile.php/13617/course/overviewfiles/Engineering%20Mathematics.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8270883,"math_prob":0.9969706,"size":1017,"snap":"2021-43-2021-49","text_gpt3_token_len":186,"char_repetition_ratio":0.16584402,"word_repetition_ratio":0.03448276,"special_character_ratio":0.16224189,"punctuation_ratio":0.21794872,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99899,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-18T14:49:31Z\",\"WARC-Record-ID\":\"<urn:uuid:e4a883ec-ba1a-438d-af4d-c2857a42f283>\",\"Content-Length\":\"46199\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:86501fcf-3746-4953-a7ec-1ddf84db8002>\",\"WARC-Concurrent-To\":\"<urn:uuid:b638b248-392b-4c39-bacb-7af0890caf72>\",\"WARC-IP-Address\":\"184.154.120.218\",\"WARC-Target-URI\":\"https://engvle.com/course/info.php?id=280\",\"WARC-Payload-Digest\":\"sha1:IB3HV5XGBPKVCKTRFHEFLD6UZLUPFOQT\",\"WARC-Block-Digest\":\"sha1:BXLXPQFA5ZYQYU4P7MGE6UOGRRN3NIIH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585203.61_warc_CC-MAIN-20211018124412-20211018154412-00326.warc.gz\"}"} |
https://spotcpp.com/2022/03/23/neural-networks-and-constants/ | [
"# Neural Networks and Constants\n\nIn my research, it is possible to train a network and have it learn about a constant such as PI, and put it to use in its function. However, if we pass PI in as an input, rather than having to ‘teach’ PI, then training is worlds faster. The network merely learns to use PI rather than derive it and use it simultaneously (though this is possible). It seems like if there are any sort of constants which could be useful to the function, then they should be passed in. Maybe this can be extended to full equations. Rather than the network learning to derive a given equation or function, those definitions can be passed into the network along with constants and other inputs instead. In this way, networks can be ‘educated’."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9701658,"math_prob":0.9236397,"size":722,"snap":"2022-40-2023-06","text_gpt3_token_len":152,"char_repetition_ratio":0.11142062,"word_repetition_ratio":0.0,"special_character_ratio":0.21052632,"punctuation_ratio":0.10204082,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9670249,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-02T08:22:08Z\",\"WARC-Record-ID\":\"<urn:uuid:41134d6d-c60d-4c46-abfd-308b9aeccb64>\",\"Content-Length\":\"75008\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e1b87dd6-3c35-4005-aa2c-227b003c483e>\",\"WARC-Concurrent-To\":\"<urn:uuid:dbb6ab46-06c8-4b29-87f7-2d1233b77951>\",\"WARC-IP-Address\":\"192.0.78.25\",\"WARC-Target-URI\":\"https://spotcpp.com/2022/03/23/neural-networks-and-constants/\",\"WARC-Payload-Digest\":\"sha1:DUQUNMRCSS6S4VWIJONQWL6VOG7CUA2A\",\"WARC-Block-Digest\":\"sha1:S7WOJMJDDQBKJZNKRL5KZHSJ6YSBAA2E\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764499967.46_warc_CC-MAIN-20230202070522-20230202100522-00424.warc.gz\"}"} |
https://www.gurufocus.com/term/Total+Assets/HMC/Total-Assets/Honda-Motor-Co | [
"Switch to:\n\n# Honda Motor Co Total Assets\n\n: \\$186,950 Mil (As of Jun. 2020)\nView and export this data going back to 1977. Start your Free Trial\n\nHonda Motor Co's Total Assets for the quarter that ended in Jun. 2020 was \\$186,950 Mil.\n\nDuring the past 12 months, Honda Motor Co's average Total Assets Growth Rate was -2.50% per year. During the past 3 years, the average Total Assets Growth Rate was 1.80% per year. During the past 5 years, the average Total Assets Growth Rate was 1.40% per year. During the past 10 years, the average Total Assets Growth Rate was 6.40% per year.\n\nDuring the past 13 years, Honda Motor Co's highest 3-Year average Total Assets Growth Rate was 18.50%. The lowest was -3.70%. And the median was 8.85%.\n\nTotal Assets is connected with ROA %. Honda Motor Co's annualized ROA % for the quarter that ended in Jun. 2020 was -1.60%. Total Assets is also linked to Revenue through Asset Turnover. Honda Motor Co's Asset Turnover for the quarter that ended in Jun. 2020 was 0.10.\n\n## Honda Motor Co Total Assets Historical Data\n\n* All numbers are in millions except for per share data and ratio. All numbers are in their local exchange's currency.\n\n Honda Motor Co Annual Data Mar11 Mar12 Mar13 Mar14 Mar15 Mar16 Mar17 Mar18 Mar19 Mar20 Total Assets",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"161,418.75 167,895.06 182,458.73 183,717.22 190,043.45\n\nCompetitive Comparison\n* Competitive companies are chosen from companies within the same industry, with headquarter located in same country, with closest market capitalization; x-axis shows the market cap, and y-axis shows the term value; the bigger the dot, the larger the market cap.\n\nHonda Motor Co Total Assets Distribution\n\n* The bar in red indicates where Honda Motor Co's Total Assets falls into.\n\n## Honda Motor Co Total Assets Calculation\n\nTotal Assets are all the assets a company owns.\n\nFrom the capital sources of the assets, some of the assets are funded through shareholder's paid in capital and retained earnings of the business. Others are funded through borrowed money.\n\nHonda Motor Co's Total Assets for the fiscal year that ended in Mar. 2020 is calculated as\n\n Total Assets = Total Equity (A: Mar. 2020 ) + Total Liabilities (A: Mar. 2020 ) = 76959.513241253 + 113083.93541957 = 190,043\n\nHonda Motor Co's Total Assets for the quarter that ended in Jun. 2020 is calculated as\n\n Total Assets = Total Equity (Q: Jun. 2020 ) + Total Liabilities (Q: Jun. 2020 ) = 75637.145815788 + 111312.75667375 = 186,950\n\n* All numbers are in millions except for per share data and ratio. All numbers are in their local exchange's currency.\n\nHonda Motor Co (NYSE:HMC) Total Assets Explanation\n\nTotal Assets is connected with ROA %.\n\nHonda Motor Co's annualized ROA % for the quarter that ended in Jun. 2020 is\n\n ROA % = Net Income (Q: Jun. 2020 ) / ( (Total Assets (Q: Mar. 2020 ) + Total Assets (Q: Jun. 2020 )) / count ) = -3006.9660953613 / ( (190043.44866083 + 186949.90248954) / 2 ) = -3006.9660953613 / 188496.67557518 = -1.60 %\n\nNote: The Net Income data used here is four times the quarterly (Jun. 2020) data.\n\nIn the article Joining The Dark Side: Pirates, Spies and Short Sellers, James Montier reported that In their US sample covering the period 1968-2003, Cooper et al find that firms with low asset growth outperformed firms with high asset growth by an astounding 20% p.a. equally weighted. Even when controlling for market, size and style, low asset growth firms outperformed high asset growth firms by 13% p.a. Therefore a company with fast asset growth may underperform.\n\nTotal Assets is linked to total revenue through Asset Turnover.\n\nHonda Motor Co's Asset Turnover for the quarter that ended in Jun. 2020 is\n\n Asset Turnover = Revenue (Q: Jun. 2020 ) / ( (Total Assets (Q: Mar. 2020 ) + Total Assets (Q: Jun. 2020 )) / count ) = 19741.685583139 / ( (190043.44866083 + 186949.90248954) / 2 ) = 19741.685583139 / 188496.67557518 = 0.10\n\n* All numbers are in millions except for per share data and ratio. All numbers are in their local exchange's currency.\n\nTherefore, if a company grows its Total Assets faster than its Revenue, the Asset Turnover will decline. This might be a warning sign for the business."
] | [
null,
"https://gurufocus.s3.amazonaws.com/images/blur.png",
null,
"https://gurufocus.s3.amazonaws.com/images/blur.png",
null,
"https://gurufocus.s3.amazonaws.com/images/blur.png",
null,
"https://gurufocus.s3.amazonaws.com/images/blur.png",
null,
"https://gurufocus.s3.amazonaws.com/images/blur.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8775661,"math_prob":0.88755196,"size":3725,"snap":"2020-45-2020-50","text_gpt3_token_len":1047,"char_repetition_ratio":0.16124697,"word_repetition_ratio":0.34108528,"special_character_ratio":0.35033557,"punctuation_ratio":0.15696888,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9730552,"pos_list":[0,1,2,3,4,5,6,7,8,9,10],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-26T08:10:06Z\",\"WARC-Record-ID\":\"<urn:uuid:cd7b5d89-66e2-487e-8cdc-e862a06c1951>\",\"Content-Length\":\"372927\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:84473aba-a3d2-4540-9b89-435a1312e7b8>\",\"WARC-Concurrent-To\":\"<urn:uuid:31232e93-35c3-4a53-8192-7e8ba882e068>\",\"WARC-IP-Address\":\"104.26.14.56\",\"WARC-Target-URI\":\"https://www.gurufocus.com/term/Total+Assets/HMC/Total-Assets/Honda-Motor-Co\",\"WARC-Payload-Digest\":\"sha1:W5TCBOIGUSNEANGUOGNWZMQG6AEWZSU2\",\"WARC-Block-Digest\":\"sha1:XC5YXNGRRXKU63VXNHFPFXGWUWCB2IOK\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107890586.57_warc_CC-MAIN-20201026061044-20201026091044-00705.warc.gz\"}"} |
https://www.numberempire.com/522729 | [
"Home | Menu | Get Involved | Contact webmaster",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"# Number 522729\n\nfive hundred twenty two thousand seven hundred twenty nine\n\n### Properties of the number 522729\n\n Factorization 3 * 3 * 241 * 241 Divisors 1, 3, 9, 241, 723, 2169, 58081, 174243, 522729 Count of divisors 9 Sum of divisors 758199 Previous integer 522728 Next integer 522730 Is prime? NO Previous prime 522719 Next prime 522737 522729th prime 7729031 Is a Fibonacci number? NO Is a Bell number? NO Is a Catalan number? NO Is a factorial? NO Is a regular number? NO Is a perfect number? NO Polygonal number (s < 11)? square(723) Binary 1111111100111101001 Octal 1774751 Duodecimal 212609 Hexadecimal 7f9e9 Square 273245607441 Square root 723 Natural logarithm 13.166818444318 Decimal logarithm 5.7182765945891 Sine -0.56598768398027 Cosine 0.82441369565446 Tangent -0.68653357769725\nNumber 522729 is pronounced five hundred twenty two thousand seven hundred twenty nine. Number 522729 is a composite number. Factors of 522729 are 3 * 3 * 241 * 241. Number 522729 has 9 divisors: 1, 3, 9, 241, 723, 2169, 58081, 174243, 522729. Sum of the divisors is 758199. Number 522729 is not a Fibonacci number. It is not a Bell number. Number 522729 is not a Catalan number. Number 522729 is not a regular number (Hamming number). It is a not factorial of any number. Number 522729 is a deficient number and therefore is not a perfect number. Number 522729 is a square number with n=723. Binary numeral for number 522729 is 1111111100111101001. Octal numeral is 1774751. Duodecimal value is 212609. Hexadecimal representation is 7f9e9. Square of the number 522729 is 273245607441. Square root of the number 522729 is 723. Natural logarithm of 522729 is 13.166818444318 Decimal logarithm of the number 522729 is 5.7182765945891 Sine of 522729 is -0.56598768398027. Cosine of the number 522729 is 0.82441369565446. Tangent of the number 522729 is -0.68653357769725\n\n### Number properties\n\nExamples: 3628800, 9876543211, 12586269025"
] | [
null,
"https://www.numberempire.com/images/graystar.png",
null,
"https://www.numberempire.com/images/graystar.png",
null,
"https://www.numberempire.com/images/graystar.png",
null,
"https://www.numberempire.com/images/graystar.png",
null,
"https://www.numberempire.com/images/graystar.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.5669179,"math_prob":0.98688626,"size":2298,"snap":"2020-34-2020-40","text_gpt3_token_len":750,"char_repetition_ratio":0.18831734,"word_repetition_ratio":0.09677419,"special_character_ratio":0.4464752,"punctuation_ratio":0.14460784,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9954406,"pos_list":[0,1,2,3,4,5,6,7,8,9,10],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-21T04:48:48Z\",\"WARC-Record-ID\":\"<urn:uuid:7478be7e-d891-493f-b743-8b425f42235b>\",\"Content-Length\":\"20797\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c760ffaa-2da4-4d00-a682-8da5825b324e>\",\"WARC-Concurrent-To\":\"<urn:uuid:914fb8da-7657-42ef-ace3-495ad370e650>\",\"WARC-IP-Address\":\"104.24.112.69\",\"WARC-Target-URI\":\"https://www.numberempire.com/522729\",\"WARC-Payload-Digest\":\"sha1:K5AXHQFMTS7DEIOGOCEUEP4EOL7KNUKI\",\"WARC-Block-Digest\":\"sha1:32CICLHL7BCM62YZMIF2NMVFTGPJWDQ4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600400198887.3_warc_CC-MAIN-20200921014923-20200921044923-00385.warc.gz\"}"} |
https://online.2iim.com/XAT-question-paper/XAT-2022-Question-Paper-QADI/qadi-question-1.shtml | [
"# XAT 2022 Question Paper | Quantitative Aptitude and Data Interpretation\n\n###### XAT Previous Year Paper | XAT QADI Questions | Question 1\n\nThe best questions to practice for XAT Exam are the actual XAT Question Papers. 2IIM offers you exactly that, in a student friendly format to take value from this. In XAT 2022 we saw some beautiful questions that laid emphasis on Learning ideas from basics and being able to comprehend more than remembering gazillion formulae and shortcuts. Original XAT Question paper is the best place to start off your XAT prep practice. This page provides exactly that. To check out about 1000 CAT Level questions with detailed video solutions for free, go here: CAT Question Bank\n\nQuestion 1 : Sheela purchases two varieties of apples - A and B - for a total of Rupees 2800. The weights in kg of A and B purchased by Sheela are in the ratio 5 : 8 but the cost per kg of A is 20% more than that of B. Sheela sells A and B with profits of 15% and 10% respectively.\n\nWhat is the overall profit in Rupees?\n\n1. 380\n2. 240\n3. 480\n4. 340\n5. 600\n\n## Best CAT Coaching in Chennai\n\n#### CAT Coaching in Chennai - CAT 2022Limited Seats Available - Register Now!\n\nIt is given that Sheela purchases two varieties of apples - A and B for a total of rupees 2800.\nIt is also given that the weights are in the ratio 5: 8\nSo let’s suppose that the weight of A and B are ‘5x’kgs and ‘8x’kgs respectively.\nGiven that, the cost per kg of A is 20% more than that of B.\nSo that, the costs are in the ratio of 6: 5\nSo let’s suppose that the cost per kg of A and B are ‘6y’ and ‘5y’ respectively.\nThe amount spent on A and B are 30xy and 40xy\nWe know that the amount spent is 2800.\nTherefore 30xy + 40xy = 2800\n70xy = 2800\nxy = 40.\nHence A = 30(40) = 1200\nB = 40(40) = 1600\nSheela sells A with a profit of 15%. So, the selling price of A is 1380\nSheela sells B with a profit of 10%. So, the selling price of B is 1760\nTotal selling price = 3140\nNet Profit = 3140 - 2800 = 340\n\nChoice D is the correct answer.\n\n###### CAT Coaching in ChennaiCAT 2023\n\nClassroom Batches Starting Now! @Gopalapuram\n\n###### Best CAT Coaching in Chennai Introductory offer of 5000/-\n\nAttend a Demo Class\n\n##### Where is 2IIM located?\n\n2IIM Online CAT Coaching\nA Fermat Education Initiative,\n58/16, Indira Gandhi Street,\nKaveri Rangan Nagar, Saligramam, Chennai 600 093\n\n##### How to reach 2IIM?\n\nMobile: (91) 99626 48484 / 94459 38484\nWhatsApp: WhatsApp Now\nEmail: info@2iim.com"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8739206,"math_prob":0.816512,"size":2861,"snap":"2023-40-2023-50","text_gpt3_token_len":796,"char_repetition_ratio":0.11585579,"word_repetition_ratio":0.09505703,"special_character_ratio":0.2757777,"punctuation_ratio":0.084684685,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97019607,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-02T12:17:47Z\",\"WARC-Record-ID\":\"<urn:uuid:4983ce90-c24f-42e0-ad7a-2f9fd8a30dda>\",\"Content-Length\":\"60570\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:05b4228b-b92c-4add-8a0e-f2acde6891df>\",\"WARC-Concurrent-To\":\"<urn:uuid:a28a9501-4c64-43a7-b770-fbb0e9698cbc>\",\"WARC-IP-Address\":\"139.59.53.99\",\"WARC-Target-URI\":\"https://online.2iim.com/XAT-question-paper/XAT-2022-Question-Paper-QADI/qadi-question-1.shtml\",\"WARC-Payload-Digest\":\"sha1:5DAH3246CVPXCMEYQ74LPSFFZ26CGQV2\",\"WARC-Block-Digest\":\"sha1:FTVOAL5ELBIFIDYEPEKB6TN6U2DVQN35\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100399.81_warc_CC-MAIN-20231202105028-20231202135028-00133.warc.gz\"}"} |
https://physics.stackexchange.com/questions/106866/majorara-mass-and-fermion-number-violation/106870 | [
"# Majorara mass and fermion number violation\n\nHow can it be shown that the Majorana mass violates the fermion number by two units? Can even a Noether charge be defined in presence of Majorana mass term?\n\nIn the Standard Model, fermion number is not conserved. Lepton number is conserved, because of an accidental symmetry. One cannot write down a renormalizable, gauge and Lorentz invariant operator that violates lepton number conservation in the Standard Model.\n\nA Majorana neutrino would violate lepton number conservation by two units. To see this, consider, e.g. neutrinoless double beta decay. You can draw Feynman diagrams with two $W^-e^-v_e$ vertices in which two incoming $W$-bosons each decay into an electron and an electron-neutrino. The two electron-neutrinos annihilate (possible because they are Majorana particles), leaving a final state of two elecrons, violating lepton number conservation by $2$ units.\n\nYou can see that Majorana neutrinos violate lepton number conservation by $2$ units from the mass term. The mass term, $$\\mathcal{L} = \\frac12 m \\psi^T C^{-1}\\psi,$$ is not invariant under the $U(1)$ lepton number symmetry, $\\psi\\to\\exp(iL\\theta)\\psi$. It picks up a phase of twice the lepton number of the neutrino, i.e. $\\Delta L=2$ rather than $\\Delta L=0$. A Majorana neutrino cannot be charged under a $U(1)$ symmetry.\n\nBecause there is not a lepton number $U(1)$ symmetry, there is no conserved Noether charge corresponding to lepton number.\n\nYou can think of a Majorana mass as arising from coupling of the neutrino to a condensate of a (lepton number) charge 2 higgs field. Then you can write down a conserved Noether current provided you include the charge current of the Higgs.\n\nFermion number is conserved in the standard model, Fermion propagation paths never end in a Feynman diagram. The examples given are beyond the standard model. However, in various Grand Unification models Fermion number violation is predicted. Neutrinoless Double beta decay in based on SO(10) which is a GUT model\n\n• I fail to see how this answers the question though... (you didn't even say anything about Majorana!) – AccidentalFourierTransform May 19 '16 at 16:09\n\nIt should be pointed out that there is zero experimental/ observation evidence for Fermion number conservation violation. Fermion number violation is predicted in Grand Unification theories and SUSY but , at least based on current evidence, there is no reason to think nature is fundamentally Super symmetric or that grand unification occurs in nature. The SUSY models that have useful features like explaining the Higgs mass have been ruled out by the LHC. Also despite the best efforts proton decay and neutrino-less double beta decay, both predictions of Grand Unification , have never been observed. And then there is super string/ M theory which predicts nothing at all. Maybe it's time to rethink where particle physics has been going."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.88075316,"math_prob":0.96637195,"size":2896,"snap":"2019-51-2020-05","text_gpt3_token_len":670,"char_repetition_ratio":0.14280775,"word_repetition_ratio":0.008810572,"special_character_ratio":0.21167128,"punctuation_ratio":0.09867173,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9958308,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-20T03:48:08Z\",\"WARC-Record-ID\":\"<urn:uuid:f45441a2-b8fa-4d06-a421-05f2532aaf6f>\",\"Content-Length\":\"156205\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ba389f16-3d9f-4e47-a75b-bb2ba8b7617c>\",\"WARC-Concurrent-To\":\"<urn:uuid:e68875b8-984e-42a5-b149-856336e1fe92>\",\"WARC-IP-Address\":\"151.101.65.69\",\"WARC-Target-URI\":\"https://physics.stackexchange.com/questions/106866/majorara-mass-and-fermion-number-violation/106870\",\"WARC-Payload-Digest\":\"sha1:45B5BCPE2AIFRBAQKVBPC253UOCTUEDB\",\"WARC-Block-Digest\":\"sha1:5TCEYEYUAUEUGWCYX2ES5XOIUSRLHTDG\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250597230.18_warc_CC-MAIN-20200120023523-20200120051523-00028.warc.gz\"}"} |
https://mathlesstraveled.com/2018/08/03/the-fermat-primality-test/?shared=email&msg=fail | [
"## The Fermat primality test\n\nAfter several long tangents writing about orthogons and the chromatic number of the plane, I’m finally getting back to writing about primality testing. All along in this series, my ultimate goal has been to present some general primality testing algorithms and the math behind them, and now we’re finally ready to see our first (sort of!). As a reminder, and as a guide for anyone reading this without reading the previous posts, here’s the story so far:\n\n• We first saw three different versions of Fermat’s Little Theorem (FlT), as well as a statement of Euler’s Theorem which is a generalization of FlT. Don’t worry if you don’t remember what Fermat’s Little Theorem says; I’ll remind you below. (As an aside, I recently learned there is yet a further generalization of Euler’s Theorem called Carmichael’s Theorem, but that will have to be another post for another time!)\n• Just for fun, we saw three differenet proofs of FlT: by modular arithmetic, by combinatorics, and by group theory, as well as corresponding proofs of Euler’s Theorem.\n• We then talked about three hypothetical machines for determining properties of a natural number",
null,
"$n$: one to give the complete prime factorization, one to give a single factor, and one to say whether",
null,
"$n$ is prime. I also mentioned the (surprising) fact that it is possible to build relatively fast machines of the third type—that is, for doing primality testing—but as far as we know, any machines to find factors are much slower.\n• Finally, we talked about what we really mean by “fast” and “slow” in the description above.\n\nSo let’s see our first primality testing machine! This one is actually very simple. Remember that Fermat’s Little Theorem (the first version) says:\n\nIf",
null,
"$p$ is prime and",
null,
"$a$ is an integer where",
null,
"$0 < a < p$, then",
null,
"$a^{p-1} \\equiv 1 \\pmod p$.\n\nWe can turn this directly into a test for primality, as follows: given some number",
null,
"$n$ that we want to test for primality, pick an integer",
null,
"$a$ between",
null,
"$0$ and",
null,
"$n$ (say, randomly), and compute",
null,
"$a^{n-1} \\pmod n$. If the result is not equal to",
null,
"$1$, then",
null,
"$n$ is definitely not prime, since it would contradict Fermat’s Little Theorem. In that case we can immediately stop and report that",
null,
"$n$ is composite (though note that we have not found any factors!).\n\n(In actual practice, we don’t bother trying",
null,
"$a = 1$ or",
null,
"$a = n-1$; we only pick from",
null,
"$1 < a < n-1$. Can you see why it’s useless to test",
null,
"$a = 1$ or",
null,
"$a = n-1$?)\n\nFor example, suppose we want to test",
null,
"$n = 8$. Let’s pick",
null,
"$a = 2$. We compute",
null,
"$a^{n-1} = 2^7 = 128 \\equiv 0 \\pmod 8$; hence",
null,
"$n = 8$ is not prime (but you probably knew that already). In this particular exampe",
null,
"$a$ is actually a factor of",
null,
"$n$, but it need not be. For example, let",
null,
"$n = 15$ and pick",
null,
"$a = 7$; then computing",
null,
"$7^{14} \\equiv 4 \\pmod {15}$ proves that",
null,
"$n$ is composite, even though",
null,
"$7$ and",
null,
"$15$ share no common factors.\n\nSo what if",
null,
"$a^{n-1}$ is equivalent to",
null,
"$1 \\pmod n$? Unfortunately, Fermat’s Little Theorem is not an “if and only if” statement! It is quite possible to have",
null,
"$a^{n-1} \\equiv 1 \\pmod n$ even when",
null,
"$n$ is composite. So if we do get a result of",
null,
"$1$, we simply can’t conclude anything about",
null,
"$n$. For example, with",
null,
"$n = 15$ again, if we happened to pick",
null,
"$a = 4$ instead of",
null,
"$a = 7$, then we get",
null,
"$4^{14} \\equiv 1 \\pmod {15}$ even though",
null,
"$15$ isn’t prime.\n\nSo suppose we pick some",
null,
"$a$ and get",
null,
"$a^{n-1} \\equiv 1 \\pmod n$. What can we do? Well, just try another",
null,
"$a$! If we get",
null,
"$a^{n-1} \\not\\equiv 1 \\pmod n$ for the new",
null,
"$a$, stop and report that",
null,
"$n$ is composite. Otherwise, pick another",
null,
"$a$, and so on.\n\nIn general, we can iterate some fixed number of times",
null,
"$k$. If we ever find an",
null,
"$a$ such that",
null,
"$a^{n-1} \\not\\equiv 1 \\pmod n$, then we can report that",
null,
"$n$ is definitely not prime. Otherwise, if we get through testing",
null,
"$k$ different values of",
null,
"$a$ and they all yield",
null,
"$1$, then we can report that",
null,
"$n$ is probably prime.\n\nSo this is better than nothing, but it’s not quite a primality machine, because it can’t tell us for sure that a number is prime. And it leaves a lot more questions: could we make",
null,
"$k$ big enough so that we could know for sure whether",
null,
"$n$ is prime? How big would",
null,
"$k$ have to be? What about for composite numbers; how fast do we expect this to be? Are there other ways to build on this basic idea to get better (faster, more certain) primality tests? I’ll write about all this and more in future posts!",
null,
"Assistant Professor of Computer Science at Hendrix College. Functional programmer, mathematician, teacher, pianist, follower of Jesus.\nThis entry was posted in computation, number theory, primes and tagged , , . Bookmark the permalink.\n\n### 5 Responses to The Fermat primality test\n\n1.",
null,
"Mark James says:\n\nYou also need to be careful about Carmichael numbers. (https://en.wikipedia.org/wiki/Carmichael_number)\n\nFor example, 561 will pass the FLT test a little more than 50% of the time.\n\n•",
null,
"Brent says:\n\nIndeed! I plan to write about those next time."
] | [
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://s0.wp.com/latex.php",
null,
"https://0.gravatar.com/avatar/cc113924265dbeb535c8b2fefe4e33ee",
null,
"https://2.gravatar.com/avatar/2d3da771c0edf7564262395af2cfe8ce",
null,
"https://0.gravatar.com/avatar/cc113924265dbeb535c8b2fefe4e33ee",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.93769366,"math_prob":0.9981482,"size":4248,"snap":"2022-05-2022-21","text_gpt3_token_len":956,"char_repetition_ratio":0.10579642,"word_repetition_ratio":0.017150396,"special_character_ratio":0.22222222,"punctuation_ratio":0.12714776,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99928313,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-26T08:19:25Z\",\"WARC-Record-ID\":\"<urn:uuid:6ba1804c-6e85-44fb-a2d8-2674f5bd1add>\",\"Content-Length\":\"108031\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:242cfd7a-ee2e-46cf-9494-945aced9ecca>\",\"WARC-Concurrent-To\":\"<urn:uuid:1d6cd96c-4bbf-4931-a8f6-312f0a02f937>\",\"WARC-IP-Address\":\"192.0.78.25\",\"WARC-Target-URI\":\"https://mathlesstraveled.com/2018/08/03/the-fermat-primality-test/?shared=email&msg=fail\",\"WARC-Payload-Digest\":\"sha1:OVDVH2NYRQBESMNOYSS4AESEFY4RDFWW\",\"WARC-Block-Digest\":\"sha1:K7PGKJCKYNLKDZVM3LVLCJ5VNXBG7JSZ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662604495.84_warc_CC-MAIN-20220526065603-20220526095603-00227.warc.gz\"}"} |
http://livebook.online/advanced-engineering-mathematics-kreyszig-9th-edition-solution-manual-74/ | [
"# ADVANCED ENGINEERING MATHEMATICS KREYSZIG 9TH EDITION SOLUTION MANUAL PDF\n\nAccess Advanced Engineering Mathematics 9th Edition solutions now. Our solutions are written by Chegg experts so you can be assured of the highest quality!. 9th ed., Hoboken,. N. J: Wiley .. techniques covered in Advanced Engineering Mathematics. The third . Student Solutions Manual and Study Guide Enlarged. Rent, buy, or sell Advanced Engineering Mathematics, by Kreyszig, 9th Edition, Solutions Manual, Study Guide – ISBN – Orders over \\$49 ship.",
null,
"Author: Balrajas Arazilkree Country: Martinique Language: English (Spanish) Genre: Spiritual Published (Last): 20 January 2006 Pages: 130 PDF File Size: 15.18 Mb ePub File Size: 7.16 Mb ISBN: 583-9-70430-399-1 Downloads: 9276 Price: Free* [*Free Regsitration Required] Uploader: Maulrajas",
null,
"Riemann integrable function implies discontinuous on a Borel set? An exemple of integral of distributions integration limits dirac-delta step-function.\n\nIsotypic Decomposition of a Representation representation-theory. Can it be seen as an area? Local error per unit step differential-equations truncation-error.\n\nRotationally invariant Green’s functions for the three-variable Laplace equation in all known coordinate systems coordinate-systems laplacian greens-function electromagnetism. How to interpret complex eigenvectors of the Jacobian matrix of a linear dynamical system? What represent the Stieltjes integral?\n\nHow to prove the enigneering theorem of conditional expectation?\n\nNormal Curves of Ellipses geometry conic-sections. What if the function is holomorphic? Proving that a solution to a DE is monotonous integration differential-equations definite-integrals physics average.\n\nSome easy questions about multiplicative characters and Jacobi sums. Equivalence of definitions of a closed set general-topology. Integral inequality of measurable functions for every measurable set implies function inequality real-analysis integration measure-theory. A question of residue involved analytic branch complex-analysis. Solving recurrences with boundary conditions algorithms recurrence-relations recursive-algorithms. Is the domain of a complex function always open?\n\nIDANRE HILLS PDF",
null,
"Explore Our Questions Mathemxtics Question. Divide a number in unequal increasing parts according to a dynamic factor arithmetic. Unique prime ideal factorization in domains?\n\n## Kreyszig Textbooks\n\nCalculation of Christoffel symbol for unit sphere differential-geometry parametrization. Show monotonicity of solution of Delayed Differential Equation with respect to a parameter real-analysis calculus differential-equations delay-differential-equations.\n\nAlmost everywhere convergent subsequence in a Sobolev space real-analysis functional-analysis pde sobolev-spaces. Soluion Distributive Law set-theory. Concerning ‘a change of variables’ abstract-algebra polynomials ring-theory commutative-algebra. Variation of the sum of distances euclidean-geometry reflection. Picking path at random in DAG graph with probability equals to path weight.\n\n### Kreyszig Textbooks :: Homework Help and Answers :: Slader\n\nVery basic question about pre-additive category category-theory homological-algebra. Square to trapeziums to triangle General Equation? Determining eigenvalues and eigenvectors of integral operator functional-analysis eigenvalues-eigenvectors hilbert-spaces. By using our engjneering, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Mathematics Stack Exchange works best with JavaScript enabled.\n\nProving finite bases for a Harshad number elementary-number-theory.\n\nWhat transformations can be set by projecting a straight line onto a straight line geometry projective-geometry projective-space. How to eddition Definite Integral in X to expression in X? Fundamental matrix of Hill’s equation differential.\n\nABUS SECVEST BEDIENUNGSANLEITUNG PDF",
null,
"Chromatic number of the pancake graph graph-theory coloring. Home Questions Tags Users Unanswered. Understanding Variance-Covariance Matrix linear-algebra matrices covariance. Solve robust minimax optimization problem in two subsequent steps? How to define substitution using Ebgineering substitution foundations. On action of sheaf of symmetric algebra algebraic-geometry sheaf-theory. Help understanding proof for vector subspace Hoffman and Kunze linear-algebra proof-explanation.\n\nQuestion on the reasoning behind determining surjectivity of a function functions foundations.\n\n### Mathematics Stack Exchange\n\nUniform convergence of power sequence solutoon functions uniform-convergence. Maximizing the trailing zeros in base conversion combinatorics elementary-number-theory. L2 norm regularization linear-algebra multivariable-calculus numerical-optimization gradient-descent. Understanding why single-variable expansion of modular arithmetic is valid. Prove that two groups act in the same way group-theory finite-groups cyclic-groups.\n\nDeriving Bayesian logistic regression probability statistics regression. Does the quadrilateral have an inscribed circle?"
] | [
null,
"https://images-na.ssl-images-amazon.com/images/I/51maiBu3gOL._SX370_BO1,204,203,200_.jpg",
null,
"http://livebook.online/download_pdf.png",
null,
"https://image.isu.pub/180301023951-c8b374c490d8ab660ce9c10524ebe746/jpg/page_1_thumb_large.jpg",
null,
"https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/lrg/9781/1180/9781118007402.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.77784365,"math_prob":0.8643704,"size":4950,"snap":"2019-35-2019-39","text_gpt3_token_len":998,"char_repetition_ratio":0.107359484,"word_repetition_ratio":0.0,"special_character_ratio":0.16929293,"punctuation_ratio":0.121212125,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9948083,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,4,null,4,null,8,null,9,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-09-18T20:19:50Z\",\"WARC-Record-ID\":\"<urn:uuid:0c134a88-bcbe-46f4-9230-7d0872e491b8>\",\"Content-Length\":\"29578\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1f2bb759-3230-4bbe-9e80-13f9b3fb34a5>\",\"WARC-Concurrent-To\":\"<urn:uuid:ca28338b-e3e7-4074-bf5c-6820e3c0fddc>\",\"WARC-IP-Address\":\"104.31.89.53\",\"WARC-Target-URI\":\"http://livebook.online/advanced-engineering-mathematics-kreyszig-9th-edition-solution-manual-74/\",\"WARC-Payload-Digest\":\"sha1:H76WU7WVXAKHT5SIHOB7Q7C6UVNULATF\",\"WARC-Block-Digest\":\"sha1:S364TL3TAZJHBE5DB4A5JWPYL3SHVX57\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-39/CC-MAIN-2019-39_segments_1568514573331.86_warc_CC-MAIN-20190918193432-20190918215432-00315.warc.gz\"}"} |
https://www.encyclopediaofmath.org/index.php?title=Cohn-Vossen_transformation | [
"# Cohn-Vossen transformation\n\nJump to: navigation, search\n\nA correspondence between a pair of isometric surfaces",
null,
"and",
null,
"and an infinitesimal deformation of the so-called mean surface",
null,
": If",
null,
"and",
null,
"are the radius (position) vectors of the surfaces",
null,
"and",
null,
", then the radius vector",
null,
"of",
null,
"is given by",
null,
", and the field of velocities",
null,
"of the infinitesimal deformation",
null,
"is",
null,
". It was introduced by S.E. Cohn-Vossen . If",
null,
"and",
null,
"are smooth surfaces and if the angle between the semi-tangents",
null,
"and",
null,
"to the curves on",
null,
"and",
null,
"corresponding under the isometry is less than",
null,
", then",
null,
"turns out to be smooth. This fact has enabled one to reduce in a number of cases the study of the isometry of",
null,
"and",
null,
"to the study of infinitesimal deformations (cf. Infinitesimal deformation) of",
null,
". For fixed points",
null,
"on",
null,
"and",
null,
"on",
null,
"the Cohn-Vossen transformation defines a Cayley transformation of the orthogonal matrix",
null,
", representing the isometry of the tangent space to",
null,
"to that of",
null,
", into a skew-symmetric matrix describing the infinitesimal deformation of",
null,
".\n\nThe Cohn-Vossen transformation can be generalized to the case of spaces of constant curvature ."
] | [
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230401.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230402.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230403.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230404.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230405.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230406.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230407.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230408.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c0230409.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304010.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304011.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304012.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304013.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304014.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304015.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304016.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304017.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304018.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304019.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304020.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304021.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304022.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304023.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304024.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304025.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304026.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304027.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304028.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304029.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304030.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304031.png",
null,
"https://www.encyclopediaofmath.org/legacyimages/c/c023/c023040/c02304032.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.846403,"math_prob":0.9695177,"size":1908,"snap":"2019-13-2019-22","text_gpt3_token_len":445,"char_repetition_ratio":0.16228992,"word_repetition_ratio":0.0,"special_character_ratio":0.21436058,"punctuation_ratio":0.12931034,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99423695,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64],"im_url_duplicate_count":[null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-05-23T09:23:05Z\",\"WARC-Record-ID\":\"<urn:uuid:96cf44c0-ba88-4d2a-a4f5-fd677ba1f8eb>\",\"Content-Length\":\"19080\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:111cd745-5dbc-4a71-ac09-86a8d95be39b>\",\"WARC-Concurrent-To\":\"<urn:uuid:ad1b5bc8-d620-44c2-b9a3-21dde09fd891>\",\"WARC-IP-Address\":\"80.242.138.72\",\"WARC-Target-URI\":\"https://www.encyclopediaofmath.org/index.php?title=Cohn-Vossen_transformation\",\"WARC-Payload-Digest\":\"sha1:DFTLJL5X5YXD2R55NVYZUW32TOF552PP\",\"WARC-Block-Digest\":\"sha1:SSPHJMDX5RG2MOPDV2UODWRR72CY5E5H\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-22/CC-MAIN-2019-22_segments_1558232257197.14_warc_CC-MAIN-20190523083722-20190523105722-00454.warc.gz\"}"} |
https://math.stackexchange.com/questions/2213582/what-is-the-definition-of-rotation-in-a-general-metric-space-or-a-finsler-ma | [
"# What is the definition of “rotation” in a general metric space? (Or a Finsler manifold?)\n\nQuestion: What is the correct definition of \"rotation\" in a general metric space?\n\nIs the following correct?\n\nLet $(X,d)$ be a metric space. Let $G_x$ be the group of isometries of $X$ which fix the point $x \\in X$. Then any isometry in $G_x$ is a \"rotation about $x$\".\n\nAlso note that, if $X$ is an orientable vector space, I am apathetic or agnostic about whether rotations should be allowed to reverse orientation or if they must preserve orientation.\n\nA definition for the full generality of arbitrary metric spaces would be preferred, but one valid only for, say, Finsler manifolds or even just (finite-dimensional) normed spaces would also be appreciated, since it would still answer my previous question.\n\nContext: My working assumption right now is that, for a vector space, it is the group of isometries which fix the origin, see my previous question to which this is a follow-up.\n\nThis question on MathOverflow seems like it might be using this definition. However, I don't understand what is meant by \"isotropic space\" -- it seems more general than isotropic manifold. The transitivity seems related to a theorem in Spivak's Comprehensive Introduction to Differential Geometry which I have mentioned in two previous questions (1)(2). Also this answer on Math.SE repeats the claim that \"unit balls with respect to other norms are not rotationally invariant\", which, as I pointed out in my previous question is either trivial or insightful depending upon one's definition of \"rotation\", which seems to never be specified in this instance.\n\nThe answer seems like it might also have something to do with CAT(0) spaces, since CAT(0) spaces apparently satisfy a sort of parallelogram law, and a norm is induced by an inner product if and only if it satisfies the parallelogram law.\n\nHowever, the parallelogram law is equivalent (I think) to the Pythagorean theorem (at least for $L^p$ norms) and the Pythagorean theorem is equivalent to the parallel postulate and a bunch of other conditions, at least for Euclidean space. (See also this question.) But one of these formulations seems to have more to do with geodesic completeness than any obvious notion of angle, see my previous question. This might be true since CAT(0) spaces have unique geodesics, see this answer.\n\nIt is often said that an inner product \"induces notions of length and angle\" and, as far as I can tell, at least in simple spaces the notions of rotation and angle are intimately related. (Although for arbitrary metric spaces angles seem to have more to do with equivalence classes of triples of points (see also Section 3.6.5. here) and similarity transformations than point-fixing isometries.)\n\nAt the very least, the part of inner product which corresponds to both its notion of angle and its corresponding orthogonal group (group of rotations?) is the conformal structure it belongs to. However, conformal structures do not seem to be interesting objects of study (see my previous question) which suggests that they are not actually important in defining a notion of rotation.\n\nThis answer mentions compact one-parameter groups of \"rotations\" without elaborating.\n\nAll of these questions by @Asaf Shachar are of interest: (1)(2)(3)(4)(5). Reading them either taught me or confirmed for me (I don't remember) that the orthogonal group (and thus a notion of rotation?) is only unique up to a scalar multiple for an inner product.\n\nTL;DR Context: I don't understand what is \"fundamental\" about the notion of rotation even for the simplest example of rotations: the orthogonal group on Euclidean space. (See also: ) Is it the inner product up to scalar multiple? The parallelogram law? The parallel postulate? Unique geodesics? The Cat(0) inequality? Point-fixing isometries? etc.\n\nThus I am very uncertain of how to generalize the notion of rotation from Euclidean space to arbitrary metric spaces -- the orthogonal group has so much structure, it is hard for me to tell which part of the structure is \"essential\" for codifying the \"notion of rotation\".\n\n• Definitions can be generalized in different ways. How do you distinguish a \"correct\" generalization from an incorrect one? – Rahul Apr 4 '17 at 21:59\n• @Rahul I mean what is used in the literature, possibly because it captures mathematically the intuitive concept. – Chill2Macht Apr 5 '17 at 6:31\n• Could you provide a link to the original source of your quote, the one that says \"Let (X,d) be a metric space. Let Gx be the group of isometries of X which fix the point x∈X. Then any isometry in Gx is a \"rotation about x\"? – bob Apr 22 '19 at 14:51\n• @bob That's not a quote (if I remember correctly). My question is whether that statement is correct or not. – Chill2Macht Apr 23 '19 at 22:49\n• I missed that, sorry! – bob Apr 24 '19 at 13:05\n\nThere is no widely used definition of rotation in a general metric space. This becomes clear after Googling a bit and reading the comments and answers of this question and your previous question. Therefore I would say there is no such thing as the definition.\n\nYou can define anything you like as long as it makes some sense. Your definition of $G_x$ definitely makes sense, since when $X = \\mathbb{R}^n$ and $d$ is the Euclidean norm, the group $G_x$ is equal to the orthogonal group $O(n)$.\n\n# Generalizing proper rotations\n\nThe group $G_x$ generalizes both proper and improper rotations. The word rotation sometimes includes improper rotations and sometimes it does not. I have thought about how to generalize proper rotations to arbitrary metric spaces.\n\nWhat's the difference between proper and improper rotations? I would say that a proper rotation is continuous, in the sense that you can move the elements of the metric space by a lot of small bits in order to obtain the complete rotation, while preserving the distance at all times.\n\nYou could use $$\\begin{array}{} P_x &=& \\{f \\in G_x \\ |\\ \\exists (p \\in [0,1] \\to G_x): p(0) = \\text{id}_X \\land p(1) = f\\ \\land \\\\ && \\qquad \\forall(\\alpha_1 \\in [0, 1], y \\in X, \\epsilon > 0): \\exists(\\delta > 0): \\forall(\\alpha_2 \\in [0,1]): \\\\ && \\qquad \\qquad |\\alpha_1 - \\alpha_2| < \\delta \\to d(p(\\alpha_1)(y), p(\\alpha_2)(y)) < \\epsilon \\\\ &&\\}, \\end{array}$$ which is a subgroup of $G_x$, to generalize proper rotations to general metric spaces. For $\\mathbb{R}^n$ with the Euclidean metric, the group is equal to the special orthogonal group $SO(n)$.\n\nFor $\\mathbb{R}^n$ with the taxicab metric, $P_x$ will be the trivial group, since no continuous rotations are possible with the taxicab metric, only rotations of 90 degrees.\n\n• So this gives the path component of the identity isometry in $G_x$? That would give $SO(n)$ in the case of $\\mathbb{R}^n$ with the Euclidean metric, you are correct. I wonder if this condition is equivalent to isotropy for normed spaces en.wikipedia.org/wiki/Isotropic_manifold That would provide an explanation for why norms induced by inner products are the \"natural\" setting for angles mathoverflow.net/questions/41211/… – Chill2Macht Apr 5 '17 at 6:27\n\nMathematical words often get re-used in contexts where there is only an analogy rather than a precise mathematical principle covering precisely all the cases, old and new. This, I think, is what you are encountering with the terminology \"rotation\". It's a mistake to over-interpret what is going on in with the word \"rotation\" in each new situation.\n\nHere, for example, is one way that the term \"rotation\" might grow in use through analogy.\n\nWe can certainly define \"rotations of the Euclidean plane\" with precision. For example:\n\n1. Define $f : \\mathbb{R}^2 \\to \\mathbb{R}^2$ to be a rotation if there exists $\\theta \\in (0,2\\pi)$ and $a,b \\in \\mathbb{R}$ such that $$f(x,y) = (x \\cos \\theta + y \\sin \\theta, - x \\sin \\theta + y \\cos(\\theta)) + (a,b)$$\n\nThen we can prove theorems about rotations, for example:\n\n2. $f : \\mathbb{R}^2 \\to \\mathbb{R}^2$ is a rotation if and only if $f$ is an orientation preserving isometry with a unique fixed point.\n\nNow, suppose we are studying the orientation preserving isometries of coordinate Euclidean 3-space $\\mathbb{R}^3$. We discover, much to our consternation, that none of them have a unique fixed point.\n\nSo, do we shrug our shoulders and say \"Euclidean 3-space has no rotations\"?\n\nPerhaps, although that feels uncomfortable given our real-world experience with 3-dimensional rotations.\n\nThere is, however, another possibility, namely to change our analogy by proving that 1 and 2 are equivalent to\n\n3. $f : \\mathbb{R}^2 \\to \\mathbb{R}^2$ is a rotation if and only if it is an orientation preserving isometry and its fixed point set is a codimension 2 affine subspace.\n\nAnd now, perhaps, we are happy, because this indeed generalizes very nicely to Euclidean spaces of all dimensions. And perhaps now we think know what rotations are.\n\nWell, maybe. Every time we go down roads of further and further generalization, we may be tempted to stretch the analogy further and make some grand generalized \"rotation\" definition. But somehow that misses the point.\n\nThe real point is: We should study isometries of $\\mathbb{R}^2$, or $\\mathbb{R}^3$, or $\\mathbb{R}^n$, or CAT(0) Riemannian metric spaces, or whatever new context we encounter, for what they really are. If analogy with rotations of $\\mathbb{R}^2$ help us understand isometries in these new contexts, by all means reuse the terminology. If it is misleading, or if it just is unhelpful, then don't use the terminology. At the very least, don't stretch the analogy beyond the breaking point.\n\n• A very pleasing response. – Lubin Apr 2 '17 at 0:31\n• So what is the definition in general metric spaces? Or at the very least for general normed vector spaces? (like those mentioned in this question on MathOverflow: mathoverflow.net/questions/41211/…) Also we don't seem to be using the same analogy, since I mentioned isometries with a fixed point, not necessarily unique. So if it's not the same analogy, then it doesn't seem like it would have the same breaking point as the one mentioned in the answer. – Chill2Macht Apr 2 '17 at 9:20\n• Also the purpose is to find definitions making minimal possible assumptions on the structure of the underlying space, while still being equivalent to the standard notions in special cases, in order to understand what's \"really\" going on, as well as for the purpose of economy of thought, and to be able to apply similar logic/intuition to other spaces which are clearly important but don't have the same structure. E.g. spheres are not affine spaces, so the definition mentioned in this answer doesn't work, but spherical geometry is obviously also important. – Chill2Macht Apr 2 '17 at 9:25\n• TL;DR I agree this is a nice answer, but I feel like it avoids my question more than answering it, so as of now I'm not going to accept it. I apologize. – Chill2Macht Apr 2 '17 at 9:26\n• No apologies needed. Nonetheless, for reasons that I tried to explain in my answer, I cannot think of any reasonable definition of rotation in general metric spaces, nor in general normed vector spaces, let alone tell you the \"correct\" answer as your question asks for. This makes your question impossible for me to answer. But far from avoiding the issue, I tried to give the best response I could, given the impossibility of answering the question posed. – Lee Mosher Apr 2 '17 at 14:12"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9406424,"math_prob":0.96741873,"size":4022,"snap":"2019-51-2020-05","text_gpt3_token_len":884,"char_repetition_ratio":0.1197113,"word_repetition_ratio":0.00921659,"special_character_ratio":0.21034311,"punctuation_ratio":0.095302016,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99625605,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-24T14:59:58Z\",\"WARC-Record-ID\":\"<urn:uuid:5bb35db3-0c15-4a95-a934-6fd9eb0929c3>\",\"Content-Length\":\"175879\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f28f5266-f2bd-40bc-81c8-2aa154148377>\",\"WARC-Concurrent-To\":\"<urn:uuid:24bea979-3400-4914-865f-859a0f7f879b>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/2213582/what-is-the-definition-of-rotation-in-a-general-metric-space-or-a-finsler-ma\",\"WARC-Payload-Digest\":\"sha1:BHIZK2J2FTREJDWK2H5DNZEOMOL4FNNW\",\"WARC-Block-Digest\":\"sha1:3CR4AVYDV2Z3G77EGRC6BJ2KILDCXRUL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250620381.59_warc_CC-MAIN-20200124130719-20200124155719-00121.warc.gz\"}"} |
https://www.wimgielis.com/tm1_randomdatainacube01_EN.htm | [
"### Random data in a cube I",
null,
"Example files with this article: TM1 random data_1 TM1 random data_2\n\n## Introduction\n\nHave you ever needed to fill a cube with random data? In fact, you can do this without entering or pasting data yourself, without writing any TI process or VBA code, and with only 3 Excel formulas!\n\nI will now show you how to do it. You will want to follow along and reproduce the steps in an empty Excel sheet. The example below is worked out for a cube with 4 dimensions.\n\n## Guiding steps\n\n2. Connect to a TM1 server holding the cube to be filled.\n3. Create 4 defined names (hit Ctrl + F3), specify server, cube name and bounds for the random numbers:\n Defined name Example value server TM1server cube GLdata lowerbound 0 upperbound 1000\nYou could have less or no defined names, but using them makes the sheet more generic and easier to maintain.\n Cell Formula B1 =server & \":\" & TABDIM(server & \":\" & cube;COLUMN()-1) B3 =IF(B\\$2<>\"\";B\\$2;DIMNM(B\\$1;RANDBETWEEN(1;DIMSIZ(B\\$1)))) A3 =IF(DTYPE(E\\$1;\\$E3)=\"N\";DBS(RANDBETWEEN(lowerbound;upperbound);server & \":\" & cube;B3;C3;D3;E3);DBSS(CHAR(RANDBETWEEN(65;90));server & \":\" & cube;B3;C3;D3;E3))\n5. Copy cells:\n Source cells Destination cells B1:B3 C1:E3 A3:E3 A4:Ex, where x is a sufficiently large number\n6. In the cells B2:E2, you can add the name of an element for each dimension. The element for that dimension will not be random in that case, but hard-coded. Leave the cell empty if you want randomness.\n7. Recalculate your sheet any number of times by pressing F9. Look in the cube for the result!\n\n## Important remarks:\n\n• The formula in column A is able to generate random string data for string cells. The letters A to Z are used for string cells, numeric cells will be between the bounds you set in the defined names. Change if needed.\n• As the example above is suited for a cube with 4 dimensions, you need to change the formulas accordingly if your cube has fewer or more dimensions. Just use less or more columns, and change the cell references in the DBS and DBSS functions.\n• If a consolidation is returned by the random index number and the cell is not a string cell, the DBS formula cannot evaluate. Hit F9 successively to generate other random combinations of elements. You could slightly modify the formula in column A to return the first componant of a consolidation (ELCOMP(server:dimension,element,1)). But if that element is a consolidation, you are stuck again.\n• The same applies to cells calculated by a rule, or elements/cells to which the logged in user does not have the necessary rights.\n• Please note that the formulas will overwrite any existing data in the cube without notifications.\n• A zero out procedure might be useful prior to sending the random data. Or you might want to Data Spread > Clear… cells in a view. Of course, the benefit of this is limited since you will be sending data to random combinations anyway.\n• The separator for arguments in Excel formulas might be different for you (a , instead of a ;)\n\n## To be continued…\n\nContinue reading if you want to learn how to get past the few drawbacks:\n\n#### Homepage",
null,
""
] | [
null,
"https://www.wimgielis.com/pics/download_blue.jpg",
null,
"https://www.wimgielis.com/pics/languagesmall_EN.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8120414,"math_prob":0.9033696,"size":3077,"snap":"2022-27-2022-33","text_gpt3_token_len":762,"char_repetition_ratio":0.1178002,"word_repetition_ratio":0.0038095238,"special_character_ratio":0.24634384,"punctuation_ratio":0.1340694,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9594932,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,8,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-17T10:27:43Z\",\"WARC-Record-ID\":\"<urn:uuid:b8776dc5-49a6-46c8-acdc-9001410e6c8e>\",\"Content-Length\":\"9527\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:26aaa5da-8c2b-42e2-8273-1d0c86bddf65>\",\"WARC-Concurrent-To\":\"<urn:uuid:c02d6216-85a2-4bd5-acc4-f8718ab8eafc>\",\"WARC-IP-Address\":\"172.67.170.38\",\"WARC-Target-URI\":\"https://www.wimgielis.com/tm1_randomdatainacube01_EN.htm\",\"WARC-Payload-Digest\":\"sha1:GMSVYR3HFN5H6VVSZ2OLRNVW3RBBUKKT\",\"WARC-Block-Digest\":\"sha1:ZJEDTJETD6WQR3EEICSF7P4VH4TXPX44\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882572898.29_warc_CC-MAIN-20220817092402-20220817122402-00146.warc.gz\"}"} |
https://www.danielmathews.info/2019/01/27/emmy-had-a-theorem-mathematical-nursery-rhyme-2/?replytocom=5345 | [
"In the spirit of previous work in abstract algebra, I have, erm, adapted another nursery rhyme.\n\nAfter all, the songs are so common and commonly known; why not update them with some definite content?\n\nTo the tune of “Mary had a little lamb” (with no disrespect to the original, which seems to be an endearing story of an actual lamb), a discussion of Noether’s theorem.\n\nIf you haven’t heard of Noether’s theorem, it is very nice. (It should be distinguished from several other theorems of Emmy Noether, and indeed other mathematical Noethers.)\n\nRoughly speaking, Noether’s theorem states that whenever a physical system has a nice symmetry, there is always some numerical quantity which is conserved along with it.\n\nFor instance, if a physical system is invariant under translation, then there is a conserved quantity associated to it, known as momentum. (And there are translations in three independent directions in space, so there are three components of momentum which are conserved. In other words, momentum as a vector quantity is conserved.) Similarly, if it’s invariant under rotations, then there is a conserved quantity known as angular momentum. Invariant under moving forward and backward in time — a conserved quantity known as energy. And so on.\n\nThis is not very precise, and there are different ways of formulating it, and of course physicists and mathematicians have different perspectives about it — as well as the level of mathematical precision and rigour with which it should be stated and understood.\n\nThe wikipedia page, at least at the time of writing, has a very physics-oriented discussion, which would offend many mathematicians’ sensibilities — certainly including my own. The nicest mathematical formulation uses symplectic geometry, and hence some fairly serious prerequisite knowledge, well beyond the Australian undergraduate curriculum. (Unless you take an undergraduate research unit with me at Monash, perhaps!)\n\nA good discussion may be found in the lecture notes of Ana Cannas da Silva, available online here. Once enough machinery is developed to state the principle cleanly (um, in section 24 on page 147…), the theorem is proved in a leisurely half a dozen lines.\n\nAnyway, less talk, more nursery rhymes!\n\nEmmy had a theorem,\ntheorem, theorem\nEmmy had a theorem\nIts proof was clear as day.\n\nEverywhere a symmetry,\nsymmetry, symmetry\nEverywhere a symmetry\nA conserved quantity.\n\nEmmy had a theorem (mathematical nursery rhyme #2)\nTagged on:\n\n### 2 thoughts on “Emmy had a theorem (mathematical nursery rhyme #2)”\n\n•",
null,
"2019-01-27 at 6:26 pm\nPermalink\n\nNice one. Somewhere I heard “Old Macdonald had a form e_i\\wedge e_i=0” (the equals is silent). Can’t remember the rest, maybe you could fill it in with some good symplectic stuff.\n\nReply\n•",
null,
"2019-02-01 at 11:17 pm\nPermalink\n\nThat is super fantastic. I never realised Old Macdonald was so symplectic!\n\nReply"
] | [
null,
"https://secure.gravatar.com/avatar/9a34b36c3dd94fe738cc5a9abc960bfe",
null,
"https://secure.gravatar.com/avatar/cb54fa3d6a87b02ba683d696c31f2182",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9597488,"math_prob":0.8550191,"size":2728,"snap":"2019-13-2019-22","text_gpt3_token_len":585,"char_repetition_ratio":0.10462555,"word_repetition_ratio":0.013824885,"special_character_ratio":0.1994135,"punctuation_ratio":0.12252964,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96962225,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-05-25T05:02:01Z\",\"WARC-Record-ID\":\"<urn:uuid:9f0da721-4283-4188-b5c6-77df4ae8af4f>\",\"Content-Length\":\"29470\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cb317050-2518-46ee-87e0-86e6743dcb9d>\",\"WARC-Concurrent-To\":\"<urn:uuid:9da718e3-6957-4083-98e2-7f885d03142e>\",\"WARC-IP-Address\":\"173.236.182.172\",\"WARC-Target-URI\":\"https://www.danielmathews.info/2019/01/27/emmy-had-a-theorem-mathematical-nursery-rhyme-2/?replytocom=5345\",\"WARC-Payload-Digest\":\"sha1:YSHHVVV5POZJDTFHCZJORBUDVUSTHTWO\",\"WARC-Block-Digest\":\"sha1:XKWSGFUCN2TSLHX7SUEM3AOAEHULTA7N\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-22/CC-MAIN-2019-22_segments_1558232257889.72_warc_CC-MAIN-20190525044705-20190525070705-00277.warc.gz\"}"} |
https://math.stackexchange.com/questions/268125/elementary-proof-that-3-is-a-primitive-root-of-a-fermat-prime | [
"# Elementary proof that $3$ is a primitive root of a Fermat prime?\n\nThe following is exercise 6 of Chapter 4 in Ireland and Rosen's Number Theory.\n\nIf $p=2^n+1$ is a Fermat prime, show that $3$ is a primitive root modulo $p$.\n\nI first recall that any Fermat prime actually has form $2^{2^n}+1$. Hence $p\\equiv 1\\pmod{4}$. Exercise 4 from the same chapter states the if $p\\equiv 1\\pmod{4}$, then $a$ is a primitive root mod $p$ iff $-a$ is as well. I was able to prove this, but unable to show $-3$ is a primitive root.\n\nIs there a fruitful approach?\n\nP.S. I was able to cheat and use the fact that $$\\phi(p-1)=\\phi(2^{2^n})=2^{2^n-1}=(p-1)/2$$ and since there are $(p-1)/2$ quadratic nonresides and each of the $\\phi(p-1)$ primitive roots is a quadratic nonresidue, then the two sets are actually the same.\n\nThen $3$ is a nonresidue since applying quadratic reciprocity $$\\left(\\frac{3}{p}\\right)=\\left(\\frac{p}{3}\\right)=\\left(\\frac{2}{3}\\right)=-1$$ hence not primitive. But I only know this from a number theory class I took back in school, not from anything in Ireland and Rosen so far. Is there a way to avoid using a sledgehammer the authors haven't given me yet?\n\n• I just noticed a similar question in the related section, but I don't follow the accepted answer, and the second is incomplete. Please don't close as a duplicate! (Sorry!) Dec 31, 2012 at 12:05\n• Well, Javaman's answer there does answer this question : $3$ must not be a square $(mod p)$, otherwise $-3$ is a square and $p \\equiv 1$ (mod $3$). Also, you do need $p >3,$ as $3$ is a Fermat prime. Dec 31, 2012 at 12:15\n• Thanks @GeoffRobinson, but how does $3$ being a square imply $-3$ is a square, and how in turn does that imply $p\\equiv 1\\pmod{3}$? Dec 31, 2012 at 13:00\n• Well, because $p \\equiv 1$ (mod 4), -1 is a square (mod $p$)- easy and done in many textbooks. It was covered in Javaman's answer, but (as was known to Gauss), if we write $(2x+1)^{2} = -3$ (mod p), then we have $x^{2}+x+1 = 0$ and then $x^{3}-1= 0$ mod $p$, but $x \\neq 1$, so $3$ divides $p-1.$ Dec 31, 2012 at 13:06\n\nI've tried to fill in some of the details if its helpful. Thanks to Geoff's comments.\n\nFirst, assume that $p\\neq 3$, otherwise the claim is not true. Recall that if $p\\equiv 1\\pmod{4}$, then $-1$ is a square. This follows, for by Wilson's theorem, we may write $$-1\\equiv (p-1)!\\equiv \\prod_{j=1}^{(p-1)/2} j(p-j)\\equiv \\prod_{j=1}^{(p-1)/2}-j^2\\equiv (-1)^{\\frac{p-1}{2}}\\left(\\prod_{j=1}^{(p-1)/2}j\\right)^2\\pmod{p}.$$ Since $p\\equiv 1\\pmod{4}$, it follows that $(-1)^{(p-1)/2}\\equiv 1\\pmod{p}$, and thus $\\prod_{j=1}^{(p-1)/2}j$ is a square root of $-1$ modulo $p$.\n\nI claim that $3$ is not a square modulo $p$. If not, since $p$ is a Fermat prime greater that $3$, $p\\equiv 1\\pmod{4}$, so $-1$ is a square, thus $-3$ is a square modulo $p$. Then we can write $-3\\equiv (2x+1)^2\\pmod{p}$. We can write $-3$ as the square of an odd, since if $-3$ is the square of an even, then $-3\\equiv (2x)^2\\equiv (2x+p)^2\\pmod{p}$, where $2x+p$ is odd. But then \\begin{align*} -3\\equiv (2x+1)^2 &\\implies 4x^2+4x+4\\equiv 0\\\\ &\\implies x^2+x+1\\equiv 0\\\\ &\\implies (x-1)(x^2+x+1)\\equiv 0\\\\ &\\implies x^3\\equiv 1\\\\ \\end{align*} where the second implication follows since $4$ is a unit modulo $p$. But $x\\neq 1$, else we find $-3\\equiv 9\\pmod{p}$, which implies $12\\equiv 0\\pmod{p}$, which is false since $p$ is a Fermat prime greater than $3$. So $x$ has order dividing $3$, and thus has order $3$. Since $x^{p-1}\\equiv 1\\pmod{p}$, it follows that $3\\mid p-1$, or $p\\equiv 1\\pmod{3}$, a contradiction since $p\\equiv 2^n+1\\equiv (-1)^n+1\\equiv 0,2\\pmod{3}$. (In fact it is necessarily congruent to $2$ since $p$ actually has form $2^{2^m}+1$.)\n\nSo $3$ is not a square modulo $p$. If $g$ is primitive root, then $3\\equiv g^k\\pmod{p}$, where $k$ is necessarily odd. Then if $\\ell$ is such that, $$3^{\\ell}\\equiv g^{\\ell k}\\equiv 1\\pmod{p}$$ we find $p-1\\mid\\ell k$. But $p-1=2^n$, and since $k$ is odd, it follows that $p-1\\mid\\ell$. So the order of $3$ is $p-1$, and so $3$ is a primitive root.\n\nHere's another elementary proof employing the binomial theorem.\n\nLet $$p=2^n+1$$ be a Fermat prime for $$n\\geq 2$$. Since $$p\\equiv 1\\pmod{4}$$, it is known that $$a$$ is a primitive root mod $$p$$ iff $$-a$$ is a primitive root mod $$p$$ (in fact, this is exercise $$4$$, chapter $$4$$, of Ireland and Rosen's Number Theory). We will show that $$-3$$ is a primitive root for $$p$$.\n\nFirst, notice that $$-3\\equiv 2^n-2\\equiv 2(2^{n-1}-1)\\equiv 2(2^{n-1}+2^n)\\pmod{p}.$$ Moreover, since $$\\phi(p)=2^n$$, it suffices to show that $$(-3)^{2^{n-1}}\\not\\equiv 1\\pmod{p}$$. Given that $$2^{n-1}\\geq n$$, we have $$(-3)^{2^{n-1}}\\equiv (-1)(2^{n-1}+2^n)^{2^{n-1}}\\pmod{p}.$$ On the other hand, in the binomial expansion of $$(2^{n-1}+2^n)^{2^{n-1}}$$ we sum $$[k(n-1)+(2^{n-1}-k)n]^{\\text{th}}$$ powers of $$2$$, for $$k=0,1,\\ldots,2^{n-1}$$. Since, $$k(n-1)+(2^{n-1}-k)n=2^{n-1}n-k\\geq 2^{n-1}(n-1)\\geq n,$$ these powers of $$2$$ will all yield $$-1\\pmod{p}$$. Therefore, $$(2^{n-1}+2^n)^{2^{n-1}}\\equiv-\\sum_{k=0}^{2^{n-1}}\\binom{2^{n-1}}{k}\\equiv-(1+1)^{2^{n-1}}\\equiv 1\\pmod{p}.$$ Thus, $$(-3)^{2^{n-1}}\\equiv -1\\pmod{p}$$, as desired."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9078643,"math_prob":1.0000083,"size":1100,"snap":"2023-40-2023-50","text_gpt3_token_len":337,"char_repetition_ratio":0.10948905,"word_repetition_ratio":0.0,"special_character_ratio":0.31363636,"punctuation_ratio":0.075,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000076,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-11T14:02:23Z\",\"WARC-Record-ID\":\"<urn:uuid:59545cf5-d1ae-4c72-a0f4-933a7e2d379f>\",\"Content-Length\":\"160596\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:523ccf60-492b-4f84-8194-5c8f934b80ca>\",\"WARC-Concurrent-To\":\"<urn:uuid:10aba347-4d5f-497e-bcdc-0298accc003f>\",\"WARC-IP-Address\":\"172.64.144.30\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/268125/elementary-proof-that-3-is-a-primitive-root-of-a-fermat-prime\",\"WARC-Payload-Digest\":\"sha1:DO7N7YRRS24D4KGNQDL36Y5I67ZDINWA\",\"WARC-Block-Digest\":\"sha1:IWHIT6IYWGP5N7U245QX6IFN6RBB7WWL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679511159.96_warc_CC-MAIN-20231211112008-20231211142008-00795.warc.gz\"}"} |
https://itectec.com/matlab/matlab-how-to-find-a-non-affected-rank-in-a-vector-column/ | [
"# MATLAB: How to find a non affected rank in a vector column\n\nfind empty variable ?MATLAB\n\nDear matlab users,\nin order to make lghter my script I treat the format of the legend of several plots in a dedicated zone of my script\n``figure(1); plot(x,y); h_leg(1) = legend('plot1')...figure(2); plot(x,y); h_leg(2) = legend('plot2')...figure(4); plot(x,y); h_leg(4) = legend('plot4')...%% overall treatment of the various legendsfor j=1:4; set(h_leg(j),fontsize,12); end``\nhere, the issue is that h_leg(3) does not exist and the last loop will fail in dealing with h_leg.\nis there any mean to check that this class of object has some rank left undefined? A kind of isempty(h_leg(3)) for example\n``for j=1:4 try set(h_leg(j),fontsize,12); catch endend``\n``set(h_leg([1 2 4]),'fontsize',12)``"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.758216,"math_prob":0.9789951,"size":636,"snap":"2020-45-2020-50","text_gpt3_token_len":181,"char_repetition_ratio":0.1329114,"word_repetition_ratio":0.0,"special_character_ratio":0.3018868,"punctuation_ratio":0.18243243,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9952161,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-27T22:47:29Z\",\"WARC-Record-ID\":\"<urn:uuid:accbffbe-8e92-4c12-a751-0bf658698b3e>\",\"Content-Length\":\"14822\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:acec63b8-2312-4037-88e2-8d4e741906ec>\",\"WARC-Concurrent-To\":\"<urn:uuid:b9821c5b-ea73-4f95-85b6-7db6d37e7151>\",\"WARC-IP-Address\":\"45.76.174.189\",\"WARC-Target-URI\":\"https://itectec.com/matlab/matlab-how-to-find-a-non-affected-rank-in-a-vector-column/\",\"WARC-Payload-Digest\":\"sha1:JR42DD3J2DRMIUEU5PCSO6QFQNDYUJ52\",\"WARC-Block-Digest\":\"sha1:LCHTKA4DVJEIHBBA5BJBW7NLFL377LDK\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141194634.29_warc_CC-MAIN-20201127221446-20201128011446-00335.warc.gz\"}"} |
https://timov.la/blog/how/how-many-grams-in-a-liter.html | [
"## How Many Grams In A Liter?",
null,
"Is simple, He knows that 1 gram equals 0.001 liter. Since there are 1,000 grams in a kilogram, the answer is that 1 liter of water weights 1,000 grams.\n\n## How do you convert grams to liters?\n\nGram to Liter Conversion Gram to liter conversion can be a tricky one, as it depends on the density of the substance under consideration. That’s why we’ve built this g to litres converter and put a big database of densities inside! Read on to discover how to convert grams to liters by hand (and liters to grams as well) and about the nice features of our calculator.\n\n• As gram is a unit of mass and liter a unit of volume, conversion between them is not that straightforward. To convert grams to liters, you must use the formula:\n• Volume = Mass / Density\n• Pay attention to the units!\n• As for converting liters to grams, we only need to rearrange the formula above:\n• Mass = Density × Volume\n\nFor water, the conversion between grams and liters is easy because the density of water is about 1,000, This means that:\n\n• The mass of water in grams is 1,000 times its volume in liters,\n• The volume of water in liters is a thousandth of its mass in grams,\n\nOmni’s g to l converter will certainly make your life (at least its part concerning the conversion between g and liters) much easier! To use our tool:\n\n1. Choose the substance from the drop-down menu. Several categories are available, each containing various substances.\n2. The density of the substance gets filled in automatically. Alternatively, you can input a custom density,\n3. Input the mass in grams or the volume in liters. The conversion happens immediately, and the other field is filled in less than a blink of an eye!\n\nHappy with our g to litres converter? Since mass-to-volume conversion is such useful and common, Omni has built a whole collection converters similar to this one: The answer is a bit less than 0.2 l, more precisely: 0.1942 l. This is because the density of milk is slightly higher than the density of water: it equals 1030 g/l.\n\n1. Look up the density of oil: it’s 880 g/l.\n2. Divide the mass (500 g) by the density.\n3. That is, perform the computation 500 / 880 = 0.5682,\n4. The answer is 0.5682 liter, as claimed.\n\n: Gram to Liter Conversion\n\n#### Is 1 litre equal to 1 kg?\n\nkg to Liter Converter Welcome to our kg to liter weight converter. By using this tool, you can quickly find how many kilograms equal liters and vice versa for everyday liquids. Wondering how many liters equal 1 kg of water? Continue reading to find out where we share the formula to convert kilograms to liters using the density of the liquid, e.g., water.\n\n⚠️ This tool is the kg to liter conversion calculator for liquids specifically. If you want the liter to kg conversion for gases or solids, check out our, Here’s how to convert kg to liter using our converter, select the liquid you wish to convert, and enter the number of kilograms in the weight field to obtain the volume in liters for that liquid.\n\nAlternatively, if you want to use our weight converter for liter to kg, enter the number of liters in volume for the selected liquid, and you will receive its weight in kilograms. To give you an example, select honey 🍯 and convert 1 liter of it to kg.\n\nYou’ll get 1.42 kilograms of honey. 💡 Though 1 liter of water equals 1 kg, 1 liter of milk equals 1.03 kg. Next, we’ll tell you the formula of how to convert kg to a liter or vice versa. To convert liters to kg using density, we use the following formula: Similarly, we can rewrite the formula to convert kg to liters : To use these formulas, we need to know the (in kg/l units), i.e., the ratio of the mass to volume for liquid we wish to convert.\n\nUsing olive oil with a density of 0.918 kg/l, let’s convert 5 liters to kg as an example. Placing the values, we get:\n\n• weight of olive oil = 5 liters × 0.918 kg/l\n• weight of olive oil = 4.59 kg\nYou might be interested: How Much Money To Give For College Graduation Gift 2022?\n\nNow you know how to convert 5 liters to kg.1 kilogram of pure water equals 1 liter when reaching its maximum density of 1 kg/l, at the temperature of 39.2 °F or 4 °C. For higher temperatures, 1 kg of water is slightly more than 1 liter. For example, 1 kg of water equals about 1.002 liters at room temperature.\n\n• A kilogram is only equal to a liter when the density of the material is 1 kg/l, such as for pure water. To convert kg into liter, divide the weight of the material by its density:\n• liter = weight / density\n• Be sure to check the units of all your variables.\n\nTo convert kg to liters formula:\n\nMultiply the density of the liquid by its liter quantity, i.e.:\n\n1. Be sure to express density in kg per liters to convert kg to liters correctly.\n2. To find liter from kg, divide the weight quantity by the density of the liquid, i.e.:\n\n: kg to Liter Converter\n\n### How much is 1 kg in litres?\n\n1 Kg of water approximately equals 1 L.\n\n### How much is 200 grams in Litre?\n\nGram to Liter Conversion Table\n\nWeight in Grams: Volume in Liters of:\nWater Granulated Sugar\n190 g 0.19 L 0.224759 L\n200 g 0.2 L 0.236588 L\n210 g 0.21 L 0.248418 L\n\n## Is 1 liter 1000 grams?\n\nThe question, ”What is the weight, in grams, of 1 liter of water?” is simple, He knows that 1 gram equals 0.001 liter. Since there are 1,000 grams in a kilogram, the answer is that 1 liter of water weights 1,000 grams.\n\n## How many ml in 1 g?\n\nWe got volume with units of milliliters like we expected. That’s a good sign, but to make absolutely sure our answer is correct, we can convert backwards from milliliters to grams. If we found the correct answer before, we should get that 1.3 ml equals 1 g.\n\n### Which is heavier 1kg or 1 litre?\n\nThe relationship between mass and volume is called density, and measures the amount of mass that fits in a given volume. Water has a density of 1 kg /L, that is, 1 liter of water has a mass of exactly 1 kg.\n\n#### Is 1 litre equal to kg?\n\nLiter to Kilogram Conversion Table\n\nVolume in Liters: Weight in Kilograms of:\nWater Cooking Oil\n1 L 1 kg 0.88 kg\n2 L 2 kg 1.76 kg\n3 L 3 kg 2.64 kg\n\n#### How many Litres is 1kg of flour?\n\nWHAT CONTAINERS SHOULD I BRING TO COLLECTION? – You will need to think about the volumes of product you are buying and the containers you collect them in. For instance, 1kg of oats needs a container of approximately 3 litres in volume, 1kg of flour will need approximately 2 litres. 1) A set of reusable bags, cloth or sturdy plastic, is ideal for collecting.\n\nYou can make cloth bags with string ties or buy them. Make them big so you can get all your order in one bag, this will save time. Pillow cases work really well for larger amounts of pasta for instance. Bags are light for transporting and take the form of their contents and so don’t waste space in your overall bag. Compostable bags are generally only compostable if you get them to an industrial composting facility. They can be reused but are flimsy and won’t last long. We’d suggest you avoid them.\n\n2) We suggest you do not bring glass to collection, breakages do happen and this not only wastes one of your containers but takes time to clear and make safe. If you store your products in glass jars at home, that is fine, you can decant from bags when you get home. 6) For cleaning and personal care liquids – advice and health & safety guidelines:\n\nClean your container before refilling with a different product, this doesn’t apply to refilling a container that previously contained exactly the same product, Remove previous labels before refilling if using a bottle for a different product. This includes if you are putting the same product from a different brand into an old bottle. eg. refilling an Ecover washing up liquid bottle with SESI washing up liquid. Prior to collection mark the volume you require on the container by using the same volume of water at home first. This will save you having to use a measuring jug and funnel at collection. We would really appreciate it if you even measure bottles that say they contain the quantity you require. If you simply fill to the top you may be taking much more than the quantity stated on the bottle. From experience, bottles are not always what they seem!\n\n3) Tupperware, tins, boxes are also fine.4) Try to avoid containers with a thin opening as it is hard to pour your products into containers like this, but we do have wide necked funnels available.5) It is very helpful if you can label all your containers with the contents to go in and the amount.\n\nYou might be interested: How Long Does It Take To Fill A Cavity?\n\nUse see through containers so that you can see the liquid inside, this is very important. Wide necked containers are much easier to use, anything bigger than 2cm is ideal. Bring as few containers as possible, it’s much easier to fill one large container than lots of little ones.\n\nFor SESI products, label your refilled bottle with the product labels provided. Full product information is available on the Naked Larder website. If preferred you can print the product information out at home and stick on to the bottle in advance of collection. One of our team will be available to refill bottles for you when they can and it will be helpful if you put the SESI labels on your bottles before giving them to them. It would also help if you write your name on your bottles at home in advance so they don’t get mixed up with other peoples.\n\nWe cannot accept milk bottles for cleaning product refills as we have had a couple of reports of them degrading and the product leaking out.\n\nExercise extreme caution if you are refilling food or drinks bottles with detergents, Keep out of reach of children and it is even more important to label the bottle.\n\n7) For shampoo, conditioner and moisturising lotion: These are not runny liquids and cannot be dispensed into a measuring jug first so it is even more important to follow the above advice. Use a jar or wide necked or very short necked bottle for these. They will not dispense into a long, narrow necked bottle as the neck gets plugged up. 8) It is the customer’s responsibility to ensure their containers are FIT FOR PURPOSE. Naked Larder cannot be held responsible for any liability or damage arising from use of our refill products once they have been decanted into the customers own containers.\n\n## How many kg is 1 Litre of oil?\n\nWeight units energy Coal and oil products are measured both in kilograms and in cubic metres of natural gas equivalents. Calculating weight from volume units of oil products:- LPG: 1 litre = 0.53 kilogram; -Naphtha: 1 litre = 0.75 kilogram;- Oil-aromatics: 1 litre = 0.75 kilogram;- Aviation fuel: 1 litre = 0,80 kilogram;- Motor fuel: 1 litre = 0.745 kilogram;- Other light oils: 1 litre = 0.75 kilogram;- Petroleum: 1 litre = 0.79 kilogram;- Gas, diesel, light fuel oil: 1 litre = 0.84 kilogram;- Heavy fuel oil: 1 litre = 0,96 kilogram;- Lubricants: 1 litre = 0.88 kilogram.Calculating weight from cubic metres of natural gas equivalents:- LPG: 1 m3 ae = 0.700 kilogram;- Natural gas: 1 m3 = 0,829 kilogram; – Other gas: variable dependent on composition.\n\n### What is the weight of 1 Litre?\n\nExplanation – Litres are most commonly used for items (such as fluids and solids that can be poured) which are measured by the capacity or size of their container, whereas cubic metres (and derived units) are most commonly used for items measured either by their dimensions or their displacements.\n\nThe litre is often also used in some calculated measurements, such as density (kg/L), allowing an easy comparison with the density of water. One litre of water has a mass of almost exactly one kilogram when measured at its maximal density, which occurs at about 4 °C. It follows, therefore, that 1000th of a litre, known as one millilitre (1 mL), of water has a mass of about 1 g; 1000 litres of water has a mass of about 1000 kg (1 tonne or megagram ).\n\nThis relationship holds because the gram was originally defined as the mass of 1 mL of water; however, this definition was abandoned in 1799 because the density of water changes with temperature and, very slightly, with pressure. It is now known that the density of water also depends on the isotopic ratios of the oxygen and hydrogen atoms in a particular sample.\n\n#### What does 1 gram per liter mean?\n\nunit of measurement of mass concentration that shows how many grams of a certain substance are present in one litre of a usually liquid or gaseous mixture\n\ng/lgrams per literg/Lgram per liter\n\n## Does 1 gram equal 1 ml?\n\n• Question How do I convert 125 g to ml? You have to use a conversion factor based on the density of the substance you’re considering.\n• Question Is a 100 gram bar of soap the same as 100 milliliters? Roughly but not quite. gram is weight, liters are volume. It works for water because a liter of water weighs 1 kg. But soap has a different density.\n• Question How do I convert milliliters to milligrams? If you’re talking about pure water, 1ml is equal to 1g. This only applies to pure water. Other liquids have other densities.\nYou might be interested: How Much Does A Smith Machine Bar Weigh?\n\n• To convert from grams to milliliters, divide the grams by the density instead of multiplying.\n• The density of water is 1 g/mL. If a substance’s density is higher than 1 g/mL then that substance is more dense than pure water, and would sink in it. If a substance’s density is less than 1 g/ml, then that substance is less dense than water, and would float.\n\nObjects can expand or shrink as you change their temperature, especially if they melt, freeze, or undergo a similar change. However, if you know the form of the substance (for instance, solid or liquid), and you are working in normal everyday conditions, you can use its “typical” density.\n\nAdvertisement Article Summary X The right way to convert from milliliters to grams depends on the substance you’re measuring. If you’re measuring water, 1 milliliter is equal to 1 gram, but if you’re measuring flour, 1 milliliter is equal to 0.57 grams.\n\n### How many grams is 1 liter of milk?\n\nThe weight of one litre of milk is 930 grams.\n\n### How many GMS are in 1kg?\n\nHow many grams are in a kilogram? – There are 1000 grams in a kilogram. When converting between grams and kilograms, you would divide the number of grams you have by 1000, If converting from kilograms to grams, you would multiply by 1000, For example, we have 5270 grams of flour but we’d like to express it in kilograms.\n\n## Is 1g in 100ml 1?\n\n1% = 1 g in 100 ml ( =1000mg in 100ml = 10mg in 1 ml) 50% = 50 g in 100 ml (= 500 mg in 1 ml = 5 g in 10 ml)\n\n## What does 1 gram per liter mean?\n\nunit of measurement of mass concentration that shows how many grams of a certain substance are present in one litre of a usually liquid or gaseous mixture\n\ng/lgrams per literg/Lgram per liter\n\n## Does 1 gram equal 1 ml?\n\n• Question How do I convert 125 g to ml? You have to use a conversion factor based on the density of the substance you’re considering.\n• Question Is a 100 gram bar of soap the same as 100 milliliters? Roughly but not quite. gram is weight, liters are volume. It works for water because a liter of water weighs 1 kg. But soap has a different density.\n• Question How do I convert milliliters to milligrams? If you’re talking about pure water, 1ml is equal to 1g. This only applies to pure water. Other liquids have other densities.\n\n• To convert from grams to milliliters, divide the grams by the density instead of multiplying.\n• The density of water is 1 g/mL. If a substance’s density is higher than 1 g/mL then that substance is more dense than pure water, and would sink in it. If a substance’s density is less than 1 g/ml, then that substance is less dense than water, and would float.\n\nObjects can expand or shrink as you change their temperature, especially if they melt, freeze, or undergo a similar change. However, if you know the form of the substance (for instance, solid or liquid), and you are working in normal everyday conditions, you can use its “typical” density.\n\nAdvertisement Article Summary X The right way to convert from milliliters to grams depends on the substance you’re measuring. If you’re measuring water, 1 milliliter is equal to 1 gram, but if you’re measuring flour, 1 milliliter is equal to 0.57 grams.\n\n## How much is 200g in ml?\n\nConvert 200 grams to ml – On our home page we have explained in detail that for daily life calculations, such as for cooking, 200 ml is 200 cm 3, and that 200 g equal 200 milliliter for water, approximately.200 grams to water = 200 ml 200 g water = 200 milliliters To convert 200 gr to ml for any substance we have to know, both, the substance’s density ρ in g/cm3 or in any other unit, and the mass, which is 200 grams in the case here.\n\n• You can find the density of all materials in the search engine of your preference.\n• In the next section of our 200 gram ml post we show you the volume equivalent of 200 g for some cooking ingredients.\n• Near the top of this page you can find our grams to ml converter which allows you to change 200 grams into ml for all substances.\n\nBookmark us now as grams to ml. Here you can convert 200 ml to grams, which is the inverse of 200g to ml."
] | [
null,
"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9138842,"math_prob":0.9562547,"size":17630,"snap":"2023-40-2023-50","text_gpt3_token_len":4294,"char_repetition_ratio":0.1472257,"word_repetition_ratio":0.24503514,"special_character_ratio":0.2488372,"punctuation_ratio":0.11356297,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95717925,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-01T03:34:06Z\",\"WARC-Record-ID\":\"<urn:uuid:0843319f-6422-4874-bd0a-cb269c9b939b>\",\"Content-Length\":\"160197\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8d559b5b-57f7-4819-8554-39f7ad1a61eb>\",\"WARC-Concurrent-To\":\"<urn:uuid:2070bb65-d4b8-4906-a9a3-2c575b9b280e>\",\"WARC-IP-Address\":\"104.21.25.3\",\"WARC-Target-URI\":\"https://timov.la/blog/how/how-many-grams-in-a-liter.html\",\"WARC-Payload-Digest\":\"sha1:B7IJZKKDKNSWZZSS4SIIRV6M324IZ7X7\",\"WARC-Block-Digest\":\"sha1:3PBRFJREAOXDL3ET7MDHFVA2UOQEFY7B\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100264.9_warc_CC-MAIN-20231201021234-20231201051234-00804.warc.gz\"}"} |
https://de.mathworks.com/help/deeplearning/ug/create-custom-weighted-cross-entropy-classification-layer.html | [
"## Define Custom Weighted Classification Layer\n\nTip\n\nTo construct a classification output layer with cross entropy loss for k mutually exclusive classes, use `classificationLayer`. If you want to use a different loss function for your classification problems, then you can define a custom classification output layer using this example as a guide.\n\nThis example shows how to define and create a custom weighted classification output layer with weighted cross entropy loss. Use a weighted classification layer for classification problems with an imbalanced distribution of classes. For an example showing how to use a weighted classification layer in a network, see Speech Command Recognition Using Deep Learning.\n\nTo define a custom classification output layer, you can use the template provided in this example, which takes you through the following steps:\n\n1. Name the layer – Give the layer a name so it can be used in MATLAB®.\n\n2. Declare the layer properties – Specify the properties of the layer.\n\n3. Create a constructor function (optional) – Specify how to construct the layer and initialize its properties. If you do not specify a constructor function, then the software initializes the properties with `''` at creation.\n\n4. Create a forward loss function – Specify the loss between the predictions and the training targets.\n\n5. Create a backward loss function (optional) – Specify the derivative of the loss with respect to the predictions. If you do not specify a backward loss function, then the forward loss function must support `dlarray` objects.\n\nA weighted classification layer computes the weighted cross entropy loss for classification problems. Weighted cross entropy is an error measure between two continuous random variables. For prediction scores Y and training targets T, the weighted cross entropy loss between Y and T is given by\n\n`$L=-\\frac{1}{N}\\sum _{n=1}^{N}\\sum _{i=1}^{K}\\text{}{w}_{i}{T}_{ni}\\mathrm{log}\\left({Y}_{ni}\\right),$`\n\nwhere N is the number of observations, K is the number of classes, and w is a vector of weights for each class.\n\n### Classification Output Layer Template\n\nCopy the classification output layer template into a new file in MATLAB. This template outlines the structure of a classification output layer and includes the functions that define the layer behavior.\n\n```classdef myClassificationLayer < nnet.layer.ClassificationLayer properties % (Optional) Layer properties. % Layer properties go here. end methods function layer = myClassificationLayer() % (Optional) Create a myClassificationLayer. % Layer constructor function goes here. end function loss = forwardLoss(layer, Y, T) % Return the loss between the predictions Y and the training % targets T. % % Inputs: % layer - Output layer % Y – Predictions made by network % T – Training targets % % Output: % loss - Loss between Y and T % Layer forward loss function goes here. end function dLdY = backwardLoss(layer, Y, T) % (Optional) Backward propagate the derivative of the loss % function. % % Inputs: % layer - Output layer % Y – Predictions made by network % T – Training targets % % Output: % dLdY - Derivative of the loss with respect to the % predictions Y % Layer backward loss function goes here. end end end ```\n\n### Name the Layer\n\nFirst, give the layer a name. In the first line of the class file, replace the existing name `myClassificationLayer` with `weightedClassificationLayer`.\n\n```classdef weightedClassificationLayer < nnet.layer.ClassificationLayer ... end```\n\nNext, rename the `myClassificationLayer` constructor function (the first function in the `methods` section) so that it has the same name as the layer.\n\n``` methods function layer = weightedClassificationLayer() ... end ... end```\n\n#### Save the Layer\n\nSave the layer class file in a new file named `weightedClassificationLayer.m`. The file name must match the layer name. To use the layer, you must save the file in the current folder or in a folder on the MATLAB path.\n\n### Declare Layer Properties\n\nDeclare the layer properties in the `properties` section.\n\nBy default, custom output layers have the following properties:\n\n• `Name`Layer name, specified as a character vector or a string scalar. To include a layer in a layer graph, you must specify a nonempty unique layer name. If you train a series network with the layer and `Name` is set to `''`, then the software automatically assigns a name to the layer at training time.\n\n• `Description` – One-line description of the layer, specified as a character vector or a string scalar. This description appears when the layer is displayed in a `Layer` array. If you do not specify a layer description, then the software displays ```\"Classification Output\"``` or `\"Regression Output\"`.\n\n• `Type` – Type of the layer, specified as a character vector or a string scalar. The value of `Type` appears when the layer is displayed in a `Layer` array. If you do not specify a layer type, then the software displays the layer class name.\n\nCustom classification layers also have the following property:\n\n• `Classes`Classes of the output layer, specified as a categorical vector, string array, cell array of character vectors, or `'auto'`. If `Classes` is `'auto'`, then the software automatically sets the classes at training time. If you specify the string array or cell array of character vectors `str`, then the software sets the classes of the output layer to `categorical(str,str)`. The default value is `'auto'`.\n\nCustom regression layers also have the following property:\n\n• `ResponseNames`Names of the responses, specified a cell array of character vectors or a string array. At training time, the software automatically sets the response names according to the training data. The default is `{}`.\n\nIf the layer has no other properties, then you can omit the `properties` section.\n\nIn this example, the layer requires an additional property to save the class weights. Specify the property `ClassWeights` in the `properties` section.\n\n``` properties % Vector of weights corresponding to the classes in the training % data ClassWeights end```\n\n### Create Constructor Function\n\nCreate the function that constructs the layer and initializes the layer properties. Specify any variables required to create the layer as inputs to the constructor function.\n\nSpecify input argument `classWeights` to assign to the `ClassWeights` property. Also specify an optional input argument `name` to assign to the `Name` property at creation. Add a comment to the top of the function that explains the syntaxes of the function.\n\n``` function layer = weightedClassificationLayer(classWeights, name) % layer = weightedClassificationLayer(classWeights) creates a % weighted cross entropy loss layer. classWeights is a row % vector of weights corresponding to the classes in the order % that they appear in the training data. % % layer = weightedClassificationLayer(classWeights, name) % additionally specifies the layer name. ... end```\n\n#### Initialize Layer Properties\n\nReplace the comment `% Layer constructor function goes here` with code that initializes the layer properties.\n\nGive the layer a one-line description by setting the `Description` property of the layer. Set the `Name` property to the optional input argument `name`.\n\n``` function layer = weightedClassificationLayer(classWeights, name) % layer = weightedClassificationLayer(classWeights) creates a % weighted cross entropy loss layer. classWeights is a row % vector of weights corresponding to the classes in the order % that they appear in the training data. % % layer = weightedClassificationLayer(classWeights, name) % additionally specifies the layer name. % Set class weights layer.ClassWeights = classWeights; % Set layer name if nargin == 2 layer.Name = name; end % Set layer description layer.Description = 'Weighted cross entropy'; end```\n\n### Create Forward Loss Function\n\nCreate a function named `forwardLoss` that returns the weighted cross entropy loss between the predictions made by the network and the training targets. The syntax for `forwardLoss` is ```loss = forwardLoss(layer, Y, T)```, where `Y` is the output of the previous layer and `T` represents the training targets.\n\nFor classification problems, the dimensions of `T` depend on the type of problem.\n\n2-D image classification1-by-1-by-K-by-N, where K is the number of classes and N is the number of observations.4\n3-D image classification1-by-1-by-1-by-K-by-N, where K is the number of classes and N is the number of observations.5\nSequence-to-label classificationK-by-N, where K is the number of classes and N is the number of observations.2\nSequence-to-sequence classificationK-by-N-by-S, where K is the number of classes, N is the number of observations, and S is the sequence length.2\n\nThe size of `Y` depends on the output of the previous layer. To ensure that `Y` is the same size as `T`, you must include a layer that outputs the correct size before the output layer. For example, to ensure that `Y` is a 4-D array of prediction scores for K classes, you can include a fully connected layer of size K followed by a softmax layer before the output layer.\n\nA weighted classification layer computes the weighted cross entropy loss for classification problems. Weighted cross entropy is an error measure between two continuous random variables. For prediction scores Y and training targets T, the weighted cross entropy loss between Y and T is given by\n\n`$L=-\\frac{1}{N}\\sum _{n=1}^{N}\\sum _{i=1}^{K}\\text{}{w}_{i}{T}_{ni}\\mathrm{log}\\left({Y}_{ni}\\right),$`\n\nwhere N is the number of observations, K is the number of classes, and w is a vector of weights for each class.\n\nThe inputs `Y` and `T` correspond to Y and T in the equation, respectively. The output `loss` corresponds to L. Add a comment to the top of the function that explains the syntaxes of the function.\n\n``` function loss = forwardLoss(layer, Y, T) % loss = forwardLoss(layer, Y, T) returns the weighted cross % entropy loss between the predictions Y and the training % targets T. N = size(Y,4); Y = squeeze(Y); T = squeeze(T); W = layer.ClassWeights; loss = -sum(W*(T.*log(Y)))/N; end```\n\nBecause the `forwardLoss` function only uses functions that support `dlarray` objects, defining the `backwardLoss` function is optional. For a list of functions that support `dlarray` objects, see List of Functions with dlarray Support.\n\n### Completed Layer\n\nView the completed classification output layer class file.\n\n```classdef weightedClassificationLayer < nnet.layer.ClassificationLayer properties % Vector of weights corresponding to the classes in the training % data ClassWeights end methods function layer = weightedClassificationLayer(classWeights, name) % layer = weightedClassificationLayer(classWeights) creates a % weighted cross entropy loss layer. classWeights is a row % vector of weights corresponding to the classes in the order % that they appear in the training data. % % layer = weightedClassificationLayer(classWeights, name) % additionally specifies the layer name. % Set class weights layer.ClassWeights = classWeights; % Set layer name if nargin == 2 layer.Name = name; end % Set layer description layer.Description = 'Weighted cross entropy'; end function loss = forwardLoss(layer, Y, T) % loss = forwardLoss(layer, Y, T) returns the weighted cross % entropy loss between the predictions Y and the training % targets T. N = size(Y,4); Y = squeeze(Y); T = squeeze(T); W = layer.ClassWeights; loss = -sum(W*(T.*log(Y)))/N; end end end```\n\n### GPU Compatibility\n\nIf the layer forward functions fully support `dlarray` objects, then the layer is GPU compatible. Otherwise, to be GPU compatible, the layer functions must support inputs and return outputs of type `gpuArray` (Parallel Computing Toolbox).\n\nMany MATLAB built-in functions support `gpuArray` (Parallel Computing Toolbox) and `dlarray` input arguments. For a list of functions that support `dlarray` objects, see List of Functions with dlarray Support. For a list of functions that execute on a GPU, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox). To use a GPU for deep learning, you must also have a CUDA® enabled NVIDIA® GPU with compute capability 3.0 or higher. For more information on working with GPUs in MATLAB, see GPU Computing in MATLAB (Parallel Computing Toolbox).\n\nThe MATLAB functions used in `forwardLoss` in `weightedClassificationLayer` all support `dlarray` objects, so the layer is GPU compatible.\n\n### Check Output Layer Validity\n\nCheck the validity of the custom classification output layer `weightedClassificationLayer`.\n\nDefine a custom weighted classification layer. To create this layer, save the file `weightedClassificationLayer.m` in the current folder.\n\nCreate an instance of the layer. Specify the class weights as a vector with three elements corresponding to three classes.\n\n```classWeights = [0.1 0.7 0.2]; layer = weightedClassificationLayer(classWeights);```\n\nCheck that the layer is valid using `checkLayer`. Set the valid input size to the typical size of a single observation input to the layer. The layer expects a 1-by-1-by-K-by-N array input, where K is the number of classes and N is the number of observations in the mini-batch.\n\n```numClasses = numel(classWeights); validInputSize = [1 1 numClasses]; checkLayer(layer,validInputSize,'ObservationDimension',4);```\n```Skipping GPU tests. No compatible GPU device found. Skipping code generation compatibility tests. To check validity of the layer for code generation, specify the 'CheckCodegenCompatibility' and 'ObservationDimension' options. Running nnet.checklayer.TestOutputLayerWithoutBackward ........ Done nnet.checklayer.TestOutputLayerWithoutBackward __________ Test Summary: 8 Passed, 0 Failed, 0 Incomplete, 2 Skipped. Time elapsed: 0.26456 seconds. ```\n\nThe test summary reports the number of passed, failed, incomplete, and skipped tests."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.6909511,"math_prob":0.8800884,"size":13176,"snap":"2020-45-2020-50","text_gpt3_token_len":2788,"char_repetition_ratio":0.20832068,"word_repetition_ratio":0.3287805,"special_character_ratio":0.20453855,"punctuation_ratio":0.12298299,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9879011,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-28T20:20:12Z\",\"WARC-Record-ID\":\"<urn:uuid:1ebd1ad9-54ea-44ee-b695-5d4a9b92e7c3>\",\"Content-Length\":\"97190\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ef39a4f8-659a-45dc-ac06-c8779f6e386a>\",\"WARC-Concurrent-To\":\"<urn:uuid:9274671e-62eb-4314-8c21-f514644c8206>\",\"WARC-IP-Address\":\"23.223.252.57\",\"WARC-Target-URI\":\"https://de.mathworks.com/help/deeplearning/ug/create-custom-weighted-cross-entropy-classification-layer.html\",\"WARC-Payload-Digest\":\"sha1:WDAJEDLH5A7ACY55LOCXGEPK2WTZ4B5G\",\"WARC-Block-Digest\":\"sha1:3HK4SDZMQNMC74H4ZNK4LU22OFE5YBOX\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141195745.90_warc_CC-MAIN-20201128184858-20201128214858-00578.warc.gz\"}"} |
https://www.calculatoratoz.com/en/volume-of-conductor-material-using-area-of-x-section(2-phase-4-wire-os)-calculator/Calc-16398 | [
"🔍\n🔍\n\n## Credits\n\nVishwakarma Government Engineering College (VGEC), Ahmedabad\nUrvi Rathod has created this Calculator and 1000+ more calculators!\nOsmania University (OU), Hyderabad\nKethavath Srinath has verified this Calculator and 1000+ more calculators!\n\n## Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS) Solution\n\nSTEP 0: Pre-Calculation Summary\nFormula Used\nvolume_of_conductor_material = (4)*Area Of X-Section*Length\nV = (4)*a*l\nThis formula uses 2 Variables\nVariables Used\nArea Of X-Section - Area Of X-Section is defined as the cross-sectional area simply as the square of the wire's diameter in mils and calls that our area in units of “circular mils.” (Measured in Square Meter)\nLength - Length is the measurement or extent of something from end to end. (Measured in Meter)\nSTEP 1: Convert Input(s) to Base Unit\nArea Of X-Section: 5 Square Meter --> 5 Square Meter No Conversion Required\nLength: 3 Meter --> 3 Meter No Conversion Required\nSTEP 2: Evaluate Formula\nSubstituting Input Values in Formula\nV = (4)*a*l --> (4)*5*3\nEvaluating ... ...\nV = 60\nSTEP 3: Convert Result to Output's Unit\n60 Cubic Meter --> No Conversion Required\nFINAL ANSWER\n60 Cubic Meter <-- Volume Of Conductor Material\n(Calculation completed in 00.000 seconds)\n\n## < 9 Area Of X-Section Calculators\n\nPower Transmitted Using Area Of X-Section(2-phase 4-wire OS)\npower_transmitted = sqrt((2*Area Of X-Section*(Maximum Voltage^2)*Line Losses*((cos(Theta))^2))/(Resistivity*Length)) Go\nMaximum Voltage Using Area Of X-section(2-phase 4-wire OS)\nmaximum_voltage = sqrt((Length*Resistivity*(Power Transmitted^2))/(2*Area Of X-Section*Line Losses*((cos(Theta))^2))) Go\nRMS Voltage Using Area Of X-Section(2-phase 4-wire OS)\nrms_voltage = sqrt((Length*Resistivity*(Power Transmitted^2))/(Area Of X-Section*Line Losses*((cos(Theta))^2))) Go\nPower Factor Using Area Of X-section(2-phase 4-wire OS)\npower_factor = sqrt((Power Transmitted^2)*Resistivity*Length/(2*Area Of X-Section*Line Losses*(Maximum Voltage^2))) Go\nLine Losses Using Area Of X-Section(2-phase 4-wire OS)\nline_losses = (Length*Resistivity*(Power Transmitted^2))/(2*Area Of X-Section*(Maximum Voltage^2)*((cos(Theta))^2)) Go\nLength Of Wire Using Area Of X-section(2-phase 4-wire OS)\nlength = 2*Area Of X-Section*(Maximum Voltage^2)*Line Losses*((cos(Theta))^2)/(Resistivity*(Power Transmitted^2)) Go\nResistivity Using Area Of X-Section(2-phase 4-wire OS)\nresistivity = 2*Area Of X-Section*(Maximum Voltage^2)*Line Losses*((cos(Theta))^2)/(Length*(Power Transmitted^2)) Go\nLoad Current Using Area Of X-section(2-phase 4-wire OS)\nload_current = sqrt(Line Losses*Area Of X-Section/((32)*Resistivity*Length)) Go\nVolume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS)\nvolume_of_conductor_material = (4)*Area Of X-Section*Length Go\n\n### Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS) Formula\n\nvolume_of_conductor_material = (4)*Area Of X-Section*Length\nV = (4)*a*l\n\n## What is the value of maximum voltage and volume of conductor material in 2-phase 4-wire system?\n\nThe volume of conductor material required in this system is 1/2cos2θ times that of 2-wire d.c.system with the one conductor earthed. The maximum voltage between conductors is 2vm so that r.m.s. value of voltage between them is √2vm.\n\n## How to Calculate Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS)?\n\nVolume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS) calculator uses volume_of_conductor_material = (4)*Area Of X-Section*Length to calculate the Volume Of Conductor Material, The Volume Of Conductor Material Using Area Of X-section(2-phase 4-wire OS) formula is defined as the 3-dimensional space enclosed by a conductor material of a two-phase four-wire overhead system. Volume Of Conductor Material and is denoted by V symbol.\n\nHow to calculate Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS) using this online calculator? To use this online calculator for Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS), enter Area Of X-Section (a) and Length (l) and hit the calculate button. Here is how the Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS) calculation can be explained with given input values -> 60 = (4)*5*3.\n\n### FAQ\n\nWhat is Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS)?\nThe Volume Of Conductor Material Using Area Of X-section(2-phase 4-wire OS) formula is defined as the 3-dimensional space enclosed by a conductor material of a two-phase four-wire overhead system and is represented as V = (4)*a*l or volume_of_conductor_material = (4)*Area Of X-Section*Length. Area Of X-Section is defined as the cross-sectional area simply as the square of the wire's diameter in mils and calls that our area in units of “circular mils.” and Length is the measurement or extent of something from end to end.\nHow to calculate Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS)?\nThe Volume Of Conductor Material Using Area Of X-section(2-phase 4-wire OS) formula is defined as the 3-dimensional space enclosed by a conductor material of a two-phase four-wire overhead system is calculated using volume_of_conductor_material = (4)*Area Of X-Section*Length. To calculate Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS), you need Area Of X-Section (a) and Length (l). With our tool, you need to enter the respective value for Area Of X-Section and Length and hit the calculate button. You can also select the units (if any) for Input(s) and the Output as well.\nHow many ways are there to calculate Volume Of Conductor Material?\nIn this formula, Volume Of Conductor Material uses Area Of X-Section and Length. We can use 9 other way(s) to calculate the same, which is/are as follows -\n• line_losses = (Length*Resistivity*(Power Transmitted^2))/(2*Area Of X-Section*(Maximum Voltage^2)*((cos(Theta))^2))\n• maximum_voltage = sqrt((Length*Resistivity*(Power Transmitted^2))/(2*Area Of X-Section*Line Losses*((cos(Theta))^2)))\n• power_factor = sqrt((Power Transmitted^2)*Resistivity*Length/(2*Area Of X-Section*Line Losses*(Maximum Voltage^2)))\n• power_transmitted = sqrt((2*Area Of X-Section*(Maximum Voltage^2)*Line Losses*((cos(Theta))^2))/(Resistivity*Length))\n• resistivity = 2*Area Of X-Section*(Maximum Voltage^2)*Line Losses*((cos(Theta))^2)/(Length*(Power Transmitted^2))\n• length = 2*Area Of X-Section*(Maximum Voltage^2)*Line Losses*((cos(Theta))^2)/(Resistivity*(Power Transmitted^2))\n• volume_of_conductor_material = (4)*Area Of X-Section*Length\n• load_current = sqrt(Line Losses*Area Of X-Section/((32)*Resistivity*Length))\n• rms_voltage = sqrt((Length*Resistivity*(Power Transmitted^2))/(Area Of X-Section*Line Losses*((cos(Theta))^2)))\nWhere is the Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS) calculator used?\nAmong many, Volume Of Conductor Material Using Area Of X-Section(2-phase 4-wire OS) calculator is widely used in real life applications like {FormulaUses}. Here are few more real life examples -\n{FormulaExamplesList}",
null,
"Let Others Know\nLinkedIn\nEmail\nWhatsApp\nCopied!"
] | [
null,
"https://www.calculatoratoz.com/Images/share.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.81411433,"math_prob":0.9947988,"size":1324,"snap":"2021-21-2021-25","text_gpt3_token_len":327,"char_repetition_ratio":0.18939394,"word_repetition_ratio":0.15656565,"special_character_ratio":0.22885196,"punctuation_ratio":0.0625,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9995501,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-21T12:50:54Z\",\"WARC-Record-ID\":\"<urn:uuid:32edcd15-c6cf-4799-8030-edbdaa58422d>\",\"Content-Length\":\"129000\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2bf6e420-70aa-404b-9004-019e0ceeb336>\",\"WARC-Concurrent-To\":\"<urn:uuid:50d1e966-5b46-4635-8b3e-1d5cbb275c25>\",\"WARC-IP-Address\":\"67.225.147.106\",\"WARC-Target-URI\":\"https://www.calculatoratoz.com/en/volume-of-conductor-material-using-area-of-x-section(2-phase-4-wire-os)-calculator/Calc-16398\",\"WARC-Payload-Digest\":\"sha1:IB3OLX45OEVKC2TQIACFI774QHP5K3CY\",\"WARC-Block-Digest\":\"sha1:MMZDB4BX2WHDIXRZ3OS5WOWM4HEW5MZA\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623488273983.63_warc_CC-MAIN-20210621120456-20210621150456-00251.warc.gz\"}"} |
https://adtmag.com/articles/2000/09/25/obfuscated-c.aspx | [
"### Obfuscated C++\n\n.\n Last Month's Obfuscated C++ Last month we asked you to explain the output of the following program: ```#include #include using namespace std; template void g(int size, op o, const char* sep = \"\") { for(int i = 0; i < size;=\"\" ++i)=\"\" cout=\"\">< o(i)=\"\">< sep;=\"\" }=\"\"> struct w { char* operator()(int a) { return g(size,binder1st(op(),a),\"\\t\"),\"\\n\"; } }; template void x(){ g(size, w()); } int main(){ x<>,6>(); return 0; } ``` This constructor of the x template prints a multiplication table of six rows and six columns, for example: ```0 0 0 0 0 0 0 1 2 3 4 5 0 2 4 6 8 10 0 3 6 9 12 15 0 4 8 12 16 20 0 5 10 15 20 25 ``` To understand how this works, we'll first examine the template function g(size,op,sep). op is a function object. The function object is \"called\" with the first size integers (starting at 0) and the results printed (separated by the string specified by the optional sep argument). We use this function twice. The first call is in the template function x. It calls g, passing size and an object of type w. For our example, this will call g(6,w,6>,\"\"), which will cause the following invocations to occur: ```w<'multiplies,6>::operator()(0); //rownum = 0 w,6>::operator()(1); //rownum = 1 ... w,6>::operator()(5); //rownum = 5 ``` Each of these constructors prints a single row of the table. It does this by creating a new function object ```binder1st >(multiplies(),rownum) ``` where rownum is the row being printed. This binder1st object is passed to g(), which invokes operator() on the object for each of the integers from 0 to size-1. This prints a single row of the table, using a tab as the separator argument. binder1st is a standard template class defined in the header. It takes a binary function object (in this case, multiplies) and a single operand, and creates a new unary function object that \"binds\" the operand as the first operand of the binary function. This resulting object is invoked by calling operator(), passing a single operand. operator() returns the result of applying the original binary function to the \"bound\" operand and the operand supplied at the call. In our example, the row index is \"bound\" as the first operand. For each column, the invocation of the binder1st object invokes multiplies(int,int), passing the row and column indices respectively; the result is printed by g. For bonus credit: Explain how the newline at the end of each row is printed. Parameterizing the operation as a function object allows us to generate tables for other operations. For instance, x,4>() gives us: ```0 1 2 3 1 2 3 4 2 3 4 5 3 4 5 6 ```\n\nThis Month's Obfuscated C++\n\nThis month's Obfuscated C++ tests your knowledge of some of the standard template libraries. What is the output of the following program?\n```#include <iostream>\n#include <list>\n#include <iterator>\n#include <algorithm>\n\nstruct {\nvoid operator()(int i){cout<<i<<\"\\n\";}\n} c;\nint main(){\nlist<int> il(2,1);\nlist<int>::iterator i1(il.begin()),i2(i1);i2++;\nback_insert_iterator<list<int> >i3(il);\nfor(;*i1<20000;i1++,++i2)\n*i3=*i1+*i2;\nfor_each(il.begin(),il.end(),c);\nreturn 0;\n}\n```\n\nRob Murray is Director, Engineering at the Irvine office of Net Explorer, an object-oriented software consulting company based in Houston, TX. He has taught C++ at technical conferences since 1987 and is the author of C++ Strategies and Tactics. He was the founding editor of C++ Report and can be contacted at [email protected]."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.74024093,"math_prob":0.9693819,"size":3491,"snap":"2020-34-2020-40","text_gpt3_token_len":943,"char_repetition_ratio":0.13478635,"word_repetition_ratio":0.016129032,"special_character_ratio":0.29876825,"punctuation_ratio":0.15013774,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97115594,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-10T00:05:49Z\",\"WARC-Record-ID\":\"<urn:uuid:eea3a7c1-bf56-4e18-8c7c-d6e10a742c71>\",\"Content-Length\":\"146126\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:077dd00a-f5f6-4041-8a3a-ca7cd0c3404e>\",\"WARC-Concurrent-To\":\"<urn:uuid:5afa621f-1db0-46ca-93e9-86d8b615b730>\",\"WARC-IP-Address\":\"104.26.13.245\",\"WARC-Target-URI\":\"https://adtmag.com/articles/2000/09/25/obfuscated-c.aspx\",\"WARC-Payload-Digest\":\"sha1:AJVGRLSYMBOQFTKPYP35S2JUHETV4QBC\",\"WARC-Block-Digest\":\"sha1:QYFBDTNO5IYMRTP2TYEGH6FEDNBS2PH7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439738595.30_warc_CC-MAIN-20200809222112-20200810012112-00263.warc.gz\"}"} |
https://nyuscholars.nyu.edu/en/publications/on-graphs-which-contain-all-sparse-graphs | [
"# On graphs which contain all sparse graphs\n\nL. Babai, F. R K Chung, P. Erdös, R. L. Graham, J. H. Spencer\n\nResearch output: Contribution to journalArticle\n\n### Abstract\n\nThis chapter presents a study on graphs which contain all sparse graphs. Let ℋn denote the class of all graphs with n edges and denote by s(n) the minimum number of edges a graph G can have, which contains all H ∊ ℋn as subgraphs. The chapter discusses the problem of determining the minimum number of edges, denoted by s'(n) a graph can have, which contains every planar graph on n edges as a subgraph. The chapter discusses a lower bound for s(n) and while discussing an upper bound for s(n), it is proved (by the probability method) that there exists a graph with cn2 log log n/log n edges that contains all graphs with at most n edges. The chapter presents a theorem to give an upper bound of n3/2 for the universal graphs that contain all planar graphs on n edges.\n\nOriginal language English (US) 21-26 6 North-Holland Mathematics Studies 60 C https://doi.org/10.1016/S0304-0208(08)73486-8 Published - Jan 1 1982\n\n### ASJC Scopus subject areas\n\n• Mathematics(all)"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8534362,"math_prob":0.64952374,"size":2119,"snap":"2020-45-2020-50","text_gpt3_token_len":604,"char_repetition_ratio":0.14231679,"word_repetition_ratio":0.7533512,"special_character_ratio":0.2911751,"punctuation_ratio":0.09662921,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9923514,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-25T00:05:45Z\",\"WARC-Record-ID\":\"<urn:uuid:ea7966d3-c4f8-4667-add0-d8cce98f00b4>\",\"Content-Length\":\"45553\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:10c86466-7c9e-492a-afe3-86b29357fe85>\",\"WARC-Concurrent-To\":\"<urn:uuid:08c1368c-e846-4166-b83d-f47c7bf8a868>\",\"WARC-IP-Address\":\"3.90.122.189\",\"WARC-Target-URI\":\"https://nyuscholars.nyu.edu/en/publications/on-graphs-which-contain-all-sparse-graphs\",\"WARC-Payload-Digest\":\"sha1:NIFGX6NZ2USMQEAC25QAENHRVJF3IKM2\",\"WARC-Block-Digest\":\"sha1:FXTTZ4LQLHBUFMG6HECMOH32JXFIMTMM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107885059.50_warc_CC-MAIN-20201024223210-20201025013210-00653.warc.gz\"}"} |
https://gateoverflow.in/1796/gate2014-1-29 | [
"2.7k views\n\nConsider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by $r(x)$ and $w(x)$ respectively. Which one of them is conflict serializable?\n\n1. $r_1(x)$; $r_2(x)$; $w_1(x)$; $r_3(x)$; $w_2(x)$;\n2. $r_2(x)$; $r_1(x)$; $w_2(x)$; $r_3(x)$; $w_1(x)$;\n3. $r_3(x)$; $r_2(x)$; $r_1(x)$; $w_2(x)$; $w_1(x)$;\n4. $r_2(x)$; $w_2(x)$; $r_3(x)$; $r_1(x)$; $w_1(x)$;\n| 2.7k views\n\n(D) make precedence graph for all the options, for option (D) only graph will be acyclic, hence (D) is CSS.\n\nby Boss (43.8k points)\nedited by\n0\nIs R - W a conflict ??\n0\nyup. only R -R is not conflict.\n0\nR=-W is conflict only when one more read is performed . It is called unrepeatable read. Is it NOt ?\n0\nHere there is No unrepeatable read in any of the 4 options . Then How can one get cycles in all the graphs . Could some one explain it in a nice manner .\n+6\n\ntake node for evry transaction\n\nprocedure is simple scan left to right for\n\ntake first element => scan from 2nd elemnt to right for every r-w . w-w or w-r conflict in diffrent transaction thier is a edge\n\ntake 2nd element => scan from 3rd elemnt to right for every r-w . w-w or w-r conflict in diffrent transaction thier is a edge\n\ndo like this skip left side one elemnt evry time.\n\nif u found cycle then not css otherwise css.\n\n0\n@ Arjun Sir,\n\nI wrote D which was given wrong saying correct ans is 4 (GO Full length test). Can you please tell me what to write if similar situation arises in gate exam.\n0\n@amolagrawal same happened with mebut don't worry this will not happen in gate."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8238074,"math_prob":0.9974797,"size":422,"snap":"2019-51-2020-05","text_gpt3_token_len":109,"char_repetition_ratio":0.119617224,"word_repetition_ratio":0.35897437,"special_character_ratio":0.23222749,"punctuation_ratio":0.045454547,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9989036,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-10T21:44:30Z\",\"WARC-Record-ID\":\"<urn:uuid:c080ee32-08ff-449e-9fc2-717d0dc92058>\",\"Content-Length\":\"106609\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:993f004f-1091-4fee-b6cc-d9bf596def1c>\",\"WARC-Concurrent-To\":\"<urn:uuid:c5a36f98-a3e9-497f-869b-a81fd1ccf39f>\",\"WARC-IP-Address\":\"104.27.189.78\",\"WARC-Target-URI\":\"https://gateoverflow.in/1796/gate2014-1-29\",\"WARC-Payload-Digest\":\"sha1:DVVHZOKNTWNBKJR7L2TXFCQAXSLCUSCT\",\"WARC-Block-Digest\":\"sha1:DMK4ZH5CNJ7IKPRDDLPA3BMWNPX5NJ57\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575540529006.88_warc_CC-MAIN-20191210205200-20191210233200-00033.warc.gz\"}"} |
https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/image/adjust_hue | [
"This is a convenience method that converts an RGB image to float representation, converts it to HSV, add an offset to the hue channel, converts back to RGB and then back to the original data type. If several adjustments are chained it is advisable to minimize the number of redundant conversions.\n\n`image` is an RGB image. The image hue is adjusted by converting the image(s) to HSV and rotating the hue channel (H) by `delta`. The image is then converted back to RGB.\n\n`delta` must be in the interval `[-1, 1]`.\n\n`image` RGB image or images. Size of the last dimension must be 3.\n`delta` float. How much to add to the hue channel.\n`name` A name for this operation (optional).\n\nAdjusted image(s), same shape and DType as `image`.\n\n#### Usage Example:\n\n``````>> import tensorflow as tf\n>> x = tf.random.normal(shape=(256, 256, 3))"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.7037302,"math_prob":0.9471113,"size":970,"snap":"2020-45-2020-50","text_gpt3_token_len":244,"char_repetition_ratio":0.13561076,"word_repetition_ratio":0.0,"special_character_ratio":0.2587629,"punctuation_ratio":0.15270936,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.955319,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-04T20:11:34Z\",\"WARC-Record-ID\":\"<urn:uuid:368755fe-8fbd-4fc1-8d6a-b1fb8dffe908>\",\"Content-Length\":\"726780\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:748b3214-66f5-4b42-b903-8b629a276ff1>\",\"WARC-Concurrent-To\":\"<urn:uuid:b6125c5e-e86e-4339-a881-b3e9521e8cee>\",\"WARC-IP-Address\":\"172.217.5.238\",\"WARC-Target-URI\":\"https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/image/adjust_hue\",\"WARC-Payload-Digest\":\"sha1:TYEIUOYA4ZTSPTXNNPKIUBCDEIMXYXZT\",\"WARC-Block-Digest\":\"sha1:X5T3DUPZ7V37ELHQQVQY2AGBF3BUL3Y7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141743438.76_warc_CC-MAIN-20201204193220-20201204223220-00674.warc.gz\"}"} |
https://edurev.in/course/quiz/attempt/25338_Test-Engineering-Mechanics-3/70b50edb-f4ed-4ea3-94a7-a4be9494f70e | [
"Test: Engineering Mechanics - 3\n\n# Test: Engineering Mechanics - 3\n\nTest Description\n\n## 25 Questions MCQ Test Additional Study Material for Mechanical Engineering | Test: Engineering Mechanics - 3\n\nTest: Engineering Mechanics - 3 for Mechanical Engineering 2023 is part of Additional Study Material for Mechanical Engineering preparation. The Test: Engineering Mechanics - 3 questions and answers have been prepared according to the Mechanical Engineering exam syllabus.The Test: Engineering Mechanics - 3 MCQs are made for Mechanical Engineering 2023 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Engineering Mechanics - 3 below.\nSolutions of Test: Engineering Mechanics - 3 questions in English are available as part of our Additional Study Material for Mechanical Engineering for Mechanical Engineering & Test: Engineering Mechanics - 3 solutions in Hindi for Additional Study Material for Mechanical Engineering course. Download more important topics, notes, lectures and mock test series for Mechanical Engineering Exam by signing up for free. Attempt Test: Engineering Mechanics - 3 | 25 questions in 25 minutes | Mock test for Mechanical Engineering preparation | Free important questions MCQ to study Additional Study Material for Mechanical Engineering for Mechanical Engineering Exam | Download free PDF with solutions\n 1 Crore+ students have signed up on EduRev. Have you?\nTest: Engineering Mechanics - 3 - Question 1\n\n### The point, through which the whole weight of the body acts, irrespective of its position, is known as\n\nTest: Engineering Mechanics - 3 - Question 2\n\n### The loss of kinetic energy during elastic impact is zero.\n\nTest: Engineering Mechanics - 3 - Question 3\n\n### The overturning of a vehicle on a level circular path can be avoided if the velocity of vehicle is __________",
null,
".\n\nTest: Engineering Mechanics - 3 - Question 4\n\nWhich of the following is a scalar quantity?\n\nTest: Engineering Mechanics - 3 - Question 5\n\nThe rate of change of momentum is directly proportional to the impressed force, and takes place in the same direction in which the force acts. This statement is known as\n\nTest: Engineering Mechanics - 3 - Question 6\n\nIn ideal machines, mechanical advantage is __________ velocity ratio.\n\nTest: Engineering Mechanics - 3 - Question 7\n\nThe minimum force required to slide a body of weight W on a rough horizontal plane is\n\nTest: Engineering Mechanics - 3 - Question 8\n\nThe moment of inertia of a square of side a about its diagonal is\n\nTest: Engineering Mechanics - 3 - Question 9\n\nThe angular velocity (in rad / s) of a body rotating at N revolutions per minute is\n\nTest: Engineering Mechanics - 3 - Question 10\n\nThe maximum efficiency of a lifting machine is\n\nTest: Engineering Mechanics - 3 - Question 11\n\nThe centre of gravity of a semi-circle lies at a distance of __________ from its base measured along the vertical radius.\n\nTest: Engineering Mechanics - 3 - Question 12\n\nThe process of finding out the resultant force is called __________ of forces.\n\nTest: Engineering Mechanics - 3 - Question 13\n\nA weight of 1000 N can be lifted by an effort of 80 N. If the velocity ratio is 20, the machine is\n\nTest: Engineering Mechanics - 3 - Question 14\n\nIn a framed structure, as shown in the below figure, the force in the member BC is",
null,
"Test: Engineering Mechanics - 3 - Question 15\n\nThe potential energy of a vertically raised body is __________ the kinetic energy of a vertically falling body.\n\nTest: Engineering Mechanics - 3 - Question 16\n\nIf a number of forces acting at a point be represented in magnitude and direction by the three sides of a triangle, taken in order, then the forces are not in equilibrium.\n\nTest: Engineering Mechanics - 3 - Question 17\n\nThe periodic time of a particle with simple harmonic motion is __________ proportional to the angular velocity.\n\nTest: Engineering Mechanics - 3 - Question 18\n\nThe motion of a particle round a fixed axis is\n\nTest: Engineering Mechanics - 3 - Question 19\n\nA block of mass m1, placed on an inclined smooth plane is connected by a light string passing over a smooth pulley to mass m2, which moves vertically downwards as shown in the below figure. The tension in the string is",
null,
"Test: Engineering Mechanics - 3 - Question 20\n\nIf a given force (or a given system of forces) acting on a body __________ the position of the body, but keeps it in equilibrium, then its effect is to produce internal stress in the body.\n\nTest: Engineering Mechanics - 3 - Question 21\n\nThe principle of transmissibility of forces states that, when a force acts upon a body, its effect is\n\nTest: Engineering Mechanics - 3 - Question 22\n\nA differential pulley block has larger and smaller diameters of 100 mm and 80 mm respectively. Its velocity ratio is\n\nTest: Engineering Mechanics - 3 - Question 23\n\nIf three forces acting at a point are represented in magnitude and direction by the three sides of a triangle, taken in order, then the forces are in equilibrium.\n\nTest: Engineering Mechanics - 3 - Question 24\n\nNewton's second law motion __________ a relation between force and mass of a moving body.\n\nTest: Engineering Mechanics - 3 - Question 25\n\nThe periodic time of one oscillation for a simple pendulum is(where l = Length of the pendulum.)\n\n## Additional Study Material for Mechanical Engineering\n\n1 videos|30 docs|57 tests\nInformation about Test: Engineering Mechanics - 3 Page\nIn this test you can find the Exam questions for Test: Engineering Mechanics - 3 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Engineering Mechanics - 3, EduRev gives you an ample number of Online tests for practice\n\n## Additional Study Material for Mechanical Engineering\n\n1 videos|30 docs|57 tests",
null,
"(Scan QR code)"
] | [
null,
"https://edurev.gumlet.io/ApplicationImages/Temp/1611947_5b1655b5-e6b1-4f86-96f7-03f1dedab16c_lg.png",
null,
"https://edurev.gumlet.io/ApplicationImages/Temp/1611947_7c751e7a-ecda-45da-adc6-b38649eeb479_lg.png",
null,
"https://edurev.gumlet.io/ApplicationImages/Temp/1611947_52dd3fa7-70cf-438b-8487-9411ed6accee_lg.png",
null,
"https://edurev.gumlet.io/cdn_lib/v10/lib/img/landingpage/dwl_qr_code.svg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9238125,"math_prob":0.46698087,"size":2575,"snap":"2023-14-2023-23","text_gpt3_token_len":548,"char_repetition_ratio":0.13341112,"word_repetition_ratio":0.07359307,"special_character_ratio":0.23650485,"punctuation_ratio":0.07185629,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.990634,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,1,null,1,null,1,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-06T16:16:26Z\",\"WARC-Record-ID\":\"<urn:uuid:e43fb2a8-0ade-4e50-9a9b-b216b21fec4c>\",\"Content-Length\":\"369454\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2c9a9167-8976-47c8-8f18-1648c52b83ef>\",\"WARC-Concurrent-To\":\"<urn:uuid:fa0e596e-26ff-4de3-8de6-3449dc30da18>\",\"WARC-IP-Address\":\"20.198.201.88\",\"WARC-Target-URI\":\"https://edurev.in/course/quiz/attempt/25338_Test-Engineering-Mechanics-3/70b50edb-f4ed-4ea3-94a7-a4be9494f70e\",\"WARC-Payload-Digest\":\"sha1:35RQLTLSZSWLG36K63Y7JLFGYIANE2MI\",\"WARC-Block-Digest\":\"sha1:6OPVYELUI6FXDARDF4O6HEXBC4FYWTHG\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224652959.43_warc_CC-MAIN-20230606150510-20230606180510-00666.warc.gz\"}"} |
https://root-forum.cern.ch/t/wrong-event-count-in-root-6-02-10/19335 | [
"# Wrong Event Count in ROOT 6.02.10\n\nDear all,\n\nI am seeing some issues when plotting the contents of a TTree using the Draw functions and assigning it weights. I have attached the TTree in question.\n\nUsing ROOT 6.00.02, I plot the value 1 with weight event_weight and look at its integral. There are 125 (non-zero weight) entries and the integral is 1663. The histogram is attached as rootgood.pdf.\n\n``````root tree->Draw(\"1\",\"event_weight\")\n(Long64_t) 125\nroot htemp->Integral()\n(Double_t) 1.663450e+03``````\n\nThen I do the exact same thing using ROOT 6.02.10 (also tried 6.04.00) . Now the event count is 250 and the integral is 3327. The histogram is attached as rootbad.pdf.\n\n``````root tree->Draw(\"1\",\"event_weight\")\n(Long64_t) 125\nroot htemp->Integral()\n(Double_t) 3.326900e+03``````\n\nAny idea why I see this difference? The tests were done on lxplus using ROOT from AFS.\nrootgood.pdf (13.5 KB)\ntest.root (5.59 KB)\n\nThanks for reporting this.\nActually we can even see a difference with the ntuple generated by hsimple.C\n\nRoot 5.34 gives:\n\n``````root ntuple->Draw(\"1\",\"0.5\") ; htemp->Integral()\n(const Double_t)1.25000000000000000e+04``````\n\nAnd the number of entries on the plot is 25000\n\nRoot >6 give:\n\n``````root ntuple->Draw(\"1\",\"0.5\") ; htemp->Integral()\n(Double_t) 1.300000e+04``````\n\nAnd the number of entries on the plot is 26000\n\nWe will look at this.\n\nI made a small macro which reproduces this issue without using ntuple or tree.\n\n``````{\nTH1F *h1 = new TH1F(\"h1\",\"h1\", 100, -1., 1.); h1->SetBuffer(1000);\nTH1F *h2 = new TH1F(\"h2\",\"h2\", 100, -1., 1.); h2->SetBuffer(1000);\nfor (int i=0; i<10000; i++) {\nh1->Fill(0.);\nh2->Fill(0.,0.5);\n}\nh2->Draw();\nprintf(\"Entries for h1 = %f Entries for h2 = %f \\n\",h1->GetEntries(),h2->GetEntries());\nprintf(\"Integral for h1 = %f Integral for h2 = %f \\n\",h1->Integral(),h2->Integral());\n}``````\n\nROOT version < 6 give:\n\n``````Entries for h1 = 10000.000000 Entries for h2 = 10000.000000\nIntegral for h1 = 10000.000000 Integral for h2 = 5000.000000 ``````\n\nROOT version >= 6 give:\n\n``````Entries for h1 = 10000.000000 Entries for h2 = 11000.000000\nIntegral for h1 = 10000.000000 Integral for h2 = 5500.000000``````\n\nAs you can see for W = 0.5 there is s difference. The problem shows up only if SetBuffer is called.\n\nThis problem, appearing only when the histogram buffer is used with histogram filled with weights different than one, has been fixed in 6.02, 6.04 patches and master."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.81783277,"math_prob":0.99513674,"size":3038,"snap":"2022-27-2022-33","text_gpt3_token_len":1018,"char_repetition_ratio":0.1252472,"word_repetition_ratio":0.10367171,"special_character_ratio":0.38380513,"punctuation_ratio":0.18168604,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98996323,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-06-29T01:52:36Z\",\"WARC-Record-ID\":\"<urn:uuid:8b5cc319-6455-49c8-805d-c91cd9f06fc9>\",\"Content-Length\":\"30002\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9a154fec-9137-4217-9ef5-810aa59d9a60>\",\"WARC-Concurrent-To\":\"<urn:uuid:e6d4c288-f894-4057-8a2f-b5ba0f58047b>\",\"WARC-IP-Address\":\"137.138.76.100\",\"WARC-Target-URI\":\"https://root-forum.cern.ch/t/wrong-event-count-in-root-6-02-10/19335\",\"WARC-Payload-Digest\":\"sha1:M7GVEFFHTPN23KG2EU4FHYYESWINN75O\",\"WARC-Block-Digest\":\"sha1:W6ZRNBWCFQ766RNBCWQE57LGRIM2232S\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656103619185.32_warc_CC-MAIN-20220628233925-20220629023925-00160.warc.gz\"}"} |
https://www.scientificamerican.com/article/shape-science-play-doh-math/ | [
"Key concepts\nMathematics\nGeometry\nThree-dimensional\nVolume\n\nIntroduction\nHave you ever had fun making different figures or colorful shapes out of Play-Doh? You can squish and stretch a single piece of Play-Doh to make all sorts of shapes. How does changing the shape affect its volume? In this science activity you will find out by investigating how a piece of clay's shape affects its dimensions (length, width and height) as well as how these changes are related to its volume.\n\nBackground\nGeometry is the study of how to use math to describe and investigate different points, lines and shapes. A very basic three-dimensional shape is the rectangular prism, which is the shape of a box or a book; it has six sides. If all six sides are the same size and perfectly square, such as with dice, it is a cube. Areas and volumes of cubes and rectangular prisms can be measured with the same geometrical formulas.\n\nMathematical formulas describe geometrical shapes and are a way to calculate different properties of an object, such as its area and volume. Volume is a unique property of three-dimensional shapes because these shapes take up space in three different directions: length, width and height. In this science activity you will use Play-Doh (or homemade clay) to make a model of a rectangular prism, change one of its dimensions (height) and see what effect this has on the other two dimensions as well as the object's volume.\n\nMaterials\n\n• Play-Doh (Alternatively, you can prepare homemade salt dough using plain flour, table salt, water and other optional ingredients; see the \"Preparation\" section for details. Optional ingredients include vegetable oil, wallpaper paste and lemon juice.)\n• Permanent marker\n• Ruler\n• A table or desk\n• A flat surface, such as a hard binder or book\n• A scrap piece of paper and a pen or pencil\n\nPreparation\n• If you want to make homemade salt dough, mix together two cups of plain flour, one cup of table salt and one cup of water. Optional ingredients include one tablespoon (tbsp.) of vegetable oil (to make it a little easier to knead), one tbsp. of wallpaper paste (to give the mixture more elasticity) and/or one tbsp. of lemon juice (to make the finished product harder).\n\nProcedure\n• Remove a chunk of dough about as large as your fist. Make your dough into a cube shape, approximately square on all sides.\n• Using a permanent marker, label each of the three dimensions of the cube with a \"W\" (for \"width\"), \"L\" (for \"length\") and \"H\" (for height). On either side of each letter put a dash to show the direction of the dimension on that side of the cube.\n• Place your labeled cube of dough on a table or desk with the side marked for height pointing up and down (the dashes should be vertical). Use a ruler to measure the three dimensions you labeled on the cube (length, width and height). What are the measurements of the cube? Write these down on a sheet of paper.\n• Now you are ready to change the shape of your dough by squishing it. Put a flat surface, such as a book or a hard binder, on top of the dough cube. Slowly press down on the dough while keeping the corners square (straight) as you go by patting in from the sides with your hands. Stop pressing down when it looks like the dough has changed shape a little. How does the dough look now? What shape is it?\n• Again use a ruler to measure the three dimensions you labeled on the dough. What are the measurements of the dough now? Write these down.\n• Again squish the dough as you did before, trying to keep the corners square, and stop pressing down when the dough has visibly changed shape again. How does the dough look this time?\n• Use a ruler one more time to measure the three dimensions you labeled on the dough. What are the measurements of the dough this last time? Write these down.\n• For each time you measured the dough, multiply its length by width by height to calculate the volume of the shape in centimeters cubed. What was the volume of the shape each time you squished the dough?\n• Overall, what happens as one dimension (the one you flattened) decreases? Do the other two dimensions increase or decrease? Does changing the dimensions of the dough affect its volume or does the volume stay the same?\n• Extra: In this activity you changed the length, width and height of a cube of dough but you did not change the amount of dough you used. What would happen if the amount of dough did change? Would the volume also change? Try this activity again but this time add or take away some dough and form the dough into a cube, and measure the dimensions of the shape.\n• Extra: You could take your results from this activity and graph them. A good type of graph to use for this activity is a bar graph. Looking at your graph, how do the dimensions and volume change as the shape of the dough changes?\n\nObservations and results\nAs you squished the cube of dough, did its height get smaller, its width and length get larger and its volume stay the same?\n\nIn this activity, because the amount of dough used did not change (you did not add dough or take any away), the size, or volume, of the dough should have stayed the same. Because the mathematical formula for calculating the volume of a cube is length X width X height and the volume stayed the same, as you squished the cube its height should have decreased (the cube was being flattened) whereas its length and width increased. For example, the initial cube may have had a length, width and height each equal to four centimeters. As the cube became squished, this may have changed to a length of five centimeters, a width of five centimeters and a height of 2.6 centimeters. Although the shape of the dough changed, its volume remained the same (each of these shapes have a volume of approximately 65 cubic centimeters).\n\nMore to explore\nCube, from Coolmath.com\nDefinition of Volume, by MathIsFun.com\nPlay-Doh Math, from Science Buddies\nScience Activities for All Ages!, from Science Buddies\n\nThis activity brought to you in partnership with Science Buddies"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.94789946,"math_prob":0.91832346,"size":6020,"snap":"2020-45-2020-50","text_gpt3_token_len":1296,"char_repetition_ratio":0.15325798,"word_repetition_ratio":0.045751635,"special_character_ratio":0.21046512,"punctuation_ratio":0.09483489,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9634277,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-04T05:24:50Z\",\"WARC-Record-ID\":\"<urn:uuid:5ae288cc-c264-40d0-a5f7-87397b73f237>\",\"Content-Length\":\"81430\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:bc3a0489-b07a-4ce6-83c0-80adfd22f41c>\",\"WARC-Concurrent-To\":\"<urn:uuid:9c934fd7-6b18-4f1e-8bc4-620775b1a0b9>\",\"WARC-IP-Address\":\"151.101.202.49\",\"WARC-Target-URI\":\"https://www.scientificamerican.com/article/shape-science-play-doh-math/\",\"WARC-Payload-Digest\":\"sha1:TIZ27Z6QWT74FYGRAAK76JF57YXJO6BG\",\"WARC-Block-Digest\":\"sha1:OMSDIEFG3EBBGHZ23XJBKANQQNZAGAEN\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141733122.72_warc_CC-MAIN-20201204040803-20201204070803-00088.warc.gz\"}"} |
http://readpdf.cc/k/result/handbook-of-mathematical-functions | [
" Handbook Of Mathematical Functions\n• FileName\nSpeed\nHealth\n1716 kb/s\n5048",
null,
"5964 kb/s\n15550",
null,
"3542 kb/s\n18768",
null,
"5136 kb/s\n28749",
null,
"• Handbook of mathematical functions\n\nHandbook of Mathematical Functions may refer to: NBS Handbook of Mathematical Functions aka Abramowitz and Stegun, a mathematical textbook published ...https://en.wikipedia.org/wiki/Handbook_of_mathematical_functions\n• DLMF: NIST Digital Library of …\n\nResult of a project to provide a modern revision of Abramowitz and Stegun's \"Handbook of Mathematical Functions\". The site includes definitions, properties, and ...http://dlmf.nist.gov/\n• Mathematical Formula Handbook - NTU\n\nIntroduction This Mathematical Formaulae handbook has been prepared in response to a request from the Physics Consultative Committee, with the hope that it will be ...http://homepage.ntu.edu.tw/%7Ewttsai/MathModel/Mathematical%20Formula%20Handbook.pdf\n• INTRODUCTION TO THE SPECIAL FUNCTIONS OF MATHEMATICAL ...\n\nINTRODUCTION TO THE SPECIAL FUNCTIONS OF MATHEMATICAL PHYSICS with applications to the physical and applied sciences John Michael Finn April 13, 2005http://www.physics.wm.edu/~finn/home/MathPhysics\n• Exact Solutions - EqWorld\n\nExact Solutions for Ordinary Differential, Partial Differential, Integral, and Functional Equationshttp://eqworld.ipmnet.ru/en/solutions.htm\n• Abramowitz and Stegun: Handbook of Mathematical Functions\n\nSep 7, 2010 ... Abramowitz and Stegun: Handbook of Mathematical Functions. An electronic copy of the tenth printing of this famous reference.http://www.math.sfu.ca/~cbm/aands/\n• AS and A Level Biology Maths Skills Handbook - ocr.org.uk\n\nAs this Handbook shows, all required mathematical skills for biology can be covered along with the subject content in an integrated fashion. However, as assessment of ...http://www.ocr.org.uk/Images/294471-mathematical-skills-handbook.pdf\n• Trigonometry -- from Wolfram MathWorld\n\nTrigonometry. The study of angles and of the angular relationships of planar and three-dimensional figures is known as trigonometry. The trigonometric functions (also ...http://mathworld.wolfram.com/Trigonometry.html\n• Bessel Function -- from Wolfram MathWorld\n\nThere are two classes of solution, called the Bessel function of the first kind and Bessel function of the second kind. (A Bessel function of the third kind, more ...http://mathworld.wolfram.com/BesselFunction.html\n• Handbook of Mathematical Functions\n\nMar 1, 2011 ... The original printing of this Handbook (June 1964) contained errors that ... Numerical tables of mathematical functions are in continual demand.http://people.math.sfu.ca/~cbm/aands/abramowitz_and_stegun.pdf\n• Handbook of Mathematical Functions: with Formulas, Graphs, and ...\n\nHandbook of Mathematical Functions: with Formulas, Graphs... and over one million other books are available for Amazon Kindle. ... Handbook of Mathematical Functions: with Formulas, Graphs, and Mathematical Tables (Dover Books on Mathematics) Paperback – June 1, 1965.https://www.amazon.com/Handbook-Mathematical-Functions-Formulas-Mathematics/dp/0486612724\n• NIST Handbook of Mathematical Functions Paperback and CD-ROM ...\n\nBuy NIST Handbook of Mathematical Functions Paperback and CD-ROM on Amazon.com ✓ FREE SHIPPING on qualified orders.https://www.amazon.com/Handbook-Mathematical-Functions-Paperback-CD-ROM/dp/0521140633\n• AS and A Level Physics A and Physics B (Advancing Physics ...\n\nAS and. A LEVEL. Mathematical. Skills Handbook. PHYSICS A PHYSICS B (ADVANCING PHYSICS) This Mathematical Skills Handbook is designed to …http://www.ocr.org.uk/Images/295471-mathematical-skills-handbook.pdf\n• Handbook of Mathematical Functions (Online) - Convert It\n\nOnline Edition of AMS55: Handbook of Mathematical Functions With Formulas, Graphs, and Mathematical Tables.http://www.convertit.com/Go/ConvertIt/Reference/AMS55.ASP\n• Abramowitz and Stegun - Wikipedia\n\nAbramowitz and Stegun (AS) is the informal name of a mathematical reference work edited by Milton Abramowitz and Irene Stegun of the United States National Bureau of Standards (NBS), now the National Institute of Standards and Technology (NIST). Its full title is Handbook of Mathematical Functions with Formulas, Graphs, ...https://en.wikipedia.org/wiki/Abramowitz_and_Stegun\n• Mathematics - ALEX - Alabama Learning Exchange\n\nEntire 2015 Mathematics Course of Study Document About Us · Terms of Use · Alabama Dept.of Education · Help · Site Map · Contact Us · Copyright © 2002 ...http://alex.state.al.us/browseMath.php\n• Governance handbook and competency …\n\n12 January 2017 Added the ‘Competency framework for governance’. Also updated the ‘Governance handbook’ - the January 2017 version is structured ...https://www.gov.uk/government/publications/governors-handbook--3\n• CRC Handbook of Chemistry and Physics\n\nThe 97th Edition of the Handbook of Chemistry and Physics print version is available for purchase at www.crcpress.comhttp://www.hbcpnetbase.com/\n• The Handbook of Mathematical Functions\n\nJan 2, 2013 ... NIST Handbook of Mathematical Functions. Frank W. J. Olver. Editor-in-Chief and Mathematics Editor. Daniel W. Lozier. General Editor.http://personalpages.to.infn.it/~zaninett/pdf/abramovitz2.pdf\n• Handbook of the Physics Computing …\n\nCopyright © 2002 Michael Williams; this document may be copied, distributed and/or modified under certain conditions, but it comes WITHOUT ANY WARRANTY ...http://pentangle.net/python/handbook/\n• 1.3.6.1. What is a Probability Distribution\n\nDiscrete Distributions The mathematical definition of a discrete probability function, p(x), is a function that satisfies the following properties.http://itl.nist.gov/div898/handbook/eda/section3/eda361.htm\n• Abramowitz and Stegun's Handbook of Mathematical Functions\n\nThe widely-used Handbook of Mathematical Functions, by Abramowitz and Stegun, is here available in a convenient on-line format that uses the Empanel ...http://numerical.recipes/aands/"
] | [
null,
"https://i.imgur.com/ghbAY93.jpg",
null,
"https://i.imgur.com/ghbAY93.jpg",
null,
"https://i.imgur.com/ghbAY93.jpg",
null,
"https://i.imgur.com/ghbAY93.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.72683316,"math_prob":0.45404887,"size":4795,"snap":"2019-43-2019-47","text_gpt3_token_len":1114,"char_repetition_ratio":0.1876435,"word_repetition_ratio":0.007246377,"special_character_ratio":0.2198123,"punctuation_ratio":0.22660653,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9946695,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-10-18T06:15:57Z\",\"WARC-Record-ID\":\"<urn:uuid:4bda989f-df5e-4fc8-aea6-8c912397c1ef>\",\"Content-Length\":\"42152\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:27b156b0-4d83-4171-8388-228ca9ceb945>\",\"WARC-Concurrent-To\":\"<urn:uuid:7cfa4036-4c0a-43c5-b711-52af0097d819>\",\"WARC-IP-Address\":\"104.18.55.194\",\"WARC-Target-URI\":\"http://readpdf.cc/k/result/handbook-of-mathematical-functions\",\"WARC-Payload-Digest\":\"sha1:O24YTJMRIVTHD47N4JS7GQJ7HGNHEFUA\",\"WARC-Block-Digest\":\"sha1:FHMJCUJMWBFS3MZXXIJZUPCUUPXUB5JW\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-43/CC-MAIN-2019-43_segments_1570986677964.40_warc_CC-MAIN-20191018055014-20191018082514-00233.warc.gz\"}"} |
https://www.colorhexa.com/00f430 | [
"# #00f430 Color Information\n\nIn a RGB color space, hex #00f430 is composed of 0% red, 95.7% green and 18.8% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 0% magenta, 80.3% yellow and 4.3% black. It has a hue angle of 131.8 degrees, a saturation of 100% and a lightness of 47.8%. #00f430 color hex could be obtained by blending #00ff60 with #00e900. Closest websafe color is: #00ff33.\n\n• R 0\n• G 96\n• B 19\nRGB color chart\n• C 100\n• M 0\n• Y 80\n• K 4\nCMYK color chart\n\n#00f430 color description : Pure (or mostly pure) lime green.\n\n# #00f430 Color Conversion\n\nThe hexadecimal color #00f430 has RGB values of R:0, G:244, B:48 and CMYK values of C:1, M:0, Y:0.8, K:0.04. Its decimal value is 62512.\n\nHex triplet RGB Decimal 00f430 `#00f430` 0, 244, 48 `rgb(0,244,48)` 0, 95.7, 18.8 `rgb(0%,95.7%,18.8%)` 100, 0, 80, 4 131.8°, 100, 47.8 `hsl(131.8,100%,47.8%)` 131.8°, 100, 95.7 00ff33 `#00ff33`\nCIE-LAB 84.438, -81.919, 73.213 32.882, 64.911, 13.592 0.295, 0.583, 64.911 84.438, 109.867, 138.212 84.438, -79.313, 98.205 80.567, -68.141, 46.395 00000000, 11110100, 00110000\n\n# Color Schemes with #00f430\n\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #f400c4\n``#f400c4` `rgb(244,0,196)``\nComplementary Color\n• #4af400\n``#4af400` `rgb(74,244,0)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #00f4aa\n``#00f4aa` `rgb(0,244,170)``\nAnalogous Color\n• #f4004a\n``#f4004a` `rgb(244,0,74)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #aa00f4\n``#aa00f4` `rgb(170,0,244)``\nSplit Complementary Color\n• #f43000\n``#f43000` `rgb(244,48,0)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #3000f4\n``#3000f4` `rgb(48,0,244)``\n• #c4f400\n``#c4f400` `rgb(196,244,0)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #3000f4\n``#3000f4` `rgb(48,0,244)``\n• #f400c4\n``#f400c4` `rgb(244,0,196)``\n• #00a821\n``#00a821` `rgb(0,168,33)``\n• #00c126\n``#00c126` `rgb(0,193,38)``\n• #00db2b\n``#00db2b` `rgb(0,219,43)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #0fff3e\n``#0fff3e` `rgb(15,255,62)``\n• #28ff52\n``#28ff52` `rgb(40,255,82)``\n• #42ff67\n``#42ff67` `rgb(66,255,103)``\nMonochromatic Color\n\n# Alternatives to #00f430\n\nBelow, you can see some colors close to #00f430. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.\n\n• #0df400\n``#0df400` `rgb(13,244,0)``\n• #00f407\n``#00f407` `rgb(0,244,7)``\n• #00f41c\n``#00f41c` `rgb(0,244,28)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #00f444\n``#00f444` `rgb(0,244,68)``\n• #00f459\n``#00f459` `rgb(0,244,89)``\n• #00f46d\n``#00f46d` `rgb(0,244,109)``\nSimilar Colors\n\n# #00f430 Preview\n\nThis text has a font color of #00f430.\n\n``<span style=\"color:#00f430;\">Text here</span>``\n#00f430 background color\n\nThis paragraph has a background color of #00f430.\n\n``<p style=\"background-color:#00f430;\">Content here</p>``\n#00f430 border color\n\nThis element has a border color of #00f430.\n\n``<div style=\"border:1px solid #00f430;\">Content here</div>``\nCSS codes\n``.text {color:#00f430;}``\n``.background {background-color:#00f430;}``\n``.border {border:1px solid #00f430;}``\n\n# Shades and Tints of #00f430\n\nA shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000902 is the darkest color, while #f4fff6 is the lightest one.\n\n• #000902\n``#000902` `rgb(0,9,2)``\n• #001c06\n``#001c06` `rgb(0,28,6)``\n• #003009\n``#003009` `rgb(0,48,9)``\n• #00430d\n``#00430d` `rgb(0,67,13)``\n• #005711\n``#005711` `rgb(0,87,17)``\n• #006b15\n``#006b15` `rgb(0,107,21)``\n• #007e19\n``#007e19` `rgb(0,126,25)``\n• #00921d\n``#00921d` `rgb(0,146,29)``\n• #00a621\n``#00a621` `rgb(0,166,33)``\n• #00b924\n``#00b924` `rgb(0,185,36)``\n• #00cd28\n``#00cd28` `rgb(0,205,40)``\n• #00e02c\n``#00e02c` `rgb(0,224,44)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\n• #09ff39\n``#09ff39` `rgb(9,255,57)``\n• #1cff49\n``#1cff49` `rgb(28,255,73)``\n• #30ff59\n``#30ff59` `rgb(48,255,89)``\n• #43ff68\n``#43ff68` `rgb(67,255,104)``\n• #57ff78\n``#57ff78` `rgb(87,255,120)``\n• #6bff88\n``#6bff88` `rgb(107,255,136)``\n• #7eff98\n``#7eff98` `rgb(126,255,152)``\n• #92ffa7\n``#92ffa7` `rgb(146,255,167)``\n• #a6ffb7\n``#a6ffb7` `rgb(166,255,183)``\n• #b9ffc7\n``#b9ffc7` `rgb(185,255,199)``\n• #cdffd7\n``#cdffd7` `rgb(205,255,215)``\n• #e0ffe6\n``#e0ffe6` `rgb(224,255,230)``\n• #f4fff6\n``#f4fff6` `rgb(244,255,246)``\nTint Color Variation\n\n# Tones of #00f430\n\nA tone is produced by adding gray to any pure hue. In this case, #718374 is the less saturated color, while #00f430 is the most saturated one.\n\n• #718374\n``#718374` `rgb(113,131,116)``\n• #678d6f\n``#678d6f` `rgb(103,141,111)``\n• #5e9669\n``#5e9669` `rgb(94,150,105)``\n• #54a063\n``#54a063` `rgb(84,160,99)``\n• #4ba95e\n``#4ba95e` `rgb(75,169,94)``\n• #42b258\n``#42b258` `rgb(66,178,88)``\n• #38bc52\n``#38bc52` `rgb(56,188,82)``\n• #2fc54c\n``#2fc54c` `rgb(47,197,76)``\n• #26ce47\n``#26ce47` `rgb(38,206,71)``\n• #1cd841\n``#1cd841` `rgb(28,216,65)``\n• #13e13b\n``#13e13b` `rgb(19,225,59)``\n• #09eb36\n``#09eb36` `rgb(9,235,54)``\n• #00f430\n``#00f430` `rgb(0,244,48)``\nTone Color Variation\n\n# Color Blindness Simulator\n\nBelow, you can see how #00f430 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.\n\nMonochromacy\n• Achromatopsia 0.005% of the population\n• Atypical Achromatopsia 0.001% of the population\nDichromacy\n• Protanopia 1% of men\n• Deuteranopia 1% of men\n• Tritanopia 0.001% of the population\nTrichromacy\n• Protanomaly 1% of men, 0.01% of women\n• Deuteranomaly 6% of men, 0.4% of women\n• Tritanomaly 0.01% of the population"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.5222651,"math_prob":0.82954156,"size":3676,"snap":"2023-40-2023-50","text_gpt3_token_len":1619,"char_repetition_ratio":0.13671024,"word_repetition_ratio":0.007352941,"special_character_ratio":0.5639282,"punctuation_ratio":0.23172103,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9868359,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-04T03:12:27Z\",\"WARC-Record-ID\":\"<urn:uuid:6be84ef5-3f37-4bed-804e-ebbd37656c22>\",\"Content-Length\":\"36175\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:afeb51bd-a03a-4308-9834-fe690c8f94a7>\",\"WARC-Concurrent-To\":\"<urn:uuid:461ed6f7-6089-4a26-8b38-e4b0df09af10>\",\"WARC-IP-Address\":\"178.32.117.56\",\"WARC-Target-URI\":\"https://www.colorhexa.com/00f430\",\"WARC-Payload-Digest\":\"sha1:YFZCO3WEPLX5ILJ65HMDD2RZJ4DH5QCK\",\"WARC-Block-Digest\":\"sha1:WNDPERMMLDCPBMNU7CVI7Q6CV2ARQY6H\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100523.4_warc_CC-MAIN-20231204020432-20231204050432-00373.warc.gz\"}"} |
https://www.geteasysolution.com/39.063_as_a_decimal | [
"# 39.063 as a decimal\n\n## 39.063 as a decimal - solution and the full explanation with calculations.\n\nBelow you can find the full step by step solution for you problem. We hope it will be very helpful for you and it will help you to understand the solving process.\n\nIf it's not what You are looking for, type in into the box below your number and see the solution.\n\n## What is 39.063 as a decimal?\n\nTo write 39.063 as a decimal you have to divide numerator by the denominator of the fraction.\n39.063 is not a fraction so it is a decimal already.\n\nAnd finally we have:\n39.063 as a decimal equals 39.063"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.92494076,"math_prob":0.98181146,"size":1104,"snap":"2022-27-2022-33","text_gpt3_token_len":395,"char_repetition_ratio":0.34181818,"word_repetition_ratio":0.14090909,"special_character_ratio":0.57608694,"punctuation_ratio":0.13656388,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9723077,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-13T23:41:40Z\",\"WARC-Record-ID\":\"<urn:uuid:1764c693-eb4f-46ba-934d-d7cbada0324d>\",\"Content-Length\":\"21326\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:3cd2f6c0-1aea-4bcb-8f88-18dc6bfbdd6d>\",\"WARC-Concurrent-To\":\"<urn:uuid:48f82d62-641c-42f3-ae8a-ab9c56d0f233>\",\"WARC-IP-Address\":\"51.91.60.1\",\"WARC-Target-URI\":\"https://www.geteasysolution.com/39.063_as_a_decimal\",\"WARC-Payload-Digest\":\"sha1:PDP5SY6BVIMQFYCNR3YWDBZMU3RGQPOD\",\"WARC-Block-Digest\":\"sha1:Q6CULXTZYNW3W5266YAHDJM57ZAR4HD6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882571989.67_warc_CC-MAIN-20220813232744-20220814022744-00558.warc.gz\"}"} |
https://socratic.org/questions/how-do-you-divide-3x-2-5x-7-x-1 | [
"# How do you divide (3x^2 + 5x + 7) / (x + 1) ?\n\nMay 23, 2017\n\n$3 x + 2 + \\frac{5}{x + 1}$\n\n#### Explanation:\n\n$\\text{ } 3 {x}^{2} + 5 x + 7$\n$\\textcolor{m a \\ge n t a}{+ 3 x} \\left(x + 1\\right) \\to \\text{ \"ul(3x^2+3x) larr\" Subtract}$\n$\\text{ } 0 + 2 x + 7$\n$\\textcolor{w h i t e}{.} \\textcolor{m a \\ge n t a}{+ 2} \\left(x + 1\\right) \\to \\text{ \" ul(2x+2larr\" Subtract}$\n\" \"color(magenta)(+5 larr\" Remainder\")\n\ncolor(magenta)(3x+2+5/(x+1)"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.52519786,"math_prob":0.99998987,"size":209,"snap":"2021-43-2021-49","text_gpt3_token_len":64,"char_repetition_ratio":0.12682927,"word_repetition_ratio":0.0,"special_character_ratio":0.32535884,"punctuation_ratio":0.07692308,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9998233,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-11-30T16:14:59Z\",\"WARC-Record-ID\":\"<urn:uuid:b18ead8f-6343-400d-a63c-b40338c5fbfb>\",\"Content-Length\":\"32947\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b8ad11e3-f7a3-4aa5-9c9e-1c85e4c1d44b>\",\"WARC-Concurrent-To\":\"<urn:uuid:948691c6-e7bf-44f2-ba71-fdcf78e9fc47>\",\"WARC-IP-Address\":\"216.239.38.21\",\"WARC-Target-URI\":\"https://socratic.org/questions/how-do-you-divide-3x-2-5x-7-x-1\",\"WARC-Payload-Digest\":\"sha1:CSFQP6B5HZ6XF75L3QYY6HLJFEA5LR43\",\"WARC-Block-Digest\":\"sha1:WOWQBVORMQIDS47RKLBOBJCRBAVRJZLD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964359037.96_warc_CC-MAIN-20211130141247-20211130171247-00299.warc.gz\"}"} |
https://madronalabs.com/users/1935?locale=us | [
"# oneinfiniteloop's Recent Posts",
null,
"I will trade someone a large Buchla shirt for a large Madrona Labs :)",
null,
"Here is my fav bongo patch that I came up with....enjoy :D\n\n<Aalto pluginVersion=\"66306\" presetName=\"default\" presetDir=\"default\" scaleName=\"12-equal\" scaleDir=\"\" key_voices=\"2\" key_glide=\"0.244999915\" seq_host=\"1\" seq_rate=\"0\" seq_ratio=\"0.5\" seq_offset=\"8\" seq_range=\"-45\" seq_pw=\"58.9999962\" seq_value0=\"0.179999992\" seq_value2=\"1\" seq_value5=\"0.289999992\" seq_value7=\"0.579999983\" seq_value10=\"0.639999986\" seq_pulse1=\"1\" seq_pulse2=\"1\" seq_pulse5=\"1\" seq_pulse7=\"1\" seq_pulse10=\"1\" seq_pulse14=\"1\" lfo_freq=\"0.0500000082\" lfo_level=\"1\" lfo_freq_p=\"2.80000019\" env1_decay=\"0.310000032\" env1_sustain=\"0.319999993\" env1_release=\"20\" env1_trig_select=\"2\" env2_repeat=\"1.52968752\" env2_delay=\"0.232000008\" env2_trig_select=\"2\" env2_xenv1=\"2\" env2_delay_p=\"0.679999948\" env2_attack_p=\"-0.180000007\" env2_repeat_p=\"2.31999969\" osc_ratio=\"2\" osc_offset=\"-63.6999969\" osc_index=\"7.73000002\" osc_timbre=\"0.479999989\" osc_pitch=\"55.0000038\" osc_waveshape=\"-0.289999962\" osc_ratio_p=\"4\" osc_index_p=\"-5.20000029\" osc_pitch_lin_p=\"1196.00012\" osc_waveshape_p=\"1\" osc_carrier_out=\"1\" osc_mod_out=\"0.839999974\" gate_mode=\"1\" gate_decay=\"0.799999952\" delay_input=\"0.829999983\" delay_drive=\"0.789999962\" delay_peakres=\"3.48999977\" delay_feedback=\"0.25\" delay_freq=\"54.9999847\" delay_feedback_p=\"0.0599999428\" delay_freq_p=\"-0.519999981\" delay_output_wet=\"1\" filter_cutoff=\"168.999985\" filter_q=\"0.819999993\" filter_mix=\"-0.568264246\" filter_cutoff_p=\"-2.83999991\" filter_mix_p=\"1\" output_input_gain=\"0.379999995\" output_reverb=\"0.769999981\" output_pan_p=\"-1\" patcher_input_1=\"0000000000000000100100000000000\" patcher_input_12=\"0000000010001010011000001111001\" patcher_input_13=\"0000000001100000000000000000000\" patcher_input_14=\"0000101000000000000100000000000\" editor_x=\"308\" editor_y=\"122\" editor_width=\"912\" editor_height=\"624\" editor_num=\"1\" editor_anim=\"1\"/>",
null,
"Here is a little jam session I did. Feel free to post yours too!",
null,
""
] | [
null,
"https://secure.gravatar.com/avatar/6614db59c321a29fc01d9cc0aef2b13d",
null,
"https://secure.gravatar.com/avatar/6614db59c321a29fc01d9cc0aef2b13d",
null,
"https://secure.gravatar.com/avatar/6614db59c321a29fc01d9cc0aef2b13d",
null,
"https://secure.gravatar.com/avatar/6614db59c321a29fc01d9cc0aef2b13d",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.5723201,"math_prob":0.7905795,"size":2479,"snap":"2023-14-2023-23","text_gpt3_token_len":833,"char_repetition_ratio":0.15636364,"word_repetition_ratio":0.0,"special_character_ratio":0.4784187,"punctuation_ratio":0.14358975,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99849015,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-04T12:01:37Z\",\"WARC-Record-ID\":\"<urn:uuid:c9714f0f-97bb-4254-a315-014cd5f4e04c>\",\"Content-Length\":\"14411\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:919e25a6-9530-4bc0-a821-6cc2229d9375>\",\"WARC-Concurrent-To\":\"<urn:uuid:e4145073-22c3-4e07-bb54-22904b3e8a2e>\",\"WARC-IP-Address\":\"162.243.137.193\",\"WARC-Target-URI\":\"https://madronalabs.com/users/1935?locale=us\",\"WARC-Payload-Digest\":\"sha1:LLH25PISNL7LDOQ467DOWMRRJH2MZTRA\",\"WARC-Block-Digest\":\"sha1:HZ6MFU6RJE3BPCKNR3CYAAMER5MPWNUA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224649741.26_warc_CC-MAIN-20230604093242-20230604123242-00089.warc.gz\"}"} |
https://www.meritnation.com/cbse-class-8/math/math-ncert-solutions/visualising-solid-shapes/ncert-solutions/10_1_1296_73_157_8794 | [
"Mathematics NCERT Grade 8, Chapter 10: Visualising Solid Objects - The chapter lays emphasis on different solid shapes. Ever wondered difference between 2D and 3D shapes. Students will get all answers about the same. Recognizing 2D and 3D objects and different shapes are explained in detail to clear all the doubts of the students about the same. Features of 3D objects will be made clear to students.\n• 3D objects have different views from different positions.\n• Front, side and top view are the different views that one will study in this chapter through cubical blocks and 3-dimensional shapes.\nSection 10.3 puts focus on the topic- Mapping Space Around Us. This section is supplemented with examples as well as short questions.\n• A map depicts the location of a particular object/place in relation to other objects/places.\n• Symbols are used to depict the different objects/places.\nThe last section of the chapter- Visualising Solid Objects, concept of faces, edges and vertices will be discussed. Concept of polyhedrons are introduced to students in this chapter. Definitions explained in the section are as follows:\n• Faces\n• Edges\n• Vertex\n• Polyhedron\n• Non-polyhedron\n• Convex polyhedron\n• Regular polyhedrons\n• Prism\n• Pyramids\nEuler's formula is an important formula relating the face, vertex and edge of a polyhedron.\nF + V = E + 2\nwhere F stands for number of faces, V stands for number of vertices and E stands for number of edges.\nThree unsolved exercises are given for the assessment of students. The last exercise is 10.3 consisting of 8 questions. Questions are given in different patterns which makes the exercise more attractive and interesting for students.\n9 points are listed in the summary of chapter in the end.\n\n#### Question 1:\n\nFor each of the given solid, the two views are given. Match for each solid the corresponding top and front views.",
null,
"The given solids, matched to their respective side view and top view, are as follows.\n\nObject Side view Top view",
null,
"",
null,
"",
null,
"",
null,
"",
null,
"#### Question 2:\n\nFor each of the given solid, the three views are given. Identify for each solid the corresponding top, front and side views.",
null,
"(a)",
null,
"(i) Front (ii) Side (iii) Top\n\n(b)",
null,
"(i) Side (ii) Front (iii) Top\n\n(c)",
null,
"(i) Front (ii) Side (iii) Top\n\n(d)",
null,
"(i) Front (ii) Side (iii) Top\n\n#### Question 3:\n\nFor each given solid, identify the top view, front view and side view.\n\n(a)",
null,
"(b)",
null,
"(c)",
null,
"(d)",
null,
"(e)",
null,
"(a)",
null,
"(i) Top (ii) Front/Side (iii) Side/Front\n\n(b)",
null,
"(i) Side (ii) Front (iii) Top\n\n(c)",
null,
"(i) Top (ii) Side (iii) Front\n\n(d)",
null,
"(i) Side (ii) Front (iii) Top\n\n(e)",
null,
"(i) Front/Side (ii) Top (iii) Side/Front\n\n#### Question 4:\n\nDraw the front view, side view and top view of the given objects.",
null,
"",
null,
"(a) A military tent (b) A table",
null,
"",
null,
"(c) A nut (d) A hexagonal block",
null,
"",
null,
"(e) A dice (f) A solid\n\n(a)\n\n A military tent Front View",
null,
"Top View",
null,
"Side View",
null,
"(b)\n\n A table Front View",
null,
"Top View",
null,
"Side View",
null,
"(c)\n\n A nut Front View",
null,
"Top View",
null,
"Side View",
null,
"(d)\n\n A hexagonal block Front View",
null,
"Top View",
null,
"Side View",
null,
"(e)\n\n A dice Front View",
null,
"Top View",
null,
"Side View",
null,
"(f)\n\n A solid Front View",
null,
"Top View",
null,
"Side View",
null,
"#### Question 1:\n\nLook at the given map of a city.",
null,
"(a) Colour the map as follows: Blue − water plant, red − fire station, orange − library, yellow − schools, green − park, pink − college, purple − hospital, brown − cemetery.\n\n(b) Mark a green ‘X’ at the intersection of Road ‘C’ and Nehru Road, Green ‘Y’ at the intersection of Gandhi Road and Road A.\n\n(c) In red, draw a short street route from library to the bus depot.\n\n(d) Which is further east, the city park or the market?\n\n(e) Which is further south, the Primary School or the Sr. Secondary School?\n\n(a) The given map coloured in the required way is as follows.",
null,
"(b)The marks can be put at the given points as follows.",
null,
"(c) The shortest route from the library to bus depot is represented by red colour.",
null,
"(d) Between the Market and the City Park, the City Park is further east.\n\n(e) Between the Primary School and the Sr. Secondary School, the Sr. Secondary School is further south.\n\n\n##### Video Solution for visualising solid shapes (Page: 163 , Q.No.: 1)\n\nNCERT Solution for Class 8 math - visualising solid shapes 163 , Question 1\n\n#### Question 1:\n\nCan a polyhedron have for its faces\n\n(i) 3 triangles? (ii) 4 triangles?\n\n(iii) a square and four triangles?\n\n(i) No, such a polyhedron is not possible. A polyhedron has minimum 4 faces.\n\n(ii) Yes, a triangular pyramid has 4 triangular faces.",
null,
"(iii) Yes, a square pyramid has a square face and 4 triangular faces.",
null,
"#### Question 2:\n\nIs it possible to have a polyhedron with any given number of faces? (Hint: Think of a pyramid).\n\nA polyhedron has a minimum of 4 faces.\n\n#### Question 3:\n\nWhich are prisms among the following?",
null,
"",
null,
"(i) (ii)",
null,
"",
null,
"(iii) (iv)\n\n(i) It is not a polyhedron as it has a curved surface. Therefore, it will not be a prism also.\n\n(ii) It is a prism.\n\n(iii) It is not a prism. It is a pyramid.\n\n(iv) It is a prism.\n\n#### Question 4:\n\n(i) How are prisms and cylinders alike?\n\n(ii) How are pyramids and cones alike?\n\n(i) A cylinder can be thought of as a circular prism i.e., a prism that has a circle as its base.\n\n(ii) A cone can be thought of as a circular pyramid i.e., a pyramid that has a circle as its base.\n\n#### Question 5:\n\nIs a square prism same as a cube? Explain.\n\nA square prism has a square as its base. However, its height is not necessarily same as the side of the square. Thus, a square prism can also be a cuboid.\n\n##### Video Solution for visualising solid shapes (Page: 166 , Q.No.: 5)\n\nNCERT Solution for Class 8 math - visualising solid shapes 166 , Question 5\n\n#### Question 6:\n\nVerify Euler’s formula for these solids.",
null,
"",
null,
"(i) (ii)\n\n(i) Number of faces = F = 7\n\nNumber of vertices = V = 10\n\nNumber of edges = E = 15\n\nWe have, F + V − E = 7 + 10 − 15 = 17 − 15 = 2\n\nHence, Euler’s formula is verified.\n\n(ii) Number of faces = F = 9\n\nNumber of vertices = V = 9\n\nNumber of edges = E = 16\n\nF + V − E = 9 + 9 − 16 = 18 − 16 = 2\n\nHence, Euler’s formula is verified.\n\n##### Video Solution for visualising solid shapes (Page: 166 , Q.No.: 6)\n\nNCERT Solution for Class 8 math - visualising solid shapes 166 , Question 6\n\n#### Question 7:\n\nUsing Euler’s formula, find the unknown.\n\n Faces ? 5 20 Vertices 6 ? 12 Edges 12 9 ?\n\nBy Euler’s formula, we have\n\nF + V − E = 2\n\n(i) F + 6 − 12 = 2\n\nF − 6 = 2\n\nF = 8\n\n(ii) 5 + V − 9 = 2\n\nV − 4 = 2\n\nV = 6\n\n(iii) 20 + 12 − E = 2\n\n32 − E = 2\n\nE = 30\n\nThus, the table can be completed as\n\n Faces 8 5 20 Vertices 6 6 12 Edges 12 9 30\n\n##### Video Solution for visualising solid shapes (Page: 167 , Q.No.: 7)\n\nNCERT Solution for Class 8 math - visualising solid shapes 167 , Question 7\n\n#### Question 8:\n\nCan a polyhedron have 10 faces, 20 edges and 15 vertices?\n\nNumber of faces = F = 10\n\nNumber of edges = E = 20\n\nNumber of vertices = V = 15\n\nAny polyhedron satisfies Euler’s Formula, according to which, F + V − E = 2\n\nFor the given polygon,\n\nF + V − E = 10 + 15 − 20 = 25 − 20 = 5 ≠ 2\n\nSince Euler’s formula is not satisfied, such a polyhedron is not possible.\n\nView NCERT Solutions for all chapters of Class 8"
] | [
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null,
"https://www.meritnation.com/img/site_content/ask-answer/loader.gif",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8580305,"math_prob":0.9318378,"size":6353,"snap":"2023-14-2023-23","text_gpt3_token_len":1885,"char_repetition_ratio":0.12978421,"word_repetition_ratio":0.1394636,"special_character_ratio":0.3226822,"punctuation_ratio":0.13234201,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9931925,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-04-01T05:35:46Z\",\"WARC-Record-ID\":\"<urn:uuid:0e8dd3d5-815d-4c48-814a-366d6b3fbe86>\",\"Content-Length\":\"70803\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e4b2ffd5-bdbc-4d51-910c-fc2145c6fbda>\",\"WARC-Concurrent-To\":\"<urn:uuid:59bdf757-6e7a-44a8-be2b-119297d3fb24>\",\"WARC-IP-Address\":\"18.67.76.129\",\"WARC-Target-URI\":\"https://www.meritnation.com/cbse-class-8/math/math-ncert-solutions/visualising-solid-shapes/ncert-solutions/10_1_1296_73_157_8794\",\"WARC-Payload-Digest\":\"sha1:7CO5IVUTL3ASUWYMVVOGWGSX7OQDCNHK\",\"WARC-Block-Digest\":\"sha1:IQPFJE6W7YOTVAX3C2EH5RRIW7JEBLNF\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296949701.0_warc_CC-MAIN-20230401032604-20230401062604-00223.warc.gz\"}"} |
https://metanumbers.com/6916 | [
"## 6916\n\n6,916 (six thousand nine hundred sixteen) is an even four-digits composite number following 6915 and preceding 6917. In scientific notation, it is written as 6.916 × 103. The sum of its digits is 22. It has a total of 5 prime factors and 24 positive divisors. There are 2,592 positive integers (up to 6916) that are relatively prime to 6916.\n\n## Basic properties\n\n• Is Prime? No\n• Number parity Even\n• Number length 4\n• Sum of Digits 22\n• Digital Root 4\n\n## Name\n\nShort name 6 thousand 916 six thousand nine hundred sixteen\n\n## Notation\n\nScientific notation 6.916 × 103 6.916 × 103\n\n## Prime Factorization of 6916\n\nPrime Factorization 22 × 7 × 13 × 19\n\nComposite number\nDistinct Factors Total Factors Radical ω(n) 4 Total number of distinct prime factors Ω(n) 5 Total number of prime factors rad(n) 3458 Product of the distinct prime numbers λ(n) -1 Returns the parity of Ω(n), such that λ(n) = (-1)Ω(n) μ(n) 0 Returns: 1, if n has an even number of prime factors (and is square free) −1, if n has an odd number of prime factors (and is square free) 0, if n has a squared prime factor Λ(n) 0 Returns log(p) if n is a power pk of any prime p (for any k >= 1), else returns 0\n\nThe prime factorization of 6,916 is 22 × 7 × 13 × 19. Since it has a total of 5 prime factors, 6,916 is a composite number.\n\n## Divisors of 6916\n\n1, 2, 4, 7, 13, 14, 19, 26, 28, 38, 52, 76, 91, 133, 182, 247, 266, 364, 494, 532, 988, 1729, 3458, 6916\n\n24 divisors\n\n Even divisors 16 8 4 4\nTotal Divisors Sum of Divisors Aliquot Sum τ(n) 24 Total number of the positive divisors of n σ(n) 15680 Sum of all the positive divisors of n s(n) 8764 Sum of the proper positive divisors of n A(n) 653.333 Returns the sum of divisors (σ(n)) divided by the total number of divisors (τ(n)) G(n) 83.1625 Returns the nth root of the product of n divisors H(n) 10.5857 Returns the total number of divisors (τ(n)) divided by the sum of the reciprocal of each divisors\n\nThe number 6,916 can be divided by 24 positive divisors (out of which 16 are even, and 8 are odd). The sum of these divisors (counting 6,916) is 15,680, the average is 6,53.,333.\n\n## Other Arithmetic Functions (n = 6916)\n\n1 φ(n) n\nEuler Totient Carmichael Lambda Prime Pi φ(n) 2592 Total number of positive integers not greater than n that are coprime to n λ(n) 36 Smallest positive number such that aλ(n) ≡ 1 (mod n) for all a coprime to n π(n) ≈ 891 Total number of primes less than or equal to n r2(n) 0 The number of ways n can be represented as the sum of 2 squares\n\nThere are 2,592 positive integers (less than 6,916) that are coprime with 6,916. And there are approximately 891 prime numbers less than or equal to 6,916.\n\n## Divisibility of 6916\n\n m n mod m 2 3 4 5 6 7 8 9 0 1 0 1 4 0 4 4\n\nThe number 6,916 is divisible by 2, 4 and 7.\n\n• Abundant\n\n• Polite\n• Practical\n\n## Base conversion (6916)\n\nBase System Value\n2 Binary 1101100000100\n3 Ternary 100111011\n4 Quaternary 1230010\n5 Quinary 210131\n6 Senary 52004\n8 Octal 15404\n10 Decimal 6916\n12 Duodecimal 4004\n20 Vigesimal h5g\n36 Base36 5c4\n\n## Basic calculations (n = 6916)\n\n### Multiplication\n\nn×i\n n×2 13832 20748 27664 34580\n\n### Division\n\nni\n n⁄2 3458 2305.33 1729 1383.2\n\n### Exponentiation\n\nni\n n2 47831056 330799583296 2287809918075136 15822493393407640576\n\n### Nth Root\n\ni√n\n 2√n 83.1625 19.0525 9.11935 5.86099\n\n## 6916 as geometric shapes\n\n### Circle\n\n Diameter 13832 43454.5 1.50266e+08\n\n### Sphere\n\n Volume 1.38565e+12 6.01063e+08 43454.5\n\n### Square\n\nLength = n\n Perimeter 27664 4.78311e+07 9780.7\n\n### Cube\n\nLength = n\n Surface area 2.86986e+08 3.308e+11 11978.9\n\n### Equilateral Triangle\n\nLength = n\n Perimeter 20748 2.07115e+07 5989.43\n\n### Triangular Pyramid\n\nLength = n\n Surface area 8.28458e+07 3.89851e+10 5646.89"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.6239714,"math_prob":0.9925196,"size":4406,"snap":"2021-04-2021-17","text_gpt3_token_len":1583,"char_repetition_ratio":0.117673784,"word_repetition_ratio":0.03125,"special_character_ratio":0.450522,"punctuation_ratio":0.08031088,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99832726,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-01-15T23:56:49Z\",\"WARC-Record-ID\":\"<urn:uuid:4e01817c-5a8f-407d-88f9-645f804702cc>\",\"Content-Length\":\"47829\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cdfd6015-863b-4150-8e2d-eeac79bed45e>\",\"WARC-Concurrent-To\":\"<urn:uuid:c39865f8-050b-44ec-9ed7-6a8bf783f962>\",\"WARC-IP-Address\":\"46.105.53.190\",\"WARC-Target-URI\":\"https://metanumbers.com/6916\",\"WARC-Payload-Digest\":\"sha1:Y6MPHJ4YIUDO6PHQVFIACGLI5OGYQZ7Q\",\"WARC-Block-Digest\":\"sha1:WCUZZKVWFW2SALCSDUSKBVVGWPMDLYQR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-04/CC-MAIN-2021-04_segments_1610703497681.4_warc_CC-MAIN-20210115224908-20210116014908-00591.warc.gz\"}"} |
https://answers.everydaycalculation.com/add-fractions/4-84-plus-24-50 | [
"Solutions by everydaycalculation.com\n\n4/84 + 24/50 is 277/525.\n\n1. Find the least common denominator or LCM of the two denominators:\nLCM of 84 and 50 is 2100\n2. For the 1st fraction, since 84 × 25 = 2100,\n4/84 = 4 × 25/84 × 25 = 100/2100\n3. Likewise, for the 2nd fraction, since 50 × 42 = 2100,\n24/50 = 24 × 42/50 × 42 = 1008/2100\n100/2100 + 1008/2100 = 100 + 1008/2100 = 1108/2100\n5. 1108/2100 simplified gives 277/525\n6. So, 4/84 + 24/50 = 277/525\n\nMathStep (Works offline)",
null,
"Download our mobile app and learn to work with fractions in your own time:"
] | [
null,
"https://answers.everydaycalculation.com/mathstep-app-icon.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8017249,"math_prob":0.99861735,"size":705,"snap":"2020-34-2020-40","text_gpt3_token_len":291,"char_repetition_ratio":0.14978603,"word_repetition_ratio":0.0,"special_character_ratio":0.56170213,"punctuation_ratio":0.077922076,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99842036,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-27T23:33:57Z\",\"WARC-Record-ID\":\"<urn:uuid:f9ef3fcf-021a-44a7-a3a4-4358ec9b3360>\",\"Content-Length\":\"7473\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:32d36a31-1700-4e2b-8f49-5fdceead1429>\",\"WARC-Concurrent-To\":\"<urn:uuid:e0ea09ef-898f-41b7-b9a6-a3ee25059834>\",\"WARC-IP-Address\":\"96.126.107.130\",\"WARC-Target-URI\":\"https://answers.everydaycalculation.com/add-fractions/4-84-plus-24-50\",\"WARC-Payload-Digest\":\"sha1:G7P6VQ6EIVGVGMR4VEYDWYMCSBVAS3LW\",\"WARC-Block-Digest\":\"sha1:3ODRMWNWQDHXBT6YY5J3XYOFSOO7PLKB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600401582033.88_warc_CC-MAIN-20200927215009-20200928005009-00612.warc.gz\"}"} |
https://www.hawe.com/ru-ru/topics/hydraulic-calculator/ | [
"# Hydraulic calculator",
null,
"The hydraulic calculator allows users to quickly calculate or design hydraulic components due to the extensive collection of formulas and intuitive input mask. The user can individually select formulas and add them to his favorites.\n\nRelevant formulas are pre-selected for common components, allowing quick design. The conversion into different units as well as the calculation of all sizes of a formula in all directions is possible.\n\n## Further functions of the hydraulic calculator",
null,
"For each formula there is an explanation in the fluid lexicon. The collection of formulas is extended piece by piece. Basically the value, which remains free within a formula, is calculated. Exception: If a value/size is clicked on, it is outlined in red and thus becomes the target value. The input field of the target value must be free. If a value is changed after a calculation, a warning triangle appears to indicate that the calculated value is no longer correct. A new calculation is required.\n\nThe individual formulas can be copied, removed or their position within the workspace can be moved. By clicking on the star symbol, a formula is made a favorite.\n\nTo the hydraulic calculator"
] | [
null,
"https://www.hawe.com/fileadmin/content/Hydraulic-calculator-description.png",
null,
"https://www.hawe.com/fileadmin/user_upload/data/fce/Hydraulic-Calculator-functions-EN.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9010948,"math_prob":0.977558,"size":756,"snap":"2023-14-2023-23","text_gpt3_token_len":147,"char_repetition_ratio":0.15159574,"word_repetition_ratio":0.0,"special_character_ratio":0.18650794,"punctuation_ratio":0.11188811,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9775982,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,3,null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-05-28T17:09:40Z\",\"WARC-Record-ID\":\"<urn:uuid:880cdbe4-9252-4f5a-9df1-3c0308b15a83>\",\"Content-Length\":\"158405\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0ab244f2-ec08-4e60-af08-e66c30a7d6c8>\",\"WARC-Concurrent-To\":\"<urn:uuid:e6b7e90f-a8d0-43fc-9bee-dbbc9682707b>\",\"WARC-IP-Address\":\"46.252.24.40\",\"WARC-Target-URI\":\"https://www.hawe.com/ru-ru/topics/hydraulic-calculator/\",\"WARC-Payload-Digest\":\"sha1:HRRSQBPT37H475JCXFXOGVVKU3VRQA3G\",\"WARC-Block-Digest\":\"sha1:LMUFZETANB3BACE3DIIEC3E3LH7D3KME\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224644309.7_warc_CC-MAIN-20230528150639-20230528180639-00344.warc.gz\"}"} |
https://pdfcookie.com/documents/03-steady-1d-heat-conduction-0nvoeq49xol8 | [
"# 03. Steady 1d Heat Conduction\n\n• January 2020\n• PDF TXT\n\nThis document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form.\n\n### More details\n\n• Words: 1,208\n• Pages: 19\n3. ONE-DIMENSIONAL STEADY STATE CONDUCTION Conduction in a Single Layer Plane Wall • Assume:\n\nL kλ\n\n(1) Steady state (2) One-dimensional [W/m3] (3) Q& = 0 zdr\n\n0\n\nqQ&xx\n\nx\n\n• Find: (1) Temperature distribution (2) Heat transfer rate\n\nFig. 3.1 1\n\nThe Heat Conduction Equation Starting point: The heat conduction equation for 3-D\n\n∂ ∂T ∂T ∂ ∂T ∂ ∂T & ) + (λ ) + Q = ρc (λ ) + (λ zdr ∂x ∂x ∂y ∂y ∂z ∂z ∂t (3.1) becomes for 1D d dT (λ )=0 dx dx\n\n(3.1)\n\n(3.2)\n\n• Assume: Constant λ d 2T dx\n\n2\n\n=0\n\n(3.3) 2\n\n(3.3) is valid for all problems described by rectangular coordinates, subject to the four above assumptions.\n\nGeneral Solution Integrate (3.3)\n\ndT =C 1 dx Integrate again\n\nT = C1 x + C 2\n\n(3.4)\n\n• C1 and C2 are constants of integration determined from B.C.\n\n• Temperature distribution is linear 3\n\nApplication to Special Cases Apply solution (3.4) to special cases (different B.C.)\n\n• Objective: (1) Determine the temperature distribution T(x) (2) Determine the heat transfer rate Q& x (3) Construct the thermal circuit\n\n4\n\n• Case (i): Specified temperatures at both surfaces L kλ\n\nBoundary conditions:\n\nT (0) = Ts1\n\n(3.5)\n\nT ( L) = Ts 2\n\n(3.6)\n\nTs1•\n\nRRcd== cd\n\nTs1 •\n\nT = C1 x + C 2\n\n(3.4)\n\n• Ts 2\n\nx\n\n0\n\n(1) Determine C1, C2 and T(x): Solution is given by (3.4)\n\nT ( x)\n\nLL Ak Sλ\n\nq&x\n\nQ\n\n• Ts 2\n\nx\n\nFig. 3.2\n\n5\n\nApplying B.C., general solution becomes: Linear profile\n\nx T ( x ) = Ts1 + (Ts 2 − Ts1 ) L\n\n(3.7)\n\n(2) Determine q x : Apply Fourier's law (1.5)\n\nQ&\n\n∂T −λ q& x = S ∂x x\n\n(1.5)\n\n6\n\n∂T & Q = − λS x ∂x\n\n(3.8)\n\nDifferentiate (3.7) and substitute into (3.8)\n\nQ& =\n\nλ S (T - T )\n\nx\n\ns1\n\ns2\n\nL\n\n(3) Thermal circuit. Rewrite (3.8a): (Ts1 - Ts2 ) Q& x = L Sλ\n\n(3.8a) L kλ\n\nTs1•\n\nT ( x)\n\n(3.8b)\n\nDefine: Thermal resistance due to conduction, Rcd\n\nx\n\n0\n\nRRcd== cd\n\nTs1 •\n\n• Ts 2 LL Ak Sλ\n\nq&x\n\nQ Fig. 3.2\n\n• Ts 2\n\nx 7\n\nL R = cd Sλ (3.8b) becomes (Ts1 - Ts2 ) Q& x = R\n\n(3.9) Ts1•\n\n(3.10)\n\nAnalogy with Ohm's law for electric circuits: Q& → current\n\nT ( x)\n\nRRcd== cd\n\nTs1 •\n\n• Ts 2\n\nx\n\n0\n\ncd\n\nx\n\nL kλ\n\nLL Ak Sλ\n\nq&x\n\nQ\n\n• Ts 2\n\nx\n\nFig. 3.2\n\n(Ts1 − Ts 2 ) → voltage drop Rcd → electric resistance 8\n\nConduction in a Multi-layer Plane Wall The Heat Equations and Boundary Conditions\n\n9\n\nHeat must go through all layers with no change (unless heat is generated – e.g. 1000W must get through all layers):\n\nTs2 − Ts1 Ts3 − Ts2 Ts4 − Ts3 & Qx = − λ1 S = − λ2 S = − λ3 S L3 L1 L2 Or using conduction resistance: Ts2 − Ts1 Ts3 − Ts2 Ts4 − Ts3T∞1 • & Qx = − =− =− Ts1• L1 L2 L3 λ1 S λ2 S λ3 S And summing up the resistances and exchanging temp. differences\n\nQ& x =\n\nTs1 − Ts 4 Ts1 − Ts 4 = R1 + R2 + R3 L1 + L2 + L3 λ1S λ2 S λ3 S\n\nT∞1 •\n\n0\n\n11 Ah Sα1\n\n1\n\nL1\n\nkλ1\n\nL2\n\n1\n\nTs 2 •\n\nλk2\n\nx\n\nk3\n\nλ3\n\n2\n\nTs 3 •\n\nTs4\n\n• T∞\n\nLL1 Sλ Ak1 1\n\nq&\n\nL3\n\nLL3 11 LL2 Ah4 SλAk2 Sλ Ak33 Sα 2 2 • • • •T\n\nTs1 Qxx Ts 2 Fig. 3.5\n\nTs 3\n\nTs 4 10\n\nΔT & Q = x ∑R\n\n(3.11) T s 1•\n\nΔT = overall temperature difference across all resistances\n\nΣR = sum of all resistances\n\nL1\n\nT∞ 1 •\n\n0\n\nT∞ 1 •\n\n11 Ah Sα1\n\n1\n\nkλ1\n\nL2\n\n1\n\nTs 2 •\n\nL3\n\nλk22\n\nk3\n\nλ3\n\nTs 3 •\n\nTs 4\n\nx\n\nTs1\n\n• T∞ 4\n\nLL1 Sλ Ak 1 1\n\nQq& x\n\nx\n\nLL3 LL2 11 Ah4 Sλ SλAk Ak3 3 Sα 2 2 2 • • • •T∞ 4 Ts 2\n\nTs 3\n\nTs 4\n\nFig. 3.5\n\nDetermining temperature at any point, for example at the point 2, apply equation for heat transfer rate for appropriate layer Ts1 − Ts 2 & Qx = L1 λ1 S\n\n11\n\nRadial Conduction in a Single Layer Cylindrical Wall The Heat Conduction Equation Assume: (1) Constant λ ∂T (2) Steady state: =0 ∂ ∂ ∂t (3) 1-D: = =0 ∂φ ∂z (4) No energy generation: Q& zdr = 0\n\n0\n\nr2 r r1\n\nFig. 3 .6\n\n12\n\nSimplified Heat equation in cylindrical coordinates:\n\nd dT (r )=0 dr dr\n\n(3.12)\n\nT(r) = C1 ln r + C2\n\n(3.13)\n\nGeneral solution\n\n(1) Determine temperature distribution - profile Specified temperatures at both surfaces B.C.\n\nr\n\nr1\n\nT(r1) = Ts1 T(r2) = Ts 2\n\n0\n\nr2\n\nTs1 • •T\n\ns2\n\nFig.13 3 .7\n\nTs1 − Ts 2 T (r ) = ln ( r/r2 ) + Ts 2 (3.14) ln ( r1/r2 ) Logarithmic profile (2) Determine the radial heat transfer rate Q& r : Apply Fourier's law\n\ndT & Q = − λ.S(r) r dr\n\n(3.15)\n\nFor a cylinder of length L the area S(r) is\n\nS(r) = 2 πrL Differentiate (3.14) dT Ts1 − Ts 2 1 = dr ln( r1 / r2 ) r\n\n(3.16)\n\n(3.17) 14\n\nQ& r =\n\nTs1 − Ts2 (1/2π λ L)ln(r2 /r1 )\n\n(3.18)\n\n(3) Thermal circuit: Define the thermal resistance for radial conduction, Rcd Rcd =\n\nln ( r r ) 2\n\n2 πλL\n\n1\n\n(3.19)\n\n0\n\n•T\n\ns2\n\nTs1•\n\nQ& r =\n\nRcd\n\nr2\n\nTs1 •\n\n(3.19) into (3.18)\n\nTs1 − Ts2\n\nr\n\nr1\n\nRcd q&rr Q\n\n• Ts 2\n\nFig. 3.7\n\n(3.20) 15\n\nHeat is transferred from inside to outside the tube Which profile is correct? 1 or 2?\n\nQ& r Superheated steam\n\n16\n\nRadial Conduction in a Multi-layer Cylindrical Wall r3\n\nAssume: (1) One-dimensional (2) Steady state (3) Constant conductivity (4) No heat generation (5) Perfect interface contact\n\nr4 k3\n\nr2 k2 r1 k1λ1 λ2 T∞1 h1\n\nT∞ 4 • h 4\n\nTs1 Ts2 Ts3 Ts4\n\n& qQ r r\n\nT∞1 •\n\nλ3\n\nRcv1\n\nT∞ 4\n\nRcd 1 Rcd 2 Rcd 3 Rcv 4\n\nFig . 3.10\n\nThree conduction resistances: 17\n\nRcd1 = Rcd2 = Rcd3 =\n\nln(r /r ) 2 1\n\n2π λ L 1\n\nln(r /r ) 3 2\n\n2π λ L 2\n\nln(r4 /r3 ) 2π λ3 L\n\nHeat transfer rate: Ohm analogy\n\nQ& r=\n\nT s1 − T s4 ln(r2 /r1 ) ln(r3 /r2 ) ln(r4 /r3 ) + + 2π λ1 L 2π λ2 L 2π λ3 L (3.21) 18\n\nContact Resistance • Perfect interface contact vs. actual contact (see Figure)\n\n• Gaps act as a resistance to heat flow • The temperature drop depends on\n\nT\n\nthe contact resistance Rct\n\nx\n\n• Rct is determined experimentally\n\nFig. 3.11 Operational temperature\n\nFourier’s law: Q& x =\n\nΔTct\n\nΔT R1 + Rct + R2\n\nSurface temperature\n\n19\n\nJanuary 2020 36\nJanuary 2020 38\nDecember 2019 20\nJanuary 2020 43\nDecember 2019 51\nDecember 2019 50\n\n#### More Documents from \"En Csak\"\n\nJanuary 2020 36\n##### (full Materi) Penyelesaian Soal Utn\nDecember 2019 119\nDecember 2019 70\nDecember 2019 68\nJanuary 2020 49\nOctober 2019 50"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.6299174,"math_prob":0.9954798,"size":5206,"snap":"2022-27-2022-33","text_gpt3_token_len":2298,"char_repetition_ratio":0.10745867,"word_repetition_ratio":0.047342192,"special_character_ratio":0.424126,"punctuation_ratio":0.09068628,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9829537,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-11T08:53:46Z\",\"WARC-Record-ID\":\"<urn:uuid:4d495d5b-da90-415b-8426-948e76c3a20e>\",\"Content-Length\":\"32290\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f2d375d1-6319-4d02-a869-27bce8355d99>\",\"WARC-Concurrent-To\":\"<urn:uuid:b7229402-8bd5-4b91-85a3-c8a356bc2937>\",\"WARC-IP-Address\":\"172.67.183.216\",\"WARC-Target-URI\":\"https://pdfcookie.com/documents/03-steady-1d-heat-conduction-0nvoeq49xol8\",\"WARC-Payload-Digest\":\"sha1:CDASIPMU5RGYTPFEJ7USR26NQYVRO7MJ\",\"WARC-Block-Digest\":\"sha1:6IMKDWJBYPGTOJAPJWZ4MSDASEVPQT6O\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882571246.56_warc_CC-MAIN-20220811073058-20220811103058-00563.warc.gz\"}"} |
https://www.abbottaerospace.com/aa-sb-001/12-joints/12-2-mechanically-fastened-joints/12-2-10-mechanical-joints-lugs-additional-checks/ | [
"### 12.2.10. Mechanical Joints – Lugs – Additional checks\n\nReference: Abbott, Richard. Analysis and Design of Composite and Metallic Flight Vehicle Structures 3 Edition, 2019\n\n12.2.10.1. Pin Bending\n\nThe pin used in the lug joint should be checked for pin bending. To obtain the effective moment arm of the pin compute the following for the inner lug:\n\nWhere e, D and t2 are the lug edge distance, hole/pin diameter and thickness respectively defined in Figure 12.2.9‑2.\n\nTake the smaller of P’bru and P’tu for the inner lug as (P’u)min and compute the following expression:\n\nObtain the reduction factor ‘γ’ from the following figure:\n\nThe effective moment arm can then be calculated using the following expression:\n\nWhere the terms in the expression are defined in the figure below:\n\nCalculate pin bending moment from the equation:\n\nCalculate the bending stress resulting from “M” assuming the standard My/I distribution.\n\nThe resulting bending stress can be compared to the pin plastic bending allowable.\n\nNote: A fitting factor per the regulations of at least 1.15 should be used. Some OEMs require a minimum margin of safety of 0.25 for lugs, or an effective fitting factor of 1.25.\n\n12.2.10.2 Stresses due to Press Fit Bushings\n\nThe method in this section is referenced to (",
null,
"AFFDL-TR-69-42, 1986) Section 9.16. Note that several errors in the source material have been corrected. The expression for the maximum tangential stress for the bushing: The ‘p’ and ‘B’ should be in regular font, therefore the numerator becomes ‘2pB2’ and the denominator of this expression should read ‘B2-A2’.\n\nThe pressure between a lug and a bushing assembly having negative clearance can be determined by consideration of the radial displacements. This method assumes the lug acts as if it is a uniform ring around the bushing. After assembly, the increase in the inner radius of the ring (lug), plus the decrease in the outer radius of the bushing equals the difference between the radii of the bushing and ring (lug) before assembly.\n\nWhere:\n\nRadial displacement at the inner surface of a ring subjected to internal pressure p is:\n\nRadial displacement at the outer surface of a bushing subjected to external pressure p is:\n\nWhere:\n\nCombining these equations and substituting into the first equation and solving for p gives the following expression:\n\nMaximum radial and tangential stresses for a ring (lug) subjected to internal pressure occur at the inner surface of the ring (lug).\n\nMaximum radial stress for lug (the pressure on the interface between the lug and the bushing):\n\nMaximum tangential stress for lug:\n\nPositive sign indicates tension. The maximum shear stress at this point in the lug is:\n\nThe maximum radial stress for a bushing subjected to external pressure occurs at the outer surface of the bushing and is:\n\nThe maximum tangential stress for a bushing subjected to external pressure occurs at the inner surface of the bushing and is:\n\nAcceptable stress levels:\n\n• Stress corrosion. This maximum allowable press fit stress in magnesium alloys should not exceed 8000psi. For all aluminum alloys, the maximum press fit stress should not exceed 0.50Fty.\n• Static fatigue. For steels heat treated to above 200ksi, where there is any risk of hydrogen embrittlement the press fit stress should not exceed 0.25Ftu.\n• Ultimate strength. Ftu should not be exceeded. However, it is rare to create stresses of this magnitude in a press fit bushing installation.\n\n### 12.2.10. Mechanical Joints – Lugs – Additional checks\n\nReference: Abbott, Richard. Analysis and Design of Composite and Metallic Flight Vehicle Structures 3 Edition, 2019\n\n12.2.10.1. Pin Bending\n\nThe pin used in the lug joint should be checked for pin bending. To obtain the effective moment arm of the pin compute the following for the inner lug:\n\nWhere e, D and t2 are the lug edge distance, hole/pin diameter and thickness respectively defined in Figure 12.2.9‑2.\n\nTake the smaller of P’bru and P’tu for the inner lug as (P’u)min and compute the following expression:\n\nObtain the reduction factor ‘γ’ from the following figure:\n\nThe effective moment arm can then be calculated using the following expression:\n\nWhere the terms in the expression are defined in the figure below:\n\nCalculate pin bending moment from the equation:\n\nCalculate the bending stress resulting from “M” assuming the standard My/I distribution.\n\nThe resulting bending stress can be compared to the pin plastic bending allowable.\n\nNote: A fitting factor per the regulations of at least 1.15 should be used. Some OEMs require a minimum margin of safety of 0.25 for lugs, or an effective fitting factor of 1.25.\n\n12.2.10.2 Stresses due to Press Fit Bushings\n\nThe method in this section is referenced to (",
null,
"AFFDL-TR-69-42, 1986) Section 9.16. Note that several errors in the source material have been corrected. The expression for the maximum tangential stress for the bushing: The ‘p’ and ‘B’ should be in regular font, therefore the numerator becomes ‘2pB2’ and the denominator of this expression should read ‘B2-A2’.\n\nThe pressure between a lug and a bushing assembly having negative clearance can be determined by consideration of the radial displacements. This method assumes the lug acts as if it is a uniform ring around the bushing. After assembly, the increase in the inner radius of the ring (lug), plus the decrease in the outer radius of the bushing equals the difference between the radii of the bushing and ring (lug) before assembly.\n\nWhere:\n\nRadial displacement at the inner surface of a ring subjected to internal pressure p is:\n\nRadial displacement at the outer surface of a bushing subjected to external pressure p is:\n\nWhere:\n\nCombining these equations and substituting into the first equation and solving for p gives the following expression:\n\nMaximum radial and tangential stresses for a ring (lug) subjected to internal pressure occur at the inner surface of the ring (lug).\n\nMaximum radial stress for lug (the pressure on the interface between the lug and the bushing):\n\nMaximum tangential stress for lug:\n\nPositive sign indicates tension. The maximum shear stress at this point in the lug is:\n\nThe maximum radial stress for a bushing subjected to external pressure occurs at the outer surface of the bushing and is:\n\nThe maximum tangential stress for a bushing subjected to external pressure occurs at the inner surface of the bushing and is:\n\nAcceptable stress levels:\n\n• Stress corrosion. This maximum allowable press fit stress in magnesium alloys should not exceed 8000psi. For all aluminum alloys, the maximum press fit stress should not exceed 0.50Fty.\n• Static fatigue. For steels heat treated to above 200ksi, where there is any risk of hydrogen embrittlement the press fit stress should not exceed 0.25Ftu.\n• Ultimate strength. Ftu should not be exceeded. However, it is rare to create stresses of this magnitude in a press fit bushing installation."
] | [
null,
"https://www.abbottaerospace.com/wp-content/uploads/2019/04/DOCUMENT-e1572009841677.png",
null,
"https://www.abbottaerospace.com/wp-content/uploads/2019/04/DOCUMENT-e1572009841677.png",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8665498,"math_prob":0.8885102,"size":3493,"snap":"2023-40-2023-50","text_gpt3_token_len":764,"char_repetition_ratio":0.13900831,"word_repetition_ratio":0.079225354,"special_character_ratio":0.21242484,"punctuation_ratio":0.10810811,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96767807,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-24T11:17:33Z\",\"WARC-Record-ID\":\"<urn:uuid:3edcf62d-eaaf-4fb5-b355-63d0bacee270>\",\"Content-Length\":\"156431\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:be10047d-e156-4d89-8c47-3271b222f6dc>\",\"WARC-Concurrent-To\":\"<urn:uuid:54723856-99c0-46fd-a801-689c01e93d1a>\",\"WARC-IP-Address\":\"172.67.189.224\",\"WARC-Target-URI\":\"https://www.abbottaerospace.com/aa-sb-001/12-joints/12-2-mechanically-fastened-joints/12-2-10-mechanical-joints-lugs-additional-checks/\",\"WARC-Payload-Digest\":\"sha1:SECRYFZ2QZQUCI2XQOPZHAKXM4B75QSC\",\"WARC-Block-Digest\":\"sha1:UCTINECKIXNABBHE2GQHEC7RWILDOGS7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233506632.31_warc_CC-MAIN-20230924091344-20230924121344-00253.warc.gz\"}"} |
http://conspiracybuzz.info/fact-practice-worksheets/fun-math-fact-practice-worksheets-grocery-store-worksheet-for-kids-fact-practice-worksheets-free-division-fact-practice-worksheets-printable/ | [
"### Fun Math Fact Practice Worksheets Grocery Store Worksheet For Kids Fact Practice Worksheets Free Division Fact Practice Worksheets Printable",
null,
"fun math fact practice worksheets grocery store worksheet for kids fact practice worksheets free division fact practice worksheets printable.\n\nmultiplication and division fact practice worksheets math sheets facts fluency addition,fast fact fluency math drill worksheets grade and timed sheets five minute division basic facts 100 practice 2nd,mixed basic math worksheets fact fluency 5th grade worksheet multiplication 0 problems division facts 100,math facts practice worksheets 5th grade basic fact addition and subtraction,fact fluency practice worksheets mixed math 5th grade free times tables 3 and 4 addition,math fact practice fantastic worksheets worksheet generator facts basic addition mixed fluency,fact family practice worksheets math facts 3rd grade basic sheets for full size,mixed fact practice worksheets multiplication basic division facts math,math fact practice worksheet generator facts worksheets 1st grade 2nd sheets,math facts fluency practice addition worksheets for you to print right now division basic 100 3rd grade."
] | [
null,
"http://conspiracybuzz.info/wp-content/uploads/2019/05/fun-math-fact-practice-worksheets-grocery-store-worksheet-for-kids-fact-practice-worksheets-free-division-fact-practice-worksheets-printable.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.82562476,"math_prob":0.8863602,"size":1043,"snap":"2019-13-2019-22","text_gpt3_token_len":191,"char_repetition_ratio":0.280077,"word_repetition_ratio":0.0,"special_character_ratio":0.16490892,"punctuation_ratio":0.06790123,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99817103,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-05-21T10:38:48Z\",\"WARC-Record-ID\":\"<urn:uuid:6ad32c9e-1d99-4503-aa25-5614a594ed5c>\",\"Content-Length\":\"32627\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f1974010-7d04-4013-a39c-3ab20f87bfb8>\",\"WARC-Concurrent-To\":\"<urn:uuid:bb5222e9-fe0c-41c2-b277-2e5a64228ac4>\",\"WARC-IP-Address\":\"104.28.12.223\",\"WARC-Target-URI\":\"http://conspiracybuzz.info/fact-practice-worksheets/fun-math-fact-practice-worksheets-grocery-store-worksheet-for-kids-fact-practice-worksheets-free-division-fact-practice-worksheets-printable/\",\"WARC-Payload-Digest\":\"sha1:P7DWAU2Y4GBY3MOGHUZQIPW6ZLSUCY7G\",\"WARC-Block-Digest\":\"sha1:4EP2BCYCJWJTBVHORYXKZ2VI7QM6ZBG6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-22/CC-MAIN-2019-22_segments_1558232256314.52_warc_CC-MAIN-20190521102417-20190521124417-00343.warc.gz\"}"} |
https://cacm.acm.org/magazines/1966/8 | [
"",
null,
"# Communications of the ACM\n\n#### Survey of formula manipulation\n\nThe field of formula manipulation is surveyed, with particular attention to the specific capabilities of differentiation, integration and the supporting capabilities of simplification, displays and input/output editing, and precision …\n\n#### On the implementation of AMBIT, a language for symbol manipulation\n\nA brief description is given of the implementation technique for the replacement rule of the AMBIT programming language. The algorithm for the “AMBIT scan” and an example of its application are given. The algorithm is applicable …\n\n#### Computation of algebraic properties of elementary particle reactions using a digital computer\n\nA large number of calculations in high-energy elementary particle physics involve the manipulation of complicated algebraic expressions containing both tensor and noncommutative matrix quantities. Many of these calculations take …\n\n#### PM, a system for polynomial manipulation\n\nPM is an IBM 7094 program system for formal manipulation of polynomials in any number of variables, with integral coefficients unrestricted in size. Some of the formal opeartions which can be performed by the system are sums, …\n\n#### Computer experiments in finite algebra\n\nA medium-scale programming system is written in MAD and FAP on the IBM 7094 to manipulate some of the objects of modern algebra: finite groups, maps and sets of maps, subsets and sets of subsets, constant integers and truth-values …\n\n#### CONVERT\n\nA programming language is described which is applicable to problems conveniently described by transformation rules. By this is meant that patterns may be prescribed, each being associated with a skeleton, so that a series of …\n\n#### A programmer's description of L6\n\nBell Telephone Laboratories' Low-Level Linked List Language L6 (pronounced “L-six”) is a new programming language for list structure manipulations. It contains many of the facilities which underlie such list processors as IPL …\n\n#### AUTOMAST: automatic mathematical analysis and symbolic translation\n\nA procedure for numerically solving systems of ordinary differential equations is shown to also generate symbolic solutions. The procedure is based on a finite Taylor series expansion that includes an estimate of the error in …\n\n#### Solutions of systems of polynomial equations by elimination\n\nThe elimination procedure as described by Williams has been coded in LISP and FORMAC and used in solving systems of polynomial equations. It is found that the method is very effective in the case of small systems, where it yields …\n\n#### Symbolic factoring of polynomials in several variables\n\nAn algorithm for finding the symbolic factors of a multivariate polynomial with integer coefficients is presented. The algorithm is an extension of a technique used by Kronecker in a proof that the prime factoring of any polynomial …",
null,
"Previous Issue Next Issue"
] | [
null,
"https://cacm.acm.org/images/icons/acm_header.png",
null,
"https://dl.acm.org/cms/attachment/b2e29d95-7c62-4399-9119-d69f151e1898/365758.cover.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.90640324,"math_prob":0.8675166,"size":2700,"snap":"2021-43-2021-49","text_gpt3_token_len":587,"char_repetition_ratio":0.10645401,"word_repetition_ratio":0.0,"special_character_ratio":0.21185185,"punctuation_ratio":0.08510638,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9571508,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-12-03T13:04:32Z\",\"WARC-Record-ID\":\"<urn:uuid:e2b49d89-4c25-4451-9270-3c49ac8f2f08>\",\"Content-Length\":\"21152\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9b348e81-d762-4fe7-a4f1-91fdb037e6bb>\",\"WARC-Concurrent-To\":\"<urn:uuid:1d13ccdb-8fb2-4477-ba04-2017bbb372bd>\",\"WARC-IP-Address\":\"104.17.79.30\",\"WARC-Target-URI\":\"https://cacm.acm.org/magazines/1966/8\",\"WARC-Payload-Digest\":\"sha1:PWL5VZVFDFTMLCSFUCTWI4UPW4IDZSOW\",\"WARC-Block-Digest\":\"sha1:BHOEXCAHHUAQDB2WJLLA6OLC2LG52TNO\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964362879.45_warc_CC-MAIN-20211203121459-20211203151459-00357.warc.gz\"}"} |
https://mechanicalbase.com/spur-gear-teeth-geometry-calculators-and-explanations/ | [
"Engineering Calculators\n\nSpur Gear Teeth Geometry Calculators And Explanations\n\nBecause of the complex teeth geometries of spur gears, diameter calculations, teeth geometry calculations are a bit complex. Here, we explain all the calculations related to the gear-teeth relations.\n\nExplanation Of Addendum, Dedendum, And Clearance Of Spur Gears\n\nMachine Elements in Mechanical Design (What’s New in Trades & Technology)\n\nIf you are interested in the guidebook that is used for this article, click on the given link above or the ‘Shop Now’ button to check it from Amazon!\n\nDesigning the construction of machinery, all the geometrical features must be calculated. Contacting of pinion and gears must be calculated in detail to obtain the required construction. There are a bunch of terms related to these calculations;\n\n• Addendum(a) Of Spur Gears: The distance between the pitch circle and the outermost section of the gear tooth.\n• Dedendum(b) Of Spur Gears: The distance between the pitch circle and the bottom of the tooth space.\n• Clearance(c) Between Spur Gears: At assembled gears, clearance defines the space between the outermost section of the first spur gear and the bottom of tooth space of the second spur gear.",
null,
"The illustration shows the three definitions above(Source Of Image: Machine Elements In Mechanical Design- Robert L. Mott).\n\nYou can use the calculator below to calculate Addendum, Dedendum, and Clearance of a spur gear if you know diametric pitch or metric module;\n\nThe use of the calculator above to calculate addendum, dedendum, and clearance values for spur gear mates is very easy. Select the required information from the list which you know; diametral pitch or metric module. Do not forget that the unit of diametral pitch is inches and the metric module is millimeters.\n\nEnter the required value then click on the ‘Calculate!’ button. To make another calculation, click on the ‘Reset’ button then re-enter the values.\n\nCalculation Of Outside Diameter Of A Spur Gear\n\nThe outside diameter of spur gear is a very important constructional value. It is generally referred to as ‘Da’. If you know the metric module or diametric pitch and number of teeth of your spur gear, you can use the calculator below to calculate the outside diameter.\n\nJust like the calculator before this, you need to select the information you have about your spur gear mates; metric module, or diametral pitch…\n\nOutside diameter calculated via diametral pitch formula is like below. Check your calculations with this formula;\n\nMetric module outside diamater formula;\n\nThe diameter of spur gear is calculated as the extraction of two dedendum values from the calculated outside diameter. This value is called ‘D’.\n\nCalculation Of Other Constructional Values Of Spur Gear Tooth\n\n• Working Depth Calculation: Working depth is calculated as multiplying addendum with 2.\n• Tooth Thickness Calculation: You can calculate the tooth thickness value of mating spur gears by using this equation; pi/(2*Pa). Pa is the diametral pitch of spur gear.\n• Root Diameter Calculation: If you extract two dedendums from the diameter of spur gear, you will find out the root diameter value.\n• Whole Depth Value: Whole depth is the summation of addendum and dedendum of a spur gear.\n\nCenter Distance Calculation Of Mating Spur Gears With Calculators\n\nMaybe center distance calculation is the most important aspect of spur gear mates. The exact calculation of center distance is very important in terms of the construction of other elements inside machinery such as shafts etc.\n\nIf you know the number of teeth of pinion and gear mates, and diametral pitch or metric module, you can easily calculate the center distance value between mating gears.\n\nCenter distance formula via diametral pitch;\n\nCenter distance formula via metric module;\n\nConclusion For Spur Gear Geometrical Calculators\n\nThese calculators can be very useful when you are making spur gear construction design.\n\nAll the responsibilities of calculations made in Mechanical Base calculators are about the users of calculators. Calculators are prepared based on very reliable sources.\n\nYou can take a look at other engineering calculators available in Mechanical Base!\n\nYou can also use the MB-Unit Converter tool to convert your unit sets to another set of units."
] | [
null,
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYYAAADcAQMAAABOLJSDAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAACJJREFUaIHtwTEBAAAAwqD1T20ND6AAAAAAAAAAAAAA4N8AKvgAAUFIrrEAAAAASUVORK5CYII=",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.8608575,"math_prob":0.993458,"size":4213,"snap":"2022-05-2022-21","text_gpt3_token_len":859,"char_repetition_ratio":0.17771442,"word_repetition_ratio":0.03560831,"special_character_ratio":0.18514124,"punctuation_ratio":0.093457945,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9824126,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-25T19:07:38Z\",\"WARC-Record-ID\":\"<urn:uuid:8c23ddd0-b61f-4413-a47d-f8558ffa2c9a>\",\"Content-Length\":\"198582\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:62b43969-b384-477b-bee6-ce8a64fe6a30>\",\"WARC-Concurrent-To\":\"<urn:uuid:ba871d39-b428-488f-851f-f1066b11ee16>\",\"WARC-IP-Address\":\"104.21.69.131\",\"WARC-Target-URI\":\"https://mechanicalbase.com/spur-gear-teeth-geometry-calculators-and-explanations/\",\"WARC-Payload-Digest\":\"sha1:56VNCKJ3WHSVEZT4HHMMPFHBGT33LCJA\",\"WARC-Block-Digest\":\"sha1:XPCT57JWE32G42XW5ORXOIHXYO2FJ3EX\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320304872.21_warc_CC-MAIN-20220125190255-20220125220255-00148.warc.gz\"}"} |
https://calcgeek.com/number-of-diffusers/ | [
"# Number of diffusers\n\nFirst, let’s calculate the size of your room. This is important because you need to know the size of your room in order to determine how many diffusers you need.\n\nTo calculate the size of your room, you need to measure the length, width, and height of the room. Then, you multiply the length by the width by the height. This will give you the total size of your room in square feet.\n\nNow that you know the size of your room, you can determine how many diffusers you need. The general rule of thumb is that you need one diffuser for every 250 square feet of your room. However, you may need more or less depending on the shape of your room and the type of diffuser you are using.\n\nFor example, if you have a rectangular room that is 300 square feet, you would need at least 1.2 diffusers. If you have a room that is square and is 300 square feet, you would only need 1 diffuser.\n\nIf you are using an oil diffuser, you may need more diffusers because the oil diffusers cover a larger area than the other types of diffusers.\n\nNow that you know how to calculate the number of diffusers you need, you can go out and buy the right number of diffusers for your room. And, you can rest assured knowing that your room will be properly diffused!\n\nThe area of a rectangular duct calculator\n\nThe rectangular duct calculator can be used to calculate the area of a rectangular duct. The calculator will ask for the dimensions of the duct, and then calculate the area."
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9543859,"math_prob":0.98116326,"size":1631,"snap":"2022-40-2023-06","text_gpt3_token_len":366,"char_repetition_ratio":0.20221266,"word_repetition_ratio":0.06930693,"special_character_ratio":0.21704476,"punctuation_ratio":0.09883721,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9848176,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-01-30T09:01:28Z\",\"WARC-Record-ID\":\"<urn:uuid:24127678-598e-4ee7-aee7-75df181366ff>\",\"Content-Length\":\"81877\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2a4fdfa4-a3c2-4a03-bd99-54a0e32c0ecd>\",\"WARC-Concurrent-To\":\"<urn:uuid:09473755-4dba-4b26-a8c7-d7245a741824>\",\"WARC-IP-Address\":\"104.21.54.97\",\"WARC-Target-URI\":\"https://calcgeek.com/number-of-diffusers/\",\"WARC-Payload-Digest\":\"sha1:RSLFNKMRBXV6TPRFOWKI7SK56DCQZ52N\",\"WARC-Block-Digest\":\"sha1:FR5UIBUUSHVGTV35KOGHPX4RGMHZSFQZ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764499804.60_warc_CC-MAIN-20230130070411-20230130100411-00705.warc.gz\"}"} |
http://isabelle.in.tum.de/repos/isabelle/file/6bcd9b2ca49b/src/Pure/tactic.ML | [
"src/Pure/tactic.ML\n author wenzelm Sat, 19 Nov 2005 14:21:06 +0100 changeset 18209 6bcd9b2ca49b parent 18145 6757627acf59 child 18471 ca9a864018d6 permissions -rw-r--r--\nadded CONJUNCTS: treat conjunction as separate sub-goals;\n```\n(* Title: Pure/tactic.ML\nID: \\$Id\\$\nAuthor: Lawrence C Paulson, Cambridge University Computer Laboratory\n\nTactics.\n*)\n\nsignature BASIC_TACTIC =\nsig\nval ares_tac : thm list -> int -> tactic\nval assume_tac : int -> tactic\nval atac : int ->tactic\nval bimatch_from_nets_tac:\n(int*(bool*thm)) Net.net * (int*(bool*thm)) Net.net -> int -> tactic\nval bimatch_tac : (bool*thm)list -> int -> tactic\nval biresolution_from_nets_tac:\n('a list -> (bool * thm) list) ->\nbool -> 'a Net.net * 'a Net.net -> int -> tactic\nval biresolve_from_nets_tac:\n(int*(bool*thm)) Net.net * (int*(bool*thm)) Net.net -> int -> tactic\nval biresolve_tac : (bool*thm)list -> int -> tactic\nval build_net : thm list -> (int*thm) Net.net\nval build_netpair: (int*(bool*thm)) Net.net * (int*(bool*thm)) Net.net ->\n(bool*thm)list -> (int*(bool*thm)) Net.net * (int*(bool*thm)) Net.net\nval compose_inst_tac : (string*string)list -> (bool*thm*int) ->\nint -> tactic\nval compose_tac : (bool * thm * int) -> int -> tactic\nval cut_facts_tac : thm list -> int -> tactic\nval cut_rules_tac : thm list -> int -> tactic\nval cut_inst_tac : (string*string)list -> thm -> int -> tactic\nval datac : thm -> int -> int -> tactic\nval defer_tac : int -> tactic\nval distinct_subgoals_tac : tactic\nval dmatch_tac : thm list -> int -> tactic\nval dresolve_tac : thm list -> int -> tactic\nval dres_inst_tac : (string*string)list -> thm -> int -> tactic\nval dtac : thm -> int ->tactic\nval eatac : thm -> int -> int -> tactic\nval etac : thm -> int ->tactic\nval eq_assume_tac : int -> tactic\nval ematch_tac : thm list -> int -> tactic\nval eresolve_tac : thm list -> int -> tactic\nval eres_inst_tac : (string*string)list -> thm -> int -> tactic\nval fatac : thm -> int -> int -> tactic\nval filter_prems_tac : (term -> bool) -> int -> tactic\nval filter_thms : (term*term->bool) -> int*term*thm list -> thm list\nval filt_resolve_tac : thm list -> int -> int -> tactic\nval flexflex_tac : tactic\nval fold_goals_tac : thm list -> tactic\nval fold_rule : thm list -> thm -> thm\nval fold_tac : thm list -> tactic\nval forward_tac : thm list -> int -> tactic\nval forw_inst_tac : (string*string)list -> thm -> int -> tactic\nval ftac : thm -> int ->tactic\nval insert_tagged_brl : ('a * (bool * thm)) *\n(('a * (bool * thm)) Net.net * ('a * (bool * thm)) Net.net) ->\n('a * (bool * thm)) Net.net * ('a * (bool * thm)) Net.net\nval delete_tagged_brl : (bool * thm) *\n(('a * (bool * thm)) Net.net * ('a * (bool * thm)) Net.net) ->\n('a * (bool * thm)) Net.net * ('a * (bool * thm)) Net.net\nval is_fact : thm -> bool\nval lessb : (bool * thm) * (bool * thm) -> bool\nval lift_inst_rule : thm * int * (string*string)list * thm -> thm\nval make_elim : thm -> thm\nval match_from_net_tac : (int*thm) Net.net -> int -> tactic\nval match_tac : thm list -> int -> tactic\nval metacut_tac : thm -> int -> tactic\nval net_bimatch_tac : (bool*thm) list -> int -> tactic\nval net_biresolve_tac : (bool*thm) list -> int -> tactic\nval net_match_tac : thm list -> int -> tactic\nval net_resolve_tac : thm list -> int -> tactic\nval norm_hhf_tac : int -> tactic\nval prune_params_tac : tactic\nval rename_params_tac : string list -> int -> tactic\nval rename_tac : string -> int -> tactic\nval rename_last_tac : string -> string list -> int -> tactic\nval resolve_from_net_tac : (int*thm) Net.net -> int -> tactic\nval resolve_tac : thm list -> int -> tactic\nval res_inst_tac : (string*string)list -> thm -> int -> tactic\nval rewrite_goal_tac : thm list -> int -> tactic\nval rewrite_goals_rule: thm list -> thm -> thm\nval rewrite_rule : thm list -> thm -> thm\nval rewrite_goals_tac : thm list -> tactic\nval rewrite_tac : thm list -> tactic\nval asm_rewrite_goal_tac: bool * bool * bool -> (simpset -> tactic) -> simpset -> int -> tactic\nval rewtac : thm -> tactic\nval rotate_tac : int -> int -> tactic\nval rtac : thm -> int -> tactic\nval rule_by_tactic : tactic -> thm -> thm\nval solve_tac : thm list -> int -> tactic\nval subgoal_tac : string -> int -> tactic\nval subgoals_tac : string list -> int -> tactic\nval subgoals_of_brl : bool * thm -> int\nval term_lift_inst_rule :\nthm * int * ((indexname * sort) * typ) list * ((indexname * typ) * term) list * thm\n-> thm\nval instantiate_tac : (string * string) list -> tactic\nval thin_tac : string -> int -> tactic\nval trace_goalno_tac : (int -> tactic) -> int -> tactic\nval CONJUNCTS: tactic -> int -> tactic\nend;\n\nsignature TACTIC =\nsig\ninclude BASIC_TACTIC\nval innermost_params: int -> thm -> (string * typ) list\nval untaglist: (int * 'a) list -> 'a list\nval eq_kbrl: ('a * (bool * thm)) * ('a * (bool * thm)) -> bool\nval orderlist: (int * 'a) list -> 'a list\nval rewrite: bool -> thm list -> cterm -> thm\nval simplify: bool -> thm list -> thm -> thm\nval conjunction_tac: tactic\nval smart_conjunction_tac: int -> tactic\nval compose_inst_tac' : (indexname * string) list -> (bool * thm * int) ->\nint -> tactic\nval lift_inst_rule' : thm * int * (indexname * string) list * thm -> thm\nval eres_inst_tac' : (indexname * string) list -> thm -> int -> tactic\nval res_inst_tac' : (indexname * string) list -> thm -> int -> tactic\nval instantiate_tac' : (indexname * string) list -> tactic\nend;\n\nstructure Tactic: TACTIC =\nstruct\n\n(*Discover which goal is chosen: SOMEGOAL(trace_goalno_tac tac) *)\nfun trace_goalno_tac tac i st =\ncase Seq.pull(tac i st) of\nNONE => Seq.empty\n| seqcell => (tracing (\"Subgoal \" ^ string_of_int i ^ \" selected\");\nSeq.make(fn()=> seqcell));\n\n(*Makes a rule by applying a tactic to an existing rule*)\nfun rule_by_tactic tac rl =\nlet val (st, thaw) = freeze_thaw (zero_var_indexes rl)\nin case Seq.pull (tac st) of\nNONE => raise THM(\"rule_by_tactic\", 0, [rl])\n| SOME(st',_) => Thm.varifyT (thaw st')\nend;\n\n(*** Basic tactics ***)\n\n(*** The following fail if the goal number is out of range:\nthus (REPEAT (resolve_tac rules i)) stops once subgoal i disappears. *)\n\n(*Solve subgoal i by assumption*)\nfun assume_tac i = PRIMSEQ (assumption i);\n\n(*Solve subgoal i by assumption, using no unification*)\nfun eq_assume_tac i = PRIMITIVE (eq_assumption i);\n\n(** Resolution/matching tactics **)\n\n(*The composition rule/state: no lifting or var renaming.\nThe arg = (bires_flg, orule, m) ; see bicompose for explanation.*)\nfun compose_tac arg i = PRIMSEQ (bicompose false arg i);\n\n(*Converts a \"destruct\" rule like P&Q==>P to an \"elimination\" rule\nlike [| P&Q; P==>R |] ==> R *)\nfun make_elim rl = zero_var_indexes (rl RS revcut_rl);\n\n(*Attack subgoal i by resolution, using flags to indicate elimination rules*)\nfun biresolve_tac brules i = PRIMSEQ (biresolution false brules i);\n\n(*Resolution: the simple case, works for introduction rules*)\nfun resolve_tac rules = biresolve_tac (map (pair false) rules);\n\n(*Resolution with elimination rules only*)\nfun eresolve_tac rules = biresolve_tac (map (pair true) rules);\n\n(*Forward reasoning using destruction rules.*)\nfun forward_tac rls = resolve_tac (map make_elim rls) THEN' assume_tac;\n\n(*Like forward_tac, but deletes the assumption after use.*)\nfun dresolve_tac rls = eresolve_tac (map make_elim rls);\n\n(*Shorthand versions: for resolution with a single theorem*)\nval atac = assume_tac;\nfun rtac rl = resolve_tac [rl];\nfun dtac rl = dresolve_tac [rl];\nfun etac rl = eresolve_tac [rl];\nfun ftac rl = forward_tac [rl];\nfun datac thm j = EVERY' (dtac thm::replicate j atac);\nfun eatac thm j = EVERY' (etac thm::replicate j atac);\nfun fatac thm j = EVERY' (ftac thm::replicate j atac);\n\n(*Use an assumption or some rules ... A popular combination!*)\nfun ares_tac rules = assume_tac ORELSE' resolve_tac rules;\n\nfun solve_tac rules = resolve_tac rules THEN_ALL_NEW assume_tac;\n\n(*Matching tactics -- as above, but forbid updating of state*)\nfun bimatch_tac brules i = PRIMSEQ (biresolution true brules i);\nfun match_tac rules = bimatch_tac (map (pair false) rules);\nfun ematch_tac rules = bimatch_tac (map (pair true) rules);\nfun dmatch_tac rls = ematch_tac (map make_elim rls);\n\n(*Smash all flex-flex disagreement pairs in the proof state.*)\nval flexflex_tac = PRIMSEQ flexflex_rule;\n\n(*Remove duplicate subgoals. By Mark Staples*)\nlocal\nfun cterm_aconv (a,b) = term_of a aconv term_of b;\nin\nfun distinct_subgoals_tac state =\nlet val (frozth,thawfn) = freeze_thaw state\nval froz_prems = cprems_of frozth\nval assumed = implies_elim_list frozth (map assume froz_prems)\nval implied = implies_intr_list (gen_distinct cterm_aconv froz_prems)\nassumed;\nin (*Applying Thm.varifyT to the result of thawfn would (re-)generalize\nall type variables that appear in the subgoals. Unfortunately, it\nwould also break the function AxClass.intro_classes_tac, even in the\ntrivial case where the type class has no axioms.*)\nSeq.single (thawfn implied)\nend\nend;\n\n(*Determine print names of goal parameters (reversed)*)\nfun innermost_params i st =\nlet val (_, _, Bi, _) = dest_state (st, i)\nin rename_wrt_term Bi (Logic.strip_params Bi) end;\n\n(*params of subgoal i as they are printed*)\nfun params_of_state st i =\nlet val (_, _, Bi, _) = dest_state(st,i)\nval params = Logic.strip_params Bi\nin rev(rename_wrt_term Bi params) end;\n\n(*read instantiations with respect to subgoal i of proof state st*)\nfun read_insts_in_state (st, i, sinsts, rule) =\nlet val thy = Thm.theory_of_thm st\nand params = params_of_state st i\nand rts = types_sorts rule and (types,sorts) = types_sorts st\nfun types'(a, ~1) = (case AList.lookup (op =) params a of NONE => types (a, ~1) | sm => sm)\n| types' ixn = types ixn;\nin read_insts thy rts (types',sorts) used sinsts end;\n\n(*Lift and instantiate a rule wrt the given state and subgoal number *)\nfun lift_inst_rule' (st, i, sinsts, rule) =\nlet val (Tinsts,insts) = read_insts_in_state (st, i, sinsts, rule)\nand {maxidx,...} = rep_thm st\nand params = params_of_state st i\nval paramTs = map #2 params\nand inc = maxidx+1\nfun liftvar (Var ((a,j), T)) = Var((a, j+inc), paramTs---> Logic.incr_tvar inc T)\n| liftvar t = raise TERM(\"Variable expected\", [t]);\nfun liftterm t = list_abs_free (params,\nLogic.incr_indexes(paramTs,inc) t)\n(*Lifts instantiation pair over params*)\nfun liftpair (cv,ct) = (cterm_fun liftvar cv, cterm_fun liftterm ct)\nval lifttvar = pairself (ctyp_fun (Logic.incr_tvar inc))\nin Drule.instantiate (map lifttvar Tinsts, map liftpair insts)\n(Thm.lift_rule (Thm.cprem_of st i) rule)\nend;\n\nfun lift_inst_rule (st, i, sinsts, rule) = lift_inst_rule'\n(st, i, map (apfst Syntax.indexname) sinsts, rule);\n\n(*\nLike lift_inst_rule but takes terms, not strings, where the terms may contain\nBounds referring to parameters of the subgoal.\n\ninsts: [...,(vj,tj),...]\n\nThe tj may contain references to parameters of subgoal i of the state st\nin the form of Bound k, i.e. the tj may be subterms of the subgoal.\nTo saturate the lose bound vars, the tj are enclosed in abstractions\ncorresponding to the parameters of subgoal i, thus turning them into\nfunctions. At the same time, the types of the vj are lifted.\n\nNB: the types in insts must be correctly instantiated already,\ni.e. Tinsts is not applied to insts.\n*)\nfun term_lift_inst_rule (st, i, Tinsts, insts, rule) =\nlet val {maxidx,thy,...} = rep_thm st\nval paramTs = map #2 (params_of_state st i)\nand inc = maxidx+1\nfun liftvar ((a,j), T) = Var((a, j+inc), paramTs---> Logic.incr_tvar inc T)\n(*lift only Var, not term, which must be lifted already*)\nfun liftpair (v,t) = (cterm_of thy (liftvar v), cterm_of thy t)\nfun liftTpair (((a, i), S), T) =\n(ctyp_of thy (TVar ((a, i + inc), S)),\nctyp_of thy (Logic.incr_tvar inc T))\nin Drule.instantiate (map liftTpair Tinsts, map liftpair insts)\n(Thm.lift_rule (Thm.cprem_of st i) rule)\nend;\n\n(*** Resolve after lifting and instantation; may refer to parameters of the\nsubgoal. Fails if \"i\" is out of range. ***)\n\n(*compose version: arguments are as for bicompose.*)\nfun gen_compose_inst_tac instf sinsts (bires_flg, rule, nsubgoal) i st =\nif i > nprems_of st then no_tac st\nelse st |>\n(compose_tac (bires_flg, instf (st, i, sinsts, rule), nsubgoal) i\nhandle TERM (msg,_) => (warning msg; no_tac)\n| THM (msg,_,_) => (warning msg; no_tac));\n\nval compose_inst_tac = gen_compose_inst_tac lift_inst_rule;\nval compose_inst_tac' = gen_compose_inst_tac lift_inst_rule';\n\n(*\"Resolve\" version. Note: res_inst_tac cannot behave sensibly if the\nterms that are substituted contain (term or type) unknowns from the\ngoal, because it is unable to instantiate goal unknowns at the same time.\n\nThe type checker is instructed not to freeze flexible type vars that\nwere introduced during type inference and still remain in the term at the\nend. This increases flexibility but can introduce schematic type vars in\ngoals.\n*)\nfun res_inst_tac sinsts rule i =\ncompose_inst_tac sinsts (false, rule, nprems_of rule) i;\n\nfun res_inst_tac' sinsts rule i =\ncompose_inst_tac' sinsts (false, rule, nprems_of rule) i;\n\n(*eresolve elimination version*)\nfun eres_inst_tac sinsts rule i =\ncompose_inst_tac sinsts (true, rule, nprems_of rule) i;\n\nfun eres_inst_tac' sinsts rule i =\ncompose_inst_tac' sinsts (true, rule, nprems_of rule) i;\n\n(*For forw_inst_tac and dres_inst_tac. Preserve Var indexes of rl;\nfun make_elim_preserve rl =\nlet val {maxidx,...} = rep_thm rl\nfun cvar ixn = cterm_of ProtoPure.thy (Var(ixn,propT));\nval revcut_rl' =\ninstantiate ([], [(cvar(\"V\",0), cvar(\"V\",maxidx+1)),\n(cvar(\"W\",0), cvar(\"W\",maxidx+1))]) revcut_rl\nval arg = (false, rl, nprems_of rl)\nval [th] = Seq.list_of (bicompose false arg 1 revcut_rl')\nin th end\nhandle Bind => raise THM(\"make_elim_preserve\", 1, [rl]);\n\n(*instantiate and cut -- for a FACT, anyway...*)\nfun cut_inst_tac sinsts rule = res_inst_tac sinsts (make_elim_preserve rule);\n\n(*forward tactic applies a RULE to an assumption without deleting it*)\nfun forw_inst_tac sinsts rule = cut_inst_tac sinsts rule THEN' assume_tac;\n\n(*dresolve tactic applies a RULE to replace an assumption*)\nfun dres_inst_tac sinsts rule = eres_inst_tac sinsts (make_elim_preserve rule);\n\n(*instantiate variables in the whole state*)\nval instantiate_tac = PRIMITIVE o read_instantiate;\n\nval instantiate_tac' = PRIMITIVE o Drule.read_instantiate';\n\n(*Deletion of an assumption*)\nfun thin_tac s = eres_inst_tac [(\"V\",s)] thin_rl;\n\n(*** Applications of cut_rl ***)\n\n(*Used by metacut_tac*)\nfun bires_cut_tac arg i =\nresolve_tac [cut_rl] i THEN biresolve_tac arg (i+1) ;\n\n(*The conclusion of the rule gets assumed in subgoal i,\nwhile subgoal i+1,... are the premises of the rule.*)\nfun metacut_tac rule = bires_cut_tac [(false,rule)];\n\n(*Recognizes theorems that are not rules, but simple propositions*)\nfun is_fact rl =\ncase prems_of rl of\n[] => true | _::_ => false;\n\n(*\"Cut\" a list of rules into the goal. Their premises will become new\nsubgoals.*)\nfun cut_rules_tac ths i = EVERY (map (fn th => metacut_tac th i) ths);\n\n(*As above, but inserts only facts (unconditional theorems);\nfun cut_facts_tac ths = cut_rules_tac (List.filter is_fact ths);\n\n(*Introduce the given proposition as a lemma and subgoal*)\nfun subgoal_tac sprop =\nDETERM o res_inst_tac [(\"psi\", sprop)] cut_rl THEN' SUBGOAL (fn (prop, _) =>\nlet val concl' = Logic.strip_assums_concl prop in\nif null (term_tvars concl') then ()\nelse warning\"Type variables in new subgoal: add a type constraint?\";\nall_tac\nend);\n\n(*Introduce a list of lemmas and subgoals*)\nfun subgoals_tac sprops = EVERY' (map subgoal_tac sprops);\n\n(**** Indexing and filtering of theorems ****)\n\n(*Returns the list of potentially resolvable theorems for the goal \"prem\",\nusing the predicate could(subgoal,concl).\nResulting list is no longer than \"limit\"*)\nfun filter_thms could (limit, prem, ths) =\nlet val pb = Logic.strip_assums_concl prem; (*delete assumptions*)\nfun filtr (limit, []) = []\n| filtr (limit, th::ths) =\nif limit=0 then []\nelse if could(pb, concl_of th) then th :: filtr(limit-1, ths)\nelse filtr(limit,ths)\nin filtr(limit,ths) end;\n\n(*** biresolution and resolution using nets ***)\n\n(** To preserve the order of the rules, tag them with increasing integers **)\n\n(*insert tags*)\nfun taglist k [] = []\n| taglist k (x::xs) = (k,x) :: taglist (k+1) xs;\n\n(*remove tags and suppress duplicates -- list is assumed sorted!*)\nfun untaglist [] = []\n| untaglist [(k:int,x)] = [x]\n| untaglist ((k,x) :: (rest as (k',x')::_)) =\nif k=k' then untaglist rest\nelse x :: untaglist rest;\n\n(*return list elements in original order*)\nfun orderlist kbrls = untaglist (sort (int_ord o pairself fst) kbrls);\n\n(*insert one tagged brl into the pair of nets*)\nfun insert_tagged_brl (kbrl as (k, (eres, th)), (inet, enet)) =\nif eres then\n(case try Thm.major_prem_of th of\nSOME prem => (inet, Net.insert_term (K false) (prem, kbrl) enet)\n| NONE => error \"insert_tagged_brl: elimination rule with no premises\")\nelse (Net.insert_term (K false) (concl_of th, kbrl) inet, enet);\n\n(*build a pair of nets for biresolution*)\nfun build_netpair netpair brls =\nfoldr insert_tagged_brl netpair (taglist 1 brls);\n\n(*delete one kbrl from the pair of nets*)\nfun eq_kbrl ((_, (_, th)), (_, (_, th'))) = Drule.eq_thm_prop (th, th')\n\nfun delete_tagged_brl (brl as (eres, th), (inet, enet)) =\n(if eres then\n(case try Thm.major_prem_of th of\nSOME prem => (inet, Net.delete_term eq_kbrl (prem, ((), brl)) enet)\n| NONE => (inet, enet)) (*no major premise: ignore*)\nelse (Net.delete_term eq_kbrl (Thm.concl_of th, ((), brl)) inet, enet))\nhandle Net.DELETE => (inet,enet);\n\n(*biresolution using a pair of nets rather than rules.\nfunction \"order\" must sort and possibly filter the list of brls.\nboolean \"match\" indicates matching or unification.*)\nfun biresolution_from_nets_tac order match (inet,enet) =\nSUBGOAL\n(fn (prem,i) =>\nlet val hyps = Logic.strip_assums_hyp prem\nand concl = Logic.strip_assums_concl prem\nval kbrls = Net.unify_term inet concl @\nList.concat (map (Net.unify_term enet) hyps)\nin PRIMSEQ (biresolution match (order kbrls) i) end);\n\n(*versions taking pre-built nets. No filtering of brls*)\nval biresolve_from_nets_tac = biresolution_from_nets_tac orderlist false;\nval bimatch_from_nets_tac = biresolution_from_nets_tac orderlist true;\n\n(*fast versions using nets internally*)\nval net_biresolve_tac =\nbiresolve_from_nets_tac o build_netpair(Net.empty,Net.empty);\n\nval net_bimatch_tac =\nbimatch_from_nets_tac o build_netpair(Net.empty,Net.empty);\n\n(*** Simpler version for resolve_tac -- only one net, and no hyps ***)\n\n(*insert one tagged rl into the net*)\nfun insert_krl (krl as (k,th), net) =\nNet.insert_term (K false) (concl_of th, krl) net;\n\n(*build a net of rules for resolution*)\nfun build_net rls =\nfoldr insert_krl Net.empty (taglist 1 rls);\n\n(*resolution using a net rather than rules; pred supports filt_resolve_tac*)\nfun filt_resolution_from_net_tac match pred net =\nSUBGOAL\n(fn (prem,i) =>\nlet val krls = Net.unify_term net (Logic.strip_assums_concl prem)\nin\nif pred krls\nthen PRIMSEQ\n(biresolution match (map (pair false) (orderlist krls)) i)\nelse no_tac\nend);\n\n(*Resolve the subgoal using the rules (making a net) unless too flexible,\nwhich means more than maxr rules are unifiable. *)\nfun filt_resolve_tac rules maxr =\nlet fun pred krls = length krls <= maxr\nin filt_resolution_from_net_tac false pred (build_net rules) end;\n\n(*versions taking pre-built nets*)\nval resolve_from_net_tac = filt_resolution_from_net_tac false (K true);\nval match_from_net_tac = filt_resolution_from_net_tac true (K true);\n\n(*fast versions using nets internally*)\nval net_resolve_tac = resolve_from_net_tac o build_net;\nval net_match_tac = match_from_net_tac o build_net;\n\n(*** For Natural Deduction using (bires_flg, rule) pairs ***)\n\n(*The number of new subgoals produced by the brule*)\nfun subgoals_of_brl (true,rule) = nprems_of rule - 1\n| subgoals_of_brl (false,rule) = nprems_of rule;\n\n(*Less-than test: for sorting to minimize number of new subgoals*)\nfun lessb (brl1,brl2) = subgoals_of_brl brl1 < subgoals_of_brl brl2;\n\n(*** Meta-Rewriting Tactics ***)\n\nval simple_prover =\nSINGLE o (fn ss => ALLGOALS (resolve_tac (MetaSimplifier.prems_of_ss ss)));\n\nval rewrite = MetaSimplifier.rewrite_aux simple_prover;\nval simplify = MetaSimplifier.simplify_aux simple_prover;\nval rewrite_rule = simplify true;\nval rewrite_goals_rule = MetaSimplifier.rewrite_goals_rule_aux simple_prover;\n\n(*Rewrite subgoal i only. SELECT_GOAL avoids inefficiencies in goals_conv.*)\nfun asm_rewrite_goal_tac mode prover_tac ss =\nSELECT_GOAL\n(PRIMITIVE (MetaSimplifier.rewrite_goal_rule mode (SINGLE o prover_tac) ss 1));\n\nfun rewrite_goal_tac rews =\nlet val ss = MetaSimplifier.empty_ss addsimps rews in\nfn i => fn st => asm_rewrite_goal_tac (true, false, false) (K no_tac)\n(MetaSimplifier.theory_context (Thm.theory_of_thm st) ss) i st\nend;\n\n(*Rewrite throughout proof state. *)\nfun rewrite_tac defs = PRIMITIVE(rewrite_rule defs);\n\n(*Rewrite subgoals only, not main goal. *)\nfun rewrite_goals_tac defs = PRIMITIVE (rewrite_goals_rule defs);\nfun rewtac def = rewrite_goals_tac [def];\n\nval norm_hhf_tac =\nrtac Drule.asm_rl (*cheap approximation -- thanks to builtin Logic.flatten_params*)\nTHEN' SUBGOAL (fn (t, i) =>\nif Drule.is_norm_hhf t then all_tac\nelse rewrite_goal_tac [Drule.norm_hhf_eq] i);\n\n(*** for folding definitions, handling critical pairs ***)\n\n(*The depth of nesting in a term*)\nfun term_depth (Abs(a,T,t)) = 1 + term_depth t\n| term_depth (f\\$t) = 1 + Int.max(term_depth f, term_depth t)\n| term_depth _ = 0;\n\nval lhs_of_thm = #1 o Logic.dest_equals o prop_of;\n\n(*folding should handle critical pairs! E.g. K == Inl(0), S == Inr(Inl(0))\nReturns longest lhs first to avoid folding its subexpressions.*)\nfun sort_lhs_depths defs =\nlet val keylist = AList.make (term_depth o lhs_of_thm) defs\nval keys = distinct (sort (rev_order o int_ord) (map #2 keylist))\nin map (AList.find (op =) keylist) keys end;\n\nval rev_defs = sort_lhs_depths o map symmetric;\n\nfun fold_rule defs thm = Library.foldl (fn (th, ds) => rewrite_rule ds th) (thm, rev_defs defs);\nfun fold_tac defs = EVERY (map rewrite_tac (rev_defs defs));\nfun fold_goals_tac defs = EVERY (map rewrite_goals_tac (rev_defs defs));\n\n(*** Renaming of parameters in a subgoal\nNames may contain letters, digits or primes and must be\nseparated by blanks ***)\n\nfun rename_params_tac xs i =\ncase Library.find_first (not o Syntax.is_identifier) xs of\nSOME x => error (\"Not an identifier: \" ^ x)\n| NONE =>\n(if !Logic.auto_rename\nthen (warning \"Resetting Logic.auto_rename\";\nLogic.auto_rename := false)\nelse (); PRIMITIVE (rename_params_rule (xs, i)));\n\nfun rename_tac str i =\nlet val cs = Symbol.explode str in\ncase #2 (take_prefix (Symbol.is_letdig orf Symbol.is_blank) cs) of\n[] => rename_params_tac (scanwords Symbol.is_letdig cs) i\n| c::_ => error (\"Illegal character: \" ^ c)\nend;\n\n(*Rename recent parameters using names generated from a and the suffixes,\nprovided the string a, which represents a term, is an identifier. *)\nfun rename_last_tac a sufs i =\nlet val names = map (curry op^ a) sufs\nin if Syntax.is_identifier a\nthen PRIMITIVE (rename_params_rule (names,i))\nelse all_tac\nend;\n\n(*Prunes all redundant parameters from the proof state by rewriting.\nDOES NOT rewrite main goal, where quantification over an unused bound\nvariable is sometimes done to avoid the need for cut_facts_tac.*)\nval prune_params_tac = rewrite_goals_tac [triv_forall_equality];\n\n(*rotate_tac n i: rotate the assumptions of subgoal i by n positions, from\nright to left if n is positive, and from left to right if n is negative.*)\nfun rotate_tac 0 i = all_tac\n| rotate_tac k i = PRIMITIVE (rotate_rule k i);\n\n(*Rotates the given subgoal to be the last.*)\nfun defer_tac i = PRIMITIVE (permute_prems (i-1) 1);\n\n(* remove premises that do not satisfy p; fails if all prems satisfy p *)\nfun filter_prems_tac p =\nlet fun Then NONE tac = SOME tac\n| Then (SOME tac) tac' = SOME(tac THEN' tac');\nfun thins ((tac,n),H) =\nif p H then (tac,n+1)\nelse (Then tac (rotate_tac n THEN' etac thin_rl),0);\nin SUBGOAL(fn (subg,n) =>\nlet val Hs = Logic.strip_assums_hyp subg\nin case fst(Library.foldl thins ((NONE,0),Hs)) of\nNONE => no_tac | SOME tac => tac n\nend)\nend;\n\n(*meta-level conjunction*)\nval conj_tac = SUBGOAL (fn (Const (\"all\", _) \\$ Abs (_, _, Const (\"==>\", _) \\$\n(Const (\"==>\", _) \\$ _ \\$ (Const (\"==>\", _) \\$ _ \\$ Bound 0)) \\$ Bound 0), i) =>\n(fn st =>\ncompose_tac (false, Drule.incr_indexes st Drule.conj_intr_thm, 2) i st)\n| _ => no_tac);\n\nval conjunction_tac = ALLGOALS (REPEAT_ALL_NEW conj_tac);\n\nfun smart_conjunction_tac 0 = assume_tac 1\n| smart_conjunction_tac _ = TRY conjunction_tac;\n\n(*treat conjunction as separate sub-goals*)\nfun CONJUNCTS tac =\nSELECT_GOAL (TRY conjunction_tac\nTHEN tac\nTHEN PRIMITIVE Drule.conj_curry);\n\nend;\n\nstructure BasicTactic: BASIC_TACTIC = Tactic;\nopen BasicTactic;\n```"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.57523316,"math_prob":0.9761028,"size":24446,"snap":"2020-34-2020-40","text_gpt3_token_len":7224,"char_repetition_ratio":0.17821783,"word_repetition_ratio":0.110819325,"special_character_ratio":0.30188987,"punctuation_ratio":0.16407767,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9775303,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-29T12:05:00Z\",\"WARC-Record-ID\":\"<urn:uuid:f09e50e3-79b2-4518-9fd0-fd9840e72620>\",\"Content-Length\":\"59620\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:3efe337d-0a08-4bb1-8137-cde4cb98dc96>\",\"WARC-Concurrent-To\":\"<urn:uuid:610757ba-05b1-470d-8c00-21677e152996>\",\"WARC-IP-Address\":\"131.159.46.82\",\"WARC-Target-URI\":\"http://isabelle.in.tum.de/repos/isabelle/file/6bcd9b2ca49b/src/Pure/tactic.ML\",\"WARC-Payload-Digest\":\"sha1:PLQCOI3EQ4XOY6BJRAETXUPWDPTMCJWU\",\"WARC-Block-Digest\":\"sha1:Z5F5D6QFEFTNCHSKCZQFZAL4ALOUPRAY\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600401641638.83_warc_CC-MAIN-20200929091913-20200929121913-00323.warc.gz\"}"} |
https://www.jiskha.com/questions/1003747/how-many-liters-of-a-5-solution-of-salt-should-be-added-to-a-25-solution-in-order-to | [
"# math\n\nhow many liters of a 5% solution of salt should be added to a 25% solution in order to obtain 1120 liters of a 22% solution\n\n1. 👍 0\n2. 👎 0\n3. 👁 129\n1. volume of the 5% solution needed is x L\nvolume of the 25% solution needed is 1120 - x L\n\n.05x + .25(1120-x) = .22(1120)\ntimes 100\n5x + 25(1120-x) = 22(1120)\n5x + 28000 - 25x = 24640\n-20x = -3360\nx = 168\n\nThey need 168 L of the 5% solution and 952 L of the stronger stuff\n\n1. 👍 0\n2. 👎 0\nposted by Reiny\n\n## Similar Questions\n\n1. ### Math\n\nA biologist has three salt solutions: some 5% solution, some 15% solution, and some 25% solution. She needs to mix some of each to get 48 liters of 18.75% solution. She wants the number of liters of the 25% solution to be equal to\n\nasked by Haley on November 28, 2017\n2. ### math\n\nJulia is a chemistry student. She is working on an experiment for which she needs 10 liters of a 20% salt solution. All she has in her lab are a 10% salt solution and a 40% salt solution. She decides to mix these to make her own\n\nasked by Anonymous on April 3, 2018\n3. ### Pre Calculus\n\na biologist has three salt solutions: some 5% solution, some 15% solution, and some 25% solution. She needs to mix some of each to get 50 liters of 20% solution. She wants to use twice as much of the 5% solution as the 15%\n\n4. ### ordinary differential equation\n\nA contains 200 liters of solution in which is dissolved 40 kg of salt. Tank B contains 400 liters of solution in which are dissolved 80 kg of salt. Pure water flows into tank A at rate of 10 liters per second. There is a drain at\n\nasked by thigan on May 21, 2016\n5. ### Math Algebra , high school\n\nA biologist has three salt solutions: some 5% solution, some 15% solution, and some 25% solution. She needs to mix some of each to get 50 liters of 20% solution. She wants to us twice as much of the 5% solution as the 15%\n\nasked by Gina on December 13, 2012\n6. ### Chemistry\n\nYou need 3.0-L of 0.13 M salt solution. All you can find is 0.40 M salt solution. How much of that solution will you need in order to make your desired solution (in liters)?\n\nasked by billy on February 16, 2011\n7. ### Math\n\nGeorge needs 50 liters of a solution that has a concentration of 30 g/ml for the manufacture of computer parts. George has an unlimited supply of a solution with a concentration of 39 g/ml. Using the Formula C1*V1=C2*V2\n\nasked by shearlene on January 25, 2017\n8. ### Chemestry\n\nHave two tanks of 100 liters each, with salt solution. One is at 9% and 4% other. How many liters at least must be removed from each container, so that upon mixing which is removed to obtain a 7% solution of salt concentration?\n\nasked by RFT on June 4, 2013\n9. ### Math\n\nShawn needs 190 liters of a solution that has a concentration of 18 g/ml for the manufacture of computer parts. Shawn has an unlimited supply of a solution with a concentration of 37 g/ml. Using the Formula C1*V1=C2*V2\n\nasked by Ashley on January 25, 2017\n10. ### Calc\n\nYou are a lab technician and must create 250 ml of a 17% salt solution. You have available three stock solutions. You have a one liter container of a 5% salt, a 500 ml container of a 28% salt solution, and a 400 ml container of a\n\nasked by Fatih on February 16, 2012\n\nMore Similar Questions"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.97178495,"math_prob":0.95622855,"size":2745,"snap":"2019-51-2020-05","text_gpt3_token_len":777,"char_repetition_ratio":0.19919737,"word_repetition_ratio":0.2518797,"special_character_ratio":0.29326048,"punctuation_ratio":0.08858603,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9812848,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-11T18:10:58Z\",\"WARC-Record-ID\":\"<urn:uuid:c07023bb-fb03-4e67-9411-77fb80fd3980>\",\"Content-Length\":\"20182\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:282398e0-929d-4717-a814-99b1ffbb6c16>\",\"WARC-Concurrent-To\":\"<urn:uuid:ee265eb1-0eaf-4474-8a31-9d0acc3a37f1>\",\"WARC-IP-Address\":\"66.228.55.50\",\"WARC-Target-URI\":\"https://www.jiskha.com/questions/1003747/how-many-liters-of-a-5-solution-of-salt-should-be-added-to-a-25-solution-in-order-to\",\"WARC-Payload-Digest\":\"sha1:LQUQEYB24QZCEWQ6FVNOPXURS3OTUROG\",\"WARC-Block-Digest\":\"sha1:RD7OREMVXLCTWYJWFCQB3FTN363I2KUJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575540531974.7_warc_CC-MAIN-20191211160056-20191211184056-00253.warc.gz\"}"} |
https://www.macslab.xyz/teaching/ | [
"# Teaching\n\nCOURSES AND EDUCATIONAL TALKS\n\nXu Chen\n\nDepartment of Mechanical Engineering\n\nUniversity of Washington\n\n• Basics: Arithmetic of LTI systems, Goals of feedback, Loop shaping, Tradeoffs\n• Fundamental limitations\n– Bandwidth\n– Waterbed\n– Unstable zeros\n– Magnitude-phase relationship\n• Practical control engineering\n– Sampling time\n– Delays\n– Time-frequency relationship\n\n• Control engineering or control systems engineering\n• Automatic Control\n– Stability/Safety\n– Performance\n– Cost\n• Importance of Control Systems\n• Example of Control Systems\n– HDDs\n– 3D Printing\n– Challenges in Sensing, Controls, and Platforms\n• Powder Bed Fusion\n\n• Basic concepts of matrices and vectors\n• Linear systems of equations\n• Vector space\n• Matrix defines linear transformations between vector spaces\n• Matrix properties\n• Matrix and linear equations\n• Eigenvector and eigenvalue\n• Similarity transformation\n• Matrix inversion\n• Spectral mapping theorem\n• Inner product\n• Norms\n• Symmetric, skew-symmetric, and orthogonal matrices\n• Singular value and singular value decomposition (SVD)\n\n• Notations\n• Big picture: differential equations, applications\n• Basics of ODE: order, general form, initial-value problem\n• Separable ODEs\n• Common differentiation and integration formulas\n• Exact ODE\n• First-order linear ODE\n• Second-order linear ODE\n• Higher-order linear ODEs\n\n• Basic concepts of PDEs\n• PDEs solvable as ODEs\n• Vibrating string and wave equation\n– PDE modeling\n– Solution by separating variables and Fourier series\n– Alternative representations\n• Heat flow\n– One-dimensional heat equation\n• Solving 2nd-order PDEs via the method of characteristics\n\n• Main results, linear time-invariant (LTI) transfer function\n• The underlying theory\n– Definitions\n– Derivations\n\n• Background\n– Periodic functions\n– Orthogonal decomposition\n• Fourier series\n– Arbitrary period\n– Even and odd functions\n– Application example: ODE with special inputs\n• Complex Fourier series\n• Fourier integral\n• Fourier transform\n• Discrete Fourier analysis\n– Discrete Fourier series\n– Discrete-time Fourier transform (DTFT)\n– Discrete Fourier transform (DFT)"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.6988057,"math_prob":0.8716536,"size":1590,"snap":"2021-31-2021-39","text_gpt3_token_len":354,"char_repetition_ratio":0.115384616,"word_repetition_ratio":0.017167382,"special_character_ratio":0.19433962,"punctuation_ratio":0.044554457,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9981772,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-25T12:34:38Z\",\"WARC-Record-ID\":\"<urn:uuid:7c2360b0-99c6-481d-b745-1a536df4a750>\",\"Content-Length\":\"78928\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7d1ad821-1fea-4d92-a1c5-64c2c753baa8>\",\"WARC-Concurrent-To\":\"<urn:uuid:54953c01-9131-4772-be51-87c6b585e573>\",\"WARC-IP-Address\":\"3.89.36.253\",\"WARC-Target-URI\":\"https://www.macslab.xyz/teaching/\",\"WARC-Payload-Digest\":\"sha1:EEM47YPBYP5BBAGLLDL6H4GJRG3XVJFJ\",\"WARC-Block-Digest\":\"sha1:W65DNNL2RXAAYU7TDUW3TOSDMPJPYNPW\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057622.15_warc_CC-MAIN-20210925112158-20210925142158-00704.warc.gz\"}"} |
https://danielandrade.net/2005/11/20/math-joke/ | [
"# Math Riddle\n\nThis is a simple math ride I heard today.\nThink with me. 3 friends go to a pizza place. After eating, they go to pay, and the total is U\\$30, so each one pays U\\$10.\nThe owner of the pizza place knew the guys, so he told the waiter to give them U\\$5 off. The waiter, unashamed, put U\\$2 in his pocket and give U\\$1 to each of the boys.\nSo, how much did they paid in total? And where is the missing dollar?\n\n1.",
null,
"no one says:\n\nI heard this one before, it goes something like. they only paid \\$28 or \\$29 . just a guess\n\n2.",
null,
"pdr says:\n\nHoho,\nThey paid \\$8,333… (\\$25/3) plus the money the waiter got for himself \\$0,666… (\\$2/3) each one.\n\n\\$8,333… \\$0,666… = \\$9 each one,\n\\$9 x 3 = \\$27. They actually paid \\$27.\n\nThere’s no missing dollar.\n\\$10 – \\$1 = \\$9\n\\$9 x 3 = \\$27.\n\n3.",
null,
"Pasteler0 says:\n\nGood one pdr!! 🙂\n\n4.",
null,
"samantha says:\n\nalright they each originally paid ten dollars, but each got a dollar back, so it’s fair to say they paid 9 dollars each. 9 times 3 is 27 dollars. plus 2 dollars went to the waiter. 27 2=29. 29 dollars. but the bill was 30 dollars.\n\ni’ll tell you where the missing dollar went.\n\nthe following week, 2 of the 3 guys returned back to the pizza place. again they’re total was 30 dollars. they each paid 15 dollars. the waiter again thought that since he took 2 dollars last time, he takes 3 dollars this time. again they have a 5 dollar discount and are each handed back one dollar. they each paid 14 dollars now. 14 times 2 is 28. 28 dollars total, plus the 3 that the waiter took adds to 31.\n\nand that’s where the missing dollar went\n\n5.",
null,
"jharrell23867 says:\n\nit cost 30 bucks for the pizza, but got back 5 dollars from the 30 it was at first, but the bell boy kept 2 dollars for him self and only gave 3 back to the 3 men each giving them one. so you got to go like this 10*3=30 (because that is how much they origionally paid) minus 3(how much they got back)= 27 then minus 2 (the ones the waitor took) and you now get 24 and thats how much it cost to pay for the pizza so there is no missing or extra dollar!!!. now what did i win\n\n6.",
null,
"PAREXCELL says:\n\nThis is a tricky math problem indeed. You must remember the TOTALS of all the things that took place.\n1) 10 x 3 = 30\n2) 30 – 5 = 25\n3) 25 + 3 = 28\n4) 28 + 2 = 30. The correct way to say what happened is the men paid 10 each… at first. Then it became 9 with the refund (9 x 3) making the total 27. But remember the refund total was +5… so 30 minus the 3 to the men makes the 27 total. Then you take (subtract) the 2 the man has from the 27 and you get the 25 the hotel has.\nAlso 30 = 10 * 3 – 5 + 3 + 2. And 9 * 3 – 2 + 5 (the refund) = 30. The problem is wording the math as 9 times 3 which includes the refund changing the cost of the room to 25. Instead of saying the men spent 27 including what they should have spent which is 25 I mean they did spend 27, and the man took 2 but they only got back 3 which together is the 5 in refund.\n\n7.",
null,
"James L says:\n\nThis is a mystery. Of course you can work it backwards and find the missing dollar, but I believe this is some sort of loop hole in the the universe. Probably a black hole.\n\nThis site uses Akismet to reduce spam. Learn how your comment data is processed."
] | [
null,
"https://secure.gravatar.com/avatar/298b763a5ae5221a9d214c828e0fdaf5",
null,
"https://secure.gravatar.com/avatar/ad4c11e71382068d90ef4e2f787ba57e",
null,
"https://secure.gravatar.com/avatar/c7db277fa002a71eed9fae013f7de585",
null,
"https://secure.gravatar.com/avatar/672b556f70baa08d9af2b8c273d8dbd5",
null,
"https://secure.gravatar.com/avatar/0665e2d02e3ef0ebd516602188543502",
null,
"https://secure.gravatar.com/avatar/1c0b234747c822dc599dd82c08bbbcda",
null,
"https://secure.gravatar.com/avatar/b035d9afa6719b304ab07f29e10bd7b6",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.9657641,"math_prob":0.92647153,"size":3164,"snap":"2022-40-2023-06","text_gpt3_token_len":919,"char_repetition_ratio":0.13607594,"word_repetition_ratio":0.01832061,"special_character_ratio":0.31542352,"punctuation_ratio":0.10916442,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95470935,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-06T13:36:28Z\",\"WARC-Record-ID\":\"<urn:uuid:234f9348-5756-41c6-bce3-edd5132dcda2>\",\"Content-Length\":\"47653\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:dd157968-ba4c-4cb9-87eb-0beb85338d13>\",\"WARC-Concurrent-To\":\"<urn:uuid:8189444f-973f-4680-8d97-f7562fe355af>\",\"WARC-IP-Address\":\"94.130.229.132\",\"WARC-Target-URI\":\"https://danielandrade.net/2005/11/20/math-joke/\",\"WARC-Payload-Digest\":\"sha1:LURZ5BZP3P2Y6XZQENEVR7S46YUFRNH4\",\"WARC-Block-Digest\":\"sha1:4QYSJBVDP7ORFBFRGHP3NSEFQNWUYXJP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030337836.93_warc_CC-MAIN-20221006124156-20221006154156-00113.warc.gz\"}"} |
https://stats.stackexchange.com/questions/186913/understanding-permutation-tests-for-significance | [
"# Understanding permutation tests for significance\n\nI am trying to understand properly the significance tests using permutation. I am wondering if this code is correct. Let us say I want to test the difference in mean for mpg by vs\n\nlibrary(dplyr)\nlibrary(mtcars)\n\nmtcars %>% summarise(meandiff = mean( mpg[vs == 1] - mpg[vs == 0] ))\n# 7.3\n\n\nI was thinking of doing the simulation this way\n\ntot = 1:20\nvt = vector('list', 1000)\nfor(i in 1:1000){\nnum1 = sample(tot, 13)\nnum2 = tot[!(tot %in% num1)]\nvt[[i]] = mtcars$mpg[num1] %>% mean() - mtcars$mpg[num2] %>% mean()\n}\nunlist(vt) %>% hist(breaks = 100)",
null,
"So now I want to determine the probability that the difference in mean of 7 occurred by chance only.\n\nCan I use the normal distribution command here?\n\nqnorm(0.95, mean=mean(vta), sd=sd(vta))\n# 5\n\n\nSo can I conclude with $\\alpha = 5\\%$ that a difference in mean of 7 is statistically significant?\n\nFrom a centile point of view, the $\\alpha = 5\\%$ can be visualised like this:\n\nvtas = vta %>% sort()\nvtas %>% plot\nabline(h = vtas)",
null,
"• Is this a correct way to do and interpret this result?\n• It seems to me that the permutation test requires less assumptions than other types of test. Is that right?\n• Code check questions are off topic here--they belong on Code Review. That said, I don't think this is really code check, I think this is a question about understanding the statistical ideas here. As such, it would be on topic here, but it is worth being clear about your actual question, lest this thread be closed by mistake. Dec 15, 2015 at 19:25\n• And as not everyone uses R, commenting code is helpful. Dec 15, 2015 at 19:51\n• @gung. I understand. I think this post is about general understanding and application of the method. I am simply looking for some comments on the code and on my interpretation. I am not sure where does a post like that would fit. thanks\n– giac\nDec 15, 2015 at 19:52\n• +1. Very good questions, especially the one about normal distribution. Thanks @gung for the edit. Dec 15, 2015 at 20:03\n• @giacomoV The histogram gives an estimated distribution for the mean difference when vs has no effect, so you can use this directly to determine a p-value. If we believe that the normal approximation is a good one, then we might as well just use a t-test instead of a permutation test. Dec 16, 2015 at 14:22"
] | [
null,
"https://i.stack.imgur.com/Evrz5.jpg",
null,
"https://i.stack.imgur.com/Gv9iX.jpg",
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.85929686,"math_prob":0.90723073,"size":1351,"snap":"2023-40-2023-50","text_gpt3_token_len":402,"char_repetition_ratio":0.09725316,"word_repetition_ratio":0.008438818,"special_character_ratio":0.30643967,"punctuation_ratio":0.08646616,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9981924,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-11T02:12:02Z\",\"WARC-Record-ID\":\"<urn:uuid:91314868-ec2e-4267-af92-a2af563b973b>\",\"Content-Length\":\"158022\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:41b40719-4b2d-4382-8888-a174ccc09e26>\",\"WARC-Concurrent-To\":\"<urn:uuid:975c130a-4018-4820-a113-b871fc032c96>\",\"WARC-IP-Address\":\"104.18.43.226\",\"WARC-Target-URI\":\"https://stats.stackexchange.com/questions/186913/understanding-permutation-tests-for-significance\",\"WARC-Payload-Digest\":\"sha1:FJV4DLFHQMXGGQWEK5GVU3LH6ZHNDC53\",\"WARC-Block-Digest\":\"sha1:RICY3TJZ2H44FYLLH6L3FOI542RHY2NK\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679103464.86_warc_CC-MAIN-20231211013452-20231211043452-00872.warc.gz\"}"} |
https://www.colorhexa.com/0c4d2f | [
"# #0c4d2f Color Information\n\nIn a RGB color space, hex #0c4d2f is composed of 4.7% red, 30.2% green and 18.4% blue. Whereas in a CMYK color space, it is composed of 84.4% cyan, 0% magenta, 39% yellow and 69.8% black. It has a hue angle of 152.3 degrees, a saturation of 73% and a lightness of 17.5%. #0c4d2f color hex could be obtained by blending #189a5e with #000000. Closest websafe color is: #006633.\n\n• R 5\n• G 30\n• B 18\nRGB color chart\n• C 84\n• M 0\n• Y 39\n• K 70\nCMYK color chart\n\n#0c4d2f color description : Very dark cyan - lime green.\n\n# #0c4d2f Color Conversion\n\nThe hexadecimal color #0c4d2f has RGB values of R:12, G:77, B:47 and CMYK values of C:0.84, M:0, Y:0.39, K:0.7. Its decimal value is 806191.\n\nHex triplet RGB Decimal 0c4d2f `#0c4d2f` 12, 77, 47 `rgb(12,77,47)` 4.7, 30.2, 18.4 `rgb(4.7%,30.2%,18.4%)` 84, 0, 39, 70 152.3°, 73, 17.5 `hsl(152.3,73%,17.5%)` 152.3°, 84.4, 30.2 006633 `#006633`\nCIE-LAB 28.356, -27.771, 12.323 3.318, 5.591, 3.593 0.265, 0.447, 5.591 28.356, 30.383, 156.072 28.356, -22.981, 16.703 23.645, -16.328, 7.541 00001100, 01001101, 00101111\n\n# Color Schemes with #0c4d2f\n\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #4d0c2a\n``#4d0c2a` `rgb(77,12,42)``\nComplementary Color\n• #0c4d0f\n``#0c4d0f` `rgb(12,77,15)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #0c4a4d\n``#0c4a4d` `rgb(12,74,77)``\nAnalogous Color\n• #4d0f0c\n``#4d0f0c` `rgb(77,15,12)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #4d0c4b\n``#4d0c4b` `rgb(77,12,75)``\nSplit Complementary Color\n• #4d2f0c\n``#4d2f0c` `rgb(77,47,12)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #2f0c4d\n``#2f0c4d` `rgb(47,12,77)``\n• #2a4d0c\n``#2a4d0c` `rgb(42,77,12)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #2f0c4d\n``#2f0c4d` `rgb(47,12,77)``\n• #4d0c2a\n``#4d0c2a` `rgb(77,12,42)``\n• #020b07\n``#020b07` `rgb(2,11,7)``\n• #052114\n``#052114` `rgb(5,33,20)``\n• #093722\n``#093722` `rgb(9,55,34)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #0f633c\n``#0f633c` `rgb(15,99,60)``\n• #13794a\n``#13794a` `rgb(19,121,74)``\n• #168f57\n``#168f57` `rgb(22,143,87)``\nMonochromatic Color\n\n# Alternatives to #0c4d2f\n\nBelow, you can see some colors close to #0c4d2f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.\n\n• #0c4d1f\n``#0c4d1f` `rgb(12,77,31)``\n• #0c4d24\n``#0c4d24` `rgb(12,77,36)``\n• #0c4d2a\n``#0c4d2a` `rgb(12,77,42)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #0c4d34\n``#0c4d34` `rgb(12,77,52)``\n• #0c4d3a\n``#0c4d3a` `rgb(12,77,58)``\n• #0c4d3f\n``#0c4d3f` `rgb(12,77,63)``\nSimilar Colors\n\n# #0c4d2f Preview\n\nThis text has a font color of #0c4d2f.\n\n``<span style=\"color:#0c4d2f;\">Text here</span>``\n#0c4d2f background color\n\nThis paragraph has a background color of #0c4d2f.\n\n``<p style=\"background-color:#0c4d2f;\">Content here</p>``\n#0c4d2f border color\n\nThis element has a border color of #0c4d2f.\n\n``<div style=\"border:1px solid #0c4d2f;\">Content here</div>``\nCSS codes\n``.text {color:#0c4d2f;}``\n``.background {background-color:#0c4d2f;}``\n``.border {border:1px solid #0c4d2f;}``\n\n# Shades and Tints of #0c4d2f\n\nA shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #010906 is the darkest color, while #f7fefb is the lightest one.\n\n• #010906\n``#010906` `rgb(1,9,6)``\n• #041a10\n``#041a10` `rgb(4,26,16)``\n• #072b1a\n``#072b1a` `rgb(7,43,26)``\n• #093c25\n``#093c25` `rgb(9,60,37)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #0f5e39\n``#0f5e39` `rgb(15,94,57)``\n• #116f44\n``#116f44` `rgb(17,111,68)``\n• #14804e\n``#14804e` `rgb(20,128,78)``\n• #179158\n``#179158` `rgb(23,145,88)``\n• #19a263\n``#19a263` `rgb(25,162,99)``\n• #1cb36d\n``#1cb36d` `rgb(28,179,109)``\n• #1fc478\n``#1fc478` `rgb(31,196,120)``\n• #21d582\n``#21d582` `rgb(33,213,130)``\n• #2bde8c\n``#2bde8c` `rgb(43,222,140)``\n• #3ce195\n``#3ce195` `rgb(60,225,149)``\n• #4de39e\n``#4de39e` `rgb(77,227,158)``\n• #5ee6a7\n``#5ee6a7` `rgb(94,230,167)``\n• #6fe9b1\n``#6fe9b1` `rgb(111,233,177)``\n• #80ebba\n``#80ebba` `rgb(128,235,186)``\n• #91eec3\n``#91eec3` `rgb(145,238,195)``\n• #a2f1cc\n``#a2f1cc` `rgb(162,241,204)``\n• #b3f3d6\n``#b3f3d6` `rgb(179,243,214)``\n• #c4f6df\n``#c4f6df` `rgb(196,246,223)``\n• #d5f8e8\n``#d5f8e8` `rgb(213,248,232)``\n• #e6fbf1\n``#e6fbf1` `rgb(230,251,241)``\n• #f7fefb\n``#f7fefb` `rgb(247,254,251)``\nTint Color Variation\n\n# Tones of #0c4d2f\n\nA tone is produced by adding gray to any pure hue. In this case, #2b2e2d is the less saturated color, while #025730 is the most saturated one.\n\n• #2b2e2d\n``#2b2e2d` `rgb(43,46,45)``\n• #27322d\n``#27322d` `rgb(39,50,45)``\n• #24352d\n``#24352d` `rgb(36,53,45)``\n• #21382d\n``#21382d` `rgb(33,56,45)``\n• #1d3c2e\n``#1d3c2e` `rgb(29,60,46)``\n• #1a3f2e\n``#1a3f2e` `rgb(26,63,46)``\n• #16432e\n``#16432e` `rgb(22,67,46)``\n• #13462e\n``#13462e` `rgb(19,70,46)``\n• #0f4a2f\n``#0f4a2f` `rgb(15,74,47)``\n• #0c4d2f\n``#0c4d2f` `rgb(12,77,47)``\n• #09502f\n``#09502f` `rgb(9,80,47)``\n• #055430\n``#055430` `rgb(5,84,48)``\n• #025730\n``#025730` `rgb(2,87,48)``\nTone Color Variation\n\n# Color Blindness Simulator\n\nBelow, you can see how #0c4d2f is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.\n\nMonochromacy\n• Achromatopsia 0.005% of the population\n• Atypical Achromatopsia 0.001% of the population\nDichromacy\n• Protanopia 1% of men\n• Deuteranopia 1% of men\n• Tritanopia 0.001% of the population\nTrichromacy\n• Protanomaly 1% of men, 0.01% of women\n• Deuteranomaly 6% of men, 0.4% of women\n• Tritanomaly 0.01% of the population"
] | [
null
] | {"ft_lang_label":"__label__en","ft_lang_prob":0.5302487,"math_prob":0.7234525,"size":3672,"snap":"2019-43-2019-47","text_gpt3_token_len":1734,"char_repetition_ratio":0.12731734,"word_repetition_ratio":0.011029412,"special_character_ratio":0.54765797,"punctuation_ratio":0.23496659,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9774678,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-11-12T15:43:45Z\",\"WARC-Record-ID\":\"<urn:uuid:53ef4c08-2d4c-4343-a01f-fe2706b07439>\",\"Content-Length\":\"36217\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2aa14b98-aa5a-4caf-a50d-e7f09f0b9f82>\",\"WARC-Concurrent-To\":\"<urn:uuid:47d05825-c412-4828-b109-fdaaabf23969>\",\"WARC-IP-Address\":\"178.32.117.56\",\"WARC-Target-URI\":\"https://www.colorhexa.com/0c4d2f\",\"WARC-Payload-Digest\":\"sha1:ZE2XCGRQVC2QA7HKHP5PQB4VKNBOOAMI\",\"WARC-Block-Digest\":\"sha1:XD5ZCFREIZAJ5R74PXJFH2XRGIY5CCBL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-47/CC-MAIN-2019-47_segments_1573496665575.34_warc_CC-MAIN-20191112151954-20191112175954-00225.warc.gz\"}"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.