URL
stringlengths
15
1.68k
text_list
listlengths
1
199
image_list
listlengths
1
199
metadata
stringlengths
1.19k
3.08k
https://stats.stackexchange.com/questions/11473/uncorrected-pairwise-p-values-for-one-way-anova/167406
[ "Uncorrected pairwise p-values for one-way ANOVA?\n\nI'm performing a relatively simple one-way ANOVA as part of a class exercise. I'd like to get pairwise uncorrected p-values out of R, so I can do a sequential FDR test in another package (I realize there are FDR packages in R as well). I've set up my ANOVA as shown below, and it works fine, produces results, but I can't seem to figure out how to get the raw, uncorrected p-values back. Ultimately, I'd like to do the pairwise tests for both FDR and sequential Bonferroni in R, but this seems like a first step.\n\nIt looks like pairwiseCI or multcomp might get me where I'm trying to go, but I'm having a difficult time figuring out which will do what I'm looking for.\n\ntime breed\n1 27.4 type.A\n2 18.3 type.A\n3 24.3 type.B\n4 19.6 type.B\n5 21.6 type.C\n6 30.3 type.D\n\na10 <- aov(time~breed,data=d10)\n\n# reports the overall significance, but nothing on the pairs\nsummary(a10)\n\n# reports corrected values only\nTukeyHSD(a10)\n\nFor the multcomp package, see the help page for glht; you want to use the \"Tukey\" option; this does not actually use the Tukey correction, it just sets up all pairwise comparisons. In the example section there's an example that does exactly what you want.\n\nThis calculates the estimates and se's for each comparison but doesn't do p-values; for that you need summary.glht; on the help page for that, notice in particular the test parameter, that allows you to set the actual test that is run. For doing multiply-adjusted p-values, you use the adjusted function for this parameter, and to not multiply-adjust, you use test=adjusted(\"none\") (which isn't mention specifically in the help page, though it does say it takes any of the methods in p.adjust, which is where you'd find none.)\n\nYou can also compute the estimates and se's by hand using matrix multiplication, and then get the p-values however you want; this is what the glht function is doing behind the scenes. To get the matrices you need to start you'd use coef and vcov.\n\nI didn't put complete code as you say it's for a class project (thanks for being honest, by the way!) and the policy here is to provide helpful hints but not solutions.\n\n• thanks for the detailed answer! Re: homework; this is a graduate course and this work isn't being turned in, I know how to perform the same in the class-used JMP but would like to stick to R as much as possible.\n– scw\nJun 2 '11 at 18:42\n• Thanks for the update about the homework status. If you need more specific help, let us know. Jun 2 '11 at 19:04\n\nYou can use pairwise.t.test() with one of the available options for multiple comparison correction in the p.adjust.method= argument; see help(p.adjust) for more information on the available option for single-step and step-down methods (e.g., BH for FDR or bonf for Bonferroni). Of note, you can directly give p.adjust() a vector of raw p-values and it will give you the corrected p-values.\n\nSo, I would suggest to run something like\n\npairwise.t.test(time, breed, p.adjust.method =\"none\") # uncorrected p-value\npairwise.t.test(time, breed, p.adjust.method =\"bonf\") # Bonferroni p-value\n\nThe first command gives you t-test-based p-values without controlling for FWER or FDR. You can then use whatever command you like to get corrected p-values.\n\n• By the name, one might think it computes each pairwise t test separately (I did, anyway), but it actually uses the pooled SD by default, so the result is the same as using the anova result. Jun 2 '11 at 15:12\n• @Aaron You're right, it uses pooled SD by default, but it can be disabled. We could also construct every contrast we want with simple algebra. I like your response btw (+1).\n– chl\nJun 2 '11 at 15:38\nlibrary(multcomp)\ndf = mtcars\ndf$am = as.factor(df$am)\nm1 <- aov(mpg ~ am, data= df)\nht = glht(m1, linfct = mcp(am = \"Tukey\"))" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9185118,"math_prob":0.54167086,"size":927,"snap":"2022-05-2022-21","text_gpt3_token_len":267,"char_repetition_ratio":0.100758396,"word_repetition_ratio":0.0,"special_character_ratio":0.27508092,"punctuation_ratio":0.12676056,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.981482,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-22T12:58:15Z\",\"WARC-Record-ID\":\"<urn:uuid:de9dd4ec-a6ed-4632-af61-32cb3ee49537>\",\"Content-Length\":\"157532\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:36f4a54a-cd2e-4673-bb60-ca754a6fc02c>\",\"WARC-Concurrent-To\":\"<urn:uuid:9bc95552-35ba-4706-b51e-c296c2ffc47c>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://stats.stackexchange.com/questions/11473/uncorrected-pairwise-p-values-for-one-way-anova/167406\",\"WARC-Payload-Digest\":\"sha1:GOLLIMFCHK2PPOCIQG5P2E2GNSDLFZM5\",\"WARC-Block-Digest\":\"sha1:XQNG72IN5PDEPSI3CBFEMHH6JOMQENXY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320303845.33_warc_CC-MAIN-20220122103819-20220122133819-00512.warc.gz\"}"}
https://breathmath.com/2017/07/01/surface-area-and-volumes-exercise-13-5-class-ix/
[ "# Surface Area and Volumes – Exercise 13.5 – Class IX\n\n1. A matchbox measures 4 cm × 2.5 cm × 1.5 cm. What will be the volume of a packet containing 12 such boxes?\n\nSolution:\n\nVolume of 1 match box = lbh [here, l = 4cm , b = 2.5cm, h = 1.5cm]\n\n= 4 x 2.5 x 1.5\n\n= 15 cm3\n\nVolume of 12 such match boxes = 15 x 12 = 180 cm3\n\n1. A cuboidal water tank is 6 m long, 5 m wide and 4.5 m deep. How many litres of water can it hold? (1 m3 = 1000 l)\n\nSolution:\n\nVolume of  water tank = lbh [here, l = 6m , b = 5m, h = 4.5m]\n\n= 6 x 5 x 4.5\n\n= 135 m3\n\nCapacity of water tank for 1m3 = 1000litres\n\nThen, capacity of water tank for 135m3 = 135 x 1000 = 135000 litres\n\n1. A cuboidal vessel is 10 m long and 8 m wide. How high must it be made to hold 380 cubic metres of a liquid?\n\nSolution:\n\nVolume of cuboidal vessel  = lbh [here, l = 10m , b = 8m, volume = 380m3]\n\n380 = 10 x 8 x h\n\nh = 380/10×8\n\nh = 4.75 m\n\n1. Find the cost of digging a cuboidal pit 8 m long, 6 m broad and 3 m deep at the rate of Rs 30 per m3\n\nSolution:\n\nVolume of cuboidal pit = lbh\n\n= 8 x 6 x 3\n\n= 144 m3\n\nThe cost of digging cuboidal pit for 1m3 = Rs. 30\n\nThe cost of digging cuboidal pit for 144m3 = 144 x 30 = Rs. 4320\n\n1. The capacity of a cuboidal tank is 50000 litres of water. Find the breadth of the tank, if its length and depth are respectively 2.5 m and 10 m.\n\nSolution:\n\nGiven length of tank = 2.5m and height 10 m\n\ncapacity of water tank = 50000 litres = 50000/1000 m3 = 50m3\n\nCapacity of water tank = volume of water tank = lbh\n\n50 = 2.5 x b x 10\n\nb = 50/2.5×10 = 2 m\n\ni.e., breadth of the tank = 2m\n\n1. A village, having a population of 4000, requires 150 litres of water per head per day. It has a tank measuring 20 m × 15 m × 6 m. For how many days will the water of this tank last?\n\nSolution:\n\nGiven, a village, having a population of 4000, requires 150 litres of water per head per day.\n\nWater required for 1 person for one day = 150 litres\n\nTherefore, water required for 4000 peoples for one day  = 150 x 4000 = 6,00,000 litres\n\nVolume of the water tank = lbh\n\nl = 20m , b = 15 m and h = 6m\n\nVolume of watertank = 20 x 15 x 6\n\n= 1800m3\n\nWater holding capacity of the tank = 1800 x 1000 = 18,00,000 litres.\n\nThus, the number of days will the water of this tank last = water holding capacity of the tank/water  required for 4000 peoples for one day\n\n= 18,00,000/6,00,000 = 3\n\nHence, one tank of water will last for 3 days.\n\n1. A godown measures 40 m × 25 m × 10 m. Find the maximum number of wooden crates each measuring 1.5 m × 1.25 m × 0.5 m that can be stored in the godown.\n\nSolution:\n\nVolume of godown = lbh [here l = 40m, b = 25m , h = 10m]\n\n= 40 x 25 x 10\n\n= 10000 m3\n\nVolume of the wooden crates = lbh [l = 1.5m , b = 1 .25m , h = 0.5 m]\n\n= 1.5 x 1.25 x 0.5\n\n= 0.9375 m3\n\nNo. of wooden crates stored in godown = Volume of godown/ Volume of the wooden crates\n\n= 10000/0.9375\n\n= 10666. 67\n\n1. A solid cube of side 12 cm is cut into eight cubes of equal volume. What will be the side of the new cube? Also, find the ratio between their surface areas.\n\nSolution:\n\nVolume of cube = a3\n\n= 123\n\n= 1728 cm3\n\nGiven, solid cube of side 12 cm is cut into eight cubes of equal volume. i.e., = 1728/8 = 216 cm3\n\nTherefore, volume of the each new cube = 216 cm3\n\nWe know, volume of each new cube = (s)3\n\n216 = s3\n\ns = 6 cm\n\nThe ratio between volume of a soild cube and volume of new cube = 12 : 6 = 2 : 1\n\n1. A river 3 m deep and 40 m wide is flowing at the rate of 2 km per hour. How much water will fall into the sea in a minute?\n\nsolution:\n\nh = 3 m ; b = 40 m ;\n\nWater flow for 1 hour, l = 2 km = 2000m\n\nVolume of water flowing through the river in 1 hour = lbh\n\n= 2000 x 3 x 40\n\n= 240000 m3\n\nVolume of water flowing in 1 minute = 240000/60 = 4000 m3" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8546184,"math_prob":0.999887,"size":3667,"snap":"2021-43-2021-49","text_gpt3_token_len":1325,"char_repetition_ratio":0.15315315,"word_repetition_ratio":0.088757396,"special_character_ratio":0.41287157,"punctuation_ratio":0.12528217,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9995415,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-20T00:23:18Z\",\"WARC-Record-ID\":\"<urn:uuid:d1bed45e-4b21-4892-a8c9-81d3fc1560bc>\",\"Content-Length\":\"94816\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e35f8f7d-40c8-4150-80cb-575685a2af1a>\",\"WARC-Concurrent-To\":\"<urn:uuid:e7fa27af-1643-4955-a349-332cba2d8889>\",\"WARC-IP-Address\":\"192.0.78.25\",\"WARC-Target-URI\":\"https://breathmath.com/2017/07/01/surface-area-and-volumes-exercise-13-5-class-ix/\",\"WARC-Payload-Digest\":\"sha1:VMX5BWR776FCDFWF262D4NQ424PMTPNN\",\"WARC-Block-Digest\":\"sha1:4LEH4DKYQI5AI46XM6LO5AYJHYLPLHFV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585290.83_warc_CC-MAIN-20211019233130-20211020023130-00688.warc.gz\"}"}
http://vreitmann.de/?site=topic2
[ "", null, "Home Research interests Publications Conferences/Talks Supported projects since  2007 Supported projects  (1994 - 2006) Biographical Data\n\n The Kalman-Yakubovich-Popov Theorem in thermo-elastic problems\n The Kalman-Yakubovich-Popov Theorem for infinite-dimensional systems: Some new results a) Bounded control operator, C0-semigroups, Pritchard-Salamon systems Louis, J. Cl. and D. Wexler: The Hilbert space regulator problem and operator Riccati equation under stabilizability. Ann. Soc. Sci. Bruxelles, Ser. 1, 105, 1991, 137 -- 165. Van Keulen, B.: Equivalent conditions for the solvability of the nonstandard LQ-problem for Pritchard-Salamon systems. J. Control Optim., 33, 1995, 1326 -- 1356. Curtain, R. F.: The Kalman-Yakubovich-Popov Lemma for Pritchard-Salamon systems. System & Control Lett., 27, 1996, 67 -- 72. Curtain, R. F. and J. C. Oostveen: The Popov criterion for strongly stable distributed parameter systems. Int. J. Control, 74 (3), 2001, 265 -- 280. b) Parabolic systems, holomorphic semigroups, heat equation Pandolfi, L.: Dissipativity and Lur'e problem for parabolic boundary control systems. SIAM J. Control Optimiz., 36, 1998, 2061 -- 2081. Bucci, F.: Frequency domain stability of nonlinear feedback systems with unbounded input operator. Dynamics of Continuous, Discrete and Impulsive Systems, 7, 2000, 351 -- 368.c) First order hyperbolic equations Triggiani, R.: An optimal control problem with unbounded control operator and unbounded observation operator where the algebraic Riccati equation is satisfied as a Lyapunov equation. Appl. Math. Lett., 10 (2), 1997, 95 -- 102. d) Second order hyperbolic systems, Euler-Bernoulli equation, Kirchhoff equation, Schrödinger equation, string and membrane equation Lasiecka, I. and R. Triggiani: Algebraic Riccati equations arising in boundary / point control: A review of theoretical and numerical results. In: Perspective in control theory, Jacubczyk, B., Malanowski, K., Raspondek, W. eds., Birkhäuser, Boston, 1990. Part 1: Continuous case, 175 -- 210; Part 2: Approximation theory, 211 -- 235. Bucci, F.: The non-standard LQR problem for boundary control systems. Rend. Sem. Mat. Univ. Pol. Torino, 56 (4), 1998, 105 -- 114. Pandolfi, L.: The Kalman-Yakubovich-Popov Theorem for stabilizable hyperbolic boundary control systems. Integral Equations Operator Theory, 34, 1999, 478 -- 493. Barbu, V., Lasiecka, I. and R. Triggiani: Extended algebraic Riccati equations in the abstract hyperbolic case. Nonlinear. Anal. 40, 2000, 105 -- 129. e) Nonstandard Riccati equations arising in boundary control problems governed by damped wave and plate equations; Hammerstein integral equations with weekly singular kernels Flandoli, F.: Riccati equations arising in a boundary control problem with distributed parameters. SIAM Journal on Control and Optimization, 22, 1984, 76 -- 86. Lasiecka, I., D. Lukas and L. Pandolfi: Input dynamics and nonstandard Riccati equations with applications to boundary control of damped wave and plate equations. Journal of Optimization Theory and Applications, 84 (3), 1995, 549 -- 574. f) Discrete time distributed systems, approximation theory for boundary control systems Helton, J. W.: A spectral factorization approach to the distributed stable regulator problem; the algebraic Riccati equation. SIAM Journal on Control and Optimization, 14, 1976, 639 -- 661. Malinen, J.: Discrete time H^\\infty algebraic Riccati equations. Techn. Report A 428, Institute of Mathematics, Helsinki University, Finland, 2000. Arov, D. Z., Kaashoek, M. A., and D. R. Pik: The Kalman-Yakubovich-Popov inequality and infinite dimensional discrete time dissipative systems. J. Operator Theory, 2005, to appear. g) Generalized (possibly unbounded) solutions of the KYP inequality Arov, D. Z. and O. J. Staffans: The infinite-dimensional continuous time Kalman-Yakubovich-Popov inequality. Operator Theory: Advances and Applications, 1, 2005, Birkhäuser Verlag Basel, 1 -- 28. h) Overview articles Pandolfi, L.: The Kalman-Popov-Yakubovich Theorem: an overview and new results for hyperbolic control systems. Nonlinear Analysis, Methods & Applications, 30 (2), 1997, 735 -- 745. Pandolfi, L.: Recent results on the Kalman-Popov-Yakubovich problem. Proc. Int. Conf. on Mathematics and its Applications, Yagyarta, 1999.", null, "" ]
[ null, "http://vreitmann.de/Bilder/papahp_01.gif", null, "http://vreitmann.de/Bilder/papahp_05.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.62640435,"math_prob":0.89119184,"size":4207,"snap":"2022-05-2022-21","text_gpt3_token_len":1249,"char_repetition_ratio":0.13680704,"word_repetition_ratio":0.013266998,"special_character_ratio":0.2776325,"punctuation_ratio":0.28674698,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9812739,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,8,null,8,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-18T01:45:29Z\",\"WARC-Record-ID\":\"<urn:uuid:79e5f848-4886-4c5c-aba8-c7a488a92a5f>\",\"Content-Length\":\"7849\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:96577d45-63f1-46d6-ba48-6e4b69f98a3f>\",\"WARC-Concurrent-To\":\"<urn:uuid:311c0372-9e60-468b-a94a-a347433e38ea>\",\"WARC-IP-Address\":\"81.169.145.143\",\"WARC-Target-URI\":\"http://vreitmann.de/?site=topic2\",\"WARC-Payload-Digest\":\"sha1:UURF34L6PJUO7D2F44SNJEGLQS4VBTE3\",\"WARC-Block-Digest\":\"sha1:YRFKW6ATC4ZXA4C7LBEGIG2V7UL4R35O\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320300658.84_warc_CC-MAIN-20220118002226-20220118032226-00577.warc.gz\"}"}
https://metanumbers.com/231755
[ "# 231755 (number)\n\n231,755 (two hundred thirty-one thousand seven hundred fifty-five) is an odd six-digits composite number following 231754 and preceding 231756. In scientific notation, it is written as 2.31755 × 105. The sum of its digits is 23. It has a total of 2 prime factors and 4 positive divisors. There are 185,400 positive integers (up to 231755) that are relatively prime to 231755.\n\n## Basic properties\n\n• Is Prime? No\n• Number parity Odd\n• Number length 6\n• Sum of Digits 23\n• Digital Root 5\n\n## Name\n\nShort name 231 thousand 755 two hundred thirty-one thousand seven hundred fifty-five\n\n## Notation\n\nScientific notation 2.31755 × 105 231.755 × 103\n\n## Prime Factorization of 231755\n\nPrime Factorization 5 × 46351\n\nComposite number\nDistinct Factors Total Factors Radical ω(n) 2 Total number of distinct prime factors Ω(n) 2 Total number of prime factors rad(n) 231755 Product of the distinct prime numbers λ(n) 1 Returns the parity of Ω(n), such that λ(n) = (-1)Ω(n) μ(n) 1 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 231,755 is 5 × 46351. Since it has a total of 2 prime factors, 231,755 is a composite number.\n\n## Divisors of 231755\n\n4 divisors\n\n Even divisors 0 4 2 2\nTotal Divisors Sum of Divisors Aliquot Sum τ(n) 4 Total number of the positive divisors of n σ(n) 278112 Sum of all the positive divisors of n s(n) 46357 Sum of the proper positive divisors of n A(n) 69528 Returns the sum of divisors (σ(n)) divided by the total number of divisors (τ(n)) G(n) 481.409 Returns the nth root of the product of n divisors H(n) 3.33326 Returns the total number of divisors (τ(n)) divided by the sum of the reciprocal of each divisors\n\nThe number 231,755 can be divided by 4 positive divisors (out of which 0 are even, and 4 are odd). The sum of these divisors (counting 231,755) is 278,112, the average is 69,528.\n\n## Other Arithmetic Functions (n = 231755)\n\n1 φ(n) n\nEuler Totient Carmichael Lambda Prime Pi φ(n) 185400 Total number of positive integers not greater than n that are coprime to n λ(n) 92700 Smallest positive number such that aλ(n) ≡ 1 (mod n) for all a coprime to n π(n) ≈ 20512 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 185,400 positive integers (less than 231,755) that are coprime with 231,755. And there are approximately 20,512 prime numbers less than or equal to 231,755.\n\n## Divisibility of 231755\n\n m n mod m 2 3 4 5 6 7 8 9 1 2 3 0 5 6 3 5\n\nThe number 231,755 is divisible by 5.\n\n## Classification of 231755\n\n• Arithmetic\n• Semiprime\n• Deficient\n\n• Polite\n\n• Square Free\n\n### Other numbers\n\n• LucasCarmichael\n\n## Base conversion (231755)\n\nBase System Value\n2 Binary 111000100101001011\n3 Ternary 102202220112\n4 Quaternary 320211023\n5 Quinary 24404010\n6 Senary 4544535\n8 Octal 704513\n10 Decimal 231755\n12 Duodecimal b214b\n20 Vigesimal 18j7f\n36 Base36 4ytn\n\n## Basic calculations (n = 231755)\n\n### Multiplication\n\nn×y\n n×2 463510 695265 927020 1158775\n\n### Division\n\nn÷y\n n÷2 115878 77251.7 57938.8 46351\n\n### Exponentiation\n\nny\n n2 53710380025 12447649122693875 2884804922429919000625 668567964797745877989846875\n\n### Nth Root\n\ny√n\n 2√n 481.409 61.4247 21.941 11.8306\n\n## 231755 as geometric shapes\n\n### Circle\n\n Diameter 463510 1.45616e+06 1.68736e+11\n\n### Sphere\n\n Volume 5.21406e+16 6.74945e+11 1.45616e+06\n\n### Square\n\nLength = n\n Perimeter 927020 5.37104e+10 327751\n\n### Cube\n\nLength = n\n Surface area 3.22262e+11 1.24476e+16 401411\n\n### Equilateral Triangle\n\nLength = n\n Perimeter 695265 2.32573e+10 200706\n\n### Triangular Pyramid\n\nLength = n\n Surface area 9.30291e+10 1.46697e+15 189227\n\n## Cryptographic Hash Functions\n\nmd5 098aa99957b3a6e7ce4dedf26e5d52b2 167a0e0da5b22796e6015ca6ff67dfc95a248786 832c1bcb29128105090d51540d4c1585564f8da3eb0e0bac38663a6aae37b112 4a62e146367e1f84ab49d8775c76de1de5a9b5d75547771a81802966888648dcf9f5aabd5318e097c8f9ab563564aca05f041423fe441928a210fbdf8fdf64f3 c3bde1d34c510093d9a9372b068d362184345626" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6190928,"math_prob":0.9775618,"size":4649,"snap":"2021-43-2021-49","text_gpt3_token_len":1626,"char_repetition_ratio":0.12034446,"word_repetition_ratio":0.031019202,"special_character_ratio":0.45816305,"punctuation_ratio":0.075351216,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9962485,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-20T18:36:13Z\",\"WARC-Record-ID\":\"<urn:uuid:48c25fcb-8ce8-480f-b6ed-1a8f9720eadb>\",\"Content-Length\":\"40034\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2d967113-ba34-41e7-8764-5c1136b22f39>\",\"WARC-Concurrent-To\":\"<urn:uuid:4cc66f1d-90d1-4e8b-9635-404f7e2b1564>\",\"WARC-IP-Address\":\"46.105.53.190\",\"WARC-Target-URI\":\"https://metanumbers.com/231755\",\"WARC-Payload-Digest\":\"sha1:JT36E46QLBJDWP3ET6JK7AHSFQDHDVFQ\",\"WARC-Block-Digest\":\"sha1:Q7O5FALCUCJXCBK5YCHPYVMYG2HIY2MS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585348.66_warc_CC-MAIN-20211020183354-20211020213354-00558.warc.gz\"}"}
https://api.openml.org/d/34581
[ "Data\nQSAR-DATASET-FOR-DRUG-TARGET-CHEMBL4980\n\n# QSAR-DATASET-FOR-DRUG-TARGET-CHEMBL4980\n\nIssue #Downvotes for this reason By\n\nThis dataset contains QSAR data (from ChEMBL version 17) showing activity values (unit is pseudo-pCI50) of several compounds on drug target ChEMBL_ID: CHEMBL4980 (TID: 12167), and it has 1045 rows and 22 features (not including molecule IDs and class feature: molecule_id and pXC50). The features represent Basic Molecular Descriptors which were generated from SMILES strings. Missing value imputation was applied to this dataset (By choosing the Median). Feature selection was also applied.\n\n### 24 features\n\n pXC50 (target) numeric 539 unique values 0 missing molecule_id (row identifier) nominal 1045 unique values 0 missing Me numeric 62 unique values 0 missing RBF numeric 145 unique values 0 missing Mp numeric 123 unique values 0 missing Mv numeric 127 unique values 0 missing H. numeric 142 unique values 0 missing AMW numeric 521 unique values 0 missing nN numeric 13 unique values 0 missing nHet numeric 19 unique values 0 missing C. numeric 132 unique values 0 missing N. numeric 100 unique values 0 missing nBM numeric 25 unique values 0 missing MW numeric 625 unique values 0 missing RBN numeric 18 unique values 0 missing nAB numeric 12 unique values 0 missing nCsp2 numeric 23 unique values 0 missing nSK numeric 44 unique values 0 missing nBO numeric 46 unique values 0 missing SCBO numeric 83 unique values 0 missing nHM numeric 4 unique values 0 missing nDB numeric 12 unique values 0 missing nBT numeric 77 unique values 0 missing Se numeric 614 unique values 0 missing\n\n### 62 properties\n\n1045\nNumber of instances (rows) of the dataset.\n24\nNumber of attributes (columns) of the dataset.\n0\nNumber of distinct values of the target attribute (if it is nominal).\n0\nNumber of missing values in the dataset.\n0\nNumber of instances with at least one value missing.\n23\nNumber of numeric attributes.\n1\nNumber of nominal attributes.\n2.41\nSecond quartile (Median) of kurtosis among attributes of the numeric type.\n0.02\nNumber of attributes divided by the number of instances.\nAverage number of distinct values among the attributes of the nominal type.\n7.13\nSecond quartile (Median) of means among attributes of the numeric type.\nNumber of attributes needed to optimally describe the class (under the assumption of independence among attributes). Equals ClassEntropy divided by MeanMutualInformation.\n2.42\nMean skewness among attributes of the numeric type.\nSecond quartile (Median) of mutual information between the nominal attributes and the target attribute.\nPercentage of instances belonging to the most frequent class.\n10.26\nMean standard deviation of attributes of the numeric type.\n1.22\nSecond quartile (Median) of skewness among attributes of the numeric type.\nNumber of instances belonging to the most frequent class.\nMinimal entropy among attributes.\n0\nPercentage of binary attributes.\n3.53\nSecond quartile (Median) of standard deviation of attributes of the numeric type.\nMaximum entropy among attributes.\n-0.72\nMinimum kurtosis among attributes of the numeric type.\n0.07\nMinimum of means among attributes of the numeric type.\n0\nPercentage of instances having missing values.\nThird quartile of entropy among attributes.\n88.02\nMaximum kurtosis among attributes of the numeric type.\nMinimal mutual information between the nominal attributes and the target attribute.\n0\nPercentage of missing values.\n37.85\nThird quartile of kurtosis among attributes of the numeric type.\n320.23\nMaximum of means among attributes of the numeric type.\nThe minimal number of distinct values among attributes of the nominal type.\n95.83\nPercentage of numeric attributes.\n31.45\nThird quartile of means among attributes of the numeric type.\nMaximum mutual information between the nominal attributes and the target attribute.\n-0.56\nMinimum skewness among attributes of the numeric type.\n4.17\nPercentage of nominal attributes.\nThird quartile of mutual information between the nominal attributes and the target attribute.\nThe maximum number of distinct values among attributes of the nominal type.\n0.01\nMinimum standard deviation of attributes of the numeric type.\nFirst quartile of entropy among attributes.\n4.64\nThird quartile of skewness among attributes of the numeric type.\n8.19\nMaximum skewness among attributes of the numeric type.\nPercentage of instances belonging to the least frequent class.\n0.37\nFirst quartile of kurtosis among attributes of the numeric type.\n9.09\nThird quartile of standard deviation of attributes of the numeric type.\n131.94\nMaximum standard deviation of attributes of the numeric type.\nNumber of instances belonging to the least frequent class.\n1.01\nFirst quartile of means among attributes of the numeric type.\nStandard deviation of the number of distinct values among attributes of the nominal type.\nAverage entropy of the attributes.\n0\nNumber of binary attributes.\nFirst quartile of mutual information between the nominal attributes and the target attribute.\n20.77\nMean kurtosis among attributes of the numeric type.\n0.01\nFirst quartile of skewness among attributes of the numeric type.\n28.14\nMean of means among attributes of the numeric type.\n0.89\nFirst quartile of standard deviation of attributes of the numeric type.\n-0.18\nAverage class difference between consecutive instances.\nAverage mutual information between the nominal attributes and the target attribute.\nSecond quartile (Median) of entropy among attributes.\nEntropy of the target attribute values.\nAn estimate of the amount of irrelevant information in the attributes regarding the class. Equals (MeanAttributeEntropy - MeanMutualInformation) divided by MeanMutualInformation." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.75127804,"math_prob":0.9224849,"size":4054,"snap":"2023-40-2023-50","text_gpt3_token_len":830,"char_repetition_ratio":0.28098765,"word_repetition_ratio":0.33333334,"special_character_ratio":0.20374939,"punctuation_ratio":0.12831241,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9840798,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-29T17:32:58Z\",\"WARC-Record-ID\":\"<urn:uuid:c0e88e99-963b-4f68-b1ef-fe348acd7988>\",\"Content-Length\":\"54748\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:aa44e0e9-53f0-4931-a3ed-6d268356df56>\",\"WARC-Concurrent-To\":\"<urn:uuid:4a7a9ce0-219d-4aa9-9550-a9d6d30867fe>\",\"WARC-IP-Address\":\"131.155.11.11\",\"WARC-Target-URI\":\"https://api.openml.org/d/34581\",\"WARC-Payload-Digest\":\"sha1:BEVL2OUPPPVMNBTXK6C2I6LPUTDELCHF\",\"WARC-Block-Digest\":\"sha1:GOR5OILLVLI7QRSEZI5B3YN5YCJUNEQJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510520.98_warc_CC-MAIN-20230929154432-20230929184432-00734.warc.gz\"}"}
http://slideplayer.com/slide/8382718/
[ "Presentation is loading. Please wait.", null, "# Section 7.1 Solving Linear Systems by Graphing. A System is two linear equations: Ax + By = C Dx + Ey = F A Solution of a system of linear equations in.\n\n## Presentation on theme: \"Section 7.1 Solving Linear Systems by Graphing. A System is two linear equations: Ax + By = C Dx + Ey = F A Solution of a system of linear equations in.\"— Presentation transcript:\n\nSection 7.1 Solving Linear Systems by Graphing\n\nA System is two linear equations: Ax + By = C Dx + Ey = F A Solution of a system of linear equations in two variables is and ordered pair (x, y) that ___________ each equation in the system. When graphing both equations for the linear system, you are looking for the ___________ of the linear equations. Where A, B, C, and D are integers and x & y are variables satisfy Solution\n\nChecking the intersection point Use the graph to solve the system of linear equations. Then check your solution algebraically.\n\nRules for Solving a linear system using graphing and check 1)Write each equation in slope intercept form (y=mx + b) 2)Graph both equations thoroughly (neatness counts) 3)Estimate the coordinates of the point of intersection 4)Check the coordinates algebraically by substituting into each equation of the original linear system.\n\nNO SOLUTION!!!!!!!!!!!!!!!!\n\nDownload ppt \"Section 7.1 Solving Linear Systems by Graphing. A System is two linear equations: Ax + By = C Dx + Ey = F A Solution of a system of linear equations in.\"\n\nSimilar presentations\n\nAds by Google" ]
[ null, "http://slideplayer.com/static/blue_design/img/slide-loader4.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8496492,"math_prob":0.9995566,"size":1099,"snap":"2021-04-2021-17","text_gpt3_token_len":252,"char_repetition_ratio":0.17260274,"word_repetition_ratio":0.0,"special_character_ratio":0.24294813,"punctuation_ratio":0.15566038,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9999206,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-04-14T08:44:14Z\",\"WARC-Record-ID\":\"<urn:uuid:3c01960a-4d53-49e0-b871-2e31b0bd6207>\",\"Content-Length\":\"140535\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f6847902-790b-4eab-8b8c-7002ee756439>\",\"WARC-Concurrent-To\":\"<urn:uuid:9c293e40-a686-4bfc-83e2-e2e179210923>\",\"WARC-IP-Address\":\"138.201.58.10\",\"WARC-Target-URI\":\"http://slideplayer.com/slide/8382718/\",\"WARC-Payload-Digest\":\"sha1:E2ASGAY5FVHPJPJWVBP7NOOLBZWUHFXD\",\"WARC-Block-Digest\":\"sha1:DJHCY63YGVUWKBZKXY5T3LSBH33EH5FP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-17/CC-MAIN-2021-17_segments_1618038077336.28_warc_CC-MAIN-20210414064832-20210414094832-00063.warc.gz\"}"}
https://argoprep.com/math/1st-grade/money/parts-of-a-whole/
[ "# Parts of a Whole\n\n## Overview\n\nWe can divide shapes into parts. When we divide shapes up, we can find how many parts make up the whole. When we divide things fairly, the parts are EQUAL.\n\nFor example, look below. The rectangle is divided into four EQUAL parts. Four PARTS make up the WHOLE rectangle.\n\nThree PARTS are shaded. There are FOUR parts that make up ONE whole rectangle.\n\nTake a look at the examples below. Some of the shapes are EQUAL. Some of the shapes are UNEQUAL. In order to be equal, the pieces must be the same size.\n\nThe first column above shows shapes with equal parts. We could share those pieces fairly.\n\nNotice that the rectangle and the square are divided into TWO PARTS. TWO parts make up the WHOLE shape.\n\nThe circle is divided into EIGHT PARTS. EIGHT parts make up the whole circle.\n\nThe other side shows unequal parts. These pieces would not be shared in a fair way.\n\nLet’s go ahead and try some practice examples.\nWe will decide how many parts make up the whole shape.\n\nThis square is divided into equal parts.\nHow many parts make up the whole square?\nFour parts make up the whole square.\nThere are FOUR parts.\n\nLet’s take a look at this next example.\nWe will decide again how many parts make up the whole shape.\n\nThis circle is divided into equal parts.\nHow many parts make up the whole circle?\nTwelve parts make up the whole circle.\nThere are TWELVE parts.\n\nLet’s take it one step further!\n\nWe will decide how many parts make up the whole shape first.\n\nThis diamond is divided into parts.\nHow many parts make up the whole diamond?\nFour parts make up the whole diamond.\nThere are FOUR parts.\n\nHow many parts of the diamond are shaded in?\n\nTHREE of the parts are shaded in.\nThe diamond is made up of four parts with three of those parts shaded in.\n\nLet’s try another one!\n\nWe will decide how many parts make up the whole shape first.\n\nThis heart is divided into parts.\nHow many parts make up the whole heart?\nTwo parts make up the whole heart.\nThere are TWO parts.\n\nHow many parts of the heart are shaded in?\n\nONE of the parts is shaded in.\nThe heart is made up of two parts with one of those parts shaded in.\n\n### Practice Question 1\n\nHow many PARTS make up the WHOLE shape?\n\nSee Related Worksheets:\nDoggone Great Geometric Division Practice\nWorksheets\n(0)\nKids (and dogs) will love this practical \"equal parts\" practice! To complete each of the four sets o...\nHalves, Fourths, or Neither, Remix!\nWorksheets\n(0)\nThis is a second five-question quiz in which students must decide whether the parts are equal. If th...\nHalves, Fourths, or Neither?\nWorksheets\n(0)\nStudents decide whether each of these five divided shapes is divided into halves, fourths, or neithe...\nDixie Dino Identifies Shapes\nWorksheets\n(0)\nIt's time to \"dinosoar\" into identifying shapes! Dixie Dino is determined to find all the matching s...\nRelevant Topics:\n\nShare good content with friends and get 15% discount for 12-month subscription\n\nCount the pieces. How many make up the WHOLE shape?\nTIP:\n\n### Practice Question 2\n\nLet’s try another! How many PARTS make up the WHOLE shape?\n\n### Practice Question 3\n\nHow many PARTS make up the WHOLE shape?\n\n### Practice Question 4\n\nLook at the picture below.\nHow many PARTS make up the WHOLE shape?\n\n### Practice Question 5\n\nLook at the picture below.\nHow many PARTS make up the WHOLE shape?\n\nSee Related Worksheets:\nDoggone Great Geometric Division Practice\nWorksheets\n(0)\nKids (and dogs) will love this practical \"equal parts\" practice! To complete each of the four sets o...\nHalves, Fourths, or Neither, Remix!\nWorksheets\n(0)\nThis is a second five-question quiz in which students must decide whether the parts are equal. If th...\nHalves, Fourths, or Neither?\nWorksheets\n(0)\nStudents decide whether each of these five divided shapes is divided into halves, fourths, or neithe...\nDixie Dino Identifies Shapes\nWorksheets\n(0)\nIt's time to \"dinosoar\" into identifying shapes! Dixie Dino is determined to find all the matching s...\nRelevant Topics:\n\nShare good content with friends and get 15% discount for 12-month subscription\n\nYou should now easily be able to identify how many parts create a WHOLE. To figure that out, simply count all the parts.\nTIP:\n\nChallenge yourself and try the quiz below on what you have just learned!\n\nSee Related Worksheets:\nDoggone Great Geometric Division Practice\nWorksheets\n(0)\nKids (and dogs) will love this practical \"equal parts\" practice! To complete each of the four sets o...\nHalves, Fourths, or Neither, Remix!\nWorksheets\n(0)\nThis is a second five-question quiz in which students must decide whether the parts are equal. If th...\nHalves, Fourths, or Neither?\nWorksheets\n(0)\nStudents decide whether each of these five divided shapes is divided into halves, fourths, or neithe...\nDixie Dino Identifies Shapes\nWorksheets\n(0)\nIt's time to \"dinosoar\" into identifying shapes! Dixie Dino is determined to find all the matching s...\nRelevant Topics:" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9170443,"math_prob":0.8818538,"size":3058,"snap":"2021-31-2021-39","text_gpt3_token_len":706,"char_repetition_ratio":0.22396857,"word_repetition_ratio":0.22084805,"special_character_ratio":0.22302158,"punctuation_ratio":0.1105919,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9793685,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-20T07:15:40Z\",\"WARC-Record-ID\":\"<urn:uuid:ea8053c9-390c-41e1-9ac1-daaacdd5b4a5>\",\"Content-Length\":\"280430\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2177536b-5d00-449e-95c5-6221ce372a87>\",\"WARC-Concurrent-To\":\"<urn:uuid:5aa5862c-df61-4b04-a58f-faf811c8699e>\",\"WARC-IP-Address\":\"35.245.210.119\",\"WARC-Target-URI\":\"https://argoprep.com/math/1st-grade/money/parts-of-a-whole/\",\"WARC-Payload-Digest\":\"sha1:5K6XHX2PMOJFD6BVRZP3AH3NXP5ZQAUI\",\"WARC-Block-Digest\":\"sha1:NJNRWWSVV3UCA5W2D67EGIPF5UOPHYSH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057033.33_warc_CC-MAIN-20210920070754-20210920100754-00522.warc.gz\"}"}
https://www.codevscolor.com/c-find-volume-cube
[ "# 5 different ways to find the volume of a cube in C", null, "## Introduction :\n\nIn this tutorial, we will learn how to find the volume of a cube in C programming language. The program will take the side of the cube as input and prints the volume. The formula used to calculate the volume of a cube is as below :\n\n``Volume = side ^ 3``\n\nIf the side is 2 cm, its volume will be 8 cm^3.\n\nI will show you different ways to solve this problem. Go through the examples and drop one comment below if you have any questions.\n\n### Method 1: Standard way :\n\nLet’s take a look at the below program :\n\n``````#include <stdio.h>\n\nint main()\n{\nfloat side, volume;\n\nside = 4;\nvolume = side * side * side;\n\nprintf(\"The volume is : %.02f\\n\", volume);\nreturn 0;\n}``````\n\nHere, we are using two floating-point variables side and volume. This program calculates the volume for side = 4.\n\nWe are multiplying the value of side three times to get the cube of it.\n\nIt will print the below output :\n\n``The volume is : 64.00``\n\n### Method 2: Using math.pow() function :\n\nmath.h header library defines one function called pow() to find out the power of a number. We can use it to find the cube of a number as like below :\n\n``````#include <stdio.h>\n#include <math.h>\n\nint main()\n{\nfloat side, volume;\n\nside = 4;\nvolume = pow(side, 3);\n\nprintf(\"The volume is : %.02f\\n\", volume);\nreturn 0;\n}``````\n\nIt will print :\n\n``The volume is : 64.00``\n\n### Method 3: By taking the side as user input :\n\nWe can use scanf to read the side as user input and calculate the volume as like below :\n\n``````#include <stdio.h>\n#include <math.h>\n\nint main()\n{\nfloat side, volume;\n\nprintf(\"Enter the side of the cube : \");\nscanf(\"%f\",&side);\n\nvolume = pow(side, 3);\n\nprintf(\"The volume is : %.02f\\n\", volume);\nreturn 0;\n}``````\n\nIt reads the side into the variable side and calculates the volume.\n\nIt can take any value as side and calculate the value of volume. One sample output :\n\n``````Enter the side of the cube : 6\nThe volume is : 216.00\n\nEnter the side of the cube : 4\nThe volume is : 64.00``````\n\n### Method 4: Using a different function :\n\nWe can use one different function to do the calculation and the main function can call this function :\n\n``````#include <stdio.h>\n#include <math.h>\n\nfloat findCube(float side)\n{\nreturn pow(side, 3);\n}\nint main()\n{\nfloat side, volume;\n\nprintf(\"Enter the side of the cube : \");\nscanf(\"%f\", &side);\n\nvolume = findCube(side);\n\nprintf(\"The volume is : %.02f\\n\", volume);\nreturn 0;\n}``````\n\nUsing a different function is useful if you want to reuse that function. We can put the implementation in one place and call that method from other places.\n\n### Method 5: Using pointers :\n\nWe can also use pointers to do the same thing as below :\n\n``````#include <stdio.h>\n#include <math.h>\n\nfloat findCube(float *side)\n{\nreturn pow(*side, 3);\n}\nint main()\n{\nfloat side, volume;\n\nprintf(\"Enter the side of the cube : \");\nscanf(\"%f\", &side);\n\nvolume = findCube(&side);\n\nprintf(\"The volume is : %.02f\\n\", volume);\nreturn 0;\n}``````\n\nHere, we are passing the address of side to findCube. *side gets the value of side." ]
[ null, "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAIAAADwazoUAAAACXBIWXMAAAsTAAALEwEAmpwYAAACQUlEQVQoz2P4Pk3p10yVf/PU/i/RfDJR3VpHVFNJWFdVWEcFSIoAEZABQboqwppKQiryQmKifPUxav+3ujL8nK78fpLyrlKFfZVKzeEy6opQnUCkqSigpSQI16mlLGypI5rjp5DqKb+iXP//ZheG/7OVz9UrAKXlZARVFYTg9mgrC1kaKZrqymqD9eupCivJCSZ7yP1fb/9/q9O/zU6/1zsxAJ39fYby52mqS7Lkga6CO1hVltvLxdTaRFlDgQ/ueKARhuoi3cnq/zc5/VznxPBrhvLTXqUZSbJJzhIaYDcDlQI1uNkbRIW4R4e4G2pKAF0BFNdQEnI2Fm+NUz3cYQzU/Auo+d8s5ctNis6Gonb6okbqItrKIM1A1dYmKiG+DuEBzvrqYhA7VeQFo51kns6zfLHA+sdahz/rnRkgof1rltr/hZoFPlKKcsLaSvxWRsrpSaGJMX7xkT6p8UG6aiDjdMBhpqYgpKEodHaC+f+tLgxfpyr9m61yul4pxkHCWlcUKK2nKhLkbevrZu7jYubvaR0f6W1lpKSlJKCnJgK0PM5V9lyf6fc1Dn82OEM1n29UCrEWhwSykZZUTJinl7NJiK99TJhHemKoo5W2hgK/PlhzgpvcwTbjG9Mt/20EO/vnDJCzn09Us9EFpxAVYXU5Xk1FfqAGYMipyfIAI1xHRQQa20rCMlL8NZGqIGf/n6O8v1zezVjMyVAUHsl6aqKw5CViayLvYa/qZKXoYq1kqC25pEj76Tzrt0tt/25wBgAfHr25Pki0LQAAAABJRU5ErkJggg==", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.7545416,"math_prob":0.9920456,"size":3240,"snap":"2021-43-2021-49","text_gpt3_token_len":822,"char_repetition_ratio":0.16100124,"word_repetition_ratio":0.24172185,"special_character_ratio":0.2882716,"punctuation_ratio":0.17114569,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9982834,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-28T08:57:51Z\",\"WARC-Record-ID\":\"<urn:uuid:0e8ab176-c5d9-4864-b2c1-b023cfc674ae>\",\"Content-Length\":\"88709\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2f6de79c-d955-4a96-9404-d60cf36ee7f2>\",\"WARC-Concurrent-To\":\"<urn:uuid:ad0e280c-bbd0-4351-a622-1fdd4c0a1837>\",\"WARC-IP-Address\":\"35.175.60.16\",\"WARC-Target-URI\":\"https://www.codevscolor.com/c-find-volume-cube\",\"WARC-Payload-Digest\":\"sha1:MQHDQRZT56V256PEWC3JJ3NGTLZFG2KE\",\"WARC-Block-Digest\":\"sha1:WFKGXMPEY7BV2PHCRW56GD4TAAHUZZJ6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323588282.80_warc_CC-MAIN-20211028065732-20211028095732-00392.warc.gz\"}"}
https://electronoobs.com/eng_arduino_tut83.php
[ "", null, "Help me by sharing this post\n\n←PREVIOUS TUTORIAL       NEXT TUTORIAL→", null, "PART 1 - Schematic\n\nThe connection is simple. On the one hand, we feed the module from Arduino through GND and 5V and connect the SDA and SCL pin of Arduino with the corresponding pins of the sensor. The ADDR pin determines the I2C address of the device, according to the following table. The default mode is to connect the ADDR pin to GND, which results in the address 0x48.\n\nWe need:\n1 x Arduino NANO/UNO: LINK eBay\n1 x i2c LCD: LINK eBay\n1 x Jump wires: LINK eBay", null, "The following code shows the use of single end mode. We read the four channels and show the value per serial port. To convert the value to voltage it is necessary to use a multiplier, which at the same time depends on the gain of the PGA that we have set. We print the values on the serial monitor or LCD. See codes below.\n\n``````\n#include <Wire.h>\n\nconst float multiplier = 0.1875F;\n\nvoid setup(void)\n{\nSerial.begin(9600);\n\n// Descomentar el que interese\n// ads.setGain(GAIN_TWOTHIRDS); +/- 6.144V 1 bit = 0.1875mV (default)\n// ads.setGain(GAIN_ONE); +/- 4.096V 1 bit = 0.125mV\n// ads.setGain(GAIN_TWO); +/- 2.048V 1 bit = 0.0625mV\n// ads.setGain(GAIN_FOUR); +/- 1.024V 1 bit = 0.03125mV\n// ads.setGain(GAIN_EIGHT); +/- 0.512V 1 bit = 0.015625mV\n// ads.setGain(GAIN_SIXTEEN); +/- 0.256V 1 bit = 0.0078125mV\n}\n\nvoid loop(void)\n{\n\nSerial.println(\" \");\n\ndelay(1000);\n}\n``````\n\nUpload the code and make the connections. Then open the serial monitor at 9600 bauds and you will have the results printed to the serial monitor. Or go below and download the code with the i2c LCD.\n\n``````\n#include <Wire.h>\n#include <LiquidCrystal_I2C.h>\n// Set the LCD address to 0x27 or 0x3f for a 16 chars and 2 line display\nLiquidCrystal_I2C lcd(0x27, 20, 4);\nfloat Voltage = 0.0;\n\nvoid setup(void)\n{\nlcd.init();\nlcd.backlight();\nSerial.begin(9600);\n}\n\nvoid loop(void)\n{\n\nSerial.print(\"AIN0: \");\nSerial.print(\"\\tVoltage: \");\nSerial.println(Voltage, 7);\nSerial.println();\nlcd.clear();\nlcd.setCursor(0,0);\nlcd.setCursor(3,1);\nlcd.print(Voltage,7);\ndelay(100);\n}\n``````\n\nUpload the code and make the connections. Then open the serial monitor at 9600 bauds or just see the results on the LCD screen.\n\n←PREVIOUS TUTORIAL       NEXT TUTORIAL→\n\nHelp me by sharing this post" ]
[ null, "https://electronoobs.com/images/BG_GIF4.gif", null, "https://electronoobs.com/images/Arduino/tut_83/connection_1.jpg", null, "https://electronoobs.com/images/Arduino/tut_83/sch_1.jpg", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6735674,"math_prob":0.9363059,"size":3401,"snap":"2023-40-2023-50","text_gpt3_token_len":983,"char_repetition_ratio":0.1262879,"word_repetition_ratio":0.05511811,"special_character_ratio":0.31931785,"punctuation_ratio":0.21348314,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9720579,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,4,null,4,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-26T03:52:49Z\",\"WARC-Record-ID\":\"<urn:uuid:5a4fd944-b79e-4926-b511-e088a55bcd25>\",\"Content-Length\":\"42646\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a8b966d8-9832-4b71-a334-57154d877e2e>\",\"WARC-Concurrent-To\":\"<urn:uuid:dcf0b1b1-5cfb-4e30-8fa6-d0f07e6c4691>\",\"WARC-IP-Address\":\"217.160.0.92\",\"WARC-Target-URI\":\"https://electronoobs.com/eng_arduino_tut83.php\",\"WARC-Payload-Digest\":\"sha1:IJTHAXXLZ3BFNAAX2LFVXIX6MJDHVVTE\",\"WARC-Block-Digest\":\"sha1:ZS6AOAOT5JROC7TXJCNDSBMH7EXNDVLT\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510130.53_warc_CC-MAIN-20230926011608-20230926041608-00127.warc.gz\"}"}
https://www.numberempire.com/49559
[ "Home | Menu | Get Involved | Contact webmaster", null, "", null, "", null, "", null, "", null, "# Number 49559\n\nforty nine thousand five hundred fifty nine\n\n### Properties of the number 49559\n\n Factorization 49559 Divisors 1, 49559 Count of divisors 2 Sum of divisors 49560 Previous integer 49558 Next integer 49560 Is prime? YES (5093rd prime) Previous prime 49549 Next prime 49597 49559th prime 606049 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)? NO Binary 1100000110010111 Octal 140627 Duodecimal 2481b Hexadecimal c197 Square 2456094481 Square root 222.61850776609 Natural logarithm 10.810919157977 Decimal logarithm 4.6951225346115 Sine -0.36710018317012 Cosine -0.9301814100037 Tangent 0.39465439668232\nNumber 49559 is pronounced forty nine thousand five hundred fifty nine. Number 49559 is a prime number. The prime number before 49559 is 49549. The prime number after 49559 is 49597. Number 49559 has 2 divisors: 1, 49559. Sum of the divisors is 49560. Number 49559 is not a Fibonacci number. It is not a Bell number. Number 49559 is not a Catalan number. Number 49559 is not a regular number (Hamming number). It is a not factorial of any number. Number 49559 is a deficient number and therefore is not a perfect number. Binary numeral for number 49559 is 1100000110010111. Octal numeral is 140627. Duodecimal value is 2481b. Hexadecimal representation is c197. Square of the number 49559 is 2456094481. Square root of the number 49559 is 222.61850776609. Natural logarithm of 49559 is 10.810919157977 Decimal logarithm of the number 49559 is 4.6951225346115 Sine of 49559 is -0.36710018317012. Cosine of the number 49559 is -0.9301814100037. Tangent of the number 49559 is 0.39465439668232\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.6307376,"math_prob":0.9817644,"size":2157,"snap":"2020-45-2020-50","text_gpt3_token_len":687,"char_repetition_ratio":0.19136089,"word_repetition_ratio":0.052173913,"special_character_ratio":0.42002782,"punctuation_ratio":0.12533334,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99641734,"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-22T01:08:58Z\",\"WARC-Record-ID\":\"<urn:uuid:40164e9b-bd07-4905-832a-cf1004df7649>\",\"Content-Length\":\"21551\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:955cc954-6f0d-40fc-9842-4d01aa71e4d7>\",\"WARC-Concurrent-To\":\"<urn:uuid:46b22083-19cb-4006-b55e-bd59af08b553>\",\"WARC-IP-Address\":\"104.24.112.69\",\"WARC-Target-URI\":\"https://www.numberempire.com/49559\",\"WARC-Payload-Digest\":\"sha1:HPSZHY3SAITSX3CFPXVR6FPF7V34NFL7\",\"WARC-Block-Digest\":\"sha1:LHPHMIPQAAZDKFRX3Y73RXZ5MSSFVF5X\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107878662.15_warc_CC-MAIN-20201021235030-20201022025030-00236.warc.gz\"}"}
https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/
[ "This is a file in the archives of the Stanford Encyclopedia of Philosophy.\n\nFirst published Wed 10 Jan, 2001\n\nConsider the following list of sentences, named ‘The List’:\n\n1. Tasmanian devils have strong jaws.\n2. The second sentence on The List is circular.\n3. If the third sentence on The List is true, then every sentence is true.\n4. The List comprises exactly four sentences.\nAlthough The List itself is not paradoxical, the third sentence (a conditional) is. Is it true? Well, suppose, for conditional proof, that its antecedent is true. Then\nthe third sentence of The List is true\nis true. By substitution, it follows that\nIf the third sentence of The List is true, then every sentence is true\nis true. But, then, Modus Ponens on the above two sentences yields that\nevery sentence is true\nis true. So, by conditional proof, we conclude that\nIf the third sentence of The List is true, then every sentence is true\nis true. By substitution, it follows that\nthe third sentence of The List is true\nis true. But, now, by Modus Ponens on the above two sentences we get that\nevery sentence is true\nis true. By naive truth theory we disquote (or, in this case, dis-display, as it were) to conclude: Every sentence is true! So goes (one version of) Curry's paradox.\n\n## 1. Brief History and Some Caveats\n\nIn 1942 Haskell B. Curry presented what is now called Curry's paradox. Perhaps the most intuitive version of the paradox is due to Arthur N. Prior (1955), who recast Curry's paradox as a \"proof\" of God's existence. (Let C = ‘If C is true then God exists’.) The version presented above is (in effect) Prior's version.\n\nThere are basically two different versions of Curry's paradox, a truth-theoretic (or proof-theoretic) and a set-theoretic version; these versions will be presented below. For now, however, there are a few caveats that need to be issued.\n\nCaveat 1. Loeb's Paradox. Prior's version is (in effect) rehearsed by Boolos and Jeffrey (1989), where neither Prior nor Curry is given credit; rather, Boolos and Jeffrey point out the similarity of the paradox to reasoning used within the proof of Loeb's Theorem; and subsequent authors, notably Barwise & Etchemendy (1984), have called the paradox Loeb's paradox. While there is no doubt strong justification for the alternative name (given the similarity of Curry's paradox to the reasoning involved in proving Loeb's Theorem) the paradox does appear to have been first discovered by Curry.\n\nCaveat 2. Geometrical Curry Paradox (Jigsaw Paradox). This is not the same Curry paradox under discussion; it is a well-known paradox, due to Paul Curry, having to do with so-called geometrical dissection. (The so-called Banach-Tarski geometrical paradox is related to Paul Curry's geometrical paradox.) See Gardner 1956 and Fredrickson 1997 for full discussion of this (geometrical) Curry paradox.\n\n## 2. Curry's Paradox: Truth- and Set-Theoretic Versions\n\n### Truth-Theoretic Version\n\nAssume that our truth predicate satisfies the following T-schema:\nT-Schema: T[A]", null, "A,\nwhere ‘[ ]’ is a name-forming device. Assume, too, that we have the principle called Assertion (also known as pseudo modus ponens):\nAssertion: (A & (A", null, "B))", null, "B\n(NB: We could also use the principle called Contraction: ((A", null, "(A", null, "B))", null, "(A", null, "B).) Curry's paradox quickly generates triviality, the case in which everything is true.\n\nBy diagonalization, self-reference or the like we can get an arbitrary sentence, C, such that:\n\nC   =   T[C]", null, "F,\nwhere F is anything you like. (For effect, though, make F something obviously false.) By an instance of the T-schema (‘T[C]", null, "C’) we immediately get:\nT[C]", null, "(T[C]", null, "F),\nAgain, using the same instance of the T-Schema, we can substitute C for T[C] in the above to get (1):\n 1 C", null, "(C", null, "F) [by T-schema and Substitution] 2 (C & (C", null, "F))", null, "F [by Assertion] 3 (C & C)", null, "F [by Substitution, from 2] 4 C", null, "F [by Equivalence of C and C&C, from 3] 5 C [by Modus Ponens, from 1 and 4] 6 F [by Modus Ponens, from 4 and 5]\nLetting F be anything entailing triviality Curry's paradox quickly \"shows\" that the world is trivial!\n\n### Set-Theoretic Version\n\nThe same result ensues within naive set theory. Assume, in particular, the (unrestricted) axiom of abstraction (or comprehension):\nUnrestricted Abstraction: x", null, "{y | A(y)}", null, "A(x).\nMoreover, assume that our conditional,", null, ", satisfies Contraction (as above), which permits the deduction of\n(s", null, "s", null, "A)\nfrom\ns", null, "s", null, "(s", null, "s", null, "A).\nIn the set-theoretic case, let C =df {x | x", null, "x", null, "F}, where F remains as you please (but something obviously false, for effect). From here we reason thus:\n 1 x", null, "C", null, "(x", null, "x", null, "F) [by Naive Abstraction] 2 C", null, "C", null, "(C", null, "C", null, "F) [by Universal Specification, from 1] 3 C", null, "C", null, "(C", null, "C", null, "F) [by Simplification, from 2] 4 C", null, "C", null, "F [by Contraction, from 3] 5 C", null, "C [by Modus Ponens, from 2 and 4] 6 F [by Modus Ponens, from 4 and 5]\nSo, coupling Contraction with the naive abstraction schema yields, via Curry's paradox, triviality.\n\n## Significance, Solutions, and Open Problems\n\n### Significance\n\nWhat is the significance of Curry's paradox? The answer depends on one's approach to paradox in general. Any comprehensive theory of language has to give some sort account of the paradoxes (e.g., the liar, or Russell's, or etc.). Classical approaches tend to fiddle with the T-schema (or naive abstraction) or reject the existence of certain (paradoxical) sentences. Such classical approaches tend to respond to Curry's paradox in the same fashion — by rejecting the existence of Curry sentences or fiddling with the unrestricted T-schema (or naive abstraction). Some popular variations of these two options include Gupta-Belnap revision theory (1993), Tarski's familiar hierarchical theory (or Russellian type theory), Simmons's singularity theory (1993), Burge's indexical theory (1979), Kripke's fixed point semantics (1975), Gaifman's pointer semantics (1988), Barwise-Etchemendy situation-cum-Aczel-set-theory (1984), and others. (NB: These theories are quite different from each other; however, each of them fits under one of the two so-called classical options mentioned above; they either modify the naive T-schema or reject the existence of so-called strengthened liar sentences.) Where Curry's paradox becomes especially significant is not with classical approaches but rather with certain non-classical approaches; specifically, Curry's paradox is a direct challenge to any non-classical approach that attempts to preserve naive truth (or set) theory in full. Such approaches attempt to preserve naive truth (or set) theory, preserve the apparent existence of Curry sentences, and avoid the apparent non-triviality of the world. Satisfying these desiderata requires a paraconsistent logic, one that affords inconsistent but non-trivial theories. What Curry's paradox shows is that not just any old paraconsistent logic will do; in particular, on pain of triviality, no connective in the language can satisfy contraction or absorption and support the T-scheme or Naive comprehension scheme. Among other things, this constraint rules out quite a few popular candidates for implicative conditionals -- including, for example, various popular relevant conditionals, including those of E and R.\n\n### A Solution\n\nThere is great interest in resolving the paradoxes in the sort of non-classical fashion suggested above. Such interest, coupled with Curry's paradox, has fostered ongoing interest in non-classical (paraconsistent) semantics for entailment. One area in which such research is growing is substructural logic. While there is no generally accepted (non-classical) solution to Curry's paradox one approach is particularly promising, an approach due to Graham Priest (1992) and based upon Kripke's invocation of non-normal worlds. (Kripke invoked such worlds for purposes of modeling Lewis systems weaker than S4, not for purposes of solving Curry's paradox.) The idea may be seen easily through its semantics, as follows.\n\nSetting negation aside (for purposes of Curry), we assume a propositional language with the following connectives: conjunction (&), disjunction (", null, "), and entailment (", null, "). (For purposes of resolving Curry's paradox, negation may be set aside; however, the current semantics allow for a variety of approaches to negation, as well as quantifiers.) An interpretation is a 4-tuple, (W,N,[ ], f), where W is a non-empty set of worlds (index points), N is a non-empty subset of W, [ ] is a function from propositional parameters to the powerset of W; we may, for convenience, see the range of [ ] as comprising propositions (sets of worlds at which various sentences are true), and so call the values of [ ] propositions. We let NN be the set of so-called non-normal worlds, namely NN = W", null, "N. In turn, f is a function from (ordered) pairs of propositions to NN. Now, [ ] is extended to all sentences (A, B, ...) via the following clauses:\n\n[A&B] = [A]", null, "[B]\n\n[A", null, "B] = [A]", null, "[B]\n\nThe value of an entailment is the union of two sets: N, the class of normal worlds where the entailment is true, and NN, the of non-normal worlds where the entailment is true. Assuming the usual S5 truth conditions, N and NN are specified thus:\nN = W, if [A]", null, "[B]; otherwise, N=", null, ".\n\nNN = f([A],[B]).\n\nWith all this in hand, validity is defined in the usual way: namely, as truth-preservation at all normal worlds of all interpretations.\n\nWhy restrict the definition merely to normal worlds? The explanation goes hand-in-hand with the informal interpretation of non-normal worlds; according to Priest's suggestion, non-normal worlds should be understood to be worlds where the laws of logic are different — different from the actual laws, where such laws are expressed by (true) entailment claims. Accordingly, since our definition of validity is an attempt to capture our (actual) logical laws, we need not, and should not, worry about worlds where the logical laws are different, at least not in our definition of validity. Such worlds, however, are otherwise very important; as one can easily verify, such worlds afford the usual logical laws (within the positive fragment at issue) but do not sanction the unwanted \"laws\" — e.g., Assertion and the like. In this way, one can enjoy naive truth theory (or naive set theory) without tripping into triviality as a result of Curry sentences.\n\nPriest (1992) gives a sound and complete proof theory for the given semantics, but this is left for the reader to consult.\n\n### Open Issues and Problems\n\nWith the foregoing semantics one sneed not reject the existence of Curry sentences (which are difficult to reject when one's language is a natural language) or naive truth theory; however, there are various philosophical issues that need to be addressed, a few of which are canvassed below.\n\nOne philosophical issue confronting the given semantics is the very nature of such non-normal worlds. What are they? As intimated, Priest's suggestion is that they are simply (impossible) worlds where the laws of logic are different. But is there any reason, independent of Curry's paradox, to admit such worlds? Fortunately, the answer seems to be ‘yes’. One reason has to do with the common (natural language) reasoning involving counter-logicals, including, for example, sentences such as ‘If intuitionistic logic is correct, then double negation elimination is invalid’. Invoking non-normal worlds provides a simple way of modelling such sentences and the reasoning involving them.\n\nAnother objection also arises. Notice that, on the foregoing semantics, there are (non-normal) worlds where the law of simplification, i.e., A&B", null, "B, is false; however, there is no world (normal or otherwise) at which we have a false B but true A&B. Likewise for all other worlds where the logical laws differ; the worlds themselves, as it were, do not break the laws, even though the laws are false at such worlds. What explains this \"lack of supervenience\" at non-normal worlds? Priest himself offers no explanation, and the problem remains an open one. None the less, here is a suggestion (which has yet to be explored in print): What would it take for logical laws to fail? Most philosophers will agree that it is hard to imagine worlds in which there are events that contravene logical laws. My suggestion is that the only way for logical laws to fail is via arbitrary \"fiat\", as it were. No world (possible or otherwise) comprises events that refute, contravene, or otherwise show the actual logical laws to be false; what is required to falsify logical laws is mere arbitrariness; and such arbitrariness is precisely what one gets from the function, f. The suggestion, then, is simply this: For logical laws to fail at any world (and, hence, at non-normal worlds) one requires arbitrariness and thereby a lack of the supervenience at issue. Whether this suggestion solves the (philosophical) problem at hand is an (other) open problem.\n\nThere are other philosophical (and logical) problems that remain open. One of the most important recent papers discussing such problems is Restall's \"Costing Non-Classical Solutions to Paradoxes of Self-Reference\" (see Other Internet Resources). Restall shows that the sorts of non-classical approach discussed above must give up either transitivity of entailment, infinitary disjunction or distributive lattice logic (i.e., an infinitary disjunction operator distributing over finite conjunction); otherwise, as Restall shows, Curry's paradox arises immediately and triviality ensues. The importance of Restall's point lies not only in the formal constraints imposed on suitable non-classical approaches to Curry; its importance lies especially in the philosophical awkwardness imposed by such constraints. For example, one (formal) upshot of Restall's point is that, on a natural way of modelling propositions (e.g., in familiar world-semantics), some classes of propositions will not have disjunctions on the (given sort of) non-classical approach; the philosophical upshot (and important open problem) is that there is no known explanation for why such classes lack such a disjunction. (Needless to say, it is not a sufficient explanation to note that the presence of such a disjunction would otherwise generate triviality via Curry's paradox.)\n\nThe foregoing issues and open problems confront various non-classical approaches to paradox, problems that arise particularly sharply in the face of Curry's paradox. It should be understood, however, that such problems may remain pressing even for those who are firmly committed to classical approaches to paradox; for one might be interested not so much in accepting or believing such non-classical proposals but, rather, merely in using such proposals to model various naive but non-trivial theories — naive truth theory, naive set theory, naive denotation theory, etc.. One need not believe or accept such theories to have an interest in modeling them accurately. If one has such an interest, then the foregoing problems arising from Curry's paradox must be addressed. (See Slaney 1989, and the classic Meyer, Dunn, and Routley 1979, and also Restall 2000 for further discussion.)\n\n## Bibliography\n\n### Works Cited or Further Reading\n\n• Barwise, J., and Etchemendy, J., 1984. The Liar, New York: Oxford University Press.\n• Boolos, G., and Jeffrey, R., 1989. Computability and Logic, 3rd edition, New York: Cambridge University Press.\n• Burge, T., 1979. \"Semantical Paradox\", Journal of Philosophy 76:169-198.\n• Curry, H., 1942, \"The inconsistency of certain formal logics\", Journal of Symbolic Logic 7, pp. 115-117.\n• Frederickson, G., 1997, Dissections: Plane and Fancy, Cambridge: CUP.\n• Gardner, M., 1956. Mathematics, Magic and Mystery, New York, Dover Publ.\n• Gaifman, H., 1988. \"Operational pointer semantics: Solution to self-referential puzzles I\", in Vardi, M., ed, Proceedings of the Second Conference on Theoretical Aspects of Reasoning about Knowledge, Morgan Kaufmann.\n• Goldstein, L. 1986. \"Epimenides and Curry\". Analysis 463:117-121.\n• Gupta and Belnap, 1993. The Revision Theory of Truth, Cambridge, MA: MIT Press.\n• Kripke, S., 1975. \"Outline of a theory of truth\", Journal of Philosophy 72:690-716.\n• Meyer, R. K., Routley, R. and Dunn, J.M., 1979, \"Curry's paradox\", Analysis 39, pp. 124- 128.\n• Myhill, J., 1975. \"Levels of Implication\". In A. R. Anderson, R. C. Barcan-Marcus, annd R. M. Martin, editors, The Logical Enterprise, pp. 179-185. Yale Univ. Press.\n• Myhill, J., 1984. \"Paradoxes\". Synthese, 60:129-143.\n• Priest, G., 1987. In Contradiction, Martinus Nijhoff.\n• Priest, G., 1992. \"What is a non-normal world?\", Logique & Analyse 139-40:291-302.\n• Prior, A. N., 1955. \"Curry's Paradox and 3-Valued Logic\", Australasian Journal of Philosophy 33:177-82.\n• Read, S., 2001, \"Self-Reference and Validity Revisited\", in Medieval Formal Logic, M. Yrjonsuuri (ed.), Kluwer 2001, pp. 183-96.\n• Restall, G., 2000, An Introduction to Substructural Logics, Routledge. ( online précis)\n• Simmons, K., 1993. Universaliity and the Liar, New York: Cambridge University Press.\n• Moh Skaw-Kwei. \"Logical Paradoxes for Many-Valued Systems\". Journal of Symbolic Logic, 19 (1954), pp. 37-39.\n• Slaney, John. 1989. \"RWX is not Curry Paraconsistent\", in G. Priest, R. Routley, and J. Norman (eds.), Paraconsistent Logic: Essays on the Inconsistent, Philosophia Verlag, 472--480.\n\n## Related Entries\n\nlogic: paraconsistent | logic: relevance | logic: substructural | Russell's paradox" ]
[ null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/lra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/lra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/lra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/lra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/lra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/lra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/lra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/element.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/vel.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/minus.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/intersect.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/vel.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/cup.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/subset.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/nullset.gif", null, "https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/ra.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8961605,"math_prob":0.66557837,"size":18036,"snap":"2021-43-2021-49","text_gpt3_token_len":4306,"char_repetition_ratio":0.13054569,"word_repetition_ratio":0.042052746,"special_character_ratio":0.23425372,"punctuation_ratio":0.16896948,"nsfw_num_words":1,"has_unicode_error":false,"math_prob_llama3":0.966076,"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],"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,4,null,null,null,2,null,2,null,4,null,2,null,2,null,2,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-12-02T22:40:44Z\",\"WARC-Record-ID\":\"<urn:uuid:c07bdfb2-1da7-4b3c-9e91-0734b1f12794>\",\"Content-Length\":\"29237\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7466b75c-7d77-44ed-8344-37d792f13583>\",\"WARC-Concurrent-To\":\"<urn:uuid:e06836c4-bd29-4a82-84b5-45b48887eb37>\",\"WARC-IP-Address\":\"3.104.175.10\",\"WARC-Target-URI\":\"https://stanford.library.sydney.edu.au/archives/sum2007/entries/curry-paradox/\",\"WARC-Payload-Digest\":\"sha1:U6ZSF3XTHL6PEPUARKSR3ZQLOVUWXKOP\",\"WARC-Block-Digest\":\"sha1:AF65S3BW2W5ADLQVBRFMA762C3NSLVPA\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964362297.22_warc_CC-MAIN-20211202205828-20211202235828-00547.warc.gz\"}"}
https://assignmentpoint.com/electromagnetic-induction/
[ "Physics\n\n# Electromagnetic Induction", null, "Electromagnetic Induction\n\nDefinition\n\nElectromagnetic Induction is the production of voltage or electromotive force due to a change in the magnetic field. Electromagnetic induction was discovered by Michael Faraday in the 1830s. Many electrical components and types of equipment work based on the principle of electromagnetic induction. It has found many applications in technology, including electrical components such as inductors and transformers, and devices such as electric motors and generators.", null, "Electromagnetic Induction method is based on the measurement of the change in mutual impedance between a pair of coils on or above the earth’s surface. Most Electromagnetic instruments are comprised of two or more sets of coils. These coils are electrically connected and are separated by a fixed distance. The transmitter coil is used to generate an electromagnetic field at a specific frequency. This is known as the primary field. The primary field causes electrical currents to flow in conductive materials in the subsurface. The flow of currents in the subsurface, called eddy currents, generate a secondary magnetic field, which is sensed by the receiver coil. The magnitude of the secondary field sensed by the receiver depends upon the type and distribution of conductive material in the subsurface. Both the induced secondary field, along with the primary field, is detected at the receiver coil. The number of turns in the coils/wire is directly proportional to induced voltage. The induced voltage in an electromagnetic induction is described by the following equation as:\n\ne = N × dΦdt\n\nWhere,\n\ne = voltage induced (measured in volts)\n\nt = time (measured in seconds)\n\nN = number of turns found in the coil\n\nΦ = magnetic flux (measured in Webers)\n\nMany types of electrical equipment such as motors, generators and transformers function based on the principle of the electromagnetic induction.", null, "Applications of Electromagnetic Induction\n\nElectromagnetic Induction is the production of an electromotive force (i.e., voltage) across an electrical conductor due to its dynamic interaction with a magnetic field. Induction is used in power generation and power transmission, and it’s worth taking a look at how that’s done. There are other effects with some interesting applications to consider, too, such as eddy currents.\n\nAn Electric Generator – An electric motor is a device for transforming electrical energy into mechanical energy; an electric generator does the reverse, using mechanical energy to generate electricity. At the heart of both motors and generators is a wire coil in a magnetic field. In fact, the same device can be used as a motor or a generator.\n\nWhen the device is used as a motor, a current is passed through the coil. The interaction of the magnetic field with the current causes the coil to spin. To use the device as a generator, the coil can be spun, inducing a current in the coil.\n\nEddy Currents – An eddy current is a swirling current set up in a conductor in response to a changing magnetic field. By Lenzıs law, the current swirls in such a way as to create a magnetic field opposing the change; to do this in a conductor, electrons swirl in a plane perpendicular to the magnetic field. More accurately, eddy currents transform more useful forms of energy, such as kinetic energy, into heat, which is generally much less useful. In many applications the loss of useful energy is not particularly desirable, but there are some practical applications.\n\nTransformers – Electricity is often generated a long way from where it is used, and is transmitted long distances through power lines. Although the resistance of a short length of power line is relatively low, over a long distance the resistance can become substantial. A power line of resistance R causes a power loss of I2R; this is wasted as heat. By reducing the current, therefore, the I2R losses can be minimized. A transformer is made up of two coils, each with a different number of loops, linked by an iron core so the magnetic flux from one passes through the other. When the flux generated by one coil changes, as it does continually if the coil is connected to an AC power source, the flux passing through the other will change, inducing a voltage in the second coil. With AC power, the voltage induced in the second coil will also be AC.", null, "" ]
[ null, "https://assignmentpoint.com/wp-content/uploads/2017/05/Electromagnetic-Induction.jpg", null, "https://assignmentpoint.com/wp-content/uploads/2017/05/Electromagnetic-Induction0.jpg", null, "https://assignmentpoint.com/wp-content/uploads/2017/05/Electromagnetic-Induction-0.jpg", null, "https://assignmentpoint.com/wp-content/uploads/2017/05/Electromagnetic-Induction-01.jpg", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.953327,"math_prob":0.96799475,"size":5090,"snap":"2023-14-2023-23","text_gpt3_token_len":1011,"char_repetition_ratio":0.15454188,"word_repetition_ratio":0.007202881,"special_character_ratio":0.18762279,"punctuation_ratio":0.09130435,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.973829,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,1,null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-05T09:47:39Z\",\"WARC-Record-ID\":\"<urn:uuid:d010031f-06ad-4f05-beda-e3955fddb1fe>\",\"Content-Length\":\"30307\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4258fd51-912f-4f6d-9985-de79c34abad3>\",\"WARC-Concurrent-To\":\"<urn:uuid:81a97c91-ede6-4523-adab-5805b3af5848>\",\"WARC-IP-Address\":\"162.55.81.222\",\"WARC-Target-URI\":\"https://assignmentpoint.com/electromagnetic-induction/\",\"WARC-Payload-Digest\":\"sha1:R56YOLOEJDLREO7EHZ2UEUFC7TRAECLM\",\"WARC-Block-Digest\":\"sha1:6TSSPTLDYZFWSX4M2OQ6WIY77NBKNUIH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224651815.80_warc_CC-MAIN-20230605085657-20230605115657-00052.warc.gz\"}"}
https://theincidentaleconomist.com/wordpress/why-consumer-surplus-negative-the-integral-of-the-demand-function/
[ "# Why Consumer Surplus is Negative the Integral of the Demand Function\n\nHaving just spent too many hours on this, I’m posting it so I won’t forget it. Maybe it’ll save some other folks some time too.\n\nI’ve learned that, up to a constant, consumer surplus is the integral of the demand function. That’s wrong. It’s negative the integral of the demand function. The reason has to do with the fact that what we call the demand function–that which translates price into quantity–is not what we draw on a graph. Thanks to Alfred Marshall, the custom is to draw the inverse demand function, with price on the vertical axis and quantity on the horizontal axis.", null, "To show formally that consumer surplus is the negative of the integral of demand (or that demand is negative the derivative of consumer surplus), one can use the rule for integrating inverses. To do so, let\n\n• Q denote quantity and P denote price,\n• Q = D(P) be the demand function,\n• and the equilibrium quantity and price be Q0 and P0, respectively.\n\nThen, consumer surplus (CS) is", null, "where the first line is the definition of consumer surplus, the second follows from the rule of integrating inverses and the facts that Q=D(P) and P=D-1(Q), and the third holds if PD(P) is zero when P is infinity.\n\nThis is important for the very reason I spent hours trying to find or work out the above explanation. If one is working with discrete choice models (logit, nested logit, conditional logit, etc.) and wishes to derive the expression for consumer surplus, one might do so by recalling two things:\n\n1. The functional form of consumer surplus is the log of the denominator of the discrete choice probability model, which is also the demand function. That is, consumer surplus has a log-sum of exponentials form.\n2. The derivative of consumer surplus is negative the demand function, i.e. the discrete choice model.\n\nRecalling point 1 and not 2, which is what I did, one is tempted to put the wrong sign on consumer surplus. That leads to very incorrect (exactly backwards) results. One is tempted to scrutinize one’s code for bugs. But the problem isn’t the code, it’s Alfred Marshall’s graphing convention.\n\n## Subscribe\n\n* indicates required\nEmail Format" ]
[ null, "https://theincidentaleconomist.com/wordpress/wp-content/uploads/2010/05/350px-Economic-surpluses.svg.png", null, "https://theincidentaleconomist.com/wordpress/wp-content/uploads/2010/05/CS.jpg", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.90450895,"math_prob":0.962219,"size":2075,"snap":"2022-40-2023-06","text_gpt3_token_len":454,"char_repetition_ratio":0.16513762,"word_repetition_ratio":0.011204482,"special_character_ratio":0.21590361,"punctuation_ratio":0.10688836,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9956475,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,10,null,10,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-05T11:37:20Z\",\"WARC-Record-ID\":\"<urn:uuid:0cda6f59-6838-4362-99f6-3fe9c33455a4>\",\"Content-Length\":\"69281\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:094de04b-6880-4cc7-a848-655e33428aa8>\",\"WARC-Concurrent-To\":\"<urn:uuid:d9e966de-f928-4a0d-ab3c-1be221b36cbc>\",\"WARC-IP-Address\":\"108.160.150.161\",\"WARC-Target-URI\":\"https://theincidentaleconomist.com/wordpress/why-consumer-surplus-negative-the-integral-of-the-demand-function/\",\"WARC-Payload-Digest\":\"sha1:7ZLQJ72KLTT5JBULMJ2YS2T6KMUK4CQZ\",\"WARC-Block-Digest\":\"sha1:5WNIEZQAP2M56EMUXDRZKPQD3NXUY7HY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764500251.38_warc_CC-MAIN-20230205094841-20230205124841-00726.warc.gz\"}"}
https://answers.everydaycalculation.com/multiply-fractions/14-70-times-4-8
[ "# Answers\n\nSolutions by everydaycalculation.com\n\n## Multiply 14/70 with 4/8\n\nThis multiplication involving fractions can also be rephrased as \"What is 14/70 of 4/8?\"\n\n14/70 × 4/8 is 1/10.\n\n#### Steps for multiplying fractions\n\n1. Simply multiply the numerators and denominators separately:\n2. 14/70 × 4/8 = 14 × 4/70 × 8 = 56/560\n3. After reducing the fraction, the answer is 1/10\n\nMathStep (Works offline)", null, "Download our mobile app and learn to work with fractions in your own time:\nAndroid and iPhone/ iPad\n\n#### Multiply Fractions Calculator\n\n×\n\n© everydaycalculation.com" ]
[ null, "https://answers.everydaycalculation.com/mathstep-app-icon.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.79912704,"math_prob":0.9498388,"size":410,"snap":"2021-21-2021-25","text_gpt3_token_len":157,"char_repetition_ratio":0.18965517,"word_repetition_ratio":0.0,"special_character_ratio":0.44390243,"punctuation_ratio":0.06382979,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9857381,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-20T00:46:27Z\",\"WARC-Record-ID\":\"<urn:uuid:873423ab-3111-43dd-bdc7-251229781481>\",\"Content-Length\":\"7234\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4173b298-4c47-45a7-8d86-fdd22376d258>\",\"WARC-Concurrent-To\":\"<urn:uuid:86257ad0-7196-41c1-b43e-4663972c4de3>\",\"WARC-IP-Address\":\"96.126.107.130\",\"WARC-Target-URI\":\"https://answers.everydaycalculation.com/multiply-fractions/14-70-times-4-8\",\"WARC-Payload-Digest\":\"sha1:DJH34O4K3PAIG626SR3KTSAK6SD27ITI\",\"WARC-Block-Digest\":\"sha1:YIP6KK5D6HIWEPZURDSL2PK2EMYKAXVV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623487653461.74_warc_CC-MAIN-20210619233720-20210620023720-00228.warc.gz\"}"}
https://runestone.academy/ns/books/published/fcla/section-SD.html
[ "## SectionSDSimilarity and Diagonalization\n\nThis section's topic will perhaps seem out of place at first, but we will make the connection soon with eigenvalues and eigenvectors. This is also our first look at one of the central ideas of Chapter R.\n\n### SubsectionSMSimilar Matrices\n\nThe notion of matrices being “similar” is a lot like saying two matrices are row-equivalent. Two similar matrices are not equal, but they share many important properties. This section, and later sections in Chapter R will be devoted in part to discovering just what these common properties are.\n\nFirst, the main definition for this section.\n\n#### DefinitionSIM.Similar Matrices.\n\nSuppose $$A$$ and $$B$$ are two square matrices of size $$n\\text{.}$$ Then $$A$$ and $$B$$ are similar if there exists a nonsingular matrix of size $$n\\text{,}$$ $$S\\text{,}$$ such that $$A=\\similar{B}{S}\\text{.}$$\n\nWe will say “$$A$$ is similar to $$B$$ via $$S$$” when we want to emphasize the role of $$S$$ in the relationship between $$A$$ and $$B\\text{.}$$ Also, it does not matter if we say $$A$$ is similar to $$B\\text{,}$$ or $$B$$ is similar to $$A\\text{.}$$ If one statement is true then so is the other, as can be seen by using $$\\inverse{S}$$ in place of $$S$$ (see Theorem SER for the careful proof). Finally, we will refer to $$\\similar{B}{S}$$ as a similarity transformation when we want to emphasize the way $$S$$ changes $$B\\text{.}$$ OK, enough about language, let us build a few examples.\n\nIf you wondered if there are examples of similar matrices, then it will not be hard to convince you they exist. Define\n\n\\begin{align*} B=\\begin{bmatrix} -4 & 1 & -3 & -2 & 2 \\\\ 1 & 2 & -1 & 3 & -2 \\\\ -4 & 1 & 3 & 2 & 2 \\\\ -3 & 4 & -2 & -1 & -3 \\\\ 3 & 1 & -1 & 1 & -4 \\end{bmatrix}&& S=\\begin{bmatrix} 1 & 2 & -1 & 1 & 1 \\\\ 0 & 1 & -1 & -2 & -1 \\\\ 1 & 3 & -1 & 1 & 1 \\\\ -2 & -3 & 3 & 1 & -2 \\\\ 1 & 3 & -1 & 2 & 1\\\\ \\end{bmatrix}\\text{.} \\end{align*}\n\nCheck that $$S$$ is nonsingular and then compute\n\n\\begin{align*} &A=\\similar{B}{S}\\\\ &= \\begin{bmatrix} 10 & 1 & 0 & 2 & -5 \\\\ -1 & 0 & 1 & 0 & 0 \\\\ 3 & 0 & 2 & 1 & -3 \\\\ 0 & 0 & -1 & 0 & 1 \\\\ -4 & -1 & 1 & -1 & 1 \\end{bmatrix} \\begin{bmatrix} -4 & 1 & -3 & -2 & 2 \\\\ 1 & 2 & -1 & 3 & -2 \\\\ -4 & 1 & 3 & 2 & 2 \\\\ -3 & 4 & -2 & -1 & -3 \\\\ 3 & 1 & -1 & 1 & -4 \\end{bmatrix} \\begin{bmatrix} 1 & 2 & -1 & 1 & 1 \\\\ 0 & 1 & -1 & -2 & -1 \\\\ 1 & 3 & -1 & 1 & 1 \\\\ -2 & -3 & 3 & 1 & -2 \\\\ 1 & 3 & -1 & 2 & 1 \\end{bmatrix}\\\\ &= \\begin{bmatrix} -10 & -27 & -29 & -80 & -25 \\\\ -2 & 6 & 6 & 10 & -2 \\\\ -3 & 11 & -9 & -14 & -9 \\\\ -1 & -13 & 0 & -10 & -1 \\\\ 11 & 35 & 6 & 49 & 19 \\end{bmatrix}\\text{.} \\end{align*}\n\nSo by this construction, we know that $$A$$ and $$B$$ are similar.\n\nLet us do that again.\n\nDefine\n\n\\begin{align*} B=\\begin{bmatrix} -13 & -8 & -4 \\\\ 12 & 7 & 4 \\\\ 24 & 16 & 7 \\end{bmatrix}&& S=\\begin{bmatrix} 1 & 1 & 2 \\\\ -2 & -1 & -3 \\\\ 1 & -2 & 0 \\end{bmatrix}\\text{.} \\end{align*}\n\nCheck that $$S$$ is nonsingular and then compute\n\n\\begin{align*} A&=\\similar{B}{S}\\\\ &= \\begin{bmatrix} -6 & -4 & -1 \\\\ -3 & -2 & -1 \\\\ 5 & 3 & 1 \\end{bmatrix} \\begin{bmatrix} -13 & -8 & -4 \\\\ 12 & 7 & 4 \\\\ 24 & 16 & 7 \\end{bmatrix} \\begin{bmatrix} 1 & 1 & 2 \\\\ -2 & -1 & -3 \\\\ 1 & -2 & 0 \\end{bmatrix}\\\\ &= \\begin{bmatrix} -1 & 0 & 0 \\\\ 0 & 3 & 0 \\\\ 0 & 0 & -1 \\end{bmatrix}\\text{.} \\end{align*}\n\nSo by this construction, we know that $$A$$ and $$B$$ are similar. But before we move on, look at how pleasing the form of $$A$$ is. Not convinced? Then consider that several computations related to $$A$$ are especially easy. For example, in the spirit of Example DUTM, $$\\detname{A}=(-1)(3)(-1)=3\\text{.}$$ Similarly, the characteristic polynomial is straightforward to compute by hand, $$\\charpoly{A}{x}=(-1-x)(3-x)(-1-x)=-(x-3)(x+1)^2$$ and since the result is already factored, the eigenvalues are transparently $$\\lambda=3,\\,-1\\text{.}$$ Finally, the eigenvectors of $$A$$ are just the standard unit vectors (Definition SUV).\n\n### SubsectionPSMProperties of Similar Matrices\n\nSimilar matrices share many properties and it is these theorems that justify the choice of the word “similar.” First we will show that similarity is an equivalence relation. Equivalence relations are important in the study of various algebras and can always be regarded as a kind of weak version of equality. Sort of alike, but not quite equal. The notion of two matrices being row-equivalent is an example of an equivalence relation we have been working with since the beginning of the course (see Exercise RREF.T11). Row-equivalent matrices are not equal, but they are a lot alike. For example, row-equivalent matrices have the same rank. Formally, an equivalence relation requires three conditions hold: reflexive, symmetric and transitive. We will illustrate these as we prove that similarity is an equivalence relation.\n\nTo see that $$A$$ is similar to $$A\\text{,}$$ we need only demonstrate a nonsingular matrix that effects a similarity transformation of $$A$$ to $$A\\text{.}$$ $$I_n$$ is nonsingular (since it row-reduces to the identity matrix, Theorem NMRRI), and\n\n\\begin{equation*} \\similar{A}{I_n}=I_nAI_n=A\\text{.} \\end{equation*}\n\nIf we assume that $$A$$ is similar to $$B\\text{,}$$ then we know there is a nonsingular matrix $$S$$ so that $$A=\\similar{B}{S}$$ by Definition SIM. By Theorem MIMI, $$\\inverse{S}$$ is invertible, and by Theorem NI is therefore nonsingular. So\n\n\\begin{align*} \\similar{A}{(\\inverse{S})}&=SA\\inverse{S}&& \\knowl{./knowl/theorem-MIMI.html}{\\text{Theorem MIMI}}\\\\ &=S\\similar{B}{S}\\inverse{S}&& \\knowl{./knowl/definition-SIM.html}{\\text{Definition SIM}}\\\\ &=\\left(S\\inverse{S}\\right)B\\left(S\\inverse{S}\\right)&& \\knowl{./knowl/theorem-MMA.html}{\\text{Theorem MMA}}\\\\ &=I_nBI_n&& \\knowl{./knowl/definition-MI.html}{\\text{Definition MI}}\\\\ &=B&& \\knowl{./knowl/theorem-MMIM.html}{\\text{Theorem MMIM}} \\end{align*}\n\nand we see that $$B$$ is similar to $$A\\text{.}$$\n\nAssume that $$A$$ is similar to $$B\\text{,}$$ and $$B$$ is similar to $$C\\text{.}$$ This gives us the existence of two nonsingular matrices, $$S$$ and $$R\\text{,}$$ such that $$A=\\similar{B}{S}$$ and $$B=\\similar{C}{R}\\text{,}$$ by Definition SIM. (Notice how we have to assume $$S\\neq R\\text{,}$$ as will usually be the case.) Since $$S$$ and $$R$$ are invertible, so too $$RS$$ is invertible by Theorem SS and then nonsingular by Theorem NI. Now\n\n\\begin{align*} \\similar{C}{(RS)}&=\\similar{\\similar{C}{R}}{S}&& \\knowl{./knowl/theorem-SS.html}{\\text{Theorem SS}}\\\\ &=\\similar{\\left(\\similar{C}{R}\\right)}{S}&& \\knowl{./knowl/theorem-MMA.html}{\\text{Theorem MMA}}\\\\ &=\\similar{B}{S}&& \\knowl{./knowl/definition-SIM.html}{\\text{Definition SIM}}\\\\ &=A \\end{align*}\n\nso $$A$$ is similar to $$C$$ via the nonsingular matrix $$RS\\text{.}$$\n\nHere is another theorem that tells us exactly what sorts of properties similar matrices share.\n\nLet $$n$$ denote the size of $$A$$ and $$B\\text{.}$$ Since $$A$$ and $$B$$ are similar, there exists a nonsingular matrix $$S\\text{,}$$ such that $$A=\\similar{B}{S}$$ (Definition SIM). Then\n\n\\begin{align*} \\charpoly{A}{x}&=\\detname{A-xI_n}&& \\knowl{./knowl/definition-CP.html}{\\text{Definition CP}}\\\\ &=\\detname{\\similar{B}{S}-xI_n}&& \\knowl{./knowl/definition-SIM.html}{\\text{Definition SIM}}\\\\ &=\\detname{\\similar{B}{S}-x\\similar{I_n}{S}}&& \\knowl{./knowl/theorem-MMIM.html}{\\text{Theorem MMIM}}\\\\ &=\\detname{\\similar{B}{S}-\\inverse{S}xI_nS}&& \\knowl{./knowl/theorem-MMSMM.html}{\\text{Theorem MMSMM}}\\\\ &=\\detname{\\similar{\\left(B-xI_n\\right)}{S}}&& \\knowl{./knowl/theorem-MMDAA.html}{\\text{Theorem MMDAA}}\\\\ &=\\detname{\\inverse{S}}\\detname{B-xI_n}\\detname{S}&& \\knowl{./knowl/theorem-DRMM.html}{\\text{Theorem DRMM}}\\\\ &=\\detname{\\inverse{S}}\\detname{S}\\detname{B-xI_n}&& \\knowl{./knowl/property-CMCN.html}{\\text{Property CMCN}}\\\\ &=\\detname{\\inverse{S}S}\\detname{B-xI_n}&& \\knowl{./knowl/theorem-DRMM.html}{\\text{Theorem DRMM}}\\\\ &=\\detname{I_n}\\detname{B-xI_n}&& \\knowl{./knowl/definition-MI.html}{\\text{Definition MI}}\\\\ &=1\\detname{B-xI_n}&& \\knowl{./knowl/definition-DM.html}{\\text{Definition DM}}\\\\ &=\\charpoly{B}{x}&& \\knowl{./knowl/definition-CP.html}{\\text{Definition CP}}\\text{.} \\end{align*}\n\nSo similar matrices not only have the same set of eigenvalues, the algebraic multiplicities of these eigenvalues will also be the same. However, be careful with this theorem. It is tempting to think the converse is true, and argue that if two matrices have the same eigenvalues, then they are similar. Not so, as the following example illustrates.\n\nDefine\n\n\\begin{align*} A&=\\begin{bmatrix}1&1\\\\0&1\\end{bmatrix} & B&=\\begin{bmatrix}1&0\\\\0&1\\end{bmatrix} \\end{align*}\n\nand check that\n\n\\begin{equation*} \\charpoly{A}{x}=\\charpoly{B}{x}=1-2x+x^2=(x-1)^2 \\end{equation*}\n\nand so $$A$$ and $$B$$ have equal characteristic polynomials. If the converse of Theorem SMEE were true, then $$A$$ and $$B$$ would be similar. Suppose this is the case. More precisely, suppose there is a nonsingular matrix $$S$$ so that $$A=\\similar{B}{S}\\text{.}$$\n\nThen\n\n\\begin{equation*} A=\\similar{B}{S}=\\similar{I_2}{S}=\\inverse{S}S=I_2\\text{.} \\end{equation*}\n\nClearly $$A\\neq I_2$$ and this contradiction tells us that the converse of Theorem SMEE is false.\n\n#### SageSM.Similar Matrices.\n\nIt is quite easy to determine if two matrices are similar, using the matrix method .is_similar(). However, computationally this can be a very difficult proposition, so support in Sage is incomplete now, though it will always return a result for matrices with rational entries. Here are examples where the two matrices are, and are not, similar. Notice that the keyword option transformation=Truewill cause a pair to be returned, such that if the matrices are indeed similar, the matrix effecting the similarity transformation will be in the second slot of the pair.\n\nA = matrix(QQ, [[ 25, 2, -8, -1, 11, 26, 35],\n[ 28, 2, -15, 2, 6, 34, 31],\n[ 1, -17, -25, 28, -44, 26, -23],\n[ 36, -2, -24, 10, -1, 50, 39],\n[ 0, -7, -13, 14, -21, 14, -11],\n[-22, -17, -16, 27, -51, 1, -53],\n[ -1, 10, 17, -18, 28, -18, 15]])\nB = matrix(QQ, [[-89, -16, -55, -23, -104, -48, -67],\n[-15, 1, -20, -21, -20, -60, -26],\n[ 48, 6, 37, 25, 59, 64, 46],\n[-96, -16, -49, -16, -114, -23, -67],\n[ 56, 10, 33, 13, 67, 29, 37],\n[ 10, 2, 2, -2, 12, -9, 4],\n[ 28, 6, 13, 1, 32, -4, 16]])\nis_sim, trans = A.is_similar(B, transformation=True)\nis_sim\n\n\nSince we knew in advance these two matrices are similar, we requested the transformation matrix, so the output is a pair. The similarity matrix is a bit of a mess, so we will use three Sage routines to clean up trans. We convert the entries to numerical approximations, clip very small values (less than $$10^{-5}$$) to zero and then round to three decimal places. You can experiment printing just transall by itself.\n\ntrans.change_ring(RDF).zero_at(10^-5).round(3)\n\n\nThe matrix Cis not similar to A(and hence not similar to Bby Theorem SER), so we illustrate the return value when we do not request the similarity matrix (since it does not even exist).\n\nC = matrix(QQ, [[ 16, -26, 19, -56, 26, 8, -49],\n[ 20, -43, 36, -102, 52, 23, -65],\n[-18, 29, -21, 62, -30, -9, 56],\n[-17, 31, -27, 73, -37, -16, 49],\n[ 18, -36, 30, -82, 43, 18, -54],\n[-32, 62, -56, 146, -77, -35, 88],\n[ 11, -19, 17, -44, 23, 10, -29]])\nC.is_similar(A)\n\n\n### SubsectionDDiagonalization\n\nGood things happen when a matrix is similar to a diagonal matrix. For example, the eigenvalues of the matrix are the entries on the diagonal of the diagonal matrix. And it can be a much simpler matter to compute high powers of the matrix. Diagonalizable matrices are also of interest in more abstract settings. Here are the relevant definitions, then our main theorem for this section.\n\n#### DefinitionDIM.Diagonal Matrix.\n\nSuppose that $$A$$ is a square matrix. Then $$A$$ is a diagonal matrix if $$\\matrixentry{A}{ij}=0$$ whenever $$i\\neq j\\text{.}$$\n\n#### DefinitionDZM.Diagonalizable Matrix.\n\nSuppose $$A$$ is a square matrix. Then $$A$$ is diagonalizable if $$A$$ is similar to a diagonal matrix.\n\nArchetype B has a $$3\\times 3$$ coefficient matrix\n\n\\begin{equation*} B=\\begin{bmatrix} -7&-6&-12\\\\ 5&5&7\\\\ 1&0&4 \\end{bmatrix} \\end{equation*}\n\nand is similar to a diagonal matrix, as can be seen by the following computation with the nonsingular matrix $$S\\text{,}$$\n\n\\begin{align*} \\similar{B}{S}&= \\inverse{\\begin{bmatrix}-5&-3&-2\\\\3&2&1\\\\1&1&1\\end{bmatrix}}\\begin{bmatrix} -7&-6&-12\\\\ 5&5&7\\\\ 1&0&4 \\end{bmatrix} \\begin{bmatrix}-5&-3&-2\\\\3&2&1\\\\1&1&1\\end{bmatrix}\\\\ &=\\begin{bmatrix}-1&-1&-1\\\\2&3&1\\\\-1&-2&1\\end{bmatrix} \\begin{bmatrix} -7&-6&-12\\\\ 5&5&7\\\\ 1&0&4 \\end{bmatrix} \\begin{bmatrix}-5&-3&-2\\\\3&2&1\\\\1&1&1\\end{bmatrix}\\\\ &= \\begin{bmatrix}-1&0&0\\\\0&1&0\\\\0&0&2\\end{bmatrix}\\text{.} \\end{align*}\n\nExample SMS3 provides yet another example of a matrix that is subjected to a similarity transformation and the result is a diagonal matrix. Alright, just how would we find the magic matrix $$S$$ that can be used in a similarity transformation to produce a diagonal matrix? Before you read the statement of the next theorem, you might study the eigenvalues and eigenvectors of Archetype B and compute the eigenvalues and eigenvectors of the matrix in Example SMS3.\n\n##### (⇐)\n\nLet $$S=\\set{\\vectorlist{x}{n}}$$ be a linearly independent set of eigenvectors of $$A$$ for the eigenvalues $$\\scalarlist{\\lambda}{n}\\text{.}$$ Recall Definition SUV and define\n\n\\begin{align*} R&=\\matrixcolumns{x}{n}\\\\ D&= \\begin{bmatrix} \\lambda_1 & 0 & 0 &\\cdots & 0\\\\ 0 &\\lambda_2 & 0 &\\cdots & 0\\\\ 0 & 0 &\\lambda_3 &\\cdots & 0\\\\ \\vdots & \\vdots & \\vdots & & \\vdots\\\\ 0 & 0 & 0 &\\cdots & \\lambda_n \\end{bmatrix} =[\\lambda_1\\vect{e}_1|\\lambda_2\\vect{e}_2|\\lambda_3\\vect{e}_3|\\ldots|\\lambda_n\\vect{e}_n]\\text{.} \\end{align*}\n\nThe columns of $$R$$ are the vectors of the linearly independent set $$S$$ and so by Theorem NMLIC the matrix $$R$$ is nonsingular. By Theorem NI we know $$\\inverse{R}$$ exists. We have\n\n\\begin{align*} \\inverse{R}AR&= \\inverse{R}A\\matrixcolumns{x}{n}\\\\ &=\\inverse{R}[A\\vect{x}_1|A\\vect{x}_2|A\\vect{x}_3|\\ldots|A\\vect{x}_n]&& \\knowl{./knowl/definition-MM.html}{\\text{Definition MM}}\\\\ &=\\inverse{R}[\\lambda_1\\vect{x}_1|\\lambda_2\\vect{x}_2|\\lambda_3\\vect{x}_3|\\ldots|\\lambda_n\\vect{x}_n]&& \\knowl{./knowl/definition-EEM.html}{\\text{Definition EEM}}\\\\ &=\\inverse{R}[\\lambda_1R\\vect{e}_1|\\lambda_2R\\vect{e}_2|\\lambda_3R\\vect{e}_3|\\ldots|\\lambda_nR\\vect{e}_n]&& \\knowl{./knowl/definition-MVP.html}{\\text{Definition MVP}}\\\\ &=\\inverse{R}[R(\\lambda_1\\vect{e}_1)|R(\\lambda_2\\vect{e}_2)|R(\\lambda_3\\vect{e}_3)|\\ldots|R(\\lambda_n\\vect{e}_n)]&& \\knowl{./knowl/theorem-MMSMM.html}{\\text{Theorem MMSMM}}\\\\ &=\\inverse{R}R[\\lambda_1\\vect{e}_1|\\lambda_2\\vect{e}_2|\\lambda_3\\vect{e}_3|\\ldots|\\lambda_n\\vect{e}_n]&& \\knowl{./knowl/definition-MM.html}{\\text{Definition MM}}\\\\ &=I_nD&& \\knowl{./knowl/definition-MI.html}{\\text{Definition MI}}\\\\ &=D&& \\knowl{./knowl/theorem-MMIM.html}{\\text{Theorem MMIM}}\\text{.} \\end{align*}\n\nThis says that $$A$$ is similar to the diagonal matrix $$D$$ via the nonsingular matrix $$R\\text{.}$$ Thus $$A$$ is diagonalizable (Definition DZM).\n\n##### (⇒)\n\nSuppose that $$A$$ is diagonalizable, so there is a nonsingular matrix of size $$n$$\n\n\\begin{align*} T&=\\matrixcolumns{y}{n}\\\\ \\end{align*}\n\nand a diagonal matrix (recall Definition SUV)\n\n\\begin{align*} E&=\\begin{bmatrix} d_1 & 0 & 0 &\\cdots & 0\\\\ 0 &d_2 & 0 &\\cdots & 0\\\\ 0 & 0 &d_3 &\\cdots & 0\\\\ \\vdots & \\vdots & \\vdots & & \\vdots\\\\ 0 & 0 & 0 &\\cdots & d_n \\end{bmatrix} =[d_1\\vect{e}_1|d_2\\vect{e}_2|d_3\\vect{e}_3|\\ldots|d_n\\vect{e}_n]&&\\text{} \\end{align*}\n\nsuch that $$\\inverse{T}AT=E\\text{.}$$\n\nThen consider,\n\n\\begin{align*} [A\\vect{y}_1|A\\vect{y}_2|A\\vect{y}_3&|\\ldots|A\\vect{y}_n]\\\\ &=A\\matrixcolumns{y}{n}&& \\knowl{./knowl/definition-MM.html}{\\text{Definition MM}}\\\\ &=AT\\\\ &=I_nAT&& \\knowl{./knowl/theorem-MMIM.html}{\\text{Theorem MMIM}}\\\\ &=T\\inverse{T}AT&& \\knowl{./knowl/definition-MI.html}{\\text{Definition MI}}\\\\ &=TE\\\\ &=T[d_1\\vect{e}_1|d_2\\vect{e}_2|d_3\\vect{e}_3|\\ldots|d_n\\vect{e}_n]\\\\ &=[T(d_1\\vect{e}_1)|T(d_2\\vect{e}_2)|T(d_3\\vect{e}_3)|\\ldots|T(d_n\\vect{e}_n)]&& \\knowl{./knowl/definition-MM.html}{\\text{Definition MM}}\\\\ &=[d_1T\\vect{e}_1|d_2T\\vect{e}_2|d_3T\\vect{e}_3|\\ldots|d_nT\\vect{e}_n]&& \\knowl{./knowl/definition-MM.html}{\\text{Definition MM}}\\\\ &=[d_1\\vect{y}_1|d_2\\vect{y}_2|d_3\\vect{y}_3|\\ldots|d_n\\vect{y}_n]&& \\knowl{./knowl/definition-MVP.html}{\\text{Definition MVP}}\\text{.} \\end{align*}\n\nThis equality of matrices (Definition ME) allows us to conclude that the individual columns are equal vectors (Definition CVE). That is, $$A\\vect{y}_i=d_i\\vect{y}_i$$ for $$1\\leq i\\leq n\\text{.}$$ In other words, $$\\vect{y}_i$$ is an eigenvector of $$A$$ for the eigenvalue $$d_i\\text{,}$$ $$1\\leq i\\leq n\\text{.}$$ (Why does $$\\vect{y}_i\\neq\\zerovector\\text{?}$$). Because $$T$$ is nonsingular, the set containing $$T$$'s columns, $$S=\\set{\\vectorlist{y}{n}}\\text{,}$$ is a linearly independent set (Theorem NMLIC). So the set $$S$$ has all the required properties.\n\nNotice that the proof of Theorem DC is constructive. To diagonalize a matrix, we need only locate $$n$$ linearly independent eigenvectors. Then we can construct a nonsingular matrix using the eigenvectors as columns ($$R$$) so that $$\\inverse{R}AR$$ is a diagonal matrix ($$D$$). The entries on the diagonal of $$D$$ will be the eigenvalues of the eigenvectors used to create $$R\\text{,}$$ in the same order as the eigenvectors appear in $$R\\text{.}$$ We illustrate this by diagonalizing some matrices.\n\nConsider the matrix\n\n\\begin{equation*} F= \\begin{bmatrix} -13 & -8 & -4\\\\ 12 & 7 & 4\\\\ 24 & 16 & 7 \\end{bmatrix} \\end{equation*}\n\nof Example CPMS3, Example EMS3 and Example ESMS3. $$F$$'s eigenvalues and eigenspaces are\n\n\\begin{align*} \\lambda&=3&\\eigenspace{F}{3}&=\\spn{\\set{\\colvector{-\\frac{1}{2}\\\\\\frac{1}{2}\\\\1}}}\\\\ \\lambda&=-1&\\eigenspace{F}{-1}&=\\spn{\\set{\\colvector{-\\frac{2}{3}\\\\1\\\\0},\\,\\colvector{-\\frac{1}{3}\\\\0\\\\1}}}\\text{.} \\end{align*}\n\nDefine the matrix $$S$$ to be the $$3\\times 3$$ matrix whose columns are the three basis vectors in the eigenspaces for $$F\\text{,}$$\n\n\\begin{equation*} S= \\begin{bmatrix} -\\frac{1}{2} & -\\frac{2}{3} & -\\frac{1}{3}\\\\ \\frac{1}{2} & 1 & 0\\\\ 1 & 0 & 1 \\end{bmatrix}\\text{.} \\end{equation*}\n\nCheck that $$S$$ is nonsingular (row-reduces to the identity matrix, Theorem NMRRI or has a nonzero determinant, Theorem SMZD). Then the three columns of $$S$$ are a linearly independent set (Theorem NMLIC). By Theorem DC we now know that $$F$$ is diagonalizable. Furthermore, the construction in the proof of Theorem DC tells us that if we apply the matrix $$S$$ to $$F$$ in a similarity transformation, the result will be a diagonal matrix with the eigenvalues of $$F$$ on the diagonal. The eigenvalues appear on the diagonal of the matrix in the same order as the eigenvectors appear in $$S\\text{.}$$ So,\n\n\\begin{align*} \\similar{F}{S}&= \\inverse{ \\begin{bmatrix} -\\frac{1}{2} & -\\frac{2}{3} & -\\frac{1}{3}\\\\ \\frac{1}{2} & 1 & 0\\\\ 1 & 0 & 1 \\end{bmatrix} } \\begin{bmatrix} -13 & -8 & -4\\\\ 12 & 7 & 4\\\\ 24 & 16 & 7 \\end{bmatrix} \\begin{bmatrix} -\\frac{1}{2} & -\\frac{2}{3} & -\\frac{1}{3}\\\\ \\frac{1}{2} & 1 & 0\\\\ 1 & 0 & 1 \\end{bmatrix}\\\\ &= \\begin{bmatrix} 6 & 4 & 2\\\\ -3 & -1 & -1\\\\ -6 & -4 & -1 \\end{bmatrix} \\begin{bmatrix} -13 & -8 & -4\\\\ 12 & 7 & 4\\\\ 24 & 16 & 7 \\end{bmatrix} \\begin{bmatrix} -\\frac{1}{2} & -\\frac{2}{3} & -\\frac{1}{3}\\\\ \\frac{1}{2} & 1 & 0\\\\ 1 & 0 & 1 \\end{bmatrix}\\\\ &= \\begin{bmatrix} 3 & 0 & 0\\\\ 0 & -1 & 0\\\\ 0 & 0 & -1 \\end{bmatrix}\\text{.} \\end{align*}\n\nNote that the above computations can be viewed two ways. The proof of Theorem DC tells us that the four matrices ($$F\\text{,}$$ $$S\\text{,}$$ $$\\inverse{F}$$ and the diagonal matrix) will interact the way we have written the equation. Or as an example, we can actually perform the computations to verify what the theorem predicts.\n\nThe dimension of an eigenspace can be no larger than the algebraic multiplicity of the eigenvalue by Theorem ME. When every eigenvalue's eigenspace is this large, then we can diagonalize the matrix, and only then. Three examples we have seen so far in this section, Example SMS5, Example DAB and Example DMS3, illustrate the diagonalization of a matrix, with varying degrees of detail about just how the diagonalization is achieved. However, in each case, you can verify that the geometric and algebraic multiplicities are equal for every eigenvalue. This is the substance of the next theorem.\n\nSuppose $$A$$ has size $$n$$ and $$k$$ distinct eigenvalues, $$\\scalarlist{\\lambda}{k}\\text{.}$$ Let $$S_i=\\set{\\vect{x}_{i1},\\,\\vect{x}_{i2},\\,\\vect{x}_{i3},\\,\\ldots,\\,\\vect{x}_{i\\geomult{A}{\\lambda_i}}}\\text{,}$$ denote a basis for the eigenspace of $$\\lambda_i\\text{,}$$ $$\\eigenspace{A}{\\lambda_i}\\text{,}$$ for $$1\\leq i\\leq k\\text{.}$$ Then\n\n\\begin{equation*} S=S_1\\cup S_2\\cup S_3\\cup\\cdots\\cup S_k \\end{equation*}\n\nis a set of eigenvectors for $$A\\text{.}$$ A vector cannot be an eigenvector for two different eigenvalues (see Exercise EE.T20) so $$S_i\\cap S_j=\\emptyset$$ whenever $$i\\neq j\\text{.}$$ In other words, $$S$$ is a disjoint union of $$S_i\\text{,}$$ $$1\\leq i\\leq k\\text{.}$$\n\n##### (⇐)\n\nThe size of $$S$$ is\n\n\\begin{align*} \\card{S} &=\\sum_{i=1}^k\\geomult{A}{\\lambda_i}&& S\\text{ disjoint union of }S_i\\\\ &=\\sum_{i=1}^k\\algmult{A}{\\lambda_i}&& \\text{Hypothesis}\\\\ &=n&& \\knowl{./knowl/theorem-NEM.html}{\\text{Theorem NEM}}\\text{.} \\end{align*}\n\nWe next show that $$S$$ is a linearly independent set. So we will begin with a relation of linear dependence on $$S\\text{,}$$ using doubly-subscripted scalars and eigenvectors,\n\nDefine the vectors $$\\vect{y}_i\\text{,}$$ $$1\\leq i\\leq k$$ by\n\nThen the relation of linear dependence becomes\n\n\\begin{align*} \\zerovector&=\\vect{y}_1+\\vect{y}_2+\\vect{y}_3+\\cdots+\\vect{y}_k\\text{.} \\end{align*}\n\nSince the eigenspace $$\\eigenspace{A}{\\lambda_i}$$ is closed under vector addition and scalar multiplication, $$\\vect{y}_i\\in\\eigenspace{A}{\\lambda_i}\\text{,}$$ $$1\\leq i\\leq k\\text{.}$$ Thus, for each $$i\\text{,}$$ the vector $$\\vect{y}_i$$ is an eigenvector of $$A$$ for $$\\lambda_i\\text{,}$$ or is the zero vector. Recall that sets of eigenvectors whose eigenvalues are distinct form a linearly independent set by Theorem EDELI. Should any (or some) $$\\vect{y}_i$$ be nonzero, the previous equation would provide a nontrivial relation of linear dependence on a set of eigenvectors with distinct eigenvalues, contradicting Theorem EDELI. Thus $$\\vect{y}_i=\\zerovector\\text{,}$$ $$1\\leq i\\leq k\\text{.}$$\n\nEach of the $$k$$ equations, $$\\vect{y}_i=\\zerovector\\text{,}$$ is a relation of linear dependence on the corresponding set $$S_i\\text{,}$$ a set of basis vectors for the eigenspace $$\\eigenspace{A}{\\lambda_i}\\text{,}$$ which is therefore linearly independent. From these relations of linear dependence on linearly independent sets we conclude that the scalars are all zero, more precisely, $$a_{ij}=0\\text{,}$$ $$1\\leq j\\leq\\geomult{A}{\\lambda_i}$$ for $$1\\leq i\\leq k\\text{.}$$ This establishes that our original relation of linear dependence on $$S$$ has only the trivial relation of linear dependence, and hence $$S$$ is a linearly independent set.\n\nWe have determined that $$S$$ is a set of $$n$$ linearly independent eigenvectors for $$A\\text{,}$$ and so by Theorem DC is diagonalizable.\n\n##### (⇒)\n\nNow we assume that $$A$$ is diagonalizable. Aiming for a contradiction (Proof Technique CD), suppose that there is at least one eigenvalue, say $$\\lambda_t\\text{,}$$ such that $$\\geomult{A}{\\lambda_t}\\neq\\algmult{A}{\\lambda_t}\\text{.}$$ By Theorem ME we must have $$\\geomult{A}{\\lambda_t}\\lt\\algmult{A}{\\lambda_t}\\text{,}$$ and $$\\geomult{A}{\\lambda_i}\\leq\\algmult{A}{\\lambda_i}$$ for $$1\\leq i\\leq k\\text{,}$$ $$i\\neq t\\text{.}$$\n\nSince $$A$$ is diagonalizable, Theorem DC guarantees a set of $$n$$ linearly independent vectors, all of which are eigenvectors of $$A\\text{.}$$ Let $$n_i$$ denote the number of eigenvectors in $$S$$ that are eigenvectors for $$\\lambda_i\\text{,}$$ and recall that a vector cannot be an eigenvector for two different eigenvalues (Exercise EE.T20). $$S$$ is a linearly independent set, so the subset $$S_i$$ containing the $$n_i$$ eigenvectors for $$\\lambda_i$$ must also be linearly independent. Because the eigenspace $$\\eigenspace{A}{\\lambda_i}$$ has dimension $$\\geomult{A}{\\lambda_i}$$ and $$S_i$$ is a linearly independent subset in $$\\eigenspace{A}{\\lambda_i}\\text{,}$$ Theorem G tells us that $$n_i\\leq\\geomult{A}{\\lambda_i}\\text{,}$$ for $$1\\leq i\\leq k\\text{.}$$\n\nPutting all these facts together gives,\n\n\\begin{align*} n &=n_1+n_2+n_3+\\cdots+n_t+\\cdots+n_k&& \\knowl{./knowl/definition-SU.html}{\\text{Definition SU}}\\\\ &\\leq\\geomult{A}{\\lambda_1}+\\geomult{A}{\\lambda_2}+\\geomult{A}{\\lambda_3}+\\cdots+\\geomult{A}{\\lambda_t}+\\cdots+\\geomult{A}{\\lambda_k}&& \\knowl{./knowl/theorem-G.html}{\\text{Theorem G}}\\\\ &\\lt \\algmult{A}{\\lambda_1}+\\algmult{A}{\\lambda_2}+\\algmult{A}{\\lambda_3}+\\cdots+\\algmult{A}{\\lambda_t}+\\cdots+\\algmult{A}{\\lambda_k}&& \\knowl{./knowl/theorem-ME.html}{\\text{Theorem ME}}\\\\ &=n&& \\knowl{./knowl/theorem-NEM.html}{\\text{Theorem NEM}}\\text{.} \\end{align*}\n\nThis is a contradiction (we cannot have $$n\\lt n\\text{!}$$) and so our assumption that some eigenspace had less than full dimension was false.\n\nExample SEE, Example CAEHW, Example ESMS3, Example ESMS4, Example DEMS5, Archetype B, Archetype F, Archetype K and Archetype L are all examples of matrices that are diagonalizable and that illustrate Theorem DMFE. While we have provided many examples of matrices that are diagonalizable, especially among the archetypes, there are many matrices that are not diagonalizable. Here is one now.\n\nIn Example EMMS4 the matrix\n\n\\begin{equation*} B= \\begin{bmatrix} -2 & 1 & -2 & -4\\\\ 12 & 1 & 4 & 9\\\\ 6 & 5 & -2 & -4\\\\ 3 & -4 & 5 & 10 \\end{bmatrix} \\end{equation*}\n\nwas determined to have characteristic polynomial\n\n\\begin{equation*} \\charpoly{B}{x}=(x-1)(x-2)^3 \\end{equation*}\n\nand an eigenspace for $$\\lambda=2$$ of\n\n\\begin{equation*} \\eigenspace{B}{2}=\\spn{\\set{\\colvector{-\\frac{1}{2}\\\\1\\\\-\\frac{1}{2}\\\\1}}}\\text{.} \\end{equation*}\n\nSo the geometric multiplicity of $$\\lambda=2$$ is $$\\geomult{B}{2}=1\\text{,}$$ while the algebraic multiplicity is $$\\algmult{B}{2}=3\\text{.}$$ By Theorem DMFE, the matrix $$B$$ is not diagonalizable.\n\nArchetype A is the lone archetype with a square matrix that is not diagonalizable, as the algebraic and geometric multiplicities of the eigenvalue $$\\lambda=0$$ differ. Example HMEM5 is another example of a matrix that cannot be diagonalized due to the difference between the geometric and algebraic multiplicities of $$\\lambda=2\\text{,}$$ as is Example CEMS6 which has two complex eigenvalues, each with differing multiplicities. Likewise, Example EMMS4 has an eigenvalue with different algebraic and geometric multiplicities and so cannot be diagonalized.\n\n#### SageMD.Matrix Diagonalization.\n\nThe third way to get eigenvectors is the matrix method .eigenmatrix_right()(and the analogous .eigenmatrix_left()). It always returns two square matrices of the same size as the original matrix. The first matrix of the output is a diagonal matrix with the eigenvalues of the matrix filling the diagonal entries of the matrix. The second matrix has eigenvectors in the columns, in the same order as the corresponding eigenvalues. For a single eigenvalue, these columns/eigenvectors form a linearly independent set.\n\nA careful reading of the previous paragraph suggests the question: what if we do not have enough eigenvectors to fill the columns of the second square matrix? When the geometric multiplicity does not equal the algebraic multiplicity, the deficit is met by inserting zero columns in the matrix of eigenvectors. Conversely, when the matrix is diagonalizable, by Theorem DMFE the geometric and algebraic multiplicities of each eigenvalue are equal, and the union of the bases of the eigenspaces provides a complete set of linearly independent vectors. So for a matrix $$A\\text{,}$$ Sage will output two matrices, $$D$$ and $$S$$ such that $$\\inverse{S}AS=D\\text{.}$$\n\nWe can rewrite the relation above as $$AS=SD\\text{.}$$ In the case of a non-diagonalizable matrix, the matrix of eigenvectors is singular (it has zero columns), but the relationship $$AS=SD$$ still holds. Here are examples of the two scenarios, along with demonstrations of the matrix method is_diagonalizable().\n\nA = matrix(QQ, [[ 2, -18, -68, 64, -99, -87, 83],\n[ 4, -10, -41, 34, -58, -57, 46],\n[ 4, 16, 59, -60, 86, 70, -72],\n[ 2, -15, -65, 57, -92, -81, 78],\n[-4, -7, -32, 31, -45, -31, 41],\n[ 2, -6, -22, 20, -32, -31, 26],\n[ 0, 7, 30, -27, 42, 37, -36]])\nD, S = A.eigenmatrix_right()\nD\n\nS\n\nS.inverse()*A*S == D\n\nA.is_diagonalizable()\n\n\nNow for a matrix that is far from diagonalizable.\n\nB = matrix(QQ, [[ 37, -13, 30, 81, -74, -13, 18],\n[ 6, 26, 21, -11, -46, -48, 19],\n[ 16, 10, 29, 16, -42, -39, 26],\n[-24, 8, -24, -53, 54, 13, -15],\n[ -8, 3, -8, -20, 24, 4, -5],\n[ 31, 12, 46, 48, -97, -56, 35],\n[ 8, 5, 16, 12, -34, -20, 11]])\nD, S = B.eigenmatrix_right()\nD\n\nS\n\nB*S == S*D\n\nB.is_diagonalizable()\n\n\nLet $$\\scalarlist{\\lambda}{n}$$ denote the $$n$$ distinct eigenvalues of $$A\\text{.}$$ Then by Theorem NEM we have $$n=\\sum_{i=1}^n\\algmult{A}{\\lambda_i}\\text{,}$$ which implies that $$\\algmult{A}{\\lambda_i}=1\\text{,}$$ $$1\\leq i\\leq n\\text{.}$$ From Theorem ME it follows that $$\\geomult{A}{\\lambda_i}=1\\text{,}$$ $$1\\leq i\\leq n\\text{.}$$ So $$\\geomult{A}{\\lambda_i}=\\algmult{A}{\\lambda_i}\\text{,}$$ $$1\\leq i\\leq n$$ and Theorem DMFE says $$A$$ is diagonalizable.\n\nIn Example DEMS5 the matrix\n\n\\begin{equation*} H= \\begin{bmatrix} 15 & 18 & -8 & 6 & -5\\\\ 5 & 3 & 1 & -1 & -3\\\\ 0 & -4 & 5 & -4 & -2\\\\ -43 & -46 & 17 & -14 & 15\\\\ 26 & 30 & -12 & 8 & -10 \\end{bmatrix} \\end{equation*}\n\nhas characteristic polynomial\n\n\\begin{equation*} \\charpoly{H}{x}=x(x-2)(x-1)(x+1)(x+3) \\end{equation*}\n\nand so is a $$5\\times 5$$ matrix with 5 distinct eigenvalues.\n\nBy Theorem DED we know $$H$$ must be diagonalizable. But just for practice, we exhibit a diagonalization. The matrix $$S$$ contains eigenvectors of $$H$$ as columns, one from each eigenspace, guaranteeing linear independent columns and thus the nonsingularity of $$S\\text{.}$$ Notice that we are using the versions of the eigenvectors from Example DEMS5 that have integer entries. The diagonal matrix has the eigenvalues of $$H$$ in the same order that their respective eigenvectors appear as the columns of $$S\\text{.}$$ With these matrices, verify computationally that $$\\similar{H}{S}=D\\text{.}$$\n\n\\begin{align*} S&= \\begin{bmatrix} 2 & 1 & -1 & 1 & 1\\\\ -1 & 0 & 2 & 0 & -1\\\\ -2 & 0 & 2 & -1 & -2\\\\ -4 & -1 & 0 & -2 & -1\\\\ 2 & 2 & 1 & 2 & 1 \\end{bmatrix} &D&= \\begin{bmatrix} -3 & 0 & 0 & 0 & 0\\\\ 0 & -1 & 0 & 0 & 0\\\\ 0 & 0 & 0 & 0 & 0\\\\ 0 & 0 & 0 & 1 & 0\\\\ 0 & 0 & 0 & 0 & 2 \\end{bmatrix}\\text{.} \\end{align*}\n\nNote that there are many different ways to diagonalize $$H\\text{.}$$ We could replace eigenvectors by nonzero scalar multiples, or we could rearrange the order of the eigenvectors as the columns of $$S$$ (which would subsequently reorder the eigenvalues along the diagonal of $$D$$).\n\nArchetype B is another example of a matrix that has as many distinct eigenvalues as its size, and is hence diagonalizable by Theorem DED.\n\nPowers of a diagonal matrix are easy to compute, and when a matrix is diagonalizable, it is almost as easy. We could state a theorem here perhaps, but we will settle instead for an example that makes the point just as well.\n\nSuppose that\n\n\\begin{equation*} A=\\begin{bmatrix} 19 & 0 & 6 & 13 \\\\ -33 & -1 & -9 & -21 \\\\ 21 & -4 & 12 & 21 \\\\ -36 & 2 & -14 & -28 \\end{bmatrix} \\end{equation*}\n\nand we wish to compute $$A^{20}\\text{.}$$ Normally this would require 19 matrix multiplications, but since $$A$$ is diagonalizable, we can simplify the computations substantially.\n\nFirst, we diagonalize $$A\\text{.}$$ With\n\n\\begin{equation*} S=\\begin{bmatrix} 1 & -1 & 2 & -1 \\\\ -2 & 3 & -3 & 3 \\\\ 1 & 1 & 3 & 3 \\\\ -2 & 1 & -4 & 0 \\end{bmatrix} \\end{equation*}\n\nwe find\n\n\\begin{align*} D&=\\similar{A}{S}\\\\ &= \\begin{bmatrix} -6 & 1 & -3 & -6 \\\\ 0 & 2 & -2 & -3 \\\\ 3 & 0 & 1 & 2 \\\\ -1 & -1 & 1 & 1 \\end{bmatrix} \\begin{bmatrix} 19 & 0 & 6 & 13 \\\\ -33 & -1 & -9 & -21 \\\\ 21 & -4 & 12 & 21 \\\\ -36 & 2 & -14 & -28 \\end{bmatrix} \\begin{bmatrix} 1 & -1 & 2 & -1 \\\\ -2 & 3 & -3 & 3 \\\\ 1 & 1 & 3 & 3 \\\\ -2 & 1 & -4 & 0 \\end{bmatrix}\\\\ &= \\begin{bmatrix} -1 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 2 & 0 \\\\ 0 & 0 & 0 & 1 \\end{bmatrix}\\text{.} \\end{align*}\n\nNow we find an alternate expression for $$A^{20}\\text{,}$$\n\n\\begin{align*} A^{20} &=AAA\\ldots A\\\\ &=I_nAI_nAI_nAI_n\\ldots I_nAI_n\\\\ &=\\left(S\\inverse{S}\\right)A\\left(S\\inverse{S}\\right)A\\left(S\\inverse{S}\\right)A\\left(S\\inverse{S}\\right)\\ldots \\left(S\\inverse{S}\\right)A\\left(S\\inverse{S}\\right)\\\\ &=S\\left(\\inverse{S}AS\\right)\\left(\\inverse{S}AS\\right)\\left(\\inverse{S}AS\\right)\\ldots \\left(\\inverse{S}AS\\right)\\inverse{S}\\\\ &=SDDD\\ldots D\\inverse{S}\\\\ &=SD^{20}\\inverse{S}\\\\ \\end{align*}\n\nand since $$D$$ is a diagonal matrix, powers are much easier to compute,\n\n\\begin{align*} &= S \\begin{bmatrix} -1 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 2 & 0 \\\\ 0 & 0 & 0 & 1 \\end{bmatrix}^{20} \\inverse{S}\\\\ &= S \\begin{bmatrix} (-1)^{20} & 0 & 0 & 0 \\\\ 0 & (0)^{20} & 0 & 0 \\\\ 0 & 0 & (2)^{20} & 0 \\\\ 0 & 0 & 0 & (1)^{20} \\end{bmatrix} \\inverse{S}\\\\ &= \\begin{bmatrix} 1 & -1 & 2 & -1 \\\\ -2 & 3 & -3 & 3 \\\\ 1 & 1 & 3 & 3 \\\\ -2 & 1 & -4 & 0 \\end{bmatrix} \\begin{bmatrix} 1 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 1048576 & 0 \\\\ 0 & 0 & 0 & 1 \\end{bmatrix} \\begin{bmatrix} -6 & 1 & -3 & -6 \\\\ 0 & 2 & -2 & -3 \\\\ 3 & 0 & 1 & 2 \\\\ -1 & -1 & 1 & 1 \\end{bmatrix}\\\\ &= \\begin{bmatrix} 6291451 & 2 & 2097148 & 4194297 \\\\ -9437175 & -5 & -3145719 & -6291441 \\\\ 9437175 & -2 & 3145728 & 6291453 \\\\ -12582900 & -2 & -4194298 & -8388596 \\end{bmatrix}\\text{.} \\end{align*}\n\nNotice how we effectively replaced the twentieth power of $$A$$ by the twentieth power of $$D\\text{,}$$ and how a high power of a diagonal matrix is just a collection of powers of scalars on the diagonal. The price we pay for this simplification is the need to diagonalize the matrix (by computing eigenvalues and eigenvectors) and finding the inverse of the matrix of eigenvectors. And we still need to do two matrix products. But the higher the power, the greater the savings.\n\n### SubsectionFSFibonacci Sequences\n\nThe Fibonacci sequence is a sequence of integers defined recursively by\n\n\\begin{align*} a_0&=0 & a_1&=1 & a_{n+1}&=a_n+a_{n-1},\\quad n\\geq 1\\text{.} \\end{align*}\n\nSo the initial portion of the sequence is $$0,\\,1,\\,1,\\,2,\\,3,\\,5,\\,8,\\,13,\\,21,\\,\\ldots\\text{.}$$ In this subsection we will illustrate an application of eigenvalues and diagonalization through the determination of a closed-form expression for an arbitrary term of this sequence.\n\nTo begin, verify that for any $$n\\geq 1$$ the recursive statement above establishes the truth of the statement\n\n\\begin{align*} \\colvector{a_n\\\\a_{n+1}} &= \\begin{bmatrix}0&1\\\\1&1\\end{bmatrix} \\colvector{a_{n-1}\\\\a_n}\\text{.} \\end{align*}\n\nLet $$A$$ denote this $$2\\times 2$$ matrix. Through repeated applications of the statement above we have\n\n\\begin{align*} \\colvector{a_n\\\\a_{n+1}} & =A\\colvector{a_{n-1}\\\\a_n} =A^2\\colvector{a_{n-2}\\\\a_{n-1}} =A^3\\colvector{a_{n-3}\\\\a_{n-2}} =\\cdots =A^n\\colvector{a_{0}\\\\a_{1}}\\text{.} \\end{align*}\n\nIn preparation for working with this high power of $$A\\text{,}$$ not unlike in Example HPDM, we will diagonalize $$A\\text{.}$$ The characteristic polynomial of $$A$$ is $$\\charpoly{A}{x}=x^2-x-1\\text{,}$$ with roots (the eigenvalues of $$A$$ by Theorem EMRCP)\n\n\\begin{align*} \\rho&=\\frac{1+\\sqrt{5}}{2} & \\delta&=\\frac{1-\\sqrt{5}}{2}\\text{.} \\end{align*}\n\nWith two distinct eigenvalues, Theorem DED implies that $$A$$ is diagonalizable. It will be easier to compute with these eigenvalues once you confirm the following properties (all but the last can be derived from the fact that $$\\rho$$ and $$\\delta$$ are roots of the characteristic polynomial, in a factored or unfactored form)\n\n\\begin{align*} \\rho+\\delta&=1 & \\rho\\delta&=-1 & 1+\\rho&=\\rho^2 & 1+\\delta&=\\delta^2 & \\rho-\\delta&=\\sqrt{5}\\text{.} \\end{align*}\n\nThen eigenvectors of $$A$$ (for $$\\rho$$ and $$\\delta\\text{,}$$ respectively) are\n\n\\begin{align*} &\\colvector{1\\\\\\rho} & &\\colvector{1\\\\\\delta} \\end{align*}\n\nwhich can be easily confirmed, as we demonstrate for the eigenvector for $$\\rho\\text{,}$$\n\n\\begin{align*} \\begin{bmatrix}0&1\\\\1&1\\end{bmatrix}\\colvector{1\\\\\\rho} & =\\colvector{\\rho\\\\1+\\rho} =\\colvector{\\rho\\\\\\rho^2} =\\rho\\colvector{1\\\\\\rho}\\text{.} \\end{align*}\n\nFrom the proof of Theorem DC we know $$A$$ can be diagonalized by a matrix $$S$$ with these eigenvectors as columns, giving $$D=\\inverse{S}AS\\text{.}$$ We list $$S\\text{,}$$ $$\\inverse{S}$$ and the diagonal matrix $$D\\text{,}$$\n\n\\begin{align*} S&=\\begin{bmatrix}1&1\\\\\\rho&\\delta\\end{bmatrix} & \\inverse{S}&=\\frac{1}{\\rho-\\delta}\\begin{bmatrix}-\\delta&1\\\\\\rho&-1\\end{bmatrix} & D&=\\begin{bmatrix}\\rho&0\\\\0&\\delta\\end{bmatrix}\\text{.} \\end{align*}\n\nOK, we have everything in place now. The main step in the following is to replace $$A$$ by $$SD\\inverse{S}\\text{.}$$ Here we go,\n\n\\begin{align*} \\colvector{a_n\\\\a_{n+1}} &=A^n\\colvector{a_{0}\\\\a_{1}}\\\\ &=\\left(SD\\inverse{S}\\right)^n\\colvector{a_{0}\\\\a_{1}}\\\\ &=SD\\inverse{S}SD\\inverse{S}SD\\inverse{S}\\cdots SD\\inverse{S}\\colvector{a_{0}\\\\a_{1}}\\\\ &=SDDD\\cdots D\\inverse{S}\\colvector{a_{0}\\\\a_{1}}\\\\ &=SD^n\\inverse{S}\\colvector{a_{0}\\\\a_{1}}\\\\ &= \\begin{bmatrix}1&1\\\\\\rho&\\delta\\end{bmatrix} \\begin{bmatrix}\\rho&0\\\\0&\\delta\\end{bmatrix}^n \\frac{1}{\\rho-\\delta}\\begin{bmatrix}-\\delta&1\\\\\\rho&-1\\end{bmatrix} \\colvector{a_{0}\\\\a_{1}}\\\\ &= \\frac{1}{\\rho-\\delta} \\begin{bmatrix}1&1\\\\\\rho&\\delta\\end{bmatrix} \\begin{bmatrix}\\rho^n&0\\\\0&\\delta^n\\end{bmatrix} \\begin{bmatrix}-\\delta&1\\\\\\rho&-1\\end{bmatrix} \\colvector{0\\\\1}\\\\ &= \\frac{1}{\\rho-\\delta} \\begin{bmatrix}1&1\\\\\\rho&\\delta\\end{bmatrix} \\begin{bmatrix}\\rho^n&0\\\\0&\\delta^n\\end{bmatrix} \\colvector{1\\\\-1}\\\\ &= \\frac{1}{\\rho-\\delta} \\begin{bmatrix}1&1\\\\\\rho&\\delta\\end{bmatrix} \\colvector{\\rho^n\\\\-\\delta^n}\\\\ &= \\frac{1}{\\rho-\\delta} \\colvector{\\rho^n-\\delta^n\\\\\\rho^{n+1}-\\delta^{n+1}}\\text{.} \\end{align*}\n\nPerforming the scalar multiplication and equating the first entries of the two vectors, we arrive at the closed form expression\n\n\\begin{align*} a_n&=\\frac{1}{\\rho-\\delta}\\left(\\rho^n-\\delta^n\\right)\\\\ &=\\frac{1}{\\sqrt{5}} \\left(\\left(\\frac{1+\\sqrt{5}}{2}\\right)^n-\\left(\\frac{1-\\sqrt{5}}{2}\\right)^n\\right)\\\\ &=\\frac{1}{2^n\\sqrt{5}} \\left(\\left(1+\\sqrt{5}\\right)^n-\\left(1-\\sqrt{5}\\right)^n\\right)\\text{.} \\end{align*}\n\nNotice that it does not matter whether we use the equality of the first or second entries of the vectors, we will arrive at the same formula, once in terms of $$n$$ and again in terms of $$n+1\\text{.}$$ Also, our definition clearly describes a sequence that will only contain integers, yet the presence of the irrational number $$\\sqrt{5}$$ might make us suspicious. But no, our expression for $$a^n$$ will always yield an integer!\n\nThe Fibonacci sequence, and generalizations of it, have been extensively studied (Fibonacci lived in the 12th and 13th centuries). There are many ways to derive the closed-form expression we just found, and our approach may not be the most efficient route. But it is a nice demonstration of how diagonalization can be used to solve a problem outside the field of linear algebra.\n\nWe close this section with a comment about an important upcoming theorem that we prove in Chapter R. A consequence of Theorem OD is that every Hermitian matrix (Definition HM) is diagonalizable (Definition DZM), and the similarity transformation that accomplishes the diagonalization uses a unitary matrix (Definition UM). This means that for every Hermitian matrix of size $$n$$ there is a basis of $$\\complex{n}$$ that is composed entirely of eigenvectors for the matrix and also forms an orthonormal set (Definition ONS). Notice that for matrices with only real entries, we only need the hypothesis that the matrix is symmetric (Definition SYM) to reach this conclusion (Example ESMS4). Can you imagine a prettier basis for use with a matrix? I cannot.\n\nThese results in Section OD explain much of our recurring interest in orthogonality, and make the section a high point in your study of linear algebra. A precise statement of this diagonalization result applies to a slightly broader class of matrices, known as “normal” matrices (Definition NRML), which are matrices that commute with their adjoints. With this expanded category of matrices, the result becomes an equivalence (Proof Technique E). See Theorem OD and Theorem OBNM in Section OD for all the details.\n\n#### 1.\n\nWhat is an equivalence relation?\n\n#### 2.\n\nState a condition that is equivalent to a matrix being diagonalizable, but is not the definition.\n\n#### 3.\n\nFind a diagonal matrix similar to\n\n\\begin{equation*} A=\\begin{bmatrix} -5 & 8\\\\-4 & 7 \\end{bmatrix}\\text{.} \\end{equation*}\n\n### ExercisesSDExercises\n\n#### C20.\n\nConsider the matrix $$A$$ below. First, show that $$A$$ is diagonalizable by computing the geometric multiplicities of the eigenvalues and quoting the relevant theorem. Second, find a diagonal matrix $$D$$ and a nonsingular matrix $$S$$ so that $$\\similar{A}{S}=D\\text{.}$$ (See Exercise EE.C20 for some of the necessary computations.)\n\n\\begin{equation*} A= \\begin{bmatrix} 18 & -15 & 33 & -15\\\\ -4 & 8 & -6 & 6\\\\ -9 & 9 & -16 & 9\\\\ 5 & -6 & 9 & -4 \\end{bmatrix} \\end{equation*}\nSolution.\n\nUsing a calculator, we find that $$A$$ has three distinct eigenvalues, $$\\lambda=3,\\,2,\\,-1\\text{,}$$ with $$\\lambda=2$$ having algebraic multiplicity two, $$\\algmult{A}{2}=2\\text{.}$$ The eigenvalues $$\\lambda=3,\\,-1$$ have algebraic multiplicity one, and so by Theorem ME we can conclude that their geometric multiplicities are one as well. Together with the computation of the geometric multiplicity of $$\\lambda=2$$ from Exercise EE.C20, we know\n\n\\begin{align*} \\geomult{A}{3}&=\\algmult{A}{3}=1& \\geomult{A}{2}&=\\algmult{A}{2}=2& \\geomult{A}{-1}&=\\algmult{A}{-1}=1\\text{.} \\end{align*}\n\nThis satisfies the hypotheses of Theorem DMFE, and so we can conclude that $$A$$ is diagonalizable.\n\nA calculator will give us four eigenvectors of $$A\\text{,}$$ the two for $$\\lambda=2$$ being linearly independent presumably. Or, by hand, we could find basis vectors for the three eigenspaces. For $$\\lambda=3,\\,-1$$ the eigenspaces have dimension one, and so any eigenvector for these eigenvalues will be multiples of the ones we use below. For $$\\lambda=2$$ there are many different bases for the eigenspace, so your answer could vary. Our eigenvectors are the basis vectors we would have obtained if we had actually constructed a basis in Exercise EE.C20 rather than just computing the dimension.\n\nBy the construction in the proof of Theorem DC, the required matrix $$S$$ has columns that are four linearly independent eigenvectors of $$A$$ and the diagonal matrix has the eigenvalues on the diagonal (in the same order as the eigenvectors in $$S$$). Here are the pieces, “doing” the diagonalization,\n\n\\begin{equation*} \\inverse{ \\begin{bmatrix} -1 & 0 & -3 & 6\\\\ -2 & -1 & -1 & 0\\\\ 0 & 0 & 1 & -3\\\\ 1 & 1 & 0 & 1 \\end{bmatrix} } \\begin{bmatrix} 18 & -15 & 33 & -15\\\\ -4 & 8 & -6 & 6\\\\ -9 & 9 & -16 & 9\\\\ 5 & -6 & 9 & -4 \\end{bmatrix} \\begin{bmatrix} -1 & 0 & -3 & 6\\\\ -2 & -1 & -1 & 0\\\\ 0 & 0 & 1 & -3\\\\ 1 & 1 & 0 & 1 \\end{bmatrix} = \\begin{bmatrix} 3 & 0 & 0 & 0\\\\ 0 & 2 & 0 & 0\\\\ 0 & 0 & 2 & 0\\\\ 0 & 0 & 0 & -1 \\end{bmatrix}\\text{.} \\end{equation*}\n\n#### C21.\n\nDetermine if the matrix $$A$$ below is diagonalizable. If the matrix is diagonalizable, then find a diagonal matrix $$D$$ that is similar to $$A\\text{,}$$ and provide the invertible matrix $$S$$ that performs the similarity transformation. You should use your calculator to find the eigenvalues of the matrix, but try only using the row-reducing function of your calculator to assist with finding eigenvectors.\n\n\\begin{equation*} A= \\begin{bmatrix} 1 & 9 & 9 & 24 \\\\ -3 & -27 & -29 & -68 \\\\ 1 & 11 & 13 & 26 \\\\ 1 & 7 & 7 & 18 \\end{bmatrix} \\end{equation*}\nSolution.\n\nA calculator will provide the eigenvalues $$\\lambda=2,\\,2,\\,1,\\,0\\text{,}$$ so we can reconstruct the characteristic polynomial as\n\n\\begin{equation*} \\charpoly{A}{x}=(x-2)^2(x-1)x \\end{equation*}\n\nso the algebraic multiplicities of the eigenvalues are\n\n\\begin{align*} \\algmult{A}{2}&=2& \\algmult{A}{1}&=1& \\algmult{A}{0}&=1\\text{.} \\end{align*}\n\nNow compute eigenspaces by hand, obtaining null spaces for each of the three eigenvalues by constructing the correct singular matrix (Theorem EMNS),\n\n\\begin{align*} A-2I_4&= \\begin{bmatrix} -1 & 9 & 9 & 24 \\\\ -3 & -29 & -29 & -68 \\\\ 1 & 11 & 11 & 26 \\\\ 1 & 7 & 7 & 16 \\end{bmatrix} \\rref \\begin{bmatrix} 1 & 0 & 0 & -\\frac{3}{2} \\\\ 0 & 1 & 1 & \\frac{5}{2} \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\end{bmatrix}\\\\ \\eigenspace{A}{2}&=\\nsp{A-2I_4} =\\spn{\\set{\\colvector{\\frac{3}{2}\\\\-\\frac{5}{2}\\\\0\\\\1},\\,\\colvector{0\\\\-1\\\\1\\\\0}}} =\\spn{\\set{\\colvector{3\\\\-5\\\\0\\\\2},\\,\\colvector{0\\\\-1\\\\1\\\\0}}}\\\\ A-1I_4&= \\begin{bmatrix} 0 & 9 & 9 & 24 \\\\ -3 & -28 & -29 & -68 \\\\ 1 & 11 & 12 & 26 \\\\ 1 & 7 & 7 & 17 \\end{bmatrix} \\rref \\begin{bmatrix} 1 & 0 & 0 & -\\frac{5}{3} \\\\ 0 & 1 & 0 & \\frac{13}{3} \\\\ 0 & 0 & 1 & -\\frac{5}{3} \\\\ 0 & 0 & 0 & 0 \\end{bmatrix}\\\\ \\eigenspace{A}{1}&=\\nsp{A-I_4} =\\spn{\\set{\\colvector{\\frac{5}{3}\\\\-\\frac{13}{3}\\\\\\frac{5}{3}\\\\1}}} =\\spn{\\set{\\colvector{5\\\\-13\\\\5\\\\3}}}\\\\ A-0I_4&= \\begin{bmatrix} 1 & 9 & 9 & 24 \\\\ -3 & -27 & -29 & -68 \\\\ 1 & 11 & 13 & 26 \\\\ 1 & 7 & 7 & 18 \\end{bmatrix} \\rref \\begin{bmatrix} 1 & 0 & 0 & -3 \\\\ 0 & 1 & 0 & 5 \\\\ 0 & 0 & 1 & -2 \\\\ 0 & 0 & 0 & 0 \\end{bmatrix}\\\\ \\eigenspace{A}{0}&=\\nsp{A}=\\spn{\\set{\\colvector{3\\\\-5\\\\2\\\\1}}}\\text{.} \\end{align*}\n\nFrom this we can compute the dimensions of the eigenspaces to obtain the geometric multiplicities,\n\n\\begin{align*} \\geomult{A}{2}&=2& \\geomult{A}{1}&=1& \\geomult{A}{0}&=1\\text{.} \\end{align*}\n\nFor each eigenvalue, the algebraic and geometric multiplicities are equal and so by Theorem DMFE we now know that $$A$$ is diagonalizable. The construction in Theorem DC suggests we form a matrix whose columns are eigenvectors of $$A$$\n\n\\begin{equation*} S= \\begin{bmatrix} 3 & 0 & 5 & 3 \\\\ -5 & -1 & -13 & -5 \\\\ 0 & 1 & 5 & 2 \\\\ 2 & 0 & 3 & 1 \\end{bmatrix}\\text{.} \\end{equation*}\n\nSince $$\\detname{S}=-1\\neq 0\\text{,}$$ we know that $$S$$ is nonsingular (Theorem SMZD), so the columns of $$S$$ are a set of 4 linearly independent eigenvectors of $$A\\text{.}$$ By the proof of Theorem SMZD we know\n\n\\begin{equation*} \\similar{A}{S}= \\begin{bmatrix} 2 & 0 & 0 & 0 \\\\ 0 & 2 & 0 & 0 \\\\ 0 & 0 & 1 & 0 \\\\ 0 & 0 & 0 & 0 \\end{bmatrix} \\end{equation*}\n\nis a diagonal matrix with the eigenvalues of $$A$$ along the diagonal, in the same order as the associated eigenvectors appear as columns of $$S\\text{.}$$\n\n#### C22.\n\nConsider the matrix $$A$$ below. Find the eigenvalues of $$A$$ using a calculator and use these to construct the characteristic polynomial of $$A\\text{,}$$ $$\\charpoly{A}{x}\\text{.}$$ State the algebraic multiplicity of each eigenvalue. Find all of the eigenspaces for $$A$$ by computing expressions for null spaces, only using your calculator to row-reduce matrices. State the geometric multiplicity of each eigenvalue. Is $$A$$ diagonalizable? If not, explain why. If so, find a diagonal matrix $$D$$ that is similar to $$A\\text{.}$$\n\n\\begin{equation*} A= \\begin{bmatrix} 19 & 25 & 30 & 5 \\\\ -23 & -30 & -35 & -5 \\\\ 7 & 9 & 10 & 1 \\\\ -3 & -4 & -5 & -1 \\end{bmatrix} \\end{equation*}\nSolution.\n\nA calculator will report $$\\lambda=0$$ as an eigenvalue of algebraic multiplicity of 2, and $$\\lambda=-1$$ as an eigenvalue of algebraic multiplicity 2 as well. Since eigenvalues are roots of the characteristic polynomial (Theorem EMRCP) we have the factored version\n\n\\begin{equation*} \\charpoly{A}{x}=(x-0)^2(x-(-1))^2=x^2(x^2+2x+1)=x^4+2x^3+x^2\\text{.} \\end{equation*}\n\nThe eigenspaces are then\n\n\\begin{align*} \\lambda&=0\\\\ A-(0)I_4&= \\begin{bmatrix} 19 & 25 & 30 & 5 \\\\ -23 & -30 & -35 & -5 \\\\ 7 & 9 & 10 & 1 \\\\ -3 & -4 & -5 & -1 \\end{bmatrix} \\rref \\begin{bmatrix} \\leading{1} & 0 & -5 & -5 \\\\ 0 & \\leading{1} & 5 & 4 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\end{bmatrix}\\\\ \\eigenspace{A}{0}&=\\nsp{C-(0)I_4}= \\spn{\\set{\\colvector{5\\\\-5\\\\1\\\\0},\\,\\colvector{5\\\\-4\\\\0\\\\1}}}\\\\ \\lambda&=-1\\\\ A-(-1)I_4&= \\begin{bmatrix} 20 & 25 & 30 & 5 \\\\ -23 & -29 & -35 & -5 \\\\ 7 & 9 & 11 & 1 \\\\ -3 & -4 & -5 & 0 \\end{bmatrix} \\rref \\begin{bmatrix} \\leading{1} & 0 & -1 & 4 \\\\ 0 & \\leading{1} & 2 & -3 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\end{bmatrix}\\\\ \\eigenspace{A}{-1}&=\\nsp{C-(-1)I_4}= \\spn{\\set{\\colvector{1\\\\-2\\\\1\\\\0},\\,\\colvector{-4\\\\3\\\\0\\\\1}}}\\text{.} \\end{align*}\n\nEach eigenspace above is described by a spanning set obtained through an application of Theorem BNS and so is a basis for the eigenspace. In each case the dimension, and therefore the geometric multiplicity, is 2.\n\nFor each of the two eigenvalues, the algebraic and geometric multiplicities are equal. Theorem DMFE says that in this situation the matrix is diagonalizable. We know from Theorem DC that when we diagonalize $$A$$ the diagonal matrix will have the eigenvalues of $$A$$ on the diagonal (in some order). So we can claim that\n\n\\begin{equation*} D= \\begin{bmatrix} 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & -1 & 0 \\\\ 0 & 0 & 0 & -1 \\end{bmatrix}\\text{.} \\end{equation*}\n\n#### T15.\n\nSuppose that $$A$$ and $$B$$ are similar matrices of size $$n\\text{.}$$ Prove that $$A^3$$ and $$B^3$$ are similar matrices. Generalize.\n\nSolution.\n\nBy Definition SIM we know that there is a nonsingular matrix $$S$$ so that $$A=\\similar{B}{S}\\text{.}$$ Then\n\n\\begin{align*} A^3&=(\\similar{B}{S})^3\\\\ &=(\\similar{B}{S})(\\similar{B}{S})(\\similar{B}{S})\\\\ &=\\inverse{S}B(S\\inverse{S})B(S\\inverse{S})BS&& \\knowl{./knowl/theorem-MMA.html}{\\text{Theorem MMA}}\\\\ &=\\inverse{S}B(I_n)B(I_n)BS&& \\knowl{./knowl/definition-MI.html}{\\text{Definition MI}}\\\\ &=\\inverse{S}BBBS&& \\knowl{./knowl/theorem-MMIM.html}{\\text{Theorem MMIM}}\\\\ &=\\inverse{S}B^3S\\text{.} \\end{align*}\n\nThis equation says that $$A^3$$ is similar to $$B^3$$ (via the matrix $$S$$).\n\nMore generally, if $$A$$ is similar to $$B\\text{,}$$ and $$m$$ is a non-negative integer, then $$A^m$$ is similar to $$B^m\\text{.}$$ This can be proved using induction (Proof Technique I).\n\n#### T16.\n\nSuppose that $$A$$ and $$B$$ are similar matrices, with $$A$$ nonsingular. Prove that $$B$$ is nonsingular, and that $$\\inverse{A}$$ is similar to $$\\inverse{B}\\text{.}$$\n\nSolution.\n\n$$A$$ being similar to $$B$$ means that there exists an $$S$$ such that $$A=\\inverse{S}BS\\text{.}$$ So, $$B=SA\\inverse{S}$$ and because $$S\\text{,}$$ $$A\\text{,}$$ and $$\\inverse{S}$$ are nonsingular, by Theorem NPNT, $$B$$ is nonsingular.\n\n\\begin{align*} \\inverse{A} &= \\inverse{\\left(\\inverse{S}BS\\right)}&& \\knowl{./knowl/definition-SIM.html}{\\text{Definition SIM}}\\\\ &= \\inverse{S}\\inverse{B}\\inverse{\\left(\\inverse{S}\\right)}&& \\knowl{./knowl/theorem-SS.html}{\\text{Theorem SS}}\\\\ &= \\inverse{S}\\inverse{B}S&& \\knowl{./knowl/theorem-MIMI.html}{\\text{Theorem MIMI}}\\text{.} \\end{align*}\n\nThen by Definition SIM, $$\\inverse{A}$$ is similar to $$\\inverse{B}\\text{.}$$\n\n#### T17.\n\nSuppose that $$B$$ is a nonsingular matrix. Prove that $$AB$$ is similar to $$BA\\text{.}$$\n\nSolution.\n\nThe nonsingular (invertible) matrix $$B$$ will provide the desired similarity transformation,\n\n\\begin{align*} \\inverse{B}\\left(BA\\right)B &=\\left(\\inverse{B}B\\right)\\left(AB\\right)&& \\knowl{./knowl/theorem-MMA.html}{\\text{Theorem MMA}}\\\\ &=I_nAB&& \\knowl{./knowl/definition-MI.html}{\\text{Definition MI}}\\\\ &=AB&& \\knowl{./knowl/theorem-MMIM.html}{\\text{Theorem MMIM}}\\text{.} \\end{align*}" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8641342,"math_prob":0.9999801,"size":33634,"snap":"2023-14-2023-23","text_gpt3_token_len":9142,"char_repetition_ratio":0.20758252,"word_repetition_ratio":0.069671325,"special_character_ratio":0.2724029,"punctuation_ratio":0.10321213,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9999547,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-01T09:59:07Z\",\"WARC-Record-ID\":\"<urn:uuid:ed274529-8b9a-4f04-8719-540426541a3b>\",\"Content-Length\":\"135269\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6a6bf255-0c01-4405-9cb3-ce9f7f293b1d>\",\"WARC-Concurrent-To\":\"<urn:uuid:ce7b1604-a6ef-4daf-ab3a-e92d4ddb0c3e>\",\"WARC-IP-Address\":\"134.122.31.165\",\"WARC-Target-URI\":\"https://runestone.academy/ns/books/published/fcla/section-SD.html\",\"WARC-Payload-Digest\":\"sha1:IVL6HLGOO3NUE322HDEA36QELKGVATMU\",\"WARC-Block-Digest\":\"sha1:XTZBBSWWKFIFCPFBZPWG2WLZBNU2ME7W\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224647639.37_warc_CC-MAIN-20230601074606-20230601104606-00029.warc.gz\"}"}
https://www.education.com/resources/kindergarten/writing-numbers-0-10/
[ "# Search Our Content Library\n\n429 filtered results\n429 filtered results\nKindergarten\nWriting Numbers 0-10\nSort by\nWorksheet\nKids practice adding single-digit numbers and writing the sums on this circus-themed kindergarten math worksheet.\nKindergarten\nMath\nWorksheet\nPractice Counting Numbers\nWorksheet\nPractice Counting Numbers\nJoin counting and primary colors with this worksheet on counting numbers up to 30.\nKindergarten\nMath\nWorksheet\nBrainzy's Super Fun Activity Book\nWorkbook\nBrainzy's Super Fun Activity Book\nMeet the characters from Education.com's Brainzy games. They're ready to help kids with reading and math fluency.\nKindergarten\nMath\nWorkbook\nWorksheet\nChildren practice simple addition in this holiday-themed worksheet.\nKindergarten\nMath\nWorksheet\nWorksheet\nAdding up to 10 is as easy as counting balloons thanks to this worksheet!\nKindergarten\nMath\nWorksheet\nWorkbook\nMath is a jungle sometimes! Cut, paste, and count your way through in this workbook where it all adds up.\nKindergarten\nMath\nWorkbook\nNumber Line Subtraction\nWorksheet\nNumber Line Subtraction\nPut those counting skills to the test! Use the number line to help your child understand the basics of subtraction. She'll practice subtracting one.\nKindergarten\nMath\nWorksheet\nWorksheet\nThis worksheet will ensure that your kid gets plenty of practice adding with a number line.\nKindergarten\nMath\nWorksheet\nHop to the Missing Numbers\nWorksheet\nHop to the Missing Numbers\nChallenge your kid to fill in the missing numbers from 1 to 50. This is an essential skill for understanding numbers beyond just counting them from memory.\nKindergarten\nMath\nWorksheet\nKindergarten Math Essentials\nWorkbook\nKindergarten Math Essentials\nThis workbook covers familiar kindergarten math topics from counting to easy addition problems.\nKindergarten\nMath\nWorkbook\nOuter Space Math\nWorksheet\nOuter Space Math\nGet little ones excited about math with some stellar subtraction practice!\nKindergarten\nMath\nWorksheet\nLearn the Coins: The Penny\nWorksheet\nLearn the Coins: The Penny\nOn this penny printable, kids practice tracing letters, counting coins, and they even get to do some fun coloring, too.\nKindergarten\nMath\nWorksheet\nWorkbook\nCounting can be a tricky concept to master, so give your child a head start with this numbers workbook, chock-full of tracing and connect-the-dots counting activities.\nKindergarten\nMath\nWorkbook\nWorksheet\nAdding numbers within 20 is as easy as counting balloons with this colorful and simple worksheet.\nKindergarten\nMath\nWorksheet\nTracing Numbers & Counting: 1\nWorksheet\nTracing Numbers & Counting: 1\nOn this kindergarten math worksheet, kids trace the number 1, then write their own. Then they count the rabbits they see in the picture and make a graph.\nKindergarten\nMath\nWorksheet\nWorksheet\nKids practice adding single-digit numbers and writing the sums on this ocean-themed kindergarten math worksheet.\nKindergarten\nMath\nWorksheet\nSummer Sports Fun\nWorkbook\nSummer Sports Fun\nBoost summer learning with a mix of sports-themed pages, from coloring to Sudoku. Kids will be inspired to stay active this summer, plus they can sneak in some math, logic and fine motor practice too!\nKindergarten\nMath\nWorkbook\nToy Time Counting\nWorksheet\nToy Time Counting\nPractice counting and writing numbers with this simple worksheet, which challenges your child to look at each group of toys and count how many.\nKindergarten\nMath\nWorksheet\nKindergarten Fall Review Packet - Week 3\nWorkbook\nKindergarten Fall Review Packet - Week 3\nWeek 3 of our Kindergarten Fall Review Packet offers five more days of learning activities for new kindergarteners in the subject areas of reading, writing, and math.\nKindergarten\nScience\nWorkbook\nDot-to-Dot Alphabet: A\nWorksheet\nDot-to-Dot Alphabet: A\nCount 1-2-3 to learn A-B-C with this fun dot-to-dot for the letter A.\nKindergarten\nWorksheet\nSubtraction for Kids\nWorksheet\nSubtraction for Kids\nReady, set... go! Start off subtraction with some picture equations, perfect for helping your child understand a new math concept.\nKindergarten\nMath\nWorksheet\nWorksheet\nHow many zebras do you see? What about tigers? Practice your math skills with animals. Count and add up the drawings to practice addition.\nKindergarten\nMath\nWorksheet\nKindergarten Fall Review Packet - Week 4\nWorkbook\nKindergarten Fall Review Packet - Week 4\nIn this final installment of our Kindergarten Fall Review Packet, learners are provided five more days of engaging activities in math, literacy, and other fun topics.\nKindergarten\nScience\nWorkbook\nCounting Practice Worksheet\nWorksheet\nCounting Practice Worksheet\nThrow counting practive into reverse with this counting-backwards worksheet.\nKindergarten\nMath\nWorksheet" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.75434077,"math_prob":0.45603263,"size":7876,"snap":"2021-31-2021-39","text_gpt3_token_len":1894,"char_repetition_ratio":0.22802338,"word_repetition_ratio":0.15566836,"special_character_ratio":0.1829609,"punctuation_ratio":0.060653187,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95721704,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-08-04T05:17:53Z\",\"WARC-Record-ID\":\"<urn:uuid:a05d5bda-bdae-4ee5-bb56-ff66bcf21b3e>\",\"Content-Length\":\"151312\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6548f2ae-24ea-47eb-a733-3552721a1025>\",\"WARC-Concurrent-To\":\"<urn:uuid:e2968d24-b831-4ba5-a059-34e6ac01e0f6>\",\"WARC-IP-Address\":\"199.232.65.185\",\"WARC-Target-URI\":\"https://www.education.com/resources/kindergarten/writing-numbers-0-10/\",\"WARC-Payload-Digest\":\"sha1:VZLG3XQRAYCLV4TC3OXXHKT5GDTTBIZO\",\"WARC-Block-Digest\":\"sha1:U2FKT6HUTNORVB3HJRO5575AZWWLQXCW\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046154796.71_warc_CC-MAIN-20210804045226-20210804075226-00059.warc.gz\"}"}
https://sikademy.com/answer/computer-science/discrete-mathematics/survey-on-subjects-being-taken-by-250-college-students-i-i601/
[ "is below this banner.\n\nCan't find a solution anywhere?\n\nNEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?\n\nYou will get a detailed answer to your question or assignment in the shortest time possible.\n\n## Here's the Solution to this Question", null, "$N(M\\cup F\\cup E)=N(M)+N(F)+N(E)$\n\n$-N(M\\cap F)-N(M\\cap E)-N(F\\cap E)$\n\n$+N(M\\cap F\\cap E)=145+90+88$\n\n$-25-38-59+15=216$\n\na)\n\n$N(not\\ any)=N(U)-N(M\\cup F\\cup E)$\n\n$=250-216=34$\n\nb)\n\n$N(only\\ one)=N(only\\ M)$\n\n$+N(only\\ F)+N(only\\ E)$\n\n$N(only\\ M)=N(M)-N(M\\cap F)-N(M\\cap E)$\n\n$+N(M\\cap F\\cap E)=145-25-59+15=76$\n\n$N(only\\ F)=N(F)-N(M\\cap F)-N(F\\cap E)$\n\n$+N(M\\cap F\\cap E)=90-25-38+15=42$\n\n$N(only\\ E)=N(E)-N(M\\cap E)-N(F\\cap E)$\n\n$+N(M\\cap F\\cap E)=88-38-59+15=6$\n\n$N(only\\ one)=76+42+6=124$\n\nc)\n\n$N((M\\cap F)-E)=N(M\\cap F)-N(M\\cap F\\cap E)$\n\n$=25-15=10$\n\nd)\n\n$N((F\\cap E)-M)=N(F\\cap E)-N(M\\cap F\\cap E)$\n\n$=38-15=23$" ]
[ null, "https://www.assignmentexpert.com/image", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.86541635,"math_prob":0.9999683,"size":14713,"snap":"2022-27-2022-33","text_gpt3_token_len":4852,"char_repetition_ratio":0.12835678,"word_repetition_ratio":0.24625044,"special_character_ratio":0.32651398,"punctuation_ratio":0.106710024,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000094,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-06T10:45:12Z\",\"WARC-Record-ID\":\"<urn:uuid:2a25b69f-22bf-4db5-ac67-c4fc5642aabb>\",\"Content-Length\":\"164105\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cce377da-95a1-4053-a262-4388f1797eaa>\",\"WARC-Concurrent-To\":\"<urn:uuid:a5c43386-73af-4e9d-a401-2de34a5b7c2c>\",\"WARC-IP-Address\":\"172.67.147.141\",\"WARC-Target-URI\":\"https://sikademy.com/answer/computer-science/discrete-mathematics/survey-on-subjects-being-taken-by-250-college-students-i-i601/\",\"WARC-Payload-Digest\":\"sha1:CVWDHGXZDBVVCXOPVLB6NYVFELZJTXXI\",\"WARC-Block-Digest\":\"sha1:YIGOXLJEKVUMC5ES6DL6R5YTK6YGZWRB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104669950.91_warc_CC-MAIN-20220706090857-20220706120857-00387.warc.gz\"}"}
http://methods.sagepub.com/Reference/encyc-of-research-design/n483.xml
[ "# Unbiased Estimator\n\nEncyclopedia\nEdited by: Published: 2010\n\n• ## Subject Index\n\nOne of the important objectives of scientific studies is to estimate quantities of interest from a population of subjects. These quantities are called parameters, and the actual nature of the parameter varies from population to population and from study to study. For example, in a study designed to estimate the proportion of U.S. citizens who approve the President's economic stimulus plan, the parameter of interest is a proportion. In other cases, parameters may be the population mean, variance, median, and so on. In cases where the population values are represented by a parametric model, the parameters represent the whole population instead of a particular characteristic of it.\n\nParameters are estimated based on the sample values. Estimators are functions of sample observations used to estimate the parameter. ...\n\n• All\n• A\n• B\n• C\n• D\n• E\n• F\n• G\n• H\n• I\n• J\n• K\n• L\n• M\n• N\n• O\n• P\n• Q\n• R\n• S\n• T\n• U\n• V\n• W\n• X\n• Y\n• Z\n\n## Methods Map", null, "Research Methods\n\nCopy and paste the following HTML into your website" ]
[ null, "http://methods.sagepub.com/images/img-bg.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.7325397,"math_prob":0.692758,"size":1574,"snap":"2020-34-2020-40","text_gpt3_token_len":360,"char_repetition_ratio":0.14076433,"word_repetition_ratio":0.0,"special_character_ratio":0.19504447,"punctuation_ratio":0.09126984,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9865989,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-01T15:54:01Z\",\"WARC-Record-ID\":\"<urn:uuid:4c0daeed-7f78-4125-acc4-7501c32912c4>\",\"Content-Length\":\"250144\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0fff8106-b767-4187-8e4b-61ef17c9b866>\",\"WARC-Concurrent-To\":\"<urn:uuid:63f35449-b76a-49d0-a0f4-f831941d4df1>\",\"WARC-IP-Address\":\"128.121.3.195\",\"WARC-Target-URI\":\"http://methods.sagepub.com/Reference/encyc-of-research-design/n483.xml\",\"WARC-Payload-Digest\":\"sha1:YN4BJH33VI5O3E5VFXFWWC2DVZQZZWGT\",\"WARC-Block-Digest\":\"sha1:52YVUUVBJXGXJNAW334A6OGES6WCU75T\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600402131777.95_warc_CC-MAIN-20201001143636-20201001173636-00058.warc.gz\"}"}
http://ipine.me/2019-05-14/
[ "### 简介\n\n#### 数据集的简介\n\n• PatientId:病人ID,\n• AppointmentID:预约流水号ID,\n• Gender:预约者的性别,\n• ScheduledDay:作出预约的具体时间,\n• AppointmentDay:预约的就诊日期,\n• Age:病人年龄,\n• Neighbourhood:医院所在位置,\n• Scholarship:是否参加巴西福利项目 Bolsa Família\n• Hipertension: 是否是高血压,\n• Diabetes:是否是糖尿病,\n• Alcoholism:是否是酗酒,\n• Handcap:是否是残障,\n• No-show:no表示病人如约就诊,yes表示病人没有前往就诊。\n\n### 提出问题\n\n• 病人的年龄是如何分布的?哪个年龄段的病人更多?\n• 未按约去就诊的病人有多少?占多大的比例?\n• 人们一般会预约在一周的哪一天就诊?\n• 一天中的哪个时段,预约的人最多?\n• 一般会提前几天预约挂号,即病人等待就诊的时长是多久?\n• 哪些重要因素会影响病人是否如约去就诊?例如,年龄,性别,是否参加福利项目,一周中的哪天就诊等。\n\n### 理解数据\n\n#### 导入必要的包和数据:\n\nimport pandas as pd\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport seaborn as sns\n%matplotlib inline\n\n\n\n#### 查看基本信息\n\ndf.head()\n\n\ndf.info()\ndf.duplicated().sum()\n\n\ndf.describe()\ndf.Age.describe()\n\n\n count 110527.000000\nmean 37.088874\nstd 23.110205\nmin -1.000000\n25% 18.000000\n50% 37.000000\n75% 55.000000\nmax 115.000000\nName: Age, dtype: float64\n\n\n### 数据清洗\n\n#### 1、将所有列名统一修改成小写并以下划线连接,便于操作。\n\ndf.rename(columns=lambda x: x.strip().lower().replace('-','_'), inplace=True )\n\n\n#### 2、删除与问题无关的列\n\n• PatientId:病人ID,\n\n• neighbourhood: 医院位置\n\n• Hipertension: 是否是高血压,\n\n• Diabetes:是否是糖尿病,\n\n• Alcoholism:是否是酗酒,\n\n• Handcap:是否是残障,\n\ndf.tail(2)\n\n#### 3、处理异常值。\n\ndf = df[df['age'] > 0]\ndf.age.describe()\n\n\n#### 4、对age列进行分段,并创建新的列 age_group\n\nbin_labels = ['Teenager','Young','Middle','Old']\nbin_edges = [0,19,38,56,116]\ndf['age_group'] = pd.cut(df['age'], bin_edges, labels=bin_labels)\ndf['age_group'].isnull().sum()\n\n\n### 探索性数据分析(建立指标模型与可视化)\n\n#### 问题 1:病人的年龄是如何分布的?哪个年龄段的病人更多?\n\nplt.subplots(figsize=(6,4))\ndf['age_group'].value_counts().plot(kind='bar')\nplt.title('Age Distribution')\nplt.xlabel('Age')\nplt.ylabel('Frequence');", null, "#### 问题2:未按约去就诊的病人有多少?占多大的比例?\n\nx_vaule = df['no_show'].value_counts()\nprint(x_vaule)\nlabels = 'Show up','No show'\nexplode = [0, 0.1]\nplt.subplots(figsize=(5,5))\nplt.axes(aspect=1)\n# 设置饼图样式,标签,突出显示,圆上文本格式,显示阴影,文本位置离圆心距离,起始角度,百分比的文本离圆心距离\nplt.pie(x=x_vaule, labels=labels,explode=explode,autopct='%.1f %%', shadow=True, labeldistance=1.1, startangle = 90,pctdistance = 0.6 )\nplt.title('The proportion of patients who did not go to the hospital as appointment ');", null, "#### 问题3:人们一般会预约在一周的哪一天就诊?\n\n# 先将预约日期转换成日期类型,然后换成一周表示\ndf['appointmentday'] = pd.to_datetime(df['appointmentday'], errors='coerce')\ndf['appointment_weekday'] =df['appointmentday'].dt.weekday_name\n\nplt.subplots(figsize=(8,5))\nplt.plot(df['appointment_weekday'].value_counts().keys(),df['appointment_weekday'].value_counts().values)\nplt.title('Appointment Day Distribution')\nplt.xlabel('Appointment Day')\nplt.ylabel('Frequence');", null, "#### 问题4:一天中的哪个时段,预约的人最多?\n\n#先将scheduleday处理成日期类型,然后提取小时\ndf['scheduledday'] = pd.to_datetime(df['scheduledday'], errors='coerce')\ndf['scheduledhour'] = df['scheduledday'].dt.hour\n# df['scheduledhour'].describe()\n\n#将一天的时间分成三个时段,上午,下午,晚上\nbin_labels = ['Morning','Afternoon','Night']\nbin_edges = [5,12,18,22]\ndf['scheduledhour_cut'] = pd.cut(df['scheduledhour'], bin_edges, labels=bin_labels)\n# df['scheduledhour_cut'].isnull().sum()\ndf['scheduledhour_cut'].value_counts()\n\nplt.subplots(figsize=(6,4))\ndf['scheduledhour_cut'].value_counts().plot(kind='bar')\nplt.title('Scheduled Time Distribution')\nplt.xlabel('Scheduled Time')\nplt.ylabel('Frequence');", null, "#### 问题5:一般会提前几天预约挂号,即病人等待就诊的时长是多久?\n\ndf['waittime'] = df['appointmentday'].dt.date - df['scheduledday'].dt.date\ndf['waittime'].describe()\n\n\n等待时长的统计信息如下:\n\ncount 106987\nmean 10 days 04:00:04.710852\nstd 15 days 06:19:27.050399\nmin -6 days +00:00:00\n25% 0 days 00:00:00\n50% 4 days 00:00:00\n75% 14 days 00:00:00\nmax 179 days 00:00:00\nName: waittime, dtype: object\n\n\ndf = df[df['appointmentday'].dt.date >= df['scheduledday'].dt.date]\ndf['waittime'] = (df['appointmentday'].dt.date - df['scheduledday'].dt.date)\ndf['waittime'].describe()\n\n\ncount 106982\nmean 10 days 04:00:53.840833\nstd 15 days 06:19:37.756884\nmin 0 days 00:00:00\n25% 0 days 00:00:00\n50% 4 days 00:00:00\n75% 14 days 00:00:00\nmax 179 days 00:00:00\nName: waittime, dtype: object\n\n\n#### 问题6:哪些重要因素会影响病人是否如约去就诊?\n\ndef cal_proportion(col_name):\n\"\"\"按传入的列与no-show分组,统计不同类的数量,并计算各类的比例\n\"\"\"\ncounts = df.groupby(['no_show',col_name]).count()['appointmentid']\ntotal = df.groupby(['no_show']).count()['appointmentid']\nno_show_proportions = counts['Yes'] / total['Yes']\nshow_proportions = counts['No']/ total['No']\nreturn no_show_proportions,show_proportions\n\n\ndef double_bar(bar_data1,bar_data2,xlabels,xtick_label):\n# 绘制条柱,先设置每个等级组的x坐标位置和每个条柱的宽度\nind = np.arange(len(bar_data1))\nwidth = 0.35\nred_bar = plt.bar(ind,bar_data1, width, color='r', alpha=0.7, label='No show')\nblue_bar = plt.bar(ind+width, bar_data2, width, color='b',alpha=0.7, label='Show up')\n\n# 标题和标签\nplt.ylabel('Proportion')\nplt.xlabel(xlabels)\nplt.title('Proportion by '+ xlabels + ' and No-Show')\nlocations = ind + width / 2 # x 坐标刻度位置\nplt.xticks(locations, xtick_label)\n\n# 图例\nplt.legend()\n\n##### 6.1 不同年龄段的病人,如约去就诊的情况怎么样?\n\nno_show = cal_proportion('age_group')\nshow_up = cal_proportion('age_group')\nxtick_label = ['Teenager', 'Young', 'Middle', 'Old']\ndouble_bar(no_show,show_up,'Age Group',xtick_label)", null, "##### 6.2 不同性别的病人,如约去就诊的情况怎么样?\nno_show = cal_proportion('gender')\nshow_up = cal_proportion('gender')\nxtick_label = ['Female', 'Male']\ndouble_bar(no_show,show_up,'Gender',xtick_label)", null, "##### 6.3 是否参加福利项目,影响患者如约去就诊吗?\nno_show = cal_proportion('scholarship')\nshow_up = cal_proportion('scholarship')\nxtick_label = ['False', 'True']\ndouble_bar(no_show,show_up,'Scholarship',xtick_label)", null, "##### 6.4 在一周的哪天就诊,是否会影响病人如约去就诊?\nno_show = cal_proportion('appointment_weekday')\nshow_up = cal_proportion('appointment_weekday')\nxtick_label = ['Friday', 'Monday', 'Saturday', 'Thursday', 'Tuesday', 'Wednesday']\ndouble_bar(no_show,show_up,'Appointment Weekday',xtick_label)", null, "### 结论/交流\n\n• 交流结果的方法有多种:报告、幻灯片、博客帖子、电子邮件、演示文稿,甚至对话。\n• 数据可视化在这个过程中可以发挥很大的价值。\n\n-------------完-------------" ]
[ null, "http://ipineimg.lijundong.com/output_19_0.png", null, "http://ipineimg.lijundong.com/output_22_1.png", null, "http://ipineimg.lijundong.com/output_26_0.png", null, "http://ipineimg.lijundong.com/output_30_0.png", null, "http://ipineimg.lijundong.com/output_45_0.png", null, "http://ipineimg.lijundong.com/output_48_0.png", null, "http://ipineimg.lijundong.com/output_51_0.png", null, "http://ipineimg.lijundong.com/output_54_0.png", null ]
{"ft_lang_label":"__label__zh","ft_lang_prob":0.5557848,"math_prob":0.8912937,"size":7682,"snap":"2020-24-2020-29","text_gpt3_token_len":4447,"char_repetition_ratio":0.11969263,"word_repetition_ratio":0.088974856,"special_character_ratio":0.28065607,"punctuation_ratio":0.19949067,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97244686,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"im_url_duplicate_count":[null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-02T23:35:41Z\",\"WARC-Record-ID\":\"<urn:uuid:3dfadb3a-94b5-499a-b6ee-916b1c309b6d>\",\"Content-Length\":\"56600\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b4c7eca3-a753-4257-b902-22c65e0cd161>\",\"WARC-Concurrent-To\":\"<urn:uuid:161af1fa-8466-4525-9250-e6d87877b9b9>\",\"WARC-IP-Address\":\"104.31.73.5\",\"WARC-Target-URI\":\"http://ipine.me/2019-05-14/\",\"WARC-Payload-Digest\":\"sha1:7GMUMZKMY27XAO3X5SC3FRR3GER6EC2M\",\"WARC-Block-Digest\":\"sha1:SXTG2W35AADHUX6MMFLFVYKUCY47UTXN\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593655880243.25_warc_CC-MAIN-20200702205206-20200702235206-00394.warc.gz\"}"}
https://www.numberempire.com/535848
[ "Home | Menu | Get Involved | Contact webmaster", null, "", null, "", null, "", null, "", null, "# Number 535848\n\nfive hundred thirty five thousand eight hundred forty eight\n\n### Properties of the number 535848\n\n Factorization 2 * 2 * 2 * 3 * 83 * 269 Divisors 1, 2, 3, 4, 6, 8, 12, 24, 83, 166, 249, 269, 332, 498, 538, 664, 807, 996, 1076, 1614, 1992, 2152, 3228, 6456, 22327, 44654, 66981, 89308, 133962, 178616, 267924, 535848 Count of divisors 32 Sum of divisors 1360800 Previous integer 535847 Next integer 535849 Is prime? NO Previous prime 535811 Next prime 535849 535848th prime 7937431 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)? NO Binary 10000010110100101000 Octal 2026450 Duodecimal 21a120 Hexadecimal 82d28 Square 287133079104 Square root 732.01639325906 Natural logarithm 13.191605817746 Decimal logarithm 5.7290416140901 Sine -0.77867559825559 Cosine 0.6274267388957 Tangent -1.2410621830145\nNumber 535848 is pronounced five hundred thirty five thousand eight hundred forty eight. Number 535848 is a composite number. Factors of 535848 are 2 * 2 * 2 * 3 * 83 * 269. Number 535848 has 32 divisors: 1, 2, 3, 4, 6, 8, 12, 24, 83, 166, 249, 269, 332, 498, 538, 664, 807, 996, 1076, 1614, 1992, 2152, 3228, 6456, 22327, 44654, 66981, 89308, 133962, 178616, 267924, 535848. Sum of the divisors is 1360800. Number 535848 is not a Fibonacci number. It is not a Bell number. Number 535848 is not a Catalan number. Number 535848 is not a regular number (Hamming number). It is a not factorial of any number. Number 535848 is an abundant number and therefore is not a perfect number. Binary numeral for number 535848 is 10000010110100101000. Octal numeral is 2026450. Duodecimal value is 21a120. Hexadecimal representation is 82d28. Square of the number 535848 is 287133079104. Square root of the number 535848 is 732.01639325906. Natural logarithm of 535848 is 13.191605817746 Decimal logarithm of the number 535848 is 5.7290416140901 Sine of 535848 is -0.77867559825559. Cosine of the number 535848 is 0.6274267388957. Tangent of the number 535848 is -1.2410621830145\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.6106264,"math_prob":0.9885105,"size":2532,"snap":"2020-45-2020-50","text_gpt3_token_len":914,"char_repetition_ratio":0.16772152,"word_repetition_ratio":0.21052632,"special_character_ratio":0.5086888,"punctuation_ratio":0.21327968,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9849794,"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-11-25T19:12:23Z\",\"WARC-Record-ID\":\"<urn:uuid:0e7d876d-6842-438e-8d9e-f399dc77af72>\",\"Content-Length\":\"23347\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d3e958c2-5f90-4b6d-9b4c-2a28a92e312b>\",\"WARC-Concurrent-To\":\"<urn:uuid:be0fb032-bb76-4774-bdab-42ca18c1eff3>\",\"WARC-IP-Address\":\"104.24.112.69\",\"WARC-Target-URI\":\"https://www.numberempire.com/535848\",\"WARC-Payload-Digest\":\"sha1:UTVERRLYWE3QLTSM3J3PB6DUSCKO36NE\",\"WARC-Block-Digest\":\"sha1:X3BLH4QYFWTRZZULV6GWIRP57ZVDHRMB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141184123.9_warc_CC-MAIN-20201125183823-20201125213823-00461.warc.gz\"}"}
https://scholarworks.wmich.edu/dissertations/3309/
[ "## Dissertations\n\n#### Title\n\nInduced Graph Colorings\n\n6-2018\n\n#### Degree Name\n\nDoctor of Philosophy\n\n#### Department\n\nMathematics\n\nDr. Ping Zhang\n\nDr. Gary Chartrand\n\nDr. Allen Schwenk\n\nDr. Ebrahim Salehi\n\n#### Keywords\n\nGraph theory, vertex colorings, edge colorings, majestic coloring, majestic t-tone coloring\n\n#### Abstract\n\nAn edge coloring of a nonempty graph G is an assignment of colors to the edges of G. In an unrestricted edge coloring, adjacent edges of G may be colored the same. If every two adjacent edges of G are colored differently, then this edge coloring is proper and the minimum number of colors in a proper edge coloring of G is the chromatic index χ/(G) of G. A proper vertex coloring of a nontrivial graph G is an assignment of colors to the vertices of G such that every two adjacent vertices of G are colored differently. The minimum number of colors in a proper vertex coloring of G is the chromatic number χ(G) of G. In this work, we study a proper vertex coloring of a graph that is induced by an unrestricted edge coloring of the graph.\n\nFor a connected graph G of order at least 3, let c : E(G) → {1, 2, . . . , k} be an\n\nunrestricted edge coloring of G where adjacent edges may be colored the same. Then c induces a vertex coloring c/ of G obtained by assigning to each vertex v of G the set of colors of the edges incident with v. The edge coloring c is called a majestic k-edge coloring of G if the induced vertex coloring c/ is a proper vertex coloring of G. The minimum positive integer k for which a graph G has a majestic k-edge coloring is the majestic chromatic index of G and and denoted by maj(G). For a graph G with majestic chromatic index k, the minimum number of distinct vertex colors induced by a majestic k-edge coloring is the majestic chromatic number of G and denoted by ψ(G). Thus, ψ(G) is at least as large as the chromatic number χ(G) of a graph G.\n\nMajestic chromatic indexes and numbers are determined for several well-known classes of graphs, including complete graphs, complete multipartite graphs, paths, cycles and connected bipartite graphs and the Cartesian products G K2 when G is a bipartite graph as well as two classes of nonbipartite graphs G, namely odd cycles and complete multipartite graph. Sharp bounds have been established for these two parameters and relationship between the majestic chromatic number and the chromatic number of a graph has been studied.\n\nThe idea of assigning a color a to an edge of a graph can be looking as assigning the color {a} to the edge, which gives rise to a natural generalization of majestic colorings. For a positive integer k, let P([k]) be the power set of the set [k] = {1, 2, . . . , k} and let P∗([k]) = P([k]) − {∅} be the set of nonempty subsets of [k]. For each integer t with 1 ≤ t < k, let Pt([k]) be the set of t-element subsets of P([k]). For an edge coloring c : E(G) → Pt([k]) of a graph G, where adjacent edges may be colored the same, the vertex coloring c/ : V (G) → P∗([k]) is defined by c/(v) to be the union of the colors of edges incident with the vertex v in G. If c/ is a proper vertex coloring of G, then c is a majestic t-tone k-coloring of G. For a fixed positive integer t, the minimum positive integer k for which a graph G has a majestic t-tone k-coloring is the majestic t-tone index majt(G) of G. In particular, a majestic 1-tone k-coloring is a majestic k-coloring and the majestic 1-tone index of a graph G is the majestic index of G.\n\nFirst, our emphasis is on the majestic 2-tone colorings in graphs. The values of maj2(G) are determined for several well-known classes of graphs G. We study the re- lationship between maj2(G K1) and maj2(G) where G K1 is the join of a graph G and K1. We then investigate the majestic t-tone indexes of connected graphs for t ≥ 2 in general with main emphasis on connected bipartite graphs. It is shown that if G is a connected bipartite graph of order at least 3, then majt(G) = t + 1 or majt(G) = t + 2 for each positive integer t. All trees, unicyclic bipartite graphs and connected bipartite graphs of cycle rank 2 having majestic t-tone index t + 1 have been characterized.\n\nWe also investigate the majestic t-tone indices of connected bipartite graphs having large cycles. In particular, we consider 2-connected bipartite graphs with large cycles. It is shown that (i) if G is a 2-connected bipartite graph of sufficiently large order n whose longest cycles have length £ where n − 5 ≤ £ n and t ≥ 2 is an integer, then majt(G) = t + 1 and (ii) there is a 2-connected bipartite graph F of sufficiently large order n whose longest cycles have length n − 6 and maj2(F ) = 4. Furthermore, it is shown for integers k, t ≥ 2 that there exists a k-connected bipartite graph G such that majt(G) = t + 2. Other results and open questions are also presented.\n\n#### Access Setting\n\nDissertation-Open Access\n\nCOinS" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.88703805,"math_prob":0.9768092,"size":5004,"snap":"2020-10-2020-16","text_gpt3_token_len":1260,"char_repetition_ratio":0.1774,"word_repetition_ratio":0.1075741,"special_character_ratio":0.24040768,"punctuation_ratio":0.08751229,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99523073,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-03-30T17:25:21Z\",\"WARC-Record-ID\":\"<urn:uuid:ffb13745-605f-4f2c-a991-4eb08b706eab>\",\"Content-Length\":\"43934\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ee38919d-1306-4abe-b4a7-3f19345cc2ae>\",\"WARC-Concurrent-To\":\"<urn:uuid:1bbccb28-be14-455d-92bb-a2c3bb784fae>\",\"WARC-IP-Address\":\"50.18.241.247\",\"WARC-Target-URI\":\"https://scholarworks.wmich.edu/dissertations/3309/\",\"WARC-Payload-Digest\":\"sha1:ZF32PCA7ZVOONIAN6U334KI2HQWAZEGP\",\"WARC-Block-Digest\":\"sha1:AAZL3D5CDLTROCBCEN6UDDDFO6RHNYNJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-16/CC-MAIN-2020-16_segments_1585370497171.9_warc_CC-MAIN-20200330150913-20200330180913-00150.warc.gz\"}"}
https://physics.stackexchange.com/questions/470640/what-fraction-of-events-goes-through-a-small-area-da-a-distance-r-from-a-sph
[ "# What fraction of events goes through a small area $dA$ a distance $r$ from a spherically symmetric point source as $r\\to 0$?\n\nI'm not sure how to use limiting principle to estimate the N fraction when r -> 0 and small area dA stays fixed\n\n$$\\lim N_{r\\to\\infty} = \\lim\\delta A/(4\\pi r^2)_{r\\to\\infty}$$ = 1/2 N ? How?\n\n• Since $\\delta A$ is fixed, then it can't vary with $r$, hence the $\\lim_{r->\\infty} \\delta A/4\\pi r^2=(\\delta A/4 \\pi )\\lim_{r->\\infty} \\frac {1}{r^2}=0$. And the mystery variable $N$ must have a value of $N=0$. – Cinaed Simson Apr 5 at 3:09\n• Answer is 1/2 number of events N. how do you interpret the final explanation for flashcard 16 under \"mathematics and statistics\"? -> great.cwru.edu – Quesop Apr 5 at 3:25\n• To send me email, you need @cinaed in the comment. Also, I don't do flash cards - that's your homework. – Cinaed Simson Apr 5 at 18:38\n• Since $4\\pi r^2$ is the surface of sphere, and $\\delta A$ is a small area of the sphere, you probably want the $lim_{r \\rightarrow 0} \\delta A/4\\pi r^2$. Think of the surface as a balloon and $\\delta A$ is small fixed patch on the ballon. Let the air out of the balloon until the small patch prevents the balloon from from shrinking further. The patch should now shield roughly half of the balloon. So you probably don't want to take $r \\rightarrow 0$. Maybe $r \\rightarrow \\delta r$ such that $lim_{r \\rightarrow \\delta r} \\delta A/4\\pi r^2 =1/2$. It's hard to be precise. – Cinaed Simson Apr 5 at 18:43\n• Sorry, I did get an email - I was just looking for different one. – Cinaed Simson Apr 5 at 19:15\n\nYour problem is a mismatch between the expression of which you are finding the limit and the answer you are expecting. They are answers to different questions.\n\nYour expression 𝛿𝐴/(4𝜋𝑟2) is the fraction of a sphere at radius r covered by dA if the area were spread onto the surface of the sphere. This will actually diverge as r goes to 0 because dA will be many times the area of the sphere for sufficiently small r.\n\nYour expected answer, 1/2, is the limit as r goes to 0 of the fraction of events passing through a FLAT dA which is tangent to the sphere of radius r.\n\nI suggest taking the limit of a new expression derived from the geometry I describe in my sentence about your expected answer.\n\n• so dA = r^2 dsolidangle = r^2 theta^2 phi for small theta and phi angles. so working backwards theta^2 *phi must be 2*pi. I don't see how setting theta^2 *phi to 2pi would make dA flat? please clarify? – Quesop Apr 5 at 2:08\n• No, flat is not the only possibility. There are infinitely many expressions which have a limit of 1/2 as r goes to 0. I don’t know what your goal is with this limit, so I just chose the first physically reasonable possibility that occurred to me which would yield your expected result of 1/2. Maybe the quantity you were trying to find was something else entirely. – Duncan Harris Apr 5 at 2:19\n• The argument I am reading is \"There are dA/(4*pir^2) events with dA much smaller than 4*pir^2 (total surface area). As r goes to 0 (dA fixed) we get half the total events since dA now gets hit by emissions into half the spherical volume\" My question is about the limit in second sentence. I think it is a non sequitur. – Quesop Apr 5 at 2:31\n• You can’t assume both that dA is constant and that it is much smaller than r^2 as r goes to zero. They are contradictory assumptions so you can only derive nonsense. – Duncan Harris Apr 5 at 2:34\n• I find the last question on that flash card silly if a quantitative answer was expected. How do you put the finite area dA an infinitesimal distance from the origin? There isn’t some obviously best choice of how to do so, and your choice dramatically affects the answer. I think that if I had been answering the question on a test I would have written the same expression as you, and then said that it was meaningless for spheres smaller than dA. – Duncan Harris Apr 5 at 3:17" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.92672294,"math_prob":0.9653468,"size":1072,"snap":"2019-43-2019-47","text_gpt3_token_len":303,"char_repetition_ratio":0.111423224,"word_repetition_ratio":0.3265306,"special_character_ratio":0.26399255,"punctuation_ratio":0.05263158,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99841875,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-11-18T14:09:21Z\",\"WARC-Record-ID\":\"<urn:uuid:1855118d-69c1-4532-8613-9e1dc1aa8126>\",\"Content-Length\":\"148852\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2786fc69-d310-4f19-9515-9b1c89157af8>\",\"WARC-Concurrent-To\":\"<urn:uuid:9a6b4fb0-16c1-42db-a7a2-3db1acea06c5>\",\"WARC-IP-Address\":\"151.101.129.69\",\"WARC-Target-URI\":\"https://physics.stackexchange.com/questions/470640/what-fraction-of-events-goes-through-a-small-area-da-a-distance-r-from-a-sph\",\"WARC-Payload-Digest\":\"sha1:4ETMFYR3A2SQCBJRXJCZWDT3G64YK4BP\",\"WARC-Block-Digest\":\"sha1:VH3ZUPKVGXW4GESMFLBQ7ZJC7R3F5EHQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-47/CC-MAIN-2019-47_segments_1573496669795.59_warc_CC-MAIN-20191118131311-20191118155311-00162.warc.gz\"}"}
https://blogs.sap.com/2015/07/14/from-r-to-custom-pa-component-part-2/
[ "# From R to Custom PA Component Part 2\n\nIntro\n\nThis is part 2 of a series of blogs.\n\nPlease refer to part 1 that can be found here From R to Custom PA Component Part 1\n\nIn this blog I will be focusing on beginner syntax that is required to create a Predictive Analytics component, will cover the following\n\n• Basic syntax\n• Functions\n• Variables\n• Help\n\nWe will then have a look at RStudio again to understand the difference between RStudio and RGui.\n\nBasic Syntax\n\nSo open the RGui as shown in part 1 of my this blog series. You can immediately use it as a calculator by typing in 4+4 and then pressing enter. Then 8 will then be shown as the answer. As seen below I have done +, / and *. Give it a try and see the same results as shown below", null, "You can then also do Boolean expressions by typing 5<7, then pressing enter. Will respond with TRUE or FALSE. In this case TRUE. Note to test if 8=7+1, in R = is shown as ==.", null, "In R, the value T is short syntax for TRUE. Same for the value F being short for FALSE.", null, "When working with text you should enter the text in double quotes. As shown below I just typed the text and got an error back. The second time I enterd the text correctly. With text it just responds with what you have entered.", null, "Functions\n\nR comes with built in functions. So lets go through some of the functions to see how they work.\n\nTo use the function sum, type sum(value1,value2,value3,etc.). Below is some examples", null, "To use the square root function, type sqrt(value1)", null, "There is a repeat function, below is an example.", null, "More examples of functions. Give them a try. Feel free to google some more functions.", null, "Variables\n\nWhen working with variables, most programming languages you need to declare the variable, say whether it is string or integer. In R you don’t need to do that. You can just type x<-10. This syntax is saying the variable is X, we assigning the value 10 to X.\n\nSo below you can se I assigned X to have the value 10, after pressing enter the console is waiting for another command. If you just type X again it will tell you the value in X.", null, "You can then start working with x. So if x has a value of 10, then if I want to divide by 2 you just simply type X/2, then press enter. Below you can see I have divided by 2, later on I add 10. Bear in mind I’m not changing X value, I’m just calculating what X would be should I divide by 2 or add 10 to it. X still has the value 10.", null, "To change the value you must use <- to assign the value. So below I’m saying X has a new value that is X/2 which is 5.", null, "We can do the same with text. Here I have a variable called Y, I then assign the value Hello World to it.", null, "You can check the data types R has assigned to x and y by using str function. Will show the type and the value.", null, "Help\n\nYou can also use the help function to get more info. So to get more help just type help(function), so below I have typed help(sum). This will then launch a browser that shows help for this function.", null, "RStudio Differences\n\nSo as mentioned in part 1 of my blog series we can code in the RGui or RStudio. So lets see what RStudio offers.\n\nSo in the R Console we can type the commands the same as we did in the RGui console. By looking at the top right window we can then see that it shows the X and Y variables and values. So in the RGui we have to call x and y to see the value where in the RStudio we can see it immediately in the top right hand window. The bottom right window you can access the help.", null, "When working in the console you can press ctrl+space bar and then RStudio will assist with available functions or syntax with regard to the text you typed. Will also provide info on how to use the function. So for example below we can see for substr it requires x which is the string, then a start value, and a stop value.", null, "Hope this helps, part 3 can be found here From R to Custom PA Component Part 3.\n\n/", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "", null, "•", null, "•", null, "" ]
[ null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui1_747102.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui2_747103.png", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui3_747110.png", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui4_747111.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui5_747112.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui6_747126.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui7_747127.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui8_747136.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui9_747146.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui10_747148.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui11_747161.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui12_747162.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui13_747163.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui14_747168.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rconsole1_747191.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rstudio2_747181.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui1_747102.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui2_747103.png", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui3_747110.png", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui4_747111.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui5_747112.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui6_747126.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui7_747127.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui8_747136.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui9_747146.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui10_747148.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui11_747161.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui12_747162.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui13_747163.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rgui14_747168.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rconsole1_747191.jpg", null, "https://blogs.sap.com/wp-content/uploads/2015/07/rstudio2_747181.jpg", null, "https://avatars.services.sap.com/images/mister.makmerphy_small.png", null, "https://avatars.services.sap.com/images/former.member_small.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.91335803,"math_prob":0.87591475,"size":3957,"snap":"2020-45-2020-50","text_gpt3_token_len":959,"char_repetition_ratio":0.13736403,"word_repetition_ratio":0.020278834,"special_character_ratio":0.2405863,"punctuation_ratio":0.09775281,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9709604,"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],"im_url_duplicate_count":[null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,7,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-25T22:43:27Z\",\"WARC-Record-ID\":\"<urn:uuid:c9670470-0ae1-4bcc-8b27-9ad7e0079c80>\",\"Content-Length\":\"54678\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c3f4f620-d002-4207-bc48-732ca14f0aa9>\",\"WARC-Concurrent-To\":\"<urn:uuid:82d2aa56-b136-4ef4-9f63-47875886fcb2>\",\"WARC-IP-Address\":\"104.122.70.223\",\"WARC-Target-URI\":\"https://blogs.sap.com/2015/07/14/from-r-to-custom-pa-component-part-2/\",\"WARC-Payload-Digest\":\"sha1:BOBBPZJYGE2LM6YSCC4I2IMKWD4EJPFP\",\"WARC-Block-Digest\":\"sha1:KMC4JMFINUEZWUZLVQPIN5UVX4VG6Q7Y\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107890028.58_warc_CC-MAIN-20201025212948-20201026002948-00057.warc.gz\"}"}
https://dekegisapiwe.anvgames.com/algebraic-systems-and-computational-complexity-theory-book-16901on.php
[ "Last edited by Mezikazahn\nMonday, May 18, 2020 | History\n\n2 edition of Algebraic Systems and Computational Complexity Theory (Mathematics and Its Applications) found in the catalog.\n\nAlgebraic Systems and Computational Complexity Theory (Mathematics and Its Applications)\n\nZ. Wang\n\n# Algebraic Systems and Computational Complexity Theory (Mathematics and Its Applications)\n\n## by Z. Wang\n\nWritten in English\n\nSubjects:\n• Algebra,\n• Numerical analysis,\n• Mathematics,\n• Computer Science,\n• Science/Mathematics,\n• Programming - Algorithms,\n• Number Systems,\n• Mathematics / Number Systems,\n• Computational complexity,\n• Equations,\n• Homotopy Theory,\n• Numerical solutions\n\n• The Physical Object\nFormatHardcover\nNumber of Pages256\nID Numbers\nOpen LibraryOL7807327M\nISBN 100792325338\nISBN 109780792325338\n\ne-books in Theory of Computation category Models of Computation: Exploring the Power of Computing by John E. Savage - Addison-Wesley, The book re-examines computer science, giving priority to resource tradeoffs and complexity classifications over the . anvgames.com: Algebraic Complexity Theory (Grundlehren der mathematischen Wissenschaften) () by Bürgisser, Peter; Clausen, Michael; Shokrollahi, Mohammad A. and a great selection of similar New, Used and Collectible Books available now at great anvgames.com Range: \\$ - \\$\n\nEngineering Computational Intelligence and Complexity. Parametric Interval Algebraic Systems. Authors: Skalna, Iwona Free Preview. Provides a comprehensive overview of the theory related to the problem of solving parametric interval linear systems and investigates the basic properties of parametric interval matrices. Presents a framework Brand: Springer International Publishing. Get this from a library! Computational complexity of bilinear forms: algebraic coding theory and applications of digital communication systems. [Hari Krishna].\n\nThis beginning graduate textbook describes both recent achievements and classical results of computational complexity theory. Requiring essentially no background apart from mathematical maturity, the book can be used as a reference for self-study for anyone interested in complexity, including physicists, mathematicians, and other scientists, as well as a textbook for a variety of courses and 5/5. This chapter discusses algebraic complexity theory. Complexity theory, as a project of lower bounds and optimality, unites two quite different traditions. The first comes from mathematical logic and the theory of recursive functions. In this, the basic computational model is the Turing machine.\n\nYou might also like\nLegal essentials of health care administration\n\nLegal essentials of health care administration\n\nChurch statistics\n\nChurch statistics\n\nAmenity handbook\n\nAmenity handbook\n\nThe Prokaryotes: Vol. 7: Proteobacteria\n\nThe Prokaryotes: Vol. 7: Proteobacteria\n\nSociology of religion\n\nSociology of religion\n\nThe science of air\n\nThe science of air\n\nHeterogeneous engine in-cylinder mixing measurements using a tracer technique\n\nHeterogeneous engine in-cylinder mixing measurements using a tracer technique\n\nmurdered queen! or, Caroline of Brunswick\n\nmurdered queen! or, Caroline of Brunswick\n\nThe military balance.\n\nThe military balance.\n\nCAPITAL ASSET PRICING MODEL : EQUITY RISK PREMIUMS AND THE PRIVATELY-HELD BUSINESS\n\nCAPITAL ASSET PRICING MODEL : EQUITY RISK PREMIUMS AND THE PRIVATELY-HELD BUSINESS\n\nA King and his minister instructed in divers important points of present concern\n\nA King and his minister instructed in divers important points of present concern\n\nhistory of labor in modern Japan\n\nhistory of labor in modern Japan\n\npersecution of the Jews in Russia.\n\npersecution of the Jews in Russia.\n\nGiles Sunday Express & Daily Express cartoons.\n\nGiles Sunday Express & Daily Express cartoons.\n\nHearts ease in heart-trouble, or, A soverign remedy against all trouble of heart that Christs disciples are subject to ...\n\nHearts ease in heart-trouble, or, A soverign remedy against all trouble of heart that Christs disciples are subject to ...\n\nElementary phonetics\n\nElementary phonetics\n\nExtreme Ultraviolet Explorer (EUVE) Guest Observer Program\n\nExtreme Ultraviolet Explorer (EUVE) Guest Observer Program\n\n### Algebraic Systems and Computational Complexity Theory (Mathematics and Its Applications) by Z. Wang Download PDF EPUB FB2\n\nFoundations, Applications, Systems ; [with CD-ROM] Author: Johannes Grabmeier This beginning graduate textbook describes both recent achievements and classical results of computational complexity. Algebraic systems of equations and computational complexity theory.\n\n[Zeke Wang; Sen-lin Hsü; Tang'an Gao] Home. WorldCat Home About WorldCat Help. Search. Search for Library Items Search for Lists Search for Contacts Search for a Library.\n\nCreate Book, Internet Resource. Algebraic geometry is a branch of mathematics, classically studying zeros of multivariate anvgames.com algebraic geometry is based on the use of abstract algebraic techniques, mainly from commutative algebra, for solving geometrical problems about these sets of zeros.\n\nThe fundamental objects of study in algebraic geometry are algebraic varieties, which are geometric manifestations of. \"This book is certainly the most complete reference on algebraic complexity theory that is available hitherto.\n\nsuperb bibliographical and historical notes are given at the end of each chapter. this book would most certainly make a great textbook for a graduate course on algebraic complexity theory.\n\nBuy Algebraic Systems of Equations and Computational Complexity Theory (Mathematics and Its Applications (closed)) on anvgames.com FREE SHIPPING on qualified ordersAuthor: Wang Zeke, Xu Senlin, Gao Tangan.\n\nGeometric complexity theory (GCT), is a research program in computational complexity theory proposed by Ketan Mulmuley and Milind Sohoni. The goal of the program is to answer the most famous open problem in computer science – whether P = NP – by showing that the complexity class P is not equal to the complexity class NP.\n\nis is the first book to present an up-to-date and self-contained account of Algebraic Complexity Theory that is both comprehensive and unified.\n\nJan 01,  · Algebraic Complexity Theory by Peter Bürgisser, Algebraic Complexity Theory \"The book contains interesting exercises and useful bibliographical notes.\n\nIn short, this is a nice book.\"- He is associate editor of the journal Computational Complexity and he was invited speaker at the International Congress anvgames.com: This is the first book to present an up-to-date and self-contained account of Algebraic Complexity Theory that is both comprehensive and unified.\n\nin approximative complexity Proceedings of the 33rd Computational Complexity Conference, () decomposition of semi-algebraic systems Proceedings of the International Symposium on.\n\nCompleteness and Reduction in Algebraic Complexity Theory (Algorithms and Computation in Mathematics Book 7) - Kindle edition by Peter Bürgisser. Download it once and read it on your Kindle device, PC, phones or tablets. Use features like bookmarks, note taking and highlighting while reading Completeness and Reduction in Algebraic Complexity Theory (Algorithms and Computation in Manufacturer: Springer.\n\nTheory of Computation at Princeton Theoretical computer science (TCS) studies efficient algorithms and protocols, which ultimately enable much of modern computing. But even more than that, the very concept of computation gives a fundamental new lens for examining the world around us. Algebraic complexity theory, the study of the minimum number of operations suficient to perform algebraic computations, is surveyed with emphasis on the general theory of bilinear forms and two of its applications: polynomial multiplication and matrix multiplication.\n\nThough by no means exhausting algebraic complexity theory, these topics. Each book emphasizes a different area, corresponding to the author's tastes and interests.\n\nThe most famous, but unfortunately the oldest, is Knuth's Art of Computer Programming, especially Chapter 4. The present book has two goals. First, to give a reasonably comprehensive introductory course in computational number theory. Another phrasing of the question would be \"What papers should I read to create a connection from computational complexity to algebraic geometry / topology?\" I have looked at Geometric Complexity Theory already.\n\nAlso papers in Topological Quantum Computation which I have read enough papers that I am already familiar with the field. Avi Wigderson Mathematics and Computation Draft: March 27, Dedicated to the memory of my father, Pinchas Wigderson ({), who loved people, loved puzzles, and inspired me.\n\nComputability and computational complexity were first considered over the fields of real and complex numbers and generalized to arbitrary algebraic systems. This article approaches the theory of computational complexity over an arbitrary algebraic system by taking computability over the list extension for a computational model of anvgames.com: A.\n\nRybalov. geometric invariant theory, computational complexity, algebraic geometry, representation theory, stability. AMS Subject Headings 20G05, Geometric Complexity Theory V: Equivalence between Blackbox Derandomization of Polynomial Identity Testing and Derandomization of Noether's Normalization Lemma.\n\nSIAM Journal on ComputingCited by: A GENTLE INTRODUCTION TO COMPUTATIONAL COMPLEXITY THEORY, AND A LITTLE BIT MORE SEAN HOGAN Abstract. We give the interested reader a gentle introduction to computa-tional complexity theory, by providing and looking at the background leading up to a discussion of the complexity classes P and NP.\n\nWe also introduce. Mar 14,  · The algorithmic solution of problems has always been one of the major concerns of mathematics. For a long time such solutions were based on an intuitive notion of algorithm. It is only in this century that metamathematical problems have led to the intensive search for a precise and sufficiently general formalization of the notions of computability and algorithm.\n\nTheory of Computational Complexity, Second Edition, is an excellent textbook for courses on computational theory and complexity at the graduate level. The book is also a useful reference for practitioners in the fields of computer science, engineering, and mathematics who utilize state-of-the-art software and computational methods to conduct.\n\nThank you for downloading the computational complexity of algebraic and numeric problems elsevier computer science library theory of computation series 1. As you may know, people have search numerous times for their chosen readings like this the computational complexity of algebraic and numeric problems elsevier computer science library theory of computation series 1, but end up in harmful.Algebraic number theory involves using techniques from (mostly commutative) algebra and nite group theory to gain a deeper understanding of the arithmetic of number elds and related objects (e.g., functions elds, elliptic curves, etc.).\n\nThe main objects that we study in this book .We finally note that the relationship between multi-linear functions (polynomials in general) and arithmetic circuits is a classical subject of algebraic complexity theory . In this field of Author: Joachim Von Zur Gathen." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8766595,"math_prob":0.6734383,"size":10104,"snap":"2022-05-2022-21","text_gpt3_token_len":1991,"char_repetition_ratio":0.18009901,"word_repetition_ratio":0.07317073,"special_character_ratio":0.17666271,"punctuation_ratio":0.11376147,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9596159,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-25T16:02:51Z\",\"WARC-Record-ID\":\"<urn:uuid:fe06c74d-bd4f-4c74-a463-82aeaeb6005e>\",\"Content-Length\":\"25066\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:396b33cf-5db6-4db5-af08-f5619aeb72fe>\",\"WARC-Concurrent-To\":\"<urn:uuid:f25eca9a-f4f6-4897-a16c-a7ad97d69f48>\",\"WARC-IP-Address\":\"172.67.173.116\",\"WARC-Target-URI\":\"https://dekegisapiwe.anvgames.com/algebraic-systems-and-computational-complexity-theory-book-16901on.php\",\"WARC-Payload-Digest\":\"sha1:V44OQKHLMN3K2ZSJBSDYUJGVA4VEI46K\",\"WARC-Block-Digest\":\"sha1:OY5EYVDNRZX6IPS7H24VG2VIE3PLXHRS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662588661.65_warc_CC-MAIN-20220525151311-20220525181311-00368.warc.gz\"}"}
https://pepada.com/classes/promises-in-vba/complex-aynchronous-web-services
[ "Here’s where it gets really interesting. Let’s say that we need to get some large number of spreadsheets from Google Docs. We want to do it asynchronously, and we also know that google docs will fail if it receives to many requests, or it’s too busy. So we have to orchestrate and deal with all of the following.\n\n• Getting the schema to know which sheets exists\n• Getting some unknown number of sheets and populating the respective Excel sheets when they return\n• Throttle failures on Google Docs. We’ll use exponential backoff  and SetTimer and VBA to deal with that\n• Ensuring that things don’t slip out of memory when the calling procedure exits.\n• JSON and Google Wire deciphering to interpret the returned data\nAll of this will be promise based, which should make the whole thing digestible. As input we’ll use the university tables that were used in the javacript app, University Rankings visualized\n\n#### The calling app\n\nI’ve generalized this so it can be used to retrieve any Google Spreadsheet. Here’s  the shell. You can substitute in the key for any Google Spreadsheet. The only thing of consequence here is that the import process is kicked off asynchronously, and control will immediately be returned to the caller, which will then exit.\n\nNOTE:  with the new Google Sheets, this method has been largely deprecated. There is a complete revamp of this here Get Data From Google Docs. You can also check out the Sheets apps from Apps built with data abstraction, which can both read and write from Excel to Sheets, but this post may be useful since it is about asynchronicity more than the utility of the app itself.\n\n`Public Sub asynchDocs()`\n`    Dim url As String, key As String`\n`    key = \"0At2ExLh4POiZdFd0YUhpZVRPUGxFcW85X2xkMm1vY2c\"`\n`    url = \"https://spreadsheets.google.com/feeds/worksheets/\" + key + \"/public/basic?alt=json\"`\n`    `\n`    ' kick this off in the background`\n`    doDocsWithBackoff url`\n`    '`\n`    ' we can go and do something else now`\n`    Debug.Print \"Im doing something else - have a nice day\"`\n`    `\n`End Sub`\n\n#### The promise orchestrator\n\nHere’s the code that kicks everything off. Let’s walk through\n\n`Public Sub doDocsWithBackoff(url As String)`\n`    Dim b As cBackoff, p As cPromise, prs As cPromise, _`\n`        process As cDocsImporter, doneSchema As cDeferred, doneSheets As cDeferred`\n`        `\n`    ' always to this for a fresh start - it will clear up any memory/timers from previously`\n`    clearRegister`\n`    `\n`    ' this class knows how to get google spreadsheet`\n`    Set process = New cDocsImporter`\n`    Set doneSchema = New cDeferred`\n`    `\n`    ' first phase, we get the schema, and release up memory`\n`    Set b = New cBackoff`\n`    b.execute(url) _`\n`        .done(process, \"getSchema\", doneSchema) _`\n`        .fail process, \"show\"`\n`    `\n`    ' although this will be done synchronously, using a promise means we can know its done`\n`    Set prs = deleteAllTheSheets`\n`    `\n`    ' we'll have resolved doneSchema when the previous .done is executed`\n`    ' we'll need another deferred to tell us when all this is over`\n`    Set doneSheets = New cDeferred`\n`    when(Array(prs, doneSchema.promise)) _`\n`        .done(process, \"getSheets\", doneSheets, url) _`\n`        .fail process, \"show\"`\n\n`    ' now we can clear everything up`\n`    doneSheets.promise _`\n`        .done(register, \"teardown\") _`\n`        .done(process, \"teardown\") _`\n`        .fail process, \"show\"`\n\n`End Sub`\n\n#### clearRegister\n\nWhen executing this asynchronously, one of the issues is to stop things disappearing from memory when the module that initiates them goes out of scope. One way is create a tangle of public variables – but that will be hard to manage, even harder to clear out, and impossible when the task is data driven as it is in this case. The promise framework maintains a register of objects that are going to be needed later, and keeps them in memory. This simply clears out any hanging around from previous asynch sessions. It should be the first thing called.\n\n`    ' always to this for a fresh start - it will clear up any memory/timers from previously`\n`    clearRegister`\n\n#### callBack class\n\nOne of the limitations of VBA is that you can only callback class members. I recommend that you centralize all specific methods needed for a particular project  in a class like this – in my case I’ve created a class called cDocsImporter that will know all about how to handle google Docs Data.\n`    ' this class knows how to get google spreadsheet`\n\n`    Set process = New cDocsImporter`\n\n#### getting the schema\n\nHere’s the first deferred class – doneSchema. It ‘s promise will be used as a signal that we’ve managed to get (or failed to get) schema data from Google Docs. This is the definition of all the sheets in the Spreadsheet.\n`    Set doneSchema = New cDeferred`\n\n#### getting schema data using cBackoff\n\nThe cBackoff class knows how to get data asynchronously – it uses Promises in VBA too – and also how to deal with throttling using an exponential backoff algorithm. For that it needs to use SetTimer and VBA. The cBackoff will kick off retrieval data from the given url, and immediately give control back. It returns a promise.\n\nWhen that gets resolved (within the cBackoff class), it will execute  b.done() by calling process.getSchema(). The data retrieved by the cBackoff class will get passed to process.getSchema() also. If the cBackoff class is rejected (meaning it failed to get data), it will execute b.fail() by calling process.show() to report whatever the cause of the failure was.\n\nFinally it will resolve (or reject) doneSchema. We can use doneSchema.promise() as a signal shortly to know that we’ve finished getting the schema\n\n`    ' first phase, we get the schema, and release up memory`\n`set b = New cBackoff``b.execute(url) _`\n`   .done(process, \"getSchema\", doneSchema) _``.fail process, \"show\"`\n\n#### using promises for synchronous activities\n\nThe use of promises is not limited to asynchronous activities.  You can use it to detect whether something has happened successfully or failed. You can also start synchronously, but later convert to asynchronous without having to modify the code structure. In this case we need to execute something that Excel doesnt know how to do asynchronously – delete all the sheets in the workbook. Since we have a lull in activities whilst waiting for the schema to come back, this is the perfect time.\n`    ' although this will be done synchronously, using a promise means we can know its done``    Set prs = deleteAllTheSheets`` `\n\nHere is the deleteallthesheets function. Note that it creates and resolves a promise in line, since the activity is synchronous, and returns a promise.\n\n`Private Function deleteAllTheSheets() As cPromise`\n`    ' its possible to use promises for synchronous tasks too`\n`    Dim d As cDeferred`\n`    Set d = New cDeferred`\n`    ' dont want complaints`\n`    Application.DisplayAlerts = False`\n`    `\n`    ' delete all but one sheet`\n`    While sheets.Count > 1`\n`      sheets(1).Delete`\n`    Wend`\n`    Application.DisplayAlerts = True`\n`    `\n`    d.resolve (Array(\"sheets deleted\"))`\n`    Set deleteAllTheSheets = d.promise`\n`End Function`\n\nThe reason we use a promise here is that next we’ll want to retrieve each of the spreadsheets from withing the Google Workbook. However we don’t want to start doing that until both the schema has finished being retrieved and the old sheets have been deleted. It is almost certain that the sheet deletion would be finished being executed before the Schema was returned anyway, but we can use both promises now before continuing.\n\n#### Using When\n\nYou can test that multiple things have completed using when(). In our case we want to check that both the sheets are finished being deleted and the schema has been retrieved before starting to get data back.\n\n`    ' we'll have resolved doneSchema when the previous .done is executed``    ' we'll need another deferred to tell us when all this is over``    Set doneSheets = New cDeferred`\n`    when(Array(prs, doneSchema.promise)) _``                .done(process, \"getSheets\", doneSheets, url) _``.fail process, \"show\"`\n\nWhen actually returns a promise. This means that you can use .done() and .fail(). All the promises need to be successful for when().done() to execute. If any one fails, then when().fail() will be executed instead. The promises to be evaluated are presented as an array(promise1,promise2,…promisen). When() will receive a signal when each of those promises is either resolved or rejected. In our case we want both of array(prs, doneSchema.promise()) to be successfully resolved before continuing. We’ll also need another promise. This time to signal that we’ve got all the data. process.getSheets() will resolve (or reject) doneSheets when all the data has been retrieved and the sheets populated.  Aside from taking multiple promises, When() will pass on the data from the last promise in the array – in this case the data that was signalled by doneScheme.resolve(data).\n\n#### Clearing up\n\nSince the procedure will have long exited by now, its up to you to clean up the objects that will have been forced to remain in memory beyond their regular scope. We can detect when everything is completed either by using When() . done() or fail(). In our case, we know that doneSheets.promise() could only have been resolved if everything else had been done, so we can simply test for the doneSheets.promise().done() signal\n\n`    ' now we can clear everything up`\n`    doneSheets.promise _`\n`        .done(register, \"teardown\") _`\n`        .done(process, \"teardown\") _`\n`        .fail process, \"show\"`\n` `\n\nIt is good practice to create a .tearDown method for classes in order to properly remove it from memory. In many cases, setting its reference to Nothing will not work (where classes have dual links to each other), leading to a memory leak. In our case, we’ve managed to retain them in memory by creating a link to them in a public register. Register.teardown() will not only remove the link, but also execute each objects teardown method (if it has one). Doing this at the end of everything will recover the memory used during all the asynchronous activity.\n\n#### The cDocsImporter class\n\nAll the hard work interpreting google docs formats is done by calling back various methods in this class. There’s nothing much new in here, json and google docs importing having been covered elsewhere in this site, but here’s how it all fits together, and how the promises are rejected or resolved.\n\n`Option Explicit`\n\n`Public Sub getSchema(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    ' this will be called when I get the schema.`\n`    ' the schema will be the 2nd argument of a(), 1st will be the url`\n`    Dim c As cJobject`\n`    Set c = getJsonDataFromArray(a)`\n`    ' register it so it gets cleaned up later`\n`    keepInRegister c, \"schema\", \"cJobject\"`\n`    ' we'll pass back the parsed schema`\n`    defer.resolve (Array(c))`\n`End Sub`\n`Public Sub storeData(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    ' this will be called each time I have some data from the vizAPI`\n`    ' the schema will be the 2nd argument of a(), 1st will be the url`\n`    `\n`    Dim c As cJobject, job As cJobject, jr As cJobject, jc As cJobject, _`\n`        s As String, joc As cJobject, r As Range, w As Worksheet`\n`    Set c = getJsonDataFromArray(a, eDeserializeGoogleWire)`\n`    Application.ScreenUpdating = False`\n`    Application.Calculation = xlCalculationManual`\n`    ' add a worksheet`\n`    Set w = Worksheets.add()`\n`    w.name = CStr(args(LBound(args)))`\n`    Set r = w.Cells(1, 1)`\n`    '`\n`    'put the data`\n`    '`\n`    Set jr = c.find(\"rows\")`\n`    Set jc = c.find(\"cols\")`\n`    `\n`    ' here's the column headings`\n`    '`\n`    If Not jc Is Nothing Then`\n`        For Each job In jc.children`\n`            s = job.child(\"label\").value`\n`            If s = vbNullString Then`\n`                s = job.child(\"id\").value`\n`            End If`\n`            r.Offset(, job.childIndex - 1).value = s`\n`        Next job`\n`    End If`\n`    '`\n`    ' and these are the rows`\n`    '`\n`    If Not jr Is Nothing Then`\n`        For Each job In jr.children`\n`            For Each joc In job.child(\"c\").children`\n`                r.Offset(job.childIndex, joc.childIndex - 1).value = joc.child(\"v\").value`\n`            Next joc`\n`        Next job`\n`    End If`\n`    Application.Calculation = xlCalculationAutomatic`\n`    Application.ScreenUpdating = True`\n`    ' release the cJobject memory`\n`    c.tearDown`\n`    ' signal that all is good`\n`    defer.resolve (a)`\n`End Sub`\n`Public Sub getSheets(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    ' this will be called when I want to get all the data`\n`    ' the schema will be the 1st argument of a()`\n`    '`\n`    `\n`    Dim c As cJobject, cj As cJobject, job As cJobject, _`\n`        joc As cJobject, s As String, u() As String, url As String, i As Long, _`\n`        d() As cPromise, b As cBackoff, def As cDeferred, testing As Boolean, maxU As Long`\n`        `\n`    ' limit processing for debugging by setting this true`\n`    testing = False`\n`    `\n`    Set c = a(LBound(a))`\n`    Set cj = c.find(\"feed.entry\")`\n`    If cj Is Nothing Then`\n`        defer.reject (Array(\"could not find feed urls in schema entries\"))`\n`        Exit Sub`\n`    End If`\n`    ' these will be the urls for each sheet to get`\n`    maxU = cj.children.Count`\n`    If (testing) Then maxU = 1`\n`    ReDim u(0 To maxU - 1)`\n`    ReDim d(0 To maxU - 1)`\n`    ReDim t(0 To maxU - 1)`\n`    `\n`    If (arrayLength(u) = 0) Then`\n`        defer.reject (Array(\"there were no sheets in the schema\"))`\n`        Exit Sub`\n`    End If`\n`    `\n`    ' extract the vizapi links`\n`    For Each job In cj.children`\n`        If job.childIndex > maxU Then Exit For`\n`        url = vbNullString`\n`        For Each joc In job.child(\"link\").children`\n`            s = joc.toString(\"rel\")`\n`            ' we're going to use the link for viz api`\n`            If InStr(1, s, \"visualizationApi\") Then`\n`                url = joc.toString(\"href\")`\n`            End If`\n`        Next joc`\n`        If (url = vbNullString) Then`\n`            defer.reject (Array(\"couldnt find the vizapi link in the schema\"))`\n`            Exit Sub`\n`        End If`\n`        ' store it`\n`        u(job.childIndex - 1) = url`\n`        If (job.child(\"title.\\$t\") Is Nothing) Then`\n`            defer.reject (Array(\"couldnt find the tiles node in the schema\"))`\n`            Exit Sub`\n`        End If`\n`        t(job.childIndex - 1) = job.toString(\"title.\\$t\")`\n`    Next job`\n`    ' when we get here, we have to set up a promise for each of the urls and get the data`\n`    For i = LBound(u) To UBound(u)`\n`        Set b = New cBackoff`\n`        Set def = New cDeferred`\n`        Set d(i) = def.promise`\n`        b.execute(u(i)) _`\n`            .done(Me, \"storeData\", def, Array(t(i))) _`\n`            .fail Me, \"show\"`\n`    `\n`    Next i`\n`    'signal the urls have been processed`\n`    when(d) _`\n`        .done(Me, \"resolve\", defer) _`\n`        .fail Me, \"reject\", defer`\n`        `\n`End Sub`\n`Public Sub resolve(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    defer.resolve (Array(\"urls done\"))`\n`End Sub`\n`Public Sub reject(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    defer.resolve (Array(\"urls done\"))`\n`End Sub`\n\n`Public Sub tearDown(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n\n`End Sub`\n`Private Sub class_initialize()`\n`    keepInRegister Me, , \"cProcessData\"`\n`End Sub`\n\n`Private Function getJsonDataFromArray(a As Variant, _`\n`        Optional t As eDeserializeType = eDeserializeNormal) As cJobject`\n`    ' this will organize the data returned from a standard httpdeferred`\n`    Dim c As cJobject, s As String`\n`    Set c = New cJobject`\n`    If t = eDeserializeGoogleWire Then`\n`        s = cleanGoogleWire(CStr(a(LBound(a) + 1)))`\n`    Else`\n`        s = CStr(a(LBound(a) + 1))`\n`    End If`\n`    `\n`    With c.init(Nothing)`\n`        .add \"url\", CStr(a(LBound(a)))`\n`        .add(\"data\").append JSONParse(s, t)`\n`    End With`\n`    Set getJsonDataFromArray = c`\n`End Function`\n\n`Public Sub show(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    Dim i As Long`\n`    Debug.Print \"show:\";`\n`    For i = LBound(a) To UBound(a)`\n`        Debug.Print a(i)`\n`    Next i`\n`    Debug.Print \"\"`\n`End Sub`\n\n#### getSchema method\n\nThis will be called when it’s time to extract the schema from the data returned by the cBackoff class. Every method that is likely to be called by a .done() or a .fail() should have the same argument list.\n\na As Variant – this is the data that will have been signalled in .resolve(array(data))  and will be an array of whatever\nOptional defer As cDeferred – this can be used to signal completion of this task through a promise\nOptional args As Variant – this is another array that this time can be passed via .done()\n\n` `\n`Public Sub getSchema(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    ' this will be called when I get the schema.`\n`    ' the schema will be the 2nd argument of a(), 1st will be the url`\n`    Dim c As cJobject`\n`    Set c = getJsonDataFromArray(a)`\n`    ' register it so it gets cleaned up later`\n`    keepInRegister c, \"schema\", \"cJobject\"`\n`    ' we'll pass back the parsed schema`\n`    defer.resolve (Array(c))`\n`End Sub`\n` `\nThe json of the schema get parsed and creates a cJobject . We register it so that it doesnt slip out of memory, but also so that it can be easily cleaned up later (cjobject has a teardown class that will be executed by register.teardown()). Finally we resolve the work and pass on the cJobject containing the schema data.\n\n#### getSheets method\n\nOnce getSchema (and deleteallthesheets) is resolved, this will be called to go and get each of the sheets referenced in the schema. Much f the code here is simply about converting google wire protocol. The interesting part is this section….\n\n`    ' when we get here, we have to set up a promise for each of the urls and get the data`\n`    For i = LBound(u) To UBound(u)`\n`        Set b = New cBackoff`\n`        Set def = New cDeferred`\n`        Set d(i) = def.promise`\n`        b.execute(u(i)) _`\n`            .done(Me, \"storeData\", def, Array(t(i))) _`\n`            .fail Me, \"show\"`\n`    `\n`    Next i`\n` `\n\nEach sheet is retrieved asynchronously using a cBackoff, and its promise is stored in an array of promises. On each resolution, the storeData() method will be called to move the data into the Excel sheet. So there are a whole stream of data fetches and data stores all happening at the same time.\n\n`Public Sub getSheets(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    ' this will be called when I want to get all the data`\n`    ' the schema will be the 1st argument of a()`\n`    '`\n`    `\n`    Dim c As cJobject, cj As cJobject, job As cJobject, _`\n`        joc As cJobject, s As String, u() As String, url As String, i As Long, _`\n`        d() As cPromise, b As cBackoff, def As cDeferred, testing As Boolean, maxU As Long`\n`        `\n`    ' limit processing for debugging by setting this true`\n`    testing = False`\n`    `\n`    Set c = a(LBound(a))`\n`    Set cj = c.find(\"feed.entry\")`\n`    If cj Is Nothing Then`\n`        defer.reject (Array(\"could not find feed urls in schema entries\"))`\n`        Exit Sub`\n`    End If`\n`    ' these will be the urls for each sheet to get`\n`    maxU = cj.children.Count`\n`    If (testing) Then maxU = 1`\n`    ReDim u(0 To maxU - 1)`\n`    ReDim d(0 To maxU - 1)`\n`    ReDim t(0 To maxU - 1)`\n`    `\n`    If (arrayLength(u) = 0) Then`\n`        defer.reject (Array(\"there were no sheets in the schema\"))`\n`        Exit Sub`\n`    End If`\n`    `\n`    ' extract the vizapi links`\n`    For Each job In cj.children`\n`        If job.childIndex > maxU Then Exit For`\n`        url = vbNullString`\n`        For Each joc In job.child(\"link\").children`\n`            s = joc.toString(\"rel\")`\n`            ' we're going to use the link for viz api`\n`            If InStr(1, s, \"visualizationApi\") Then`\n`                url = joc.toString(\"href\")`\n`            End If`\n`        Next joc`\n`        If (url = vbNullString) Then`\n`            defer.reject (Array(\"couldnt find the vizapi link in the schema\"))`\n`            Exit Sub`\n`        End If`\n`        ' store it`\n`        u(job.childIndex - 1) = url`\n`        If (job.child(\"title.\\$t\") Is Nothing) Then`\n`            defer.reject (Array(\"couldnt find the tiles node in the schema\"))`\n`            Exit Sub`\n`        End If`\n`        t(job.childIndex - 1) = job.toString(\"title.\\$t\")`\n`    Next job`\n`    ' when we get here, we have to set up a promise for each of the urls and get the data`\n`    For i = LBound(u) To UBound(u)`\n`        Set b = New cBackoff`\n`        Set def = New cDeferred`\n`        Set d(i) = def.promise`\n`        b.execute(u(i)) _`\n`            .done(Me, \"storeData\", def, Array(t(i))) _`\n`            .fail Me, \"show\"`\n`    `\n`    Next i`\n`    'signal the urls have been processed`\n`    when(d) _`\n`        .done(Me, \"resolve\", defer) _`\n`        .fail Me, \"reject\", defer`\n`        `\n`End Sub`\nFinally, we can use when() to resolve that we have completely finished all the retrievals, since we have an array of the all the promises that have been issued, each of which will have been resolved when the data from them has been transferred to excel by storeData.\n\n#### storeData method\n\nThis is the final step. Data from each sheet is passed here and converting to a cJobject. When done its promise will be resolved. These promises make up the list that getSheets() is waiting for before finally declaring victory.\n\n`Public Sub storeData(a As Variant, Optional defer As cDeferred, Optional args As Variant)`\n`    ' this will be called each time I have some data from the vizAPI`\n`    ' the schema will be the 2nd argument of a(), 1st will be the url`\n`    `\n`    Dim c As cJobject, job As cJobject, jr As cJobject, jc As cJobject, _`\n`        s As String, joc As cJobject, r As Range, w As Worksheet`\n`    Set c = getJsonDataFromArray(a, eDeserializeGoogleWire)`\n`    Application.ScreenUpdating = False`\n`    Application.Calculation = xlCalculationManual`\n`    ' add a worksheet`\n`    Set w = Worksheets.add()`\n`    w.name = CStr(args(LBound(args)))`\n`    Set r = w.Cells(1, 1)`\n`    '`\n`    'put the data`\n`    '`\n`    Set jr = c.find(\"rows\")`\n`    Set jc = c.find(\"cols\")`\n`    `\n`    ' here's the column headings`\n`    '`\n`    If Not jc Is Nothing Then`\n`        For Each job In jc.children`\n`            s = job.child(\"label\").value`\n`            If s = vbNullString Then`\n`                s = job.child(\"id\").value`\n`            End If`\n`            r.Offset(, job.childIndex - 1).value = s`\n`        Next job`\n`    End If`\n`    '`\n`    ' and these are the rows`\n`    '`\n`    If Not jr Is Nothing Then`\n`        For Each job In jr.children`\n`            For Each joc In job.child(\"c\").children`\n`                r.Offset(job.childIndex, joc.childIndex - 1).value = joc.child(\"v\").value`\n`            Next joc`\n`        Next job`\n`    End If`\n`    Application.Calculation = xlCalculationAutomatic`\n`    Application.ScreenUpdating = True`\n`    ' release the cJobject memory`\n`    c.tearDown`\n`    ' signal that all is good`\n`    defer.resolve (a)`\n`End Sub`\n\n#### Summary\n\nAlthough conceptually this is a little harder to deal with than if this had been done synchronously, the use of promises helps  control the complex asynchronous orchestration. In fact  I can’t imagine doing it without it now. See more about  Promises in VBA" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.78860503,"math_prob":0.7428204,"size":16511,"snap":"2019-51-2020-05","text_gpt3_token_len":4327,"char_repetition_ratio":0.12437148,"word_repetition_ratio":0.55563664,"special_character_ratio":0.24365574,"punctuation_ratio":0.11584997,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.962102,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-18T05:58:11Z\",\"WARC-Record-ID\":\"<urn:uuid:26849e56-a0b0-4569-81dc-6250bd74f181>\",\"Content-Length\":\"184157\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f4387b69-15fc-4d6d-80a4-74c6789cdcc6>\",\"WARC-Concurrent-To\":\"<urn:uuid:247aeebc-45c4-446e-8a86-257e8550203c>\",\"WARC-IP-Address\":\"192.241.148.82\",\"WARC-Target-URI\":\"https://pepada.com/classes/promises-in-vba/complex-aynchronous-web-services\",\"WARC-Payload-Digest\":\"sha1:YR4I57FZKN3Q2WIHHDZKH5NCWSAAOIEZ\",\"WARC-Block-Digest\":\"sha1:VYJOSSKLSSQSBZHDS5UHSNWHX2HTYBJS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250592261.1_warc_CC-MAIN-20200118052321-20200118080321-00441.warc.gz\"}"}
https://encyclopedia2.thefreedictionary.com/Poincar%C3%A9+recurrence+theorem
[ "Poincaré recurrence theorem\n\nAlso found in: Wikipedia.\n\nPoincaré recurrence theorem\n\n[‚pwän‚kä′rā ri′kə·rəns ‚thir·əm]\n(mathematics)\nA volume preserving homeomorphism T of a finite dimensional Euclidean space will have, for almost all points x, infinitely many points of the form T i (x), i = 1, 2, … within any open set containing x.\nA measure preserving transformation on a space with finite measure is recurrent.\nSite: Follow: Share:\nOpen / Close" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.7427124,"math_prob":0.9663047,"size":412,"snap":"2019-43-2019-47","text_gpt3_token_len":113,"char_repetition_ratio":0.10539216,"word_repetition_ratio":0.0,"special_character_ratio":0.21601942,"punctuation_ratio":0.118421055,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9621117,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-10-19T12:38:44Z\",\"WARC-Record-ID\":\"<urn:uuid:159b55d6-c060-46fa-9617-dcbd25f06cb8>\",\"Content-Length\":\"39756\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:117d6a7a-3ca1-4f08-bfd6-671d9a4fcc14>\",\"WARC-Concurrent-To\":\"<urn:uuid:fd8047f2-8e78-4082-bd31-8da03a13e058>\",\"WARC-IP-Address\":\"91.204.210.230\",\"WARC-Target-URI\":\"https://encyclopedia2.thefreedictionary.com/Poincar%C3%A9+recurrence+theorem\",\"WARC-Payload-Digest\":\"sha1:3PEZFVFPVEIDXULH45BRJXD5KVBLEOSQ\",\"WARC-Block-Digest\":\"sha1:RWJNCHBWEZX6A632E3TVSCVP2UGNCXPF\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-43/CC-MAIN-2019-43_segments_1570986693979.65_warc_CC-MAIN-20191019114429-20191019141929-00105.warc.gz\"}"}
http://rossriveryukon.info/100-math-facts-worksheets-printable/division-worksheet-printable-math-rounding-coloring-worksheets-moreover-grade-3-grade-3-math-worksheets-table-worksheet-100-math-facts-worksheets-printable-worksheets-for-1st-grade-reading/
[ "# Division Worksheet Printable Math Rounding Coloring Worksheets Moreover Grade 3 Grade 3 Math Worksheets Table Worksheet 100 Math Facts Worksheets Printable Worksheets For 1st Grade Reading", null, "division worksheet printable math rounding coloring worksheets moreover grade 3 grade 3 math worksheets table worksheet 100 math facts worksheets printable worksheets for 1st grade reading.\n\nworksheets4kids perimeter worksheets for 4th grade geometry of math addition within teachers,worksheets for 1st grade reading comprehension 2nd math pdf facts printable addition and subtraction timed,worksheets for kindergarten science preschool math counting printable facts worksheet teachers,addition worksheets worksheetworks solving multi step equations for kindergarten pdf 4th grade science,worksheets for preschool numbers 2nd grade writing math facts printable main ideas 4th,addition worksheets for you to print right now 1st grade reading comprehension teachers english work handwriting,worksheets for 4th grade english 1st reading pre k 3 math facts fourth printable download,worksheetworks coordinate picture worksheets for pre k math 1st grade reading addition facts worksheet unique best 1 bis images on free,worksheets for preschool numbers multiplication math facts problems worksheets4kids area kindergarten reading,worksheets work times tables to free printable multiplication facts worksheet 2 for 1st graders reading grade." ]
[ null, "http://rossriveryukon.info/wp-content/uploads/2019/05/division-worksheet-printable-math-rounding-coloring-worksheets-moreover-grade-3-grade-3-math-worksheets-table-worksheet-100-math-facts-worksheets-printable-worksheets-for-1st-grade-reading.jpg", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.80666375,"math_prob":0.68754387,"size":1234,"snap":"2019-13-2019-22","text_gpt3_token_len":231,"char_repetition_ratio":0.25609756,"word_repetition_ratio":0.0,"special_character_ratio":0.15640195,"punctuation_ratio":0.06077348,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97881746,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-05-20T16:30:48Z\",\"WARC-Record-ID\":\"<urn:uuid:9e030ec7-bfc8-45a6-890e-f77002b3befb>\",\"Content-Length\":\"52924\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:50457a3e-745c-4442-9b0d-1e8f36802835>\",\"WARC-Concurrent-To\":\"<urn:uuid:3894f75f-5d93-4a05-8d02-1cf25ceef293>\",\"WARC-IP-Address\":\"104.31.64.193\",\"WARC-Target-URI\":\"http://rossriveryukon.info/100-math-facts-worksheets-printable/division-worksheet-printable-math-rounding-coloring-worksheets-moreover-grade-3-grade-3-math-worksheets-table-worksheet-100-math-facts-worksheets-printable-worksheets-for-1st-grade-reading/\",\"WARC-Payload-Digest\":\"sha1:VBGCDMBA4NQXPGEZPW6QWEPW6QGNNUAI\",\"WARC-Block-Digest\":\"sha1:44AEE6CPY4ZMCOF42B6J5MV2OAXU3GK5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-22/CC-MAIN-2019-22_segments_1558232256082.54_warc_CC-MAIN-20190520162024-20190520184024-00491.warc.gz\"}"}
https://arduino.stackexchange.com/questions/63495/issue-with-indenting-the-serial-print-data-in-the-serial-monitor
[ "# Issue with Indenting the Serial Print data in the Serial Monitor\n\nI have a question with Serial Print. I want the Sensor reading values to fall under 3 columns, and each column should have the readings from the same sensor.\n\nRaw Value | Sensor 1 | Sensor 2 | Sensor 3\n\nhow can I modify this code do this?\n\nBelow I have posted my code and what I currently see using the Serial Monitor\n\n`````` void loop(){\n\nVoltage0 = (RawValue0 / 1023.0) * 5000; // 5000 to get millivots.\ntempC0 = (Voltage0-500) * 0.1; // 500 is the offset\ntempF0 = (tempC0 * 1.8) + 32; // conver to F\nSerial.print(\"Raw Value = \" ); // shows pre-scaled value\nSerial.print(RawValue0);\nSerial.print(\"\\t milli volts = \"); // shows the voltage measured\nSerial.print(Voltage0,0); //\nSerial.print(\"\\t Sensor 1: Temperature in C = \");\nSerial.print(tempC0,1);\nSerial.print(\"\\t Sensor 1: Temperature in F = \");\nSerial.println(tempF0,1);\ndelay(500);\n``````", null, "• you have no code for dealing with sensor 2 and sensor 3 ..... there is no way to modify non-existent code – jsotola Apr 14 '19 at 19:53\n• is this schoolwork? – jsotola Apr 14 '19 at 19:55\n• you already know how to print in column format .... it is entirely unclear what you are having a problem with – jsotola Apr 14 '19 at 19:56\n• think very carefully about this .... do you really want `Raw Value | Sensor 1 | Sensor 2 | Sensor 3`? – jsotola Apr 14 '19 at 20:17\n\nColumns with lines?\n\nThe `sprintf` function can fill data with spaces to align them. However, the Arduino `sprintf` function does not support floating point variables. The `dtostrf` function has already a fixed output width by itself.\nThe sketch below is a combination of UTF-8 characters and the `dtostrf` and `sprintf` functions.\n\n``````void setup() {\nSerial.begin(9600);\n\nSerial.println();\nSerial.println(\"┏━━━━━━┳━━━━━━━━┳━━━━━━━━┓\");\nSerial.println(\"┃ raw ┃ °C ┃ °F ┃\");\nSerial.println(\"┣━━━━━━╋━━━━━━━━╋━━━━━━━━┫\");\n}\n\nvoid loop() {\nint raw = random(0, 1024);\nfloat c = random(-1000, 1000) / 10.0;\nfloat f = random(-500, 1500) / 10.0;\n\nchar buffer_c;\nchar buffer_f;\n\ndtostrf(c, 6, 1, buffer_c);\ndtostrf(f, 6, 1, buffer_f);\n\nchar buffer;\nsprintf(buffer, \"┃ %4d ┃ %s ┃ %s ┃\", raw, buffer_c, buffer_f);\nSerial.println(buffer);\n\ndelay(500);\n}\n``````\n\nThe strlen() function can not be used before printing a floating point number to the serial port, since its length is determined while printing characters to the serial port. The final number of bytes that is written is the return value.\nThere is a way to use that return value, by using a dummy write to a dummy serial port. After that the number of spaces to align the floating point number can be calculated.\n\nThat reduces the code size from 6160 to 4708 for an Arduino Uno.\n\n``````class DummyClass : public Stream\n{\nint available() {return 0;}\nint peek() {return 0;}\nvoid flush() {return;}\nsize_t write(uint8_t) {return 1;}\nusing Print::write;\n};\n\nDummyClass Dummy;\n\nconst int width_r = 4;\nconst int width_c = 6;\nconst int width_f = 6;\n\nvoid setup() {\nSerial.begin(9600);\n\nSerial.println();\nSerial.println(\"┏━━━━━━┳━━━━━━━━┳━━━━━━━━┓\");\nSerial.println(\"┃ raw ┃ °C ┃ °F ┃\");\nSerial.println(\"┣━━━━━━╋━━━━━━━━╋━━━━━━━━┫\");\n}\n\nvoid loop() {\nint raw = random(0, 1024);\nfloat c = random(-1000, 1000) / 10.0;\nfloat f = random(-500, 1500) / 10.0;\n\nint i;\nSerial.print(\"┃ \");\nSpaces(width_r - Dummy.print(raw));\nSerial.print(raw);\nSerial.print(\" ┃ \");\nSpaces(width_c - Dummy.print(c,1));\nSerial.print(c,1);\nSerial.print(\" ┃ \");\nSpaces(width_f - Dummy.print(f,1));\nSerial.print(f,1);\nSerial.print(\" ┃\");\nSerial.println();\n\ndelay(500);\n}\n\nvoid Spaces(int n)\n{\nfor(int i=0; i<n; i++) {\nSerial.print(' ');\n}\n}\n``````\n\nI advise not to use this \"Dummy\" trick. It is mere a coding exercise. I can not find a problem with this trick, but I'm not 100% sure that it is okay.\n\n• use dtostrf for `raw` too and and save 1kB flash on `sprintf` – Juraj Apr 15 '19 at 9:53\n• @Juraj I can do better than that. After reading your answer here: arduino.stackexchange.com/questions/62783/… I tried a dummy class. To my surprise it worked. – Jot Apr 15 '19 at 11:00\n\nHere is a sketch that uses a different approach than Jot uses in his answer. There is no question that Jot's answer is excellent and takes very few lines of code to accomplish.\n\nI thought it would look nice if the Raw Value, an integer, was centered under the \"Raw Value\" column when it was at it's maximum value of 1023. A value of 1 would be right-ish justified, but still aligned with the center in mind.\n\nThe floating point numbers, which could be positive or negative, should be right justified I thought, so I wrote a second function to deal with those numbers.\n\n``````int RawValue0;\nfloat Voltage0, tempC0, tempF0;\n\nvoid setup(){\nSerial.begin(9600);\n\nSerial.println();\nSerial.println(\"Raw Value | Sensor 1 | Sensor 2 | Sensor 3\");\nSerial.println(\"------------------------------------------\");\n\nVoltage0 = 11.0; //(RawValue0 / 1023.0) * 5000; // 5000 to get millivots.\ntempC0 = -100.0; //(Voltage0-500) * 0.1; // 500 is the offset\ntempF0 = 1212.0; //(tempC0 * 1.8) + 32; // conver to F\n}\n\nvoid loop(){\n\n// Increment the variables to simulate test data.\nRawValue0 += 51;\nif(RawValue0 > 1023){RawValue0 = 0;}\nVoltage0 += 99.99;\nif(Voltage0 > 9999.99){Voltage0 = 0.0;}\ntempC0 -= 99.99;\nif(tempC0 < -9999.99){tempC0 = 0.0;}\n\n// Print out the data in columns.\nprintNumber(RawValue0);\nSerial.print(\" | \");\nprintNumber(Voltage0);\nSerial.print(\" | \");\nprintNumber(tempC0);\nSerial.print(\" | \");\nprintNumber(tempF0);\nSerial.println();\ndelay(250);\n}\n\nlong printNumber(int number){\nSerial.print(\" \");\nint spaces = 0;\nif(number < 1000){spaces = 1;}\nif(number < 100){spaces = 2;}\nif(number < 10){spaces = 3;}\nfor(int i = 0; i < spaces; i++){\nSerial.print(\" \");\n}\nSerial.print(number);\n}\n\nfloat printNumber(float number){\nint spaces = 0;\nif(number > -1000.00){Serial.print(\" \");}\nif(number < 1000){spaces = 1;}\nif(number < 100){spaces = 2;}\nif(number < 10){spaces = 3;}\nif(number < 0){spaces = 0;}\nif(number == -99.99){spaces = 1;}\nfor(int i = 0; i < spaces; i++){\nSerial.print(\" \");\n}\nSerial.print(number);\n}\n``````\n\nWhen I compile Jot's sketch, it's 6640 bytes. If you remove his \"fancy\" header, it drops to 6414 bytes. My sketch is 5124 bytes. There is a certain amount of \"overhead\" involved when using `sprintf()`.\n\nThe question you have to ask yourself is, \"Does saving 1000 bytes matter?\"." ]
[ null, "https://i.stack.imgur.com/gKF4R.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.5676142,"math_prob":0.98467034,"size":2466,"snap":"2020-24-2020-29","text_gpt3_token_len":762,"char_repetition_ratio":0.17912267,"word_repetition_ratio":0.1769437,"special_character_ratio":0.33090025,"punctuation_ratio":0.23483366,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9872849,"pos_list":[0,1,2],"im_url_duplicate_count":[null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-15T03:00:48Z\",\"WARC-Record-ID\":\"<urn:uuid:fbdad8c7-6b61-44d2-84b5-122e7f2f551d>\",\"Content-Length\":\"160226\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8494db2b-67b9-49c1-8da6-5aa68b469769>\",\"WARC-Concurrent-To\":\"<urn:uuid:b15eccb7-d3a9-4f87-ab9b-ed495f3f31f2>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://arduino.stackexchange.com/questions/63495/issue-with-indenting-the-serial-print-data-in-the-serial-monitor\",\"WARC-Payload-Digest\":\"sha1:BN7BU26EX24RVIDK7ZAEM6Y5NBADQHZF\",\"WARC-Block-Digest\":\"sha1:3ZVXCEK6BOSTKWVRIJYQOXGIU2FCI6HZ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593657154789.95_warc_CC-MAIN-20200715003838-20200715033838-00218.warc.gz\"}"}
https://jonlabelle.com/snippets/view/sql/winning-streaks-in-mysql
[ "Given a table of IDs and won-lost results, how do we find the longest winning streak?\n\n``````-- ---------------------------------------------------------------------------\n-- Winning Streaks\n--\n-- from the Artful Common Queries page\n-- http://www.artfulsoftware.com/infotree/qrytip.php?id=803\n-- ---------------------------------------------------------------------------\n\n-- Given a table of IDs and won-lost results, how do we find the longest\n-- winning streak?\n\ndrop table if exists results;\ncreate table results(id int,result char(1));\n\ninsert into results values\n(1,'w'),(2,'l'),(3,'l'),(4,'w'),(5,'w'),(6,'w'),(7,'l'),(8,'w'),(9,'w');\n\nselect * from results;\n-- +------+--------+\n-- | id | result |\n-- +------+--------+\n-- | 1 | w |\n-- | 2 | l |\n-- | 3 | l |\n-- | 4 | w |\n-- | 5 | w |\n-- | 6 | w |\n-- | 7 | l |\n-- | 8 | w |\n-- | 9 | w |\n-- +------+--------+\n\n-- We can find streaks of two with a left join on a.id=b.id+1. To count streak\n-- lengths, initialise a counter to 0 then increment it for every hit:\n\nset @count=0;\nselect a.id, a.result, b.result, @count := IF(a.result = b.result, @count + 1, 1) as Streak\nfrom results a\nleft join results b on a.id = b.id + 1\nwhere a.result = 'w';\n\n-- The longest winning streak is the longest such streak found:\n\nset @count=0;\nselect MAX(@count:=IF(a.result = b.result, @count + 1, 1)) as LongestStreak\nfrom results a\nleft join results b on a.id = b.id + 1\nwhere a.result = 'w';\n-- +---------------+\n-- | LongestStreak |\n-- +---------------+\n-- | 3 |\n-- +---------------+\n\n-- That solution is from a response by Jon Roshko to a question by Ed Ball on\n-- the MySQL Newbie Forum. Scott Noyes points out that our query pattern for\n-- sequence starts and ends also works for winning streaks:\n\nSELECT MIN( c.id ) - a.id + 1 as LongestStreak\nFROM results AS a\nLEFT JOIN results AS b ON a.id = b.id + 1 AND b.result = 'w'\nLEFT JOIN results AS c ON a.id <= c.id AND c.result = 'w'\nLEFT JOIN results AS d ON c.id = d.id - 1 AND d.result = 'w'\nWHERE\na.result = 'w'\nAND b.id IS NULL\nAND c.id IS NOT NULL\nAND d.id IS NULL\nGROUP BY a.id\nORDER BY LongestStreak DESC LIMIT 1;``````" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6182502,"math_prob":0.9021894,"size":2095,"snap":"2023-40-2023-50","text_gpt3_token_len":613,"char_repetition_ratio":0.24390244,"word_repetition_ratio":0.1689008,"special_character_ratio":0.45202863,"punctuation_ratio":0.19069767,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9722706,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-11-30T04:38:28Z\",\"WARC-Record-ID\":\"<urn:uuid:6560cb62-73d4-4e75-9172-6a47d46022aa>\",\"Content-Length\":\"11773\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f92b79a2-1ec8-4eef-85a7-93859fca5032>\",\"WARC-Concurrent-To\":\"<urn:uuid:0fb41a2a-dc92-40d6-a121-73c19b976ed8>\",\"WARC-IP-Address\":\"45.32.199.83\",\"WARC-Target-URI\":\"https://jonlabelle.com/snippets/view/sql/winning-streaks-in-mysql\",\"WARC-Payload-Digest\":\"sha1:57QCRPC2FCYWF33WSFGJRGRERVKNBNJC\",\"WARC-Block-Digest\":\"sha1:DAXEFDYDB7UC3M67VH7K53FKL7LJ6QGT\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100164.87_warc_CC-MAIN-20231130031610-20231130061610-00445.warc.gz\"}"}
https://smallbusiness.chron.com/mean-depreciation-computed-straightline-basis-20495.html
[ "What Does It Mean That Depreciation Is Computed on a Straight-Line Basis?\n\nDepreciation can refer to the decline in an asset's value due to its use in business activities, its gradual obsolescence, its depletion and other causes. It can also refer to the accounting procedure used to represent this change in value on the accounts, where the asset has a portion of its value deducted in each time period in which it continues to be used. Multiple methods exist for calculating depreciation, and the straight-line method is one of the most popular.\n\nDepreciation\n\nOnly long-term assets with physical existence and finite usefulness are depreciated to reflect their declining value. Depreciation is done in order to accurately portray the process through which depreciable assets become useless. This way, assets that become useless do not have their entire values recorded as a single enormous loss at the end of their usefulness and instead have those losses spread across the entire time span of their usefulness.\n\nStraight-Line Method\n\nMultiple methods exist to calculate an depreciation. The straight-line method is one of the simplest, and is the most popular. The straight-line method allocates an equal amount of depreciation during each period during its useful life.\n\nParameters Used in Straight-Line Method\n\nBook value, useful lifespan, and residual value upon disposal are parameters used in the straight-line depreciation method. Book value is the value of the asset at its time of acquisition, and is usually the price paid for it. Useful lifespan is the length of time that the asset is expected to remain useful. Residual value upon disposal is the estimated salvage value of the asset at the end of its usefulness, and is often zero. Book value minus residual value upon disposal is equal to the asset's depreciable value.\n\nImplementation of Straight-Line Method\n\nSuppose that a business purchased a \\$20,000 machine with an estimated lifespan of 10 years and a residual value upon disposal of \\$2,000. Its depreciable value is thus \\$18,000, to be allocated across 10 years. The machine is depreciated by \\$1,800 in each year of its useful lifespan." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.95059186,"math_prob":0.9114664,"size":2481,"snap":"2022-05-2022-21","text_gpt3_token_len":486,"char_repetition_ratio":0.14210738,"word_repetition_ratio":0.015151516,"special_character_ratio":0.19145505,"punctuation_ratio":0.078125,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9655782,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-20T22:49:49Z\",\"WARC-Record-ID\":\"<urn:uuid:f2a10d0c-2ce5-4793-b082-216cb2e0bc8c>\",\"Content-Length\":\"115801\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:54bf97ef-c933-44cc-adae-91c0552d369d>\",\"WARC-Concurrent-To\":\"<urn:uuid:4a0b7d3f-2bb7-471c-a591-2c2dfef40c74>\",\"WARC-IP-Address\":\"13.32.204.39\",\"WARC-Target-URI\":\"https://smallbusiness.chron.com/mean-depreciation-computed-straightline-basis-20495.html\",\"WARC-Payload-Digest\":\"sha1:NBYSS2OJLOEZZNDP4WC4XIQSQ3ZXUKPY\",\"WARC-Block-Digest\":\"sha1:5JCASDF4MLCPWI2EI6DOROHX74G2AYZA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320302706.62_warc_CC-MAIN-20220120220649-20220121010649-00596.warc.gz\"}"}
https://www.peeranswer.com/question/5fb03ab7f67cda5211f062fb
[ "or\n\nBy signing up, you agree to the terms & conditions.\nFemale\nMale\nYou can change this later in your profile.", null, "Global Chat\n1", null, "Global Chat\nAre you sure to leave this conversation?\nEdit participants\n0wnageWarrior\n34 is playing Draw My Thing\nView Profile\nMessage\nBlock\nUnblock\nReport\n You liked aaa. YARR!\nPeople who like this\nYou must or to do this - it takes 5 seconds!\n5 Peer Bucks\n$5 10 Peer Bucks$10\nHOT\n20 Peer Bucks\n$20 50 Peer Bucks$50\n20 Peer Bucks\n$20.00 Transaction fee$3.00\nTotal\n$3.00", null, "Purchase succesful Purchase Successful! Your Balance: 0 Payment Aborted OOPS. Purchase Canceled. Don't worry, no money was drawn from you. Send Tips PeerAnswer Secure Transfer Amount USD Message$0.00\nSend Tips\nAccept all major credit and debit cards\nNext\nWe NEVER store your card info. We NEVER charge anything unless you requested it.\nAll payment are encrypted, stored and securely processed by Stripe.\nCard is invalid.\nCard Number\nExp Month\nExp Year\nCVV / CVC\nWe NEVER store your card info. We NEVER charge anything unless you requested it.\nAll payment are encrypted, stored and securely processed by Stripe.\nConfirm Payment\nSend Tips\n$0.00 PERSONAL •••• 2415 PAY Change Pay Method PERSONAL •••• 2415 Add a new method + Transfer Detail Joe has received$0.01\nBest wish to you!\nTransfer time: 2016-10-01 21:44\nProcessing...\nAccept all major credit and debit cards\nNext\nWe NEVER store your card info. We NEVER charge anything unless you requested it.\nAll payment are encrypted, stored and securely processed by Stripe.\nCard is invalid.\nCard Number\nExp Month\nExp Year\nCVV / CVC\nWe NEVER store your card info. We NEVER charge anything unless you requested it.\nAll payment are encrypted, stored and securely processed by Stripe.\nEdit Payee Info\nCountry\nState / Province\nCity\nZIP Code / Postal Code\nLegal name\nDate of birth\nSave\nEdit Debit Card\nDebit Card Number\nExp Month\nExp Year\nCVV / CVC\nSave\nUpdating...\n64\n0\n0\n0\n1\nmannikinism1975\nEdit · Unsubscribe · Report · Sat Nov 14 2020 15:14:47 GMT-0500 (EST) chemistry\nLive Preview\nInsert symbol in textarea\nLogic\nGreek letters\nExponent\nTrigonometry\nCalculus\n$\\div$\n$\\times$\n$-$\n$+$\n$\\pm$\n$<$\n$>$\n$\\le$\n$\\ge$\n$=$\n$\\approx$\n$\\neq$\n$\\cup$\n$\\subset$\n$\\supset$\n$\\subseteq$\n$\\supseteq$\n$\\in$\n$\\ni$\n$\\emptyset$\n$\\notin$\n$\\forall$\n$\\exists$\n$\\exists!$\n$\\nexists$\n$\\neg$\n$\\lor$\n$\\land$\n$\\implies$\n$\\Longleftarrow$\n$\\iff$\n$\\equiv$\n$\\otimes$\n$\\oplus$\n$\\cdot$\n$\\cdots$\n$\\ddots$\n$\\alpha$\n$\\beta$\n$\\gamma$\n$\\delta$\n$\\epsilon$\n$\\zeta$\n$\\eta$\n$\\theta$\n$\\iota$\n$\\kappa$\n$\\lambda$\n$\\mu$\n$\\nu$\n$\\xi$\n$\\pi$\n$\\rho$\n$\\sigma$\n$\\tau$\n$\\upsilon$\n$\\phi$\n$\\chi$\n$\\psi$\n$\\omega$\n$\\Gamma$\n$\\Delta$\n$\\Theta$\n$\\Lambda$\n$\\Xi$\n$\\Pi$\n$\\Sigma$\n$\\Phi$\n$\\Psi$\n$\\Omega$\n$\\infty$\n$\\mathbb{R}$\n$\\mathbb{Z}$\n$\\mathbb{Q}$\n$\\mathbb{N}$\n$\\Re$\n$\\Im$\n$x^{a}$\n$x_{b}$\n$x_{a}^{b}$\n$\\sqrt{x}$\n$\\sqrt[n]{x}$\n$\\left| x \\right|$\n$\\frac{a}{b}$\n$\\binom{a}{b}$\n$\\ln$\n$\\log_{n}$\n$\\cos$\n$\\sin$\n$\\tan$\n$\\sec$\n$\\csc$\n$\\cot$\n$\\sin^{-1}$\n$\\cos^{-1}$\n$\\tan^{-1}$\n$\\exp$\n$\\sinh$\n$\\cosh$\n$\\tanh$\n$\\coth$\n$\\overline{\\rm AB}$\n$\\overrightarrow{\\rm AB}$\n$\\angle$\n$\\measuredangle$\n$\\triangle$\n$\\square$\n$\\cong$\n$\\ncong$\n$\\sim$\n$\\nsim$\n$\\|$\n$\\nparallel$\n$\\perp$\n$\\not\\perp$\n$\\sum_{i=1}^{k}$\n$\\prod_{i=1}^{k}$\n$\\int_{a}^{b}$\n$\\int_{a}^\\infty$\n$\\int_\\infty^{b}$\n$\\oint_{a}^{b}$\n$\\iint_{a}^{b}$\n$\\iiint_{a}^{b}$\n$\\lim_{a \\rightarrow b}$\n$\\frac{dx}{dt}$\n$\\frac{\\partial u}{\\partial t}$\n$f^{\\prime}$\n$f^{\\prime \\prime}$\n$\\infty$\n$d\\theta$\n$dV$\n$dA$\n$dxdydz$\n$rdrd\\theta$\n$\\rho^2\\sin \\phi d \\rho d\\phi d \\theta$\nInsert drawing\nInsert\nRecord audio\n00:00\nChoose a subject\nChoose a subject\nbiology\nchemistry\ncomputer science\nenglish\nfrench\ngeography\nhealth\nhistory\nmathematics" ]
[ null, "https://www.peeranswer.com/images/newMessage.png", null, "https://www.peeranswer.com/images/newMessage.png", null, "https://www.peeranswer.com/images/paypal/blue.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9860834,"math_prob":0.999782,"size":1998,"snap":"2021-21-2021-25","text_gpt3_token_len":435,"char_repetition_ratio":0.09729187,"word_repetition_ratio":0.0,"special_character_ratio":0.1986987,"punctuation_ratio":0.1142132,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99943376,"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\":\"2021-05-17T17:11:47Z\",\"WARC-Record-ID\":\"<urn:uuid:02bb3995-d4d6-4bcb-9027-2f5d17c8f29f>\",\"Content-Length\":\"144766\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a7476a3e-958d-448d-972a-1789079144b0>\",\"WARC-Concurrent-To\":\"<urn:uuid:a48d4760-9e05-4821-b955-9a379da2d9ed>\",\"WARC-IP-Address\":\"138.68.235.190\",\"WARC-Target-URI\":\"https://www.peeranswer.com/question/5fb03ab7f67cda5211f062fb\",\"WARC-Payload-Digest\":\"sha1:F5LZUSWC5OC4UXJXIPCTC35ZRQOCYDOE\",\"WARC-Block-Digest\":\"sha1:LGTVCLMX2RQZRSPA6VOMDWI22JSRUZDM\",\"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-00590.warc.gz\"}"}
https://programmingwords.com/home/recursion-tail-call-optimization
[ "## Aug 31 Recursion & Tail Call Optimization\n\nRecursion is, simply put, a function calling itself.\n\n``````def someFunction(x):\nsomeFunction(x - 1)``````\n\nIf you try to run the above code, you'll notice it will run in an infinite loop until something on your machine crashes terribly. This is why every recursive function has two parts: a base case and recursive case. In the above example, we only have a recursive case: that's the part where you recursively call the function. For the function to ever complete, we need a way to break out of the loop.\n\n``````def someFunction(x):\nif (x == 0)\nreturn 0;\nsomeFunction(x - 1)``````\n\nA base case is usually a very simple return value, based on some sort of check. In the above example we are checking if we reduced `x` to 0, and in that case we simply return 0, breaking the recursion.\n\nRecursion lets you solve a bunch of different problems. The canonical example of recursion is a factorial function. The factorial of a natural number is the product of all natural numbers smaller or equal than that number. For instance, the factorial of 4 is `4 * 3 * 2 * 1`.\n\nTo implement this for an arbitrary number, we need some way to keep multiplying and decrementing the number, all the way until we reach 1. There's one thing that makes this easy: the factorial of 4, is the same as factorial of 3 (`3 * 2 * 1`) multiplied by 4. We can generally say that `fact(x) = x * fact(x - 1)`. Using this, we write our function.\n\n``````def fact(n):\nif (n <= 1)\nreturn 1;\n\nreturn n * fact(n - 1);``````\n\nWe can recursively call the `fact` function until we reach 1. When we call the function `fact(4)`, it will call `fact(3)`, and then that function will call `fact(2)`, and so on. When the base case is reached, the function returns `1` to `fact(2)`. `fact(2)` then finishes executing and returns `2 * 1`. `fact(3)` can then return `3 * 2 * 1`, and so on until the root function returns.\n\nWe defined the factorial function with just a few lines of code, and it looks similar to the mathematical definition from above.\n\nIf you don't like recursion, you can also write this as a regular old loop.\n\n``````def fact(n):\nreturnValue = 1;\nfor (i = 1; i < n; i++)\nreturnValue *= i\n\nreturn returnValue``````\n\nIn fact, you can write all recursive programs as loops, and vice versa. This is because recursion is Turing complete. Every program in the world can be written using recursion. Since this is also true for loops, both of these tools can be used to solve the same problems. At least in theory.\n\n## The Trouble With Recursion\n\nOur two `fact` functions behave exactly the same as far as we can see, but behind the scenes there might be big and very important differences. It has to do with the way computers call functions.\n\nYour code does not get executed line-by-line, it has to keep jumping around. When you call a function, you are jumping to the code inside that function, and then returning back to the call site. The compiler needs to keep track of these jumps so it doesn't lose its place. It does this by saving the location it needs to return to in the call stack.\n\nA call stack is a stack that contains function calls, their parameters and local variables, as well as the return address. This allows the compiler to go back from the code inside the function to where the function was called. It's the compiler's version of leaving breadcrumbs so it knows how to find its way back.\n\nWhen you call a function, the compiler adds the function, its parameters, and the return location to the stack. This function will only get cleared off the stack once it's done running.\n\n``[(fact, n = 3, returnAddress = 1)]``\n\nIf `fact` calls another function, the compiler will add another item to the stack. In our case, `fact` is calling itself with `2`, so our stack would have two elements.\n\n``````[(fact, n = 3, returnAddress = 1),\n(fact, n = 2, returnAddress = 5)]``````\n\nThis other function calls `fact(1)`, incrementing the length of the stack to three.\n\n``````[(fact, n = 3, returnAddress = 1),\n(fact, n = 2, returnAddress = 5),\n(fact, n = 1, returnAddress = 5)]``````\n\n`fact(1)` will return `1`, and that's is when the compiler will pop `fact(1)` off the stack, and resume execution at the `returnAddress`. It will do this over and over until the root function returns.\n\nTo calculate the factorial of 3 recursively, we had to store three function calls at once. This is much worse than implementing the function with a for loop. With a for loop, you are not jumping to a new function, so there's no need to add items to the call stack. Our loop example takes up much less memory than the recursive one.\n\nFor small numbers this is not a problem, but for larger numbers and functions with a lot of data, memory consumption builds up. Recursive functions expect the compiler to store all of their calls at once. If the compiler runs out of memory, you will get a stack overflow exception. A problem so bad that they named a whole Q&A site after it.\n\n## The Fix\n\nThe above is only true for some recursive functions and in some languages. There is a way to go around the whole stack overflow issue, and it's called tail call optimization.\n\nA tail call is simply the last instruction in a function. In the following function, the tail call is adding the numbers 2 and 5:\n\n``````def f():\nprint(\"I am some instruction!\")\nreturn 2 + 5``````\n\nA tail call is the last instruction that will be executed, not the instruction that is last in the text. For instance, in our `fact` example, the tail call is performing multiplication, and not the recursive call, because the multiplication operands have to get evaluated before the multiplication can take place.\n\nFunctions that do call themselves as the last instruction are called tail recursive functions. Tail recursive functions don't have the problem of stack overflows, because we can do a little trick that avoids adding new items onto the call stack.\n\nThere is nothing left to do inside a function after the tail call. You won't return back to the function after the tail call. This means you don't need to pass a return address to the function called inside the tail call. Since the whole point of the call stack is knowing where you need to return, you don't need a new item in the stack if you're calling a function inside a tail call.\n\nTo fix our memory issue, we can rewrite our `fact` function to be tail recursive.\n\n``````def fact(n, i):\nif n < 0\nreturn 0\nif n == 0\nreturn 1\nif n == 1:\nreturn i\nelse\nreturn fact(n - 1, n * i)``````\n\nIf we want to calculate the factorial of 3, we would call `fact(3, 1)`. This function behaves the same as our previous one, but you'll notice that the last instruction is a call to `fact`. This means that this function is tail recursive.\n\nWhy is this better than our previous example? Let's take a look at the call stack to see what's going on. When we call `fact(3, 1)` a new item is added to the call stack.\n\n``[(fact, n = 3, i = 1, returnAddress = 1)]``\n\nThe function will call `fact(2, 3)`. However, since we are at the end of the function, we no longer need the function's item in the call stack. It also means the return address for the next call will be the same as it is for the current call. So, we can make a shortcut: instead of allocating a new item on the stack, we simply use the one we already have, and just replace the parameters.\n\n``[(fact, n = 2, i = 3, returnAddress = 1)]``\n\nWe can keep doing this for every recursive call until we get a result. During the whole time of the factorial calculation we are only using a maximum of one item in the call stack. And the best part is this is true no matter how large the number is!\n\nTail call elimination makes tail recursive functions as efficient as loops. Some languages only have recursion, and no loops. If it weren't for this optimization, they would be constantly running our of memory.\n\nIt's important to note that not all languages do this. Even mainstream languages like C and Java don't have tail call optimization. Newer languages like Swift and Kotlin perform tail call optimization, as do most functional programming languages.\n\n## Recursion Is Cool*\n\nRecursion lets you write your code in a different, more expressive style. You can elegantly solve a lot of problems and write your code in a more mathematical style. Just keep in mind the memory and performance requirements of recursion in your language, and make sure you recurse in your tail call!" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.91700375,"math_prob":0.9682283,"size":8191,"snap":"2019-35-2019-39","text_gpt3_token_len":1928,"char_repetition_ratio":0.16941492,"word_repetition_ratio":0.020956123,"special_character_ratio":0.24038579,"punctuation_ratio":0.11570248,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99242556,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-09-19T09:41:14Z\",\"WARC-Record-ID\":\"<urn:uuid:a0742802-4885-41bb-99b1-bf6f0bff37ed>\",\"Content-Length\":\"65460\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:3e6d0ac2-b383-49e5-a03f-6106f16f612d>\",\"WARC-Concurrent-To\":\"<urn:uuid:a360c18d-3ca9-4fa0-bc6a-4b38f548af23>\",\"WARC-IP-Address\":\"198.49.23.144\",\"WARC-Target-URI\":\"https://programmingwords.com/home/recursion-tail-call-optimization\",\"WARC-Payload-Digest\":\"sha1:N5LMBC2JHCJWJFPCD5KWKUENS26KTPPW\",\"WARC-Block-Digest\":\"sha1:GCLIEV64HKPX4UXDE2RQIUURDMTPZFEO\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-39/CC-MAIN-2019-39_segments_1568514573465.18_warc_CC-MAIN-20190919081032-20190919103032-00366.warc.gz\"}"}
https://kupdf.net/download/acct-4400-ch3_5966242fdc0d60686fa88e76_pdf
[ "# ACCT 4400 CH3\n\nJuly 12, 2017 | Author: Caroline Roberson | Category: Forecasting, Seasonality, Regression Analysis, Moving Average, Errors And Residuals\n\n#### Short Description\n\nAudit chapter 3 test bank...\n\n#### Description\n\nChapter 03 Forecasting\n\nTrue / False Questions\n\n1. Forecasting techniques generally assume an existing causal system that will continue to exist in the future. True\n\nFalse\n\n2. For new products in a strong growth mode, a low alpha will minimize forecast errors when using exponential smoothing techniques. True\n\nFalse\n\n3. Once accepted by managers, forecasts should be held firm regardless of new input since many plans have been made using the original forecast. True\n\nFalse\n\n4. Forecasts for groups of items tend to be less accurate than forecasts for individual items because forecasts for individual items don't include as many influencing factors. True\n\nFalse\n\n5. Forecasts help managers both to plan the system itself and to provide valuable information for using the system. True\n\nFalse\n\n6. Organizations that are capable of responding quickly to changing requirements can use a shorter forecast horizon and therefore benefit from more accurate forecasts. True\n\nFalse\n\n7. When new products or services are introduced, focus forecasting models are an attractive option. True\n\nFalse\n\n8. The purpose of the forecast should be established first so that the level of detail, amount of resources, and accuracy level can be understood. True\n\nFalse\n\n9. Forecasts based on time-series (historical) data are referred to as associative forecasts. True\n\nFalse\n\n10. Time-series techniques involve the identification of explanatory variables that can be used to predict future demand. True\n\nFalse\n\n11. A consumer survey is an easy and sure way to obtain accurate input from future customers since most people enjoy participating in surveys. True\n\nFalse\n\n12. The Delphi approach involves the use of a series of questionnaires to achieve a consensus forecast. True\n\nFalse\n\n13. Exponential smoothing adds a percentage (called alpha) of the last period's forecast to estimate the next period's demand. True\n\nFalse\n\n14. The shorter the forecast period, the more accurately the forecasts tend to track what actually happens. True\n\nFalse\n\n15. Forecasting techniques that are based on time-series data assume that future values of the series will duplicate past values. True\n\nFalse\n\n16. Trend-adjusted exponential smoothing uses double smoothing to add twice the forecast error to last period's actual demand. True\n\nFalse\n\n17. Forecasts based on an average tend to exhibit less variability than the original data. True\n\nFalse\n\n18. The naive approach to forecasting requires a linear trend line. True\n\nFalse\n\n19. The naive forecast is limited in its application to series that reflect no trend or seasonality. True\n\nFalse\n\n20. The naive forecast can serve as a quick and easy standard of comparison against which to judge the cost and accuracy of other techniques. True\n\nFalse\n\n21. A moving average forecast tends to be more responsive to changes in the data series when more data points are included in the average. True\n\nFalse\n\n22. In order to update a moving average forecast, the values of each data point in the average must be known. True\n\nFalse\n\n23. Forecasts of future demand are used by operations people to plan capacity. True\n\nFalse\n\n24. An advantage of a weighted moving average is that recent actual results can be given more importance than what occurred a while ago. True\n\nFalse\n\n25. Exponential smoothing is a form of weighted averaging. True\n\nFalse\n\n26. A smoothing constant of .1 will cause an exponential smoothing forecast to react more quickly to a sudden change than a smoothing constant value of .3. True\n\nFalse\n\n27. The T in the model TAF = S + T represents the time dimension (which is usually expressed in weeks or months). True\n\nFalse\n\n28. Trend-adjusted exponential smoothing requires selection of two smoothing constants. True\n\nFalse\n\n29. An advantage of trend-adjusted exponential smoothing over the linear trend equation is its ability to adjust over time to changes in the trend. True\n\nFalse\n\n30. A seasonal relative (or seasonal indexes) is expressed as a percentage of average or trend. True\n\nFalse\n\n31. In order to compute seasonal relatives, the trend of past data must be computed or known, which means that for brand-new products this approach cannot be used. True\n\nFalse\n\n32. Removing the seasonal component from a data series (deseasonalizing) can be accomplished by dividing each data point by its appropriate seasonal relative. True\n\nFalse\n\n33. If a pattern appears when a dependent variable is plotted against time, one should use time series analysis instead of regression analysis. True\n\nFalse\n\n34. Curvilinear and multiple regression procedures permit us to extend associative models to relationships that are nonlinear or involve more than one predictor variable. True\n\nFalse\n\n35. The sample standard deviation of forecast error is equal to the square root of MSE. True\n\nFalse\n\n36. Correlation measures the strength and direction of a relationship between variables. True\n\nFalse\n\n37. MAD is equal to the square root of MSE, which is why we calculate the easier MSE and then calculate the more difficult MAD. True\n\nFalse\n\n38. In exponential smoothing, an alpha of 1.0 will generate the same forecast that a naive forecast would yield. True\n\nFalse\n\n39. A forecast method is generally deemed to perform adequately when the errors exhibit an identifiable pattern. True\n\nFalse\n\n40. A control chart involves setting action limits for cumulative forecast error. True\n\nFalse\n\n41. A tracking signal focuses on the ratio of cumulative forecast error to the corresponding value of MAD. True\n\nFalse\n\n42. The use of a control chart assumes that errors are normally distributed about a mean of zero. True\n\nFalse\n\n43. Bias exists when forecasts tend to be greater or less than the actual values of time series. True\n\nFalse\n\n44. Bias is measured by the cumulative sum of forecast errors. True\n\nFalse\n\n45. Seasonal relatives can be used to deseasonalize data or incorporate seasonality in a forecast. True\n\nFalse\n\n46. The best forecast is not necessarily the most accurate. True\n\nFalse\n\nMultiple Choice Questions\n\n47. Which of the following is a potential shortcoming of using sales force opinions in demand forecasting?\n\nA. Members of the sales force often have substantial histories of working with and understanding their customers. B. Members of the sales force often are well aware of customers' future plans. C. Members of the sales force have direct contact with consumers. D. Members of the sales force can have difficulty distinguishing between what customers would like to do and what they actually will do. E. Customers often are quite open with members of the sales force with regard to future plans. 48. Suppose a four-period weighted average is being used to forecast demand. Weights for the periods are as follows: wt-4 = 0.1, wt-3 = 0.2, wt-2 = 0.3 and wt-1 = 0.4. Demand observed in the previous four periods was as follows: A t-4 = 380, At-3 = 410, At-2 = 390, At-1 = 400. What will be the demand forecast for period t?\n\nA. B. C. D. E.\n\n402 397 399 393 403\n\n49. Suppose a three-period weighted average is being used to forecast demand. Weights for the periods are as follows: wt-3 = 0.2, wt-2 = 0.3 and wt-1 = 0.5. Demand observed in the previous three periods was as follows: At-3 = 2,200, At-2 = 1,950, At-1 = 2,050. What will be the demand forecast for period t?\n\nA. B. C. D. E.\n\n2,000 2,095 1,980 2,050 1,875\n\n50. When choosing a forecasting technique, a critical trade-off that must be considered is that between:\n\nA. B. C. D. E.\n\ntime series and associative. seasonality and cyclicality. length and duration. simplicity and complexity. cost and accuracy.\n\n51. The more novel a new product or service design is, the more forecasters have to rely on:\n\nA. B. C. D. E.\n\nsubjective estimates. seasonality. cyclicality. historical data. smoothed variation.\n\n52. Forecasts based on judgment and opinion do not include:\n\nA. B. C. D. E.\n\nexecutive opinion. salesperson opinion. second opinions. customer surveys. Delphi methods.\n\n53. Which of the following is/are a primary input into capacity, sales, and production planning?\n\nA. B. C. D. E.\n\nproduct design market share ethics globalization demand forecasts\n\n54. Which of the following features would not generally be considered common to all forecasts?\n\nA. Assumption of a stable underlying causal system. B. Actual results will differ somewhat from predicted values. C. Historical data is available on which to base the forecast. D. Forecasts for groups of items tend to be more accurate than forecasts for individual items. E. Accuracy decreases as the time horizon increases. 55. Which of the following is not a step in the forecasting process?\n\nA. B. C. D. E.\n\nDetermine the purpose and level of detail required. Eliminate all assumptions. Establish a time horizon. Select a forecasting model. Monitor the forecast.\n\n56. Minimizing the sum of the squared deviations around the line is called:\n\nA. B. C. D. E.\n\nmean squared error technique. mean absolute deviation. double smoothing. least squares estimation. predictor regression.\n\n57. The two general approaches to forecasting are:\n\nA. B. C. D. E.\n\nmathematical and statistical. qualitative and quantitative. judgmental and qualitative. historical and associative. precise and approximation.\n\n58. Which of the following is not a type of judgmental forecasting?\n\nA. B. C. D. E.\n\nexecutive opinions sales force opinions consumer surveys the Delphi method time series analysis\n\n59. Accuracy in forecasting can be measured by:\n\nA. B. C. D. E.\n\nMSE. MRP. MPS. MTM. MTE.\n\n60. Which of the following would be an advantage of using a sales force composite to develop a demand forecast?\n\nA. The sales staff is least affected by changing customer needs. B. The sales force can easily distinguish between customer desires and probable actions. C. The sales staff is often aware of customers' future plans. D. Salespeople are least likely to be influenced by recent events. E. Salespeople are least likely to be biased by sales quotas.\n\n61. Which phrase most closely describes the Delphi technique?\n\nA. B. C. D. E.\n\nassociative forecast consumer survey series of questionnaires developed in India historical data\n\n62. The forecasting method which uses anonymous questionnaires to achieve a consensus forecast is:\n\nA. B. C. D. E.\n\nsales force opinions. consumer surveys. the Delphi method. time series analysis. executive opinions.\n\n63. One reason for using the Delphi method in forecasting is to:\n\nA. B. C. D. E.\n\navoid premature consensus (bandwagon effect). achieve a high degree of accuracy. maintain accountability and responsibility. be able to replicate results. prevent hurt feelings.\n\n64. Detecting nonrandomness in errors can be done using:\n\nA. B. C. D. E.\n\nMSEs. MAPs. control charts. correlation coefficients. strategies.\n\n65. Gradual, long-term movement in time series data is called:\n\nA. B. C. D. E.\n\nseasonal variation. cycles. irregular variation. trend. random variation.\n\n66. The primary difference between seasonality and cycles is:\n\nA. B. C. D. E.\n\nthe duration of the repeating patterns. the magnitude of the variation. the ability to attribute the pattern to a cause. the direction of the movement. there are only four seasons but 30 cycles.\n\n67. Averaging techniques are useful for:\n\nA. distinguishing between random and nonrandom variations. B. smoothing out fluctuations in time series. C. eliminating historical data. D. providing accuracy in forecasts. E. average people. 68. Putting forecast errors into perspective is best done using\n\nA. B. C. D. E.\n\nexponential smoothing. MAPE. linear decision rules. MAD. hindsight.\n\n69. Using the latest observation in a sequence of data to forecast the next period is:\n\nA. B. C. D. E.\n\na moving average forecast. a naive forecast. an exponentially smoothed forecast. an associative forecast. regression analysis.\n\n70. For the data given below, what would the naive forecast be for period 5?\n\nA. B. C. D. E.\n\n58 62 59.5 61 cannot tell from the data given\n\n71. Moving average forecasting techniques do the following:\n\nA. B. C. D. E.\n\nImmediately reflect changing patterns in the data. Lead changes in the data. Smooth variations in the data. Operate independently of recent data. Assist when organizations are relocating.\n\n72. Which is not a characteristic of simple moving averages applied to time series data?\n\nA. B. C. D. E.\n\nsmoothes random variations in the data weights each historical value equally lags changes in the data requires only last period's forecast and actual data smoothes real variations in the data\n\n73. In order to increase the responsiveness of a forecast made using the moving average technique, the number of data points in the average should be:\n\nA. B. C. D. E.\n\ndecreased. increased. multiplied by a larger alpha. multiplied by a smaller alpha. eliminated if the MAD is greater than the MSE.\n\n74. A forecast based on the previous forecast plus a percentage of the forecast error is:\n\nA. B. C. D. E.\n\na naive forecast. a simple moving average forecast. a centered moving average forecast. an exponentially smoothed forecast. an associative forecast.\n\n75. Which is not a characteristic of exponential smoothing?\n\nA. B. C. D. E.\n\nsmoothes random variations in the data weights each historical value equally has an easily altered weighting scheme has minimal data storage requirements smoothes real variations in the data\n\n76. Which of the following smoothing constants would make an exponential smoothing forecast equivalent to a naive forecast?\n\nA. B. C. D. E.\n\n0 .01 .1 .5 1.0\n\n77. Simple exponential smoothing is being used to forecast demand. The previous forecast of 66 turned out to be four units less than actual demand. The next forecast is 66.6, implying a smoothing constant, alpha, equal to:\n\nA. B. C. D. E.\n\n.01. .10. .15. .20. .60.\n\n78. Given an actual demand of 59, a previous forecast of 64, and an alpha of .3, what would the forecast for the next period be using simple exponential smoothing?\n\nA. B. C. D. E.\n\n36.9 57.5 60.5 62.5 65.5\n\n79. Given an actual demand of 105, a forecasted value of 97, and an alpha of .4, the simple exponential smoothing forecast for the next period would be:\n\nA. B. C. D. E.\n\n80.8. 93.8. 100.2. 101.8. 108.2.\n\n80. Which of the following possible values of alpha would cause exponential smoothing to respond the most quickly to forecast errors?\n\nA. B. C. D. E.\n\n0 .01 .05 .10 .15\n\n81. A manager uses the following equation to predict monthly receipts: Y t = 40,000 + 150t. What is the forecast for July if t = 0 in April of this year?\n\nA. B. C. D. E.\n\n40,450 40,600 42,100 42,250 42,400\n\nA. an exponentially smoothed forecast and a smoothed trend factor. B. an exponentially smoothed forecast and an estimated trend value. C. the old forecast adjusted by a trend factor. D. the old forecast and a smoothed trend factor. E. a moving average and a trend factor.\n\n83. In the additive model for seasonality, seasonality is expressed as a ______________ adjustment to the average; in the multiplicative model, seasonality is expressed as a __________ adjustment to the average.\n\nA. B. C. D. E.\n\nquantity; percentage percentage; quantity quantity; quantity percentage; percentage qualitative; quantitative\n\n84. Which technique is used in computing seasonal relatives?\n\nA. B. C. D. E.\n\ndouble smoothing Delphi mean squared error centered moving average exponential smoothing\n\n85. A persistent tendency for forecasts to be greater than or less than the actual values is called:\n\nA. B. C. D. E.\n\nbias. tracking. control charting. positive correlation. linear regression.\n\n86. Which of the following might be used to indicate the cyclical component of a forecast?\n\nA. B. C. D. E.\n\nleading variable mean squared error Delphi technique exponential smoothing mean absolute deviation\n\n87. The primary method for associative forecasting is:\n\nA. B. C. D. E.\n\nsensitivity analysis. regression analysis. simple moving averages. centered moving averages. exponential smoothing.\n\n88. Which term most closely relates to associative forecasting techniques?\n\nA. B. C. D. E.\n\ntime series data expert opinions Delphi technique consumer survey predictor variables\n\n89. Which of the following corresponds to the predictor variable in simple linear regression?\n\nA. B. C. D. E.\n\nregression coefficient dependent variable independent variable predicted variable demand coefficient\n\n90. The mean absolute deviation is used to:\n\nA. B. C. D. E.\n\nestimate the trend line. eliminate forecast errors. measure forecast accuracy. seasonally adjust the forecast. compute periodic forecast errors.\n\n91. Given forecast errors of 4, 8, and -3, what is the mean absolute deviation?\n\nA. B. C. D. E.\n\n4 3 5 6 12\n\n92. Given forecast errors of 5, 0, -4, and 3, what is the mean absolute deviation?\n\nA. B. C. D. E.\n\n4 3 2.5 2 1\n\n93. Given forecast errors of 5, 0, -4, and 3, what is the bias?\n\nA. B. C. D. E.\n\n-4 4 5 12 6\n\n94. Which of the following is used for constructing a control chart?\n\nA. B. C. D.\n\nmean absolute deviation mean squared error tracking signal bias\n\n95. The two most important factors in choosing a forecasting technique are:\n\nA. B. C. D. E.\n\ncost and time horizon. accuracy and time horizon. cost and accuracy. quantity and quality. objective and subjective components.\n\n96. The degree of management involvement in short-range forecasts is:\n\nA. B. C. D. E.\n\nnone. low. moderate. high. total.\n\n97. Which of the following is not necessarily an element of a good forecast?\n\nA. B. C. D. E.\n\nestimate of accuracy timeliness meaningful units low cost written\n\n98. Forecasting techniques generally assume:\n\nA. the absence of randomness. B. continuity of some underlying causal system. C. a linear relationship between time and demand. D. accuracy that increases the farther out in time the forecast projects. E. accuracy that is better when individual items, rather than groups of items, are being considered. 99. A managerial approach toward forecasting which seeks to actively influence demand is:\n\nA. B. C. D. E.\n\nreactive. proactive. influential. protracted. retroactive.\n\n100 Customer service levels can be improved by better: . A. B. C. D. E.\n\nmission statements. control charting. short-term forecast accuracy. exponential smoothing. customer selection.\n\n101 Given the following historical data, what is the simple three-period moving average . forecast for period 6?\n\nA. B. C. D. E.\n\n67 115 69 68 68.67\n\n102 Given the following historical data and weights of .5, .3, and .2, what is the three. period moving average forecast for period 5?\n\nA. B. C. D. E.\n\n144.20 144.80 144.67 143.00 144.00\n\n103 Use of simple linear regression analysis assumes that: . A. variations around the line are nonrandom. B. deviations around the line are normally distributed. C. predictions can easily be made beyond the range of observed values of the predictor variable. D. all possible predictor variables are included in the model. E. the variance of error terms (deviations) varies directly with the predictor variable. 104 Given forecast errors of -5, -10, and +15, the MAD is: . A. B. C. D. E.\n\n0. 10. 30. 175. 225.\n\n105 The president of State University wants to forecast student enrollments for this . academic year based on the following historical data:\n\nWhat is the forecast for this year using the naive approach?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,000 22,800\n\n106 The president of State University wants to forecast student enrollments for this . academic year based on the following historical data:\n\nWhat is the forecast for this year using a four-year simple moving average?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\n107 The president of State University wants to forecast student enrollments for this . academic year based on the following historical data:\n\nWhat is the forecast for this year using exponential smoothing with alpha = .5, if the forecast for two years ago was 16,000?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\n108 The president of State University wants to forecast student enrollments for this . academic year based on the following historical data:\n\nWhat is the forecast for this year using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\n109 The president of State University wants to forecast student enrollments for this . academic year based on the following historical data:\n\nWhat is the forecast for this year using trend-adjusted (double) smoothing with alpha = .05 and beta = .3, if the forecast for last year was 21,000, the forecast for two years ago was 19,000, and the trend estimate for last year's forecast was 1,500?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\n110 The business analyst for Video Sales, Inc. wants to forecast this year's demand for . DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using the naive approach?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\n111 The business analyst for Video Sales, Inc. wants to forecast this year's demand for . DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using a three-year weighted moving average with weights of .5, .3, and .2?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\n112 The business analyst for Video Sales, Inc. wants to forecast this year's demand for . DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using exponential smoothing with alpha = .4, if the forecast for two years ago was 750?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\n113 The business analyst for Video Sales, Inc. wants to forecast this year's demand for . DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\n114 The business analyst for Video Sales, Inc. wants to forecast this year's demand for . DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using trend-adjusted (double) smoothing with alpha = .3 and beta = .2, if the forecast for last year was 310, the forecast for two years ago was 430, and the trend estimate for last year's forecast was -150?\n\nA. B. C. D. E.\n\n162.4 180.3 301.4 403.2 510.0\n\n115 Professor Very Busy needs to allocate time next week to include time for office hours. . He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using the naive approach?\n\nA. B. C. D. E.\n\n45 50 52 65 78\n\n116 Professor Very Busy needs to allocate time next week to include time for office hours. . He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using a three-week simple moving average?\n\nA. B. C. D. E.\n\n49 50 52 65 78\n\n117 Professor Very Busy needs to allocate time next week to include time for office hours. . He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using exponential smoothing with alpha = .2, if the forecast for two weeks ago was 90?\n\nA. B. C. D. E.\n\n49 50 52 65 77\n\n118 Professor Very Busy needs to allocate time next week to include time for office hours. . He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n49 50 52 65 78\n\n119 Professor Very Busy needs to allocate time next week to include time for office hours. . He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using trend-adjusted (double) smoothing with alpha = .5 and beta = .1, if the forecast for last week was 65, the forecast for two weeks ago was 75, and the trend estimate for last week's forecast was -5?\n\nA. B. C. D. E.\n\n49.3 50.6 51.3 65.4 78.7\n\n120 A concert promoter is forecasting this year's attendance for one of his concerts based . on the following historical data:\n\nWhat is this year's forecast using the naive approach?\n\nA. B. C. D. E.\n\n22,000 20,000 18,000 15,000 12,000\n\n121 A concert promoter is forecasting this year's attendance for one of his concerts based . on the following historical data:\n\nWhat is this year's forecast using a two-year weighted moving average with weights of .7 and .3?\n\nA. B. C. D. E.\n\n19,400 18,600 19,000 11,400 10,600\n\n122 A concert promoter is forecasting this year's attendance for one of his concerts based . on the following historical data:\n\nWhat is this year's forecast using exponential smoothing with alpha = .2, if last year's smoothed forecast was 15,000?\n\nA. B. C. D. E.\n\n20,000 19,000 17,500 16,000 15,000\n\n123 A concert promoter is forecasting this year's attendance for one of his concerts based . on the following historical data:\n\nWhat is this year's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n20,000 21,000 22,000 23,000 24,000\n\n124 A concert promoter is forecasting this year's attendance for one of his concerts based . on the following historical data:\n\nThe previous trend line had predicted 18,500 for two years ago, and 19,700 for last year. What was the mean absolute deviation for these forecasts?\n\nA. B. C. D. E.\n\n100 200 400 500 800\n\n125 The dean of a school of business is forecasting total student enrollment for this year's . summer session classes based on the following historical data:\n\nWhat is this year's forecast using the naive approach?\n\nA. B. C. D. E.\n\n2,000 2,200 2,800 3,000 4,300\n\n126 The dean of a school of business is forecasting total student enrollment for this year's . summer session classes based on the following historical data:\n\nWhat is this year's forecast using a three-year simple moving average?\n\nA. B. C. D. E.\n\n2,667 2,600 2,500 2,400 2,333\n\n127 The dean of a school of business is forecasting total student enrollment for this year's . summer session classes based on the following historical data:\n\nWhat is this year's forecast using exponential smoothing with alpha = .4, if last year's smoothed forecast was 2,600?\n\nA. B. C. D. E.\n\n2,600 2,760 2,800 3,840 3,000\n\n128 The dean of a school of business is forecasting total student enrollment for this year's . summer session classes based on the following historical data:\n\nWhat is the annual rate of change (slope) of the least squares trend line for these data?\n\nA. B. C. D. E.\n\n0 200 400 180 360\n\n129 The dean of a school of business is forecasting total student enrollment for this year's . summer session classes based on the following historical data:\n\nWhat is this year's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n3,600 3,500 3,400 3,300 3,200\n\n130 The owner of Darkest Tans Unlimited in a local mall is forecasting this month's . (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using the naive approach?\n\nA. B. C. D. E.\n\n100 160 130 140 120\n\n131 The owner of Darkest Tans Unlimited in a local mall is forecasting this month's . (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using a four-month weighted moving average with weights of .4, .3, .2, and .1?\n\nA. B. C. D. E.\n\n120 129 141 135 140\n\n132 The owner of Darkest Tans Unlimited in a local mall is forecasting this month's . (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using exponential smoothing with alpha = .2, if August's forecast was 145?\n\nA. B. C. D. E.\n\n144 140 142 148 163\n\n133 The owner of Darkest Tans Unlimited in a local mall is forecasting this month's . (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is the monthly rate of change (slope) of the least squares trend line for these data?\n\nA. B. C. D. E.\n\n320 102 8 -.4 -8\n\n134 The owner of Darkest Tans Unlimited in a local mall is forecasting this month's . (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n1,250 128.6 102 158 164\n\n135 Which of the following mechanisms for enhancing profitability is most likely to result . from improving short-term forecast performance?\n\nA. B. C. D. E.\n\nincreased inventory reduced flexibility higher-quality products greater customer satisfaction greater seasonality\n\n136 Which of the following changes would tend to shorten the time frame for short-term . forecasting?\n\nA. bringing greater variety into the product mix B. increasing the flexibility of the production system C. ordering fewer weather-sensitive items D. adding more special-purpose equipment E. investing in the production system to make it more task-specific 137 Which of the following helps improve supply chain forecasting performance? . A. B. C. D. E.\n\ncontracts that require supply chain members to formulate long-term forecasts penalties for supply chain members that adjust forecasts sharing forecasts or demand data across the supply chain increasing lead times for critical supply chain members increasing the number of suppliers at critical junctures in the supply chain\n\n138 Which of the following would tend to decrease forecast accuracy? . A. a reduction in demand variability B. a shortening of the forecast time horizon C. an attempt to forecast demand for a group of similar items rather than an individual item D. a change in the underlying causal system 139 Which of the following is the most valuable piece of information the sales force can . bring into forecasting situations?\n\nA. what customers are most likely to do in the future B. what customers most want to do in the future C. what customers' future plans are D. whether customers are satisfied or dissatisfied with their performance in the past E. what the salesperson's appropriate sales quota should be\n\nEssay Questions\n\n140 Develop a forecast for the next period, given the data below, using a three-period . moving average.\n\n141 Consider the data below: .\n\nUsing exponential smoothing with alpha = .2, and assuming the forecast for period 11 was 80, what would the forecast for period 14 be?\n\n142 A manager is using exponential smoothing to predict merchandise returns at a . suburban branch of a department store chain. Given a previous forecast of 140 items, an actual number of returns of 148 items, and a smoothing constant equal to .15, what is the forecast for the next period?\n\n143 A manager is using the equation below to forecast quarterly demand for a product: . Yt = 6,000 + 80t where t = 0 at Q2 of last year Quarter relatives are Q1 = .6, Q2 = .9, Q3 = 1.3, and Q4 = 1.2. What forecasts are appropriate for the last quarter of this year and the first quarter of next year?\n\n144 Over the past five years, a firm's sales have averaged 250 units in the first quarter of . each year, 100 units in the second quarter, 150 units in the third quarter, and 300 units in the fourth quarter. What are appropriate quarter relatives for this firm's sales? Hint: Only minimal computations are necessary.\n\n145 A manager has been using a certain technique to forecast demand for gallons of ice . cream for the past six periods. Actual and predicted amounts are shown below. Would a naive forecast have produced better results?\n\n146 A new car dealer has been using exponential smoothing with an alpha of .2 to . forecast weekly new car sales. Given the data below, would a naive forecast have provided greater accuracy? Explain. Assume an initial exponential forecast of 60 units in period 2 (i.e., no forecast for period 1).\n\n147 A CPA firm has been using the following equation to predict annual demand for tax . audits: Yt = 55 + 4t. Demand for the past few years is shown below. Is the forecast performing as well as it might? Explain.\n\n148 Given the data below, develop a forecast for period 6 using a four-period weighted . moving average and weights of .4, .3, .2 and .1.\n\n149 Use linear regression to develop a predictive model for demand for burial vaults . based on sales of caskets.\n\n150 Given the following data, develop a linear regression model for y as a function of x. .\n\n151 Given the following data, develop a linear regression model for y as a function of x. .\n\n152 Develop a linear trend equation for the data on bread deliveries shown below. . Forecast deliveries for period 11 through 14.\n\n153 Demand for the last four months was: .\n\nA) Predict demand for July using each of these methods: 1) a three-period moving average 2) exponential smoothing with alpha equal to .20 (use a naive forecast for April for your first forecast) B) If the naive approach had been used to predict demand for April through June, what would MAD have been for those months?\n\n154 A manager wants to choose one of two forecasting alternatives. Each alternative was . tested using historical data. The resulting forecast errors for the two are shown in the table. Analyze the data and recommend a course of action to the manager.\n\n155 A manager uses this equation to predict demand: Y t = 20 + 4t. Over the past eight . periods, demand has been as follows. Are the results acceptable? Explain.\n\n156 Data on demand over the last few years are available as follows: .\n\nWhat would this year's forecast be if we were using the naive approach?\n\n157 Data on demand over the last few years are available as follows: .\n\nWhat is this year's forecast using a four-year simple moving average?\n\n158 Data on demand over the last few years are available as follows: .\n\nWhat is this year's forecast using exponential smoothing with alpha = .25, if last year's smoothed forecast was 45?\n\n159 Data on demand over the last few years are available as follows: .\n\nWhat are this and next year's forecasts using the least squares trend line for these data?\n\n160 Data on demand over the last few years are available as follows: .\n\nWhat is this year's forecast using trend-adjusted (double) smoothing with alpha = .2 and beta = .1, if the forecast for last year was 56, the forecast for two years ago was 46, and the trend estimate for last year's forecast was 7?\n\n161 Data on the last three years of demand are available as follows: .\n\nWhat is the centered moving average for spring two years ago?\n\n162 Data on the last three years of demand are available as follows: .\n\nWhat is the spring's seasonal relative?\n\n163 Data on the last three years of demand are available as follows: .\n\nWhat is the linear regression trend line for these data (t = 0 for spring, three years ago)?\n\n164 Data on the last three years of demand are available as follows: .\n\nWhat is this year's seasonally adjusted forecast for each season?\n\nTrue / False Questions\n\n1.\n\nForecasting techniques generally assume an existing causal system that will continue to exist in the future. TRUE Forecasts depend on the rules of the game remaining reasonably constant.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 2 Medium Topic: Features Common to All Forecasts\n\n2.\n\nFor new products in a strong growth mode, a low alpha will minimize forecast errors when using exponential smoothing techniques. FALSE If growth is strong, alpha should be large so that the model will catch up more quickly.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n3.\n\nOnce accepted by managers, forecasts should be held firm regardless of new input since many plans have been made using the original forecast. FALSE Flexibility to accommodate major changes is important to good forecasting.\n\nBlooms: Understand Learning Objective: 03-04 Outline the steps in the forecasting process. Level of Difficulty: 1 Easy Topic: Steps in the Forecasting Process\n\n4.\n\nForecasts for groups of items tend to be less accurate than forecasts for individual items because forecasts for individual items don't include as many influencing factors. FALSE Forecasting for an individual item is more difficult than forecasting for a number of items.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 2 Medium Topic: Features Common to All Forecasts\n\n5.\n\nForecasts help managers both to plan the system itself and to provide valuable information for using the system. TRUE Both planning and use are shaped by forecasts.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 1 Easy Topic: Forecasting\n\n6.\n\nOrganizations that are capable of responding quickly to changing requirements can use a shorter forecast horizon and therefore benefit from more accurate forecasts. TRUE If an organization can react more quickly, its forecasts need not be so long term.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-03 List the elements of a good forecast. Level of Difficulty: 2 Medium Topic: Elements of a Good Forecast\n\n7.\n\nWhen new products or services are introduced, focus forecasting models are an attractive option. FALSE Because focus forecasting models depend on historical data, they're not so attractive for newly introduced products or services.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n8.\n\nThe purpose of the forecast should be established first so that the level of detail, amount of resources, and accuracy level can be understood. TRUE All of these considerations are shaped by what the forecast will be used for.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 2 Medium Topic: Steps in the Forecasting Process\n\n9.\n\nForecasts based on time-series (historical) data are referred to as associative forecasts. FALSE Forecasts based on time-series data are referred to as time-series forecasts.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 1 Easy Topic: Associative Forecasting Techniques\n\n10.\n\nTime-series techniques involve the identification of explanatory variables that can be used to predict future demand. FALSE Associative forecasts involve identifying explanatory variables.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n11.\n\nA consumer survey is an easy and sure way to obtain accurate input from future customers since most people enjoy participating in surveys. FALSE Most people do not enjoy participating in surveys.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 1 Easy Topic: Qualitative Forecasts\n\n12.\n\nThe Delphi approach involves the use of a series of questionnaires to achieve a consensus forecast. TRUE A consensus among divergent perspectives is developed using questionnaires.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 1 Easy Topic: Qualitative Forecasts\n\n13.\n\nExponential smoothing adds a percentage (called alpha) of the last period's forecast to estimate the next period's demand. FALSE Exponential smoothing adds a percentage to the last period's forecast error.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n14.\n\nThe shorter the forecast period, the more accurately the forecasts tend to track what actually happens. TRUE Long-term forecasting is much more difficult to do accurately.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 1 Easy Topic: Monitoring the Forecast Error\n\n15.\n\nForecasting techniques that are based on time-series data assume that future values of the series will duplicate past values. FALSE Time-series forecasts assume that future patterns in the series will mimic past patterns in the series.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n16.\n\nTrend-adjusted exponential smoothing uses double smoothing to add twice the forecast error to last period's actual demand. FALSE Trend-adjusted smoothing smoothes both random and trend-related variation.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n17.\n\nForecasts based on an average tend to exhibit less variability than the original data. TRUE Averaging is a way of smoothing out random variability.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n18.\n\nThe naive approach to forecasting requires a linear trend line. FALSE The naive approach is useful in a wider variety of settings.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n19.\n\nThe naive forecast is limited in its application to series that reflect no trend or seasonality. FALSE When a trend or seasonality is present, the naive forecast is more limited in its application.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n20.\n\nThe naive forecast can serve as a quick and easy standard of comparison against which to judge the cost and accuracy of other techniques. TRUE Often the naive forecast performs reasonably well when compared to more complex techniques.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n21.\n\nA moving average forecast tends to be more responsive to changes in the data series when more data points are included in the average. FALSE More data points reduce a moving average forecast's responsiveness.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n22.\n\nIn order to update a moving average forecast, the values of each data point in the average must be known. TRUE The moving average cannot be updated until the most recent value is known.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n23.\n\nForecasts of future demand are used by operations people to plan capacity. TRUE Capacity decisions are made for the future and therefore depend on forecasts.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-04 Outline the steps in the forecasting process. Level of Difficulty: 1 Easy Topic: Forecasting\n\n24.\n\nAn advantage of a weighted moving average is that recent actual results can be given more importance than what occurred a while ago. TRUE Weighted moving averages can be adjusted to make more recent data more important in setting the forecast.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n25.\n\nExponential smoothing is a form of weighted averaging. TRUE The most recent period is given the most weight, but prior periods also factor in.\n\nAccessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n26.\n\nA smoothing constant of .1 will cause an exponential smoothing forecast to react more quickly to a sudden change than a smoothing constant value of .3. FALSE Smaller smoothing constants result in less reactive forecast models.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n27.\n\nThe T in the model TAF = S + T represents the time dimension (which is usually expressed in weeks or months). FALSE The T represents the trend dimension.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n28.\n\nTrend-adjusted exponential smoothing requires selection of two smoothing constants. TRUE One is for the trend and one is for the random error.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n29.\n\nAn advantage of trend-adjusted exponential smoothing over the linear trend equation is its ability to adjust over time to changes in the trend. TRUE A linear trend equation assumes a constant trend; trend-adjusted smoothing allows for changes in the underlying trend.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n30.\n\nA seasonal relative (or seasonal indexes) is expressed as a percentage of average or trend. TRUE Seasonal relatives are used when the seasonal effect is multiplicative rather than additive.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n31.\n\nIn order to compute seasonal relatives, the trend of past data must be computed or known, which means that for brand-new products this approach cannot be used. TRUE Computing seasonal relatives depends on past data being available.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n32.\n\nRemoving the seasonal component from a data series (deseasonalizing) can be accomplished by dividing each data point by its appropriate seasonal relative. TRUE Deseasonalized data points have been adjusted for seasonal influences.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n33.\n\nIf a pattern appears when a dependent variable is plotted against time, one should use time series analysis instead of regression analysis. TRUE Patterns reflect influences such as trends or seasonality that go against regression analysis assumptions.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 3 Hard Topic: Associative Forecasting Techniques\n\n34.\n\nCurvilinear and multiple regression procedures permit us to extend associative models to relationships that are nonlinear or involve more than one predictor variable. TRUE Regression analysis can be used in a variety of settings.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 2 Medium Topic: Associative Forecasting Techniques\n\n35.\n\nThe sample standard deviation of forecast error is equal to the square root of MSE. TRUE The MSE is equal to the sample variance of the forecast error.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 1 Easy Topic: Forecast Accuracy\n\n36.\n\nCorrelation measures the strength and direction of a relationship between variables. TRUE The association between two variations is summarized in the correlation coefficient.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 2 Medium Topic: Associative Forecasting Techniques\n\n37.\n\nMAD is equal to the square root of MSE, which is why we calculate the easier MSE and then calculate the more difficult MAD. FALSE MAD is the mean absolute deviation.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Forecast Accuracy\n\n38.\n\nIn exponential smoothing, an alpha of 1.0 will generate the same forecast that a naive forecast would yield. TRUE With alpha equal to 1 we are using a naive forecasting method.\n\nAccessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n39.\n\nA forecast method is generally deemed to perform adequately when the errors exhibit an identifiable pattern. FALSE Forecast methods are generally considered to be performing adequately when the errors appear to be randomly distributed.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Forecast Accuracy\n\n40.\n\nA control chart involves setting action limits for cumulative forecast error. FALSE Control charts set action limits for the tracking signal.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-15 Construct control charts and use them to monitor forecast errors. Level of Difficulty: 2 Medium Topic: Monitoring the Forecast Error\n\n41.\n\nA tracking signal focuses on the ratio of cumulative forecast error to the corresponding value of MAD. TRUE Large absolute values of the tracking signal suggest a fundamental change in the forecast model's performance.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-15 Construct control charts and use them to monitor forecast errors. Level of Difficulty: 2 Medium Topic: Monitoring the Forecast Error\n\n42.\n\nThe use of a control chart assumes that errors are normally distributed about a mean of zero. TRUE Over time, a forecast model's tracking signal should fluctuate randomly about a mean of zero.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-15 Construct control charts and use them to monitor forecast errors. Level of Difficulty: 3 Hard Topic: Monitoring the Forecast Error\n\n43.\n\nBias exists when forecasts tend to be greater or less than the actual values of time series. TRUE A tendency in one direction is defined as bias.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 1 Easy Topic: Monitoring the Forecast Error\n\n44.\n\nBias is measured by the cumulative sum of forecast errors. TRUE Bias would result in the cumulative sum of forecast errors being large in absolute value.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Monitoring the Forecast Error\n\n45.\n\nSeasonal relatives can be used to deseasonalize data or incorporate seasonality in a forecast. TRUE Seasonal relatives are used to deseasonalize data to forecast future values of the underlying trend, and they are also used to reseasonalize deseasonalized forecasts.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n46.\n\nThe best forecast is not necessarily the most accurate. TRUE More accuracy often comes at too high a cost to be worthwhile.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 2 Medium Topic: Elements of a Good Forecast\n\nMultiple Choice Questions\n\n47.\n\nWhich of the following is a potential shortcoming of using sales force opinions in demand forecasting?\n\nA. Members of the sales force often have substantial histories of working with and understanding their customers. B. Members of the sales force often are well aware of customers' future plans. C. Members of the sales force have direct contact with consumers. D. Members of the sales force can have difficulty distinguishing between what customers would like to do and what they actually will do. E. Customers often are quite open with members of the sales force with regard to future plans. Customers themselves may be unclear regarding what they'd like to do versus what they'll actually do.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 1 Easy Topic: Qualitative Forecasts\n\n48.\n\nSuppose a four-period weighted average is being used to forecast demand. Weights for the periods are as follows: wt-4 = 0.1, wt-3 = 0.2, wt-2 = 0.3 and wt-1 = 0.4. Demand observed in the previous four periods was as follows: A t-4 = 380, At-3 = 410, At-2 = 390, At-1 = 400. What will be the demand forecast for period t?\n\nA. B. C. D. E.\n\n402 397 399 393 403\n\nThe forecast will be (.1 * 380) + (.2 * 410) + (.3 * 390) + (.4 * 400) = 397.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-09 Prepare a weighted-average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n49.\n\nSuppose a three-period weighted average is being used to forecast demand. Weights for the periods are as follows: wt-3 = 0.2, wt-2 = 0.3 and wt-1 = 0.5. Demand observed in the previous three periods was as follows: A t-3 = 2,200, At-2 = 1,950, At-1 = 2,050. What will be the demand forecast for period t?\n\nA. B. C. D. E.\n\n2,000 2,095 1,980 2,050 1,875\n\nThe forecast for will be (.2 * 2,200) + (.3 * 1,950) + (.5 * 2,050) = 2,050.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-09 Prepare a weighted-average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n50.\n\nWhen choosing a forecasting technique, a critical trade-off that must be considered is that between:\n\nA. B. C. D. E.\n\ntime series and associative. seasonality and cyclicality. length and duration. simplicity and complexity. cost and accuracy.\n\nThe trade-off between cost and accuracy is the critical consideration when choosing a forecasting technique.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 1 Easy Topic: Choosing a Forecasting Technique\n\n51.\n\nThe more novel a new product or service design is, the more forecasters have to rely on:\n\nA. B. C. D. E.\n\nsubjective estimates. seasonality. cyclicality. historical data. smoothed variation.\n\nNew products and services lack historical data, so forecasts for them must be based on subjective estimates.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 1 Easy Topic: Choosing a Forecasting Technique\n\n52.\n\nForecasts based on judgment and opinion do not include:\n\nA. B. C. D. E.\n\nexecutive opinion. salesperson opinion. second opinions. customer surveys. Delphi methods.\n\nSecond opinions generally refer to medical diagnoses, not demand forecasting.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 2 Medium Topic: Qualitative Forecasts\n\n53.\n\nWhich of the following is/are a primary input into capacity, sales, and production planning?\n\nA. B. C. D. E.\n\nproduct design market share ethics globalization demand forecasts\n\nDemand forecasts are direct inputs into capacity, sales, and production plans.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 1 Easy Topic: Features Common to All Forecasts\n\n54.\n\nWhich of the following features would not generally be considered common to all forecasts?\n\nA. Assumption of a stable underlying causal system. B. Actual results will differ somewhat from predicted values. C. Historical data is available on which to base the forecast. D. Forecasts for groups of items tend to be more accurate than forecasts for individual items. E. Accuracy decreases as the time horizon increases. In some forecasting situations historical data are not available.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 3 Hard Topic: Features Common to All Forecasts\n\n55.\n\nWhich of the following is not a step in the forecasting process?\n\nA. B. C. D. E.\n\nDetermine the purpose and level of detail required. Eliminate all assumptions. Establish a time horizon. Select a forecasting model. Monitor the forecast.\n\nWe cannot eliminate all assumptions.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-04 Outline the steps in the forecasting process. Level of Difficulty: 2 Medium Topic: Features Common to All Forecasts\n\n56.\n\nMinimizing the sum of the squared deviations around the line is called:\n\nA. B. C. D. E.\n\nmean squared error technique. mean absolute deviation. double smoothing. least squares estimation. predictor regression.\n\nLeast squares estimations minimize the sum of squared deviations around the estimated regression function.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 2 Medium Topic: Associative Forecasting Techniques\n\n57.\n\nThe two general approaches to forecasting are:\n\nA. B. C. D. E.\n\nmathematical and statistical. qualitative and quantitative. judgmental and qualitative. historical and associative. precise and approximation.\n\nForecast approaches are either quantitative or qualitative.\n\nAccessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 1 Easy Topic: Approaches to Forecasting\n\n58.\n\nWhich of the following is not a type of judgmental forecasting?\n\nA. B. C. D. E.\n\nexecutive opinions sales force opinions consumer surveys the Delphi method time series analysis\n\nTime series analysis is a quantitative approach.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 1 Easy Topic: Qualitative Forecasts\n\n59.\n\nAccuracy in forecasting can be measured by:\n\nA. B. C. D. E.\n\nMSE. MRP. MPS. MTM. MTE.\n\nMSE is mean squared error.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 3 Hard Topic: Forecast Accuracy\n\n60.\n\nWhich of the following would be an advantage of using a sales force composite to develop a demand forecast?\n\nA. The sales staff is least affected by changing customer needs. B. The sales force can easily distinguish between customer desires and probable actions. C. The sales staff is often aware of customers' future plans. D. Salespeople are least likely to be influenced by recent events. E. Salespeople are least likely to be biased by sales quotas. Members of the sales force should be the organization's tightest link with its customers.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 3 Hard Topic: Qualitative Forecasts\n\n61.\n\nWhich phrase most closely describes the Delphi technique?\n\nA. B. C. D. E.\n\nassociative forecast consumer survey series of questionnaires developed in India historical data\n\nThe questionnaires are a way of fostering a consensus among divergent perspectives.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 1 Easy Topic: Qualitative Forecasts\n\n62.\n\nThe forecasting method which uses anonymous questionnaires to achieve a consensus forecast is:\n\nA. B. C. D. E.\n\nsales force opinions. consumer surveys. the Delphi method. time series analysis. executive opinions.\n\nAnonymity is important in Delphi efforts.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 1 Easy Topic: Qualitative Forecasts\n\n63.\n\nOne reason for using the Delphi method in forecasting is to:\n\nA. B. C. D. E.\n\navoid premature consensus (bandwagon effect). achieve a high degree of accuracy. maintain accountability and responsibility. be able to replicate results. prevent hurt feelings.\n\nA bandwagon can lead to popular but potentially inaccurate viewpoints to drown out other important considerations.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 2 Medium Topic: Qualitative Forecasts\n\n64.\n\nDetecting nonrandomness in errors can be done using:\n\nA. B. C. D. E.\n\nMSEs. MAPs. control charts. correlation coefficients. strategies.\n\nControl charts graphically depict the statistical behavior of forecast errors.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-15 Construct control charts and use them to monitor forecast errors. Level of Difficulty: 2 Medium Topic: Approaches to Forecasting\n\n65.\n\nGradual, long-term movement in time series data is called:\n\nA. B. C. D. E.\n\nseasonal variation. cycles. irregular variation. trend. random variation.\n\nTrends move the time series in a long-term direction.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n66.\n\nThe primary difference between seasonality and cycles is:\n\nA. B. C. D. E.\n\nthe duration of the repeating patterns. the magnitude of the variation. the ability to attribute the pattern to a cause. the direction of the movement. there are only four seasons but 30 cycles.\n\nSeasons happen within time periods; cycles happen across multiple time periods.\n\nBlooms: Remember Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n67.\n\nAveraging techniques are useful for:\n\nA. B. C. D. E.\n\ndistinguishing between random and nonrandom variations. smoothing out fluctuations in time series. eliminating historical data. providing accuracy in forecasts. average people.\n\nSmoothing helps forecasters see past random error.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n68.\n\nPutting forecast errors into perspective is best done using\n\nA. B. C. D. E.\n\nexponential smoothing. MAPE. linear decision rules. MAD. hindsight.\n\nMAPE depicts the forecast error relative to what was being forecast.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Monitoring the Forecast Error\n\n69.\n\nUsing the latest observation in a sequence of data to forecast the next period is:\n\nA. B. C. D. E.\n\na moving average forecast. a naive forecast. an exponentially smoothed forecast. an associative forecast. regression analysis.\n\nOnly one piece of information is needed for a naive forecast.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n70.\n\nFor the data given below, what would the naive forecast be for period 5?\n\nA. B. C. D. E.\n\n58 62 59.5 61 cannot tell from the data given\n\nPeriod 5's forecast would be period 4's demand.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n71.\n\nMoving average forecasting techniques do the following:\n\nA. B. C. D. E.\n\nImmediately reflect changing patterns in the data. Lead changes in the data. Smooth variations in the data. Operate independently of recent data. Assist when organizations are relocating.\n\nVariation is smoothed out in moving average forecasts.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n72.\n\nWhich is not a characteristic of simple moving averages applied to time series data?\n\nA. B. C. D. E.\n\nsmoothes random variations in the data weights each historical value equally lags changes in the data requires only last period's forecast and actual data smoothes real variations in the data\n\nSimple moving averages can require several periods of data.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n73.\n\nIn order to increase the responsiveness of a forecast made using the moving average technique, the number of data points in the average should be:\n\nA. B. C. D. E.\n\ndecreased. increased. multiplied by a larger alpha. multiplied by a smaller alpha. eliminated if the MAD is greater than the MSE.\n\nFewer data points result in more responsive moving averages.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n74.\n\nA forecast based on the previous forecast plus a percentage of the forecast error is:\n\nA. B. C. D. E.\n\na naive forecast. a simple moving average forecast. a centered moving average forecast. an exponentially smoothed forecast. an associative forecast.\n\nExponential smoothing uses the previous forecast error to shape the next forecast.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n75.\n\nWhich is not a characteristic of exponential smoothing?\n\nA. B. C. D. E.\n\nsmoothes random variations in the data weights each historical value equally has an easily altered weighting scheme has minimal data storage requirements smoothes real variations in the data\n\nThe most recent period of demand is given the most weight in exponential smoothing.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n76.\n\nWhich of the following smoothing constants would make an exponential smoothing forecast equivalent to a naive forecast?\n\nA. B. C. D. E.\n\n0 .01 .1 .5 1.0\n\nAn alpha of 1.0 leads to a naive forecast.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n77.\n\nSimple exponential smoothing is being used to forecast demand. The previous forecast of 66 turned out to be four units less than actual demand. The next forecast is 66.6, implying a smoothing constant, alpha, equal to:\n\nA. B. C. D. E.\n\n.01. .10. .15. .20. .60.\n\nA previous period's forecast error of 4 units would lead to a change in the forecast of 0.6 if alpha equals 0.15.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n78.\n\nGiven an actual demand of 59, a previous forecast of 64, and an alpha of .3, what would the forecast for the next period be using simple exponential smoothing?\n\nA. B. C. D. E.\n\n36.9 57.5 60.5 62.5 65.5\n\nMultiply the previous period's forecast error (-5) by alpha and then add to the previous period's forecast.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n79.\n\nGiven an actual demand of 105, a forecasted value of 97, and an alpha of .4, the simple exponential smoothing forecast for the next period would be:\n\nA. B. C. D. E.\n\n80.8. 93.8. 100.2. 101.8. 108.2.\n\nMultiply the previous period's forecast error (8) by alpha and then add to the previous period's forecast.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n80.\n\nWhich of the following possible values of alpha would cause exponential smoothing to respond the most quickly to forecast errors?\n\nA. B. C. D. E.\n\n0 .01 .05 .10 .15\n\nLarger values for alpha correspond with greater responsiveness.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n81.\n\nA manager uses the following equation to predict monthly receipts: Y t = 40,000 + 150t. What is the forecast for July if t = 0 in April of this year?\n\nA. B. C. D. E.\n\n40,450 40,600 42,100 42,250 42,400\n\nJuly would be period 3, so the forecast would be 40,000 + 150(3).\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n82.\n\nA. an exponentially smoothed forecast and a smoothed trend factor. B. an exponentially smoothed forecast and an estimated trend value. C. the old forecast adjusted by a trend factor. D. the old forecast and a smoothed trend factor. E. a moving average and a trend factor. Both random variation and the trend are smoothed in TAF models.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n83.\n\nIn the additive model for seasonality, seasonality is expressed as a ______________ adjustment to the average; in the multiplicative model, seasonality is expressed as a __________ adjustment to the average.\n\nA. B. C. D. E.\n\nquantity; percentage percentage; quantity quantity; quantity percentage; percentage qualitative; quantitative\n\nThe additive model simply adds a seasonal adjustment to the deseasonalized forecast. The multiplicative model adjusts the deseasonalized forecast by multiplying it by a season relative or index.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n84.\n\nWhich technique is used in computing seasonal relatives?\n\nA. B. C. D. E.\n\ndouble smoothing Delphi mean squared error centered moving average exponential smoothing\n\nThe centered moving average serves as the basis point for computing seasonal relatives.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n85.\n\nA persistent tendency for forecasts to be greater than or less than the actual values is called:\n\nA. B. C. D. E.\n\nbias. tracking. control charting. positive correlation. linear regression.\n\nBias is a tendency for a forecast to be above (or below) the actual value.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Forecast Accuracy\n\n86.\n\nWhich of the following might be used to indicate the cyclical component of a forecast?\n\nA. B. C. D. E.\n\nleading variable mean squared error Delphi technique exponential smoothing mean absolute deviation\n\nLeading variables, such as births in a given year, can correlate strongly with longterm phenomena such as cycles.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n87.\n\nThe primary method for associative forecasting is:\n\nA. B. C. D. E.\n\nsensitivity analysis. regression analysis. simple moving averages. centered moving averages. exponential smoothing.\n\nRegression analysis is an associative forecasting technique.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 2 Medium Topic: Associative Forecasting Techniques\n\n88.\n\nWhich term most closely relates to associative forecasting techniques?\n\nA. B. C. D. E.\n\ntime series data expert opinions Delphi technique consumer survey predictor variables\n\nAssociative techniques use predictor variables.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 2 Medium Topic: Associative Forecasting Techniques\n\n89.\n\nWhich of the following corresponds to the predictor variable in simple linear regression?\n\nA. B. C. D. E.\n\nregression coefficient dependent variable independent variable predicted variable demand coefficient\n\nDemand is the typical dependent variable when forecasting with simple linear regression.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 2 Medium Topic: Associative Forecasting Techniques\n\n90.\n\nThe mean absolute deviation is used to:\n\nA. B. C. D. E.\n\nestimate the trend line. eliminate forecast errors. measure forecast accuracy. seasonally adjust the forecast. compute periodic forecast errors.\n\nMAD is one way of evaluating forecast performance.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Forecast Accuracy\n\n91.\n\nGiven forecast errors of 4, 8, and -3, what is the mean absolute deviation?\n\nA. B. C. D. E.\n\n4 3 5 6 12\n\nConvert each error into an absolute value and then average.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 1 Easy Topic: Forecast Accuracy\n\n92.\n\nGiven forecast errors of 5, 0, -4, and 3, what is the mean absolute deviation?\n\nA. B. C. D. E.\n\n4 3 2.5 2 1\n\nConvert each error into an absolute value and then average.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 1 Easy Topic: Forecast Accuracy\n\n93.\n\nGiven forecast errors of 5, 0, -4, and 3, what is the bias?\n\nA. B. C. D. E.\n\n-4 4 5 12 6\n\nSum the forecast errors.\n\nBlooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Forecast Accuracy\n\n94.\n\nWhich of the following is used for constructing a control chart?\n\nA. B. C. D.\n\nmean absolute deviation mean squared error tracking signal bias\n\nThe mean squared error leads to an estimate for the sample forecast standard deviation.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-15 Construct control charts and use them to monitor forecast errors. Level of Difficulty: 2 Medium Topic: Approaches to Forecasting\n\n95.\n\nThe two most important factors in choosing a forecasting technique are:\n\nA. B. C. D. E.\n\ncost and time horizon. accuracy and time horizon. cost and accuracy. quantity and quality. objective and subjective components.\n\nMore accurate forecasts cost more but may not be worth the additional cost.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 2 Medium Topic: Choosing a Forecasting Technique\n\n96.\n\nThe degree of management involvement in short-range forecasts is:\n\nA. B. C. D. E.\n\nnone. low. moderate. high. total.\n\nShort-range forecasting tends to be fairly routine.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 1 Easy Topic: Choosing a Forecasting Technique\n\n97.\n\nWhich of the following is not necessarily an element of a good forecast?\n\nA. B. C. D. E.\n\nestimate of accuracy timeliness meaningful units low cost written\n\nA good forecast can be quite costly if necessary.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-03 List the elements of a good forecast. Level of Difficulty: 2 Medium Topic: Elements of a Good Forecast\n\n98.\n\nForecasting techniques generally assume:\n\nA. the absence of randomness. B. continuity of some underlying causal system. C. a linear relationship between time and demand. D. accuracy that increases the farther out in time the forecast projects. E. accuracy that is better when individual items, rather than groups of items, are being considered. Forecasting techniques generally assume that the same underlying causal system that existed in the past will continue to exist in the future.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-01 List features common to all forecasts. Level of Difficulty: 1 Easy Topic: Forecast Accuracy\n\n99.\n\nA managerial approach toward forecasting which seeks to actively influence demand is:\n\nA. B. C. D. E.\n\nreactive. proactive. influential. protracted. retroactive.\n\nSimply responding to demand is a reactive approach.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 1 Easy Topic: Using Forecast Information\n\n100. Customer service levels can be improved by better:\n\nA. B. C. D. E.\n\nmission statements. control charting. short-term forecast accuracy. exponential smoothing. customer selection.\n\nMore accurate short-term forecasts enable organizations to better accommodate customer requests.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-03 List the elements of a good forecast. Level of Difficulty: 3 Hard Topic: Operations Strategy\n\n101. Given the following historical data, what is the simple three-period moving average forecast for period 6?\n\nA. B. C. D. E.\n\n67 115 69 68 68.67\n\nAverage demand from periods 3 through 5.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n102. Given the following historical data and weights of .5, .3, and .2, what is the threeperiod moving average forecast for period 5?\n\nA. B. C. D. E.\n\n144.20 144.80 144.67 143.00 144.00\n\nMultiply period 4 (144) by .5, period 3 (148) by .3, and period 2 (142) by .2, then sum these products.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n103. Use of simple linear regression analysis assumes that:\n\nA. variations around the line are nonrandom. B. deviations around the line are normally distributed. C. predictions can easily be made beyond the range of observed values of the predictor variable. D. all possible predictor variables are included in the model. E. the variance of error terms (deviations) varies directly with the predictor variable. That deviations conform to the normal distribution is a very important assumption underpinning simple linear regression.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Remember Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 3 Hard Topic: Associative Forecasting Techniques\n\n104. Given forecast errors of -5, -10, and +15, the MAD is:\n\nA. B. C. D. E.\n\n0. 10. 30. 175. 225.\n\nConvert these errors into absolute value, then average.\n\nAACSB: Analytic Accessibility: Keyboard Navigation Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 1 Easy Topic: Forecast Accuracy\n\n105. The president of State University wants to forecast student enrollments for this academic year based on the following historical data:\n\nWhat is the forecast for this year using the naive approach?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,000 22,800\n\nThis year's forecast would be last year's enrollment.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n106. The president of State University wants to forecast student enrollments for this academic year based on the following historical data:\n\nWhat is the forecast for this year using a four-year simple moving average?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\nAverage enrollment from the last four years.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n107. The president of State University wants to forecast student enrollments for this academic year based on the following historical data:\n\nWhat is the forecast for this year using exponential smoothing with alpha = .5, if the forecast for two years ago was 16,000?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\nMultiply last year's forecast error by the smoothing constant, then add that adjusted error to last year's forecast to get this year's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n108. The president of State University wants to forecast student enrollments for this academic year based on the following historical data:\n\nWhat is the forecast for this year using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\nTreat 5 years ago as period 0.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n109. The president of State University wants to forecast student enrollments for this academic year based on the following historical data:\n\nWhat is the forecast for this year using trend-adjusted (double) smoothing with alpha = .05 and beta = .3, if the forecast for last year was 21,000, the forecast for two years ago was 19,000, and the trend estimate for last year's forecast was 1,500?\n\nA. B. C. D. E.\n\n18,750 19,500 21,000 22,650 22,800\n\nSmooth both the trend and the forecast to get this year's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n110. The business analyst for Video Sales, Inc. wants to forecast this year's demand for DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using the naive approach?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\nThis year's forecast is last year's demand.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n111. The business analyst for Video Sales, Inc. wants to forecast this year's demand for DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using a three-year weighted moving average with weights of .5, .3, and .2?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\nMultiply the last three periods of demand by the appropriate weights, then sum the resulting products.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-09 Prepare a weighted-average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n112. The business analyst for Video Sales, Inc. wants to forecast this year's demand for DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using exponential smoothing with alpha = .4, if the forecast for two years ago was 750?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\nFirst formulate last year's exponentially smoothed forecast, then proceed.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n113. The business analyst for Video Sales, Inc. wants to forecast this year's demand for DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n163 180 300 420 510\n\nTreat the earliest period of demand as period 0, then formulate least squares estimates and proceed.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n114. The business analyst for Video Sales, Inc. wants to forecast this year's demand for DVD decoders based on the following historical data:\n\nWhat is the forecast for this year using trend-adjusted (double) smoothing with alpha = .3 and beta = .2, if the forecast for last year was 310, the forecast for two years ago was 430, and the trend estimate for last year's forecast was -150?\n\nA. B. C. D. E.\n\n162.4 180.3 301.4 403.2 510.0\n\nSmooth both the trend and the forecast to get this year's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-12 Prepare a trend-adjusted exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n115. Professor Very Busy needs to allocate time next week to include time for office hours. He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using the naive approach?\n\nA. B. C. D. E.\n\n45 50 52 65 78\n\nThis week's forecast is last week's demand.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n116. Professor Very Busy needs to allocate time next week to include time for office hours. He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using a three-week simple moving average?\n\nA. B. C. D. E.\n\n49 50 52 65 78\n\nAverage the three most recent weeks of demand.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n117. Professor Very Busy needs to allocate time next week to include time for office hours. He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using exponential smoothing with alpha = .2, if the forecast for two weeks ago was 90?\n\nA. B. C. D. E.\n\n49 50 52 65 77\n\nFormulate the forecast for last week, then use that to get this week's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n118. Professor Very Busy needs to allocate time next week to include time for office hours. He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n49 50 52 65 78\n\nTreat the earliest period as period 0, then formulate least squares coefficients and proceed.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n119. Professor Very Busy needs to allocate time next week to include time for office hours. He needs to forecast the number of students who will seek appointments. He has gathered the following data:\n\nWhat is this week's forecast using trend-adjusted (double) smoothing with alpha = . 5 and beta = .1, if the forecast for last week was 65, the forecast for two weeks ago was 75, and the trend estimate for last week's forecast was -5?\n\nA. B. C. D. E.\n\n49.3 50.6 51.3 65.4 78.7\n\nSmooth both the trend and the forecast to get this year's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-12 Prepare a trend-adjusted exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n120. A concert promoter is forecasting this year's attendance for one of his concerts based on the following historical data:\n\nWhat is this year's forecast using the naive approach?\n\nA. B. C. D. E.\n\n22,000 20,000 18,000 15,000 12,000\n\nThis year's forecast is last year's attendance.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n121. A concert promoter is forecasting this year's attendance for one of his concerts based on the following historical data:\n\nWhat is this year's forecast using a two-year weighted moving average with weights of .7 and .3?\n\nA. B. C. D. E.\n\n19,400 18,600 19,000 11,400 10,600\n\nMultiply the two most recent periods by the appropriate weights, then sum the resulting products.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-09 Prepare a weighted-average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n122. A concert promoter is forecasting this year's attendance for one of his concerts based on the following historical data:\n\nWhat is this year's forecast using exponential smoothing with alpha = .2, if last year's smoothed forecast was 15,000?\n\nA. B. C. D. E.\n\n20,000 19,000 17,500 16,000 15,000\n\nMultiply last year's forecast error by the smoothing constant, then add that product to last year's forecast to get this year's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n123. A concert promoter is forecasting this year's attendance for one of his concerts based on the following historical data:\n\nWhat is this year's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n20,000 21,000 22,000 23,000 24,000\n\nTreat the earliest year as period zero in formulating least squares coefficients.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n124. A concert promoter is forecasting this year's attendance for one of his concerts based on the following historical data:\n\nThe previous trend line had predicted 18,500 for two years ago, and 19,700 for last year. What was the mean absolute deviation for these forecasts?\n\nA. B. C. D. E.\n\n100 200 400 500 800\n\nConvert each period's forecast error into absolute value, then average.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Forecast Accuracy\n\n125. The dean of a school of business is forecasting total student enrollment for this year's summer session classes based on the following historical data:\n\nWhat is this year's forecast using the naive approach?\n\nA. B. C. D. E.\n\n2,000 2,200 2,800 3,000 4,300\n\nThis year's forecast would be last year's enrollment.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n126. The dean of a school of business is forecasting total student enrollment for this year's summer session classes based on the following historical data:\n\nWhat is this year's forecast using a three-year simple moving average?\n\nA. B. C. D. E.\n\n2,667 2,600 2,500 2,400 2,333\n\nAverage the most recent periods of enrollment.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n127. The dean of a school of business is forecasting total student enrollment for this year's summer session classes based on the following historical data:\n\nWhat is this year's forecast using exponential smoothing with alpha = .4, if last year's smoothed forecast was 2,600?\n\nA. B. C. D. E.\n\n2,600 2,760 2,800 3,840 3,000\n\nMultiply last year's forecast error by the smoothing constant. Add the product to last year's forecast to get this year's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n128. The dean of a school of business is forecasting total student enrollment for this year's summer session classes based on the following historical data:\n\nWhat is the annual rate of change (slope) of the least squares trend line for these data?\n\nA. B. C. D. E.\n\n0 200 400 180 360\n\nTreat the earliest period as period 0, then formulate the least squares slope.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n129. The dean of a school of business is forecasting total student enrollment for this year's summer session classes based on the following historical data:\n\nWhat is this year's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n3,600 3,500 3,400 3,300 3,200\n\nTreat the earliest period as period 0, then formulate the least squares coefficients and proceed.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n130. The owner of Darkest Tans Unlimited in a local mall is forecasting this month's (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using the naive approach?\n\nA. B. C. D. E.\n\n100 160 130 140 120\n\nThis month's forecast is last month's demand.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n131. The owner of Darkest Tans Unlimited in a local mall is forecasting this month's (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using a four-month weighted moving average with weights of .4, .3, .2, and .1?\n\nA. B. C. D. E.\n\n120 129 141 135 140\n\nMultiply the four most recent periods of demand by the appropriate weights, then sum the resulting products.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-09 Prepare a weighted-average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n132. The owner of Darkest Tans Unlimited in a local mall is forecasting this month's (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using exponential smoothing with alpha = .2, if August's forecast was 145?\n\nA. B. C. D. E.\n\n144 140 142 148 163\n\nFirst calculate September's forecast, then use that to calculate this month's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n133. The owner of Darkest Tans Unlimited in a local mall is forecasting this month's (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is the monthly rate of change (slope) of the least squares trend line for these data?\n\nA. B. C. D. E.\n\n320 102 8 -.4 -8\n\nTreat the earliest period as period 0, then formulate the least squares slope.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n134. The owner of Darkest Tans Unlimited in a local mall is forecasting this month's (October's) demand for the one new tanning booth based on the following historical data:\n\nWhat is this month's forecast using the least squares trend line for these data?\n\nA. B. C. D. E.\n\n1,250 128.6 102 158 164\n\nTreat the earliest period as period 0, then formulate the least squares coefficients and proceed.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n135. Which of the following mechanisms for enhancing profitability is most likely to result from improving short-term forecast performance?\n\nA. B. C. D. E.\n\nincreased inventory reduced flexibility higher-quality products greater customer satisfaction greater seasonality\n\nShort-term forecast performance won't necessarily improve product quality, but it does allow firms to better satisfy their customers.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting 3-121 Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.\n\ntechnique. Level of Difficulty: 2 Medium Topic: Operations Strategy\n\n136. Which of the following changes would tend to shorten the time frame for short-term forecasting?\n\nA. B. C. D. E.\n\nbringing greater variety into the product mix increasing the flexibility of the production system ordering fewer weather-sensitive items adding more special-purpose equipment investing in the production system to make it more task-specific\n\nAn increasingly flexible system permits more rapid responses to changing conditions, which allows firms to reduce their forecast time horizon.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-16 Describe the key factors and trade-offs to consider when choosing a forecasting technique. Level of Difficulty: 2 Medium Topic: Operations Strategy\n\n137. Which of the following helps improve supply chain forecasting performance?\n\nA. contracts that require supply chain members to formulate long-term forecasts B. penalties for supply chain members that adjust forecasts C. sharing forecasts or demand data across the supply chain D. increasing lead times for critical supply chain members E. increasing the number of suppliers at critical junctures in the supply chain Sharing forecasts and/or demand data is a means of ensuring that the supply chain's overall forecast is as accurate as it can be.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-03 List the elements of a good forecast. Level of Difficulty: 1 Easy Topic: Forecasting and the Supply Chain\n\n138. Which of the following would tend to decrease forecast accuracy?\n\nA. a reduction in demand variability B. a shortening of the forecast time horizon C. an attempt to forecast demand for a group of similar items rather than an individual item D. a change in the underlying causal system Forecasting techniques generally assume that the same underlying causal system that existed in the past will continue to exist in the future.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-02 Explain why forecasts are generally wrong. Level of Difficulty: 2 Medium Topic: Forecasting and the Supply Chain\n\n139. Which of the following is the most valuable piece of information the sales force can bring into forecasting situations?\n\nA. what customers are most likely to do in the future B. what customers most want to do in the future C. what customers' future plans are D. whether customers are satisfied or dissatisfied with their performance in the past E. what the salesperson's appropriate sales quota should be Knowledge about what customers are likely to do is much more valuable than information regarding what customers plan or want to do.\n\nAACSB: Reflective Thinking Accessibility: Keyboard Navigation Blooms: Understand Learning Objective: 03-06 Describe four qualitative forecasting techniques. Level of Difficulty: 2 Medium Topic: Qualitative Forecasts\n\nEssay Questions\n\n140. Develop a forecast for the next period, given the data below, using a three-period moving average.\n\nFeedback: Average demand from periods 3 through 5.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n141. Consider the data below:\n\nUsing exponential smoothing with alpha = .2, and assuming the forecast for period 11 was 80, what would the forecast for period 14 be?\n\nFeedback: The forecast error in period 13 (2.84) is multiplied by the smoothing constant. This is then added to the period 13 forecast to get the period 14 forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n142. A manager is using exponential smoothing to predict merchandise returns at a suburban branch of a department store chain. Given a previous forecast of 140 items, an actual number of returns of 148 items, and a smoothing constant equal to .15, what is the forecast for the next period?\n\nFeedback: The forecast error in the previous period is multiplied by the smoothing constant. This is then added to the previous period's forecast to get the upcoming period's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data 3-125 Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.\n\n143. A manager is using the equation below to forecast quarterly demand for a product: Yt = 6,000 + 80t where t = 0 at Q2 of last year Quarter relatives are Q1 = .6, Q2 = .9, Q3 = 1.3, and Q4 = 1.2. What forecasts are appropriate for the last quarter of this year and the first quarter of next year?\n\nFor Q4 of this year t = 6 For Q1 of next year t = 7\n\nFeedback: Adjust deseasonalized forecasts by the quarterly seasonal relatives.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n144. Over the past five years, a firm's sales have averaged 250 units in the first quarter of each year, 100 units in the second quarter, 150 units in the third quarter, and 300 units in the fourth quarter. What are appropriate quarter relatives for this firm's sales? Hint: Only minimal computations are necessary.\n\nFeedback: Since a trend is not present, quarter relatives are simply a percentage of average, which is 200 units.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n145. A manager has been using a certain technique to forecast demand for gallons of ice cream for the past six periods. Actual and predicted amounts are shown below. Would a naive forecast have produced better results?\n\nCurrent method: MAD = 3.67; MSE = 16.8; 2s control limits ± 8.2 (OK) Naive method: MAD = 4.40; MSE = 30.0; 2s control limits ± 11.0 (OK) Feedback: Either MSE or MAD should be computed for both forecasts and compared. The demand data are stable. Therefore, the most recent value of the series is a reasonable forecast for the next period of time, justifying the naive approach. The current method is slightly superior both in terms of MAD and MSE. Either method would be considered in control.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 3 Hard Topic: Forecast Accuracy\n\n146. A new car dealer has been using exponential smoothing with an alpha of .2 to forecast weekly new car sales. Given the data below, would a naive forecast have provided greater accuracy? Explain. Assume an initial exponential forecast of 60 units in period 2 (i.e., no forecast for period 1).\n\nExponential method: MAD = 1.70; MSE = 6.34 Naive method: MAD = 3.00; MSE = 15.25 Feedback: The exponential forecast method appears to be superior because both MAD and MSE are lower when it is used.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 3 Hard Topic: Forecast Accuracy\n\n147. A CPA firm has been using the following equation to predict annual demand for tax audits: Yt = 55 + 4t. Demand for the past few years is shown below. Is the forecast performing as well as it might? Explain.\n\nMSE = 11/6 and s = = 3.41. Even with ± 2s limits (6.82), all values are within the limits. It seems, then, that only random variation is present, so one might say that the forecast is working. One might also observe that the first three errors are negative and the last three are positive. Although six observations constitute a relatively small sample, it may be that the errors are cycling, and this would be a matter to investigate with additional data. Feedback: Either a tracking signal or a control chart is called for. To conduct these assessments, it is necessary to generate the forecasts so that errors can be determined.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-15 Construct control charts and use them to monitor forecast errors. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n148. Given the data below, develop a forecast for period 6 using a four-period weighted moving average and weights of .4, .3, .2 and .1.\n\n.4(17) + .3(19) + .2(18) + .1(20) = 18.1 Feedback: Multiply demand observed in periods 2 through 5 by the appropriate weight, then sum these products.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-09 Prepare a weighted-average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n149. Use linear regression to develop a predictive model for demand for burial vaults based on sales of caskets.\n\nFeedback: Least-squares estimation leads to this regression equation.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 3 Hard Topic: Associative Forecasting Techniques\n\n150. Given the following data, develop a linear regression model for y as a function of x.\n\nFeedback: Least squares estimation leads to this regression equation.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 2 Medium Topic: Associative Forecasting Techniques\n\n151. Given the following data, develop a linear regression model for y as a function of x.\n\nFeedback: Least squares estimation leads to this regression equation.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 3 Hard Topic: Associative Forecasting Techniques\n\n152. Develop a linear trend equation for the data on bread deliveries shown below. Forecast deliveries for period 11 through 14.\n\nYt = 518.2 + 52.164t r = +.935\n\nFeedback: Formulate the regression equation using least squares estimation, then apply the result to periods 11 through 14.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-14 Compute and use regression and correlation coefficients. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n153. Demand for the last four months was:\n\nA) Predict demand for July using each of these methods: 1) a three-period moving average 2) exponential smoothing with alpha equal to .20 (use a naive forecast for April for your first forecast) B) If the naive approach had been used to predict demand for April through June, what would MAD have been for those months?\n\nFeedback: The naive approach leads to absolute forecast errors of two units in each period.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n154. A manager wants to choose one of two forecasting alternatives. Each alternative was tested using historical data. The resulting forecast errors for the two are shown in the table. Analyze the data and recommend a course of action to the manager.\n\nAlthough Alternative 1 has the smaller MSE, it appears to be cycling and steady; Alternative 2 errors after the first three periods are small or zero. For the last six periods, Alternative 2 was much better, suggesting that approach would be better. Feedback: Although Alternative 1 has the smaller MSE, it appears to be cycling and steady; Alternative 2 errors after the first three periods are small or zero. For the last six periods, Alternative 2 was much better, suggesting that approach would be better.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-05 Summarize forecast errors and use summaries to make decisions. Level of Difficulty: 3 Hard Topic: Forecast Accuracy\n\n155. A manager uses this equation to predict demand: Yt = 20 + 4t. Over the past eight periods, demand has been as follows. Are the results acceptable? Explain.\n\ns = 2.10; 2s control limits are ± 4.20. Although all values are within control limits, the errors may be exhibiting cyclical patterns, which would suggest nonrandomness. Feedback: s = 2.10; 2s control limits are ± 4.20. Although all values are within control limits, the errors may be exhibiting cyclical patterns, which would suggest nonrandomness.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-15 Construct control charts and use them to monitor forecast errors. Level of Difficulty: 2 Medium Topic: Approaches to Forecasting\n\n156. Data on demand over the last few years are available as follows:\n\nWhat would this year's forecast be if we were using the naive approach?\n\n49 Feedback: This year's forecast would be last year's demand.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-07 Use a naive method to make a forecast. Level of Difficulty: 1 Easy Topic: Forecasts Based on Time-Series Data\n\n157. Data on demand over the last few years are available as follows:\n\nWhat is this year's forecast using a four-year simple moving average?\n\n45.5 Feedback: Average the four most recent periods of demand.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-08 Prepare a moving average forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n158. Data on demand over the last few years are available as follows:\n\nWhat is this year's forecast using exponential smoothing with alpha = .25, if last year's smoothed forecast was 45?\n\n45.8 Feedback: Multiply last year's forecast error by the smoothing constant. Add the resulting product to last year's forecast to get this year's forecast.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-10 Prepare an exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n159. Data on demand over the last few years are available as follows:\n\nWhat are this and next year's forecasts using the least squares trend line for these data?\n\n62; 69 Feedback: Treat the earliest period as period 0 in formulating least squares coefficients, then proceed.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-11 Prepare a linear trend forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n160. Data on demand over the last few years are available as follows:\n\nWhat is this year's forecast using trend-adjusted (double) smoothing with alpha = . 2 and beta = .1, if the forecast for last year was 56, the forecast for two years ago was 46, and the trend estimate for last year's forecast was 7?\n\n61.76 Feedback: Smooth both the trend and the forecasts using the appropriate smoothing coefficients.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-12 Prepare a trend-adjusted exponential smoothing forecast. Level of Difficulty: 3 Hard Topic: Forecasts Based on Time-Series Data\n\n161. Data on the last three years of demand are available as follows:\n\nWhat is the centered moving average for spring two years ago?\n\n29 Feedback: First average the four periods beginning fall three years ago. Then average the four periods beginning spring two years ago. Then average these two averages.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n162. Data on the last three years of demand are available as follows:\n\nWhat is the spring's seasonal relative?\n\nSpring = 0.91 Feedback: Divide data points by centered moving averages where moving averages are available. Average the resulting values across the seasons to get the seasonal relatives.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data 3-143 Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.\n\n163. Data on the last three years of demand are available as follows:\n\nWhat is the linear regression trend line for these data (t = 0 for spring, three years ago)?\n\ny = 17 + 2.33t Feedback: Used deseasonalized data points to formulate least squares coefficients.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-12 Prepare a trend-adjusted exponential smoothing forecast. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data\n\n164. Data on the last three years of demand are available as follows:\n\nWhat is this year's seasonally adjusted forecast for each season?\n\nSpring = 40.93; Summer = 29.81; Fall = 51.14; Winter = 74.37 Feedback: First forecast each period's deseasonalized value (e.g., Spring is period 12). Then multiply the deseasonalized forecast by the appropriate seasonal relative.\n\nAACSB: Analytic Blooms: Apply Learning Objective: 03-13 Compute and use seasonal relatives. Level of Difficulty: 2 Medium Topic: Forecasts Based on Time-Series Data 3-144 Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.87023336,"math_prob":0.8077189,"size":140758,"snap":"2022-40-2023-06","text_gpt3_token_len":31240,"char_repetition_ratio":0.20815039,"word_repetition_ratio":0.7573635,"special_character_ratio":0.2314824,"punctuation_ratio":0.17068101,"nsfw_num_words":2,"has_unicode_error":false,"math_prob_llama3":0.9623595,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-03T11:14:17Z\",\"WARC-Record-ID\":\"<urn:uuid:4848fc77-6141-465c-a2bd-d16542663b1b>\",\"Content-Length\":\"180509\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f52171bb-a9f8-4720-83dc-85ee571f2833>\",\"WARC-Concurrent-To\":\"<urn:uuid:d514f0a4-082b-4390-b0cf-e27b46331e92>\",\"WARC-IP-Address\":\"104.21.11.145\",\"WARC-Target-URI\":\"https://kupdf.net/download/acct-4400-ch3_5966242fdc0d60686fa88e76_pdf\",\"WARC-Payload-Digest\":\"sha1:7POKA3YETMP6LPKO3NR7JCXO7L5TX2WV\",\"WARC-Block-Digest\":\"sha1:HYYAE4V6XWFJ4INQZZA2QAQVCCGDZFVB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764500044.66_warc_CC-MAIN-20230203091020-20230203121020-00018.warc.gz\"}"}
https://socratic.org/questions/55819b21581e2a2f4054822a
[ "Question #4822a\n\nJun 18, 2015\n\nBoth $F e C {l}_{2}$ and $N {a}_{2} S {O}_{3}$ can act as reducing agents\n\nExplanation:\n\nOxidation is loss of electrons. Reduction is gain of electrons.\n\nAn oxidising agent takes in electrons. A reducing agent gives them out.\n\nBoth ozone and chlorine are powerful oxidising agents.\n\nIron(II) choride can lose electrons to form iron(III):\n\n$F {e}^{2 +} \\rightarrow F {e}^{3 +} + e$\n\nA solution of iron(II) chloride will slowly oxidise to iron(III) in the presence of air.\n\nSodium sulfite is also a reducing agent:\n\n$S {O}_{3}^{2 -} + {H}_{2} O \\rightarrow S {O}_{4}^{2 -} + 2 {H}^{+} + 2 e$\n\nIt is used as an anti - oxidant in food preservation." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.833681,"math_prob":0.9881192,"size":620,"snap":"2019-43-2019-47","text_gpt3_token_len":149,"char_repetition_ratio":0.13149351,"word_repetition_ratio":0.0,"special_character_ratio":0.21935484,"punctuation_ratio":0.10344828,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9738448,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-10-20T04:19:11Z\",\"WARC-Record-ID\":\"<urn:uuid:c39d35f1-465c-434a-8b23-6d1e0ed3ddc9>\",\"Content-Length\":\"33728\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c5e728b2-b15c-4f82-83e6-cc1fa9ba8e94>\",\"WARC-Concurrent-To\":\"<urn:uuid:bf6e18b7-94ee-44c6-972a-0047303c3b9d>\",\"WARC-IP-Address\":\"54.221.217.175\",\"WARC-Target-URI\":\"https://socratic.org/questions/55819b21581e2a2f4054822a\",\"WARC-Payload-Digest\":\"sha1:WIZVAYNEPCOD3UKKCHJNOL4NWW24ZDII\",\"WARC-Block-Digest\":\"sha1:J4573A7VNJ6OZITCZTSNX3ZFHUW2UWQM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-43/CC-MAIN-2019-43_segments_1570986702077.71_warc_CC-MAIN-20191020024805-20191020052305-00194.warc.gz\"}"}
https://elephant.readthedocs.io/en/latest/reference/cell_assembly_detection.html
[ "CAD [cad1] is a method aimed to capture structures of higher-order correlation in massively parallel spike trains. In particular, it is able to extract patterns of spikes with arbitrary configuration of time lags (time interval between spikes in a pattern), and at multiple time scales, e.g. from synchronous patterns to firing rate co-modulations.\n\nCAD consists of a statistical parametric testing done on the level of pairs of neurons, followed by an agglomerative recursive algorithm, in order to detect and test statistically precise repetitions of spikes in the data. In particular, pairs of neurons are tested for significance under the null hypothesis of independence, and then the significant pairs are agglomerated into higher order patterns.\n\nGiven a list of discretized (binned) spike trains by a given temporal scale (bin_size), assumed to be recorded in parallel, the CAD analysis can be applied as demonstrated in this short toy example of 5 parallel spike trains that exhibit fully synchronous events of order 5.\n\n `cell_assembly_detection`(binned_spiketrain, ...) Perform the CAD analysis [cad1] for the binned (discretized) spike trains given in the input.\n\n## Visualization¶\n\nVisualization of CAD method is covered in Viziphant `viziphant.patterns.plot_patterns()`\n\n## Examples¶\n\n```>>> import quantities as pq\n>>> import numpy as np\n>>> from elephant.cell_assembly_detection import cell_assembly_detection\n>>> from elephant.spike_train_generation import compound_poisson_process\n>>> from elephant.conversion import BinnedSpikeTrain\n```\n\nGenerate correlated data and bin it with a bin_size of 10ms.\n\n```>>> np.random.seed(30)\n>>> spiketrains = compound_poisson_process(rate=15*pq.Hz,\n... amplitude_distribution=[0, 0.95, 0, 0, 0, 0, 0.05], t_stop=5*pq.s)\n>>> bst = BinnedSpikeTrain(spiketrains, bin_size=10 * pq.ms)\n>>> bst.rescale('ms')\n```\n\nCall of the method.\n\n```>>> patterns = cell_assembly_detection(bst, max_lag=2)\n>>> patterns\n{'neurons': [0, 2],\n'lags': array([0.]) * ms,\n'pvalue': [5.3848138041122556e-05],\n'times': array([ 90., 160., 170., 550., 790., 910., 930., 1420., 1470.,\n1480., 1650., 2030., 2220., 2570., 3130., 3430., 3480., 3610.,\n3800., 3830., 3930., 4080., 4560., 4600., 4670.]) * ms,\n'signature': [[1, 83], [2, 25]]}\n```\n\nRefer to the Viziphant documentation regarding the visualization of this example." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.7377663,"math_prob":0.9464133,"size":2411,"snap":"2022-27-2022-33","text_gpt3_token_len":636,"char_repetition_ratio":0.10760283,"word_repetition_ratio":0.0,"special_character_ratio":0.3007051,"punctuation_ratio":0.2560175,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9605214,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-04T20:50:56Z\",\"WARC-Record-ID\":\"<urn:uuid:3d7aa11e-db2a-4fa1-a2f4-32e7fb0b30df>\",\"Content-Length\":\"16754\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:68f906e0-ee68-47cf-8c2b-1422621261f0>\",\"WARC-Concurrent-To\":\"<urn:uuid:1d51285f-02fd-45a4-b71e-fe9e67e577d9>\",\"WARC-IP-Address\":\"104.17.32.82\",\"WARC-Target-URI\":\"https://elephant.readthedocs.io/en/latest/reference/cell_assembly_detection.html\",\"WARC-Payload-Digest\":\"sha1:Y2SDX2Z5ZV4I4WMXR3QI5YANR6DRMQUE\",\"WARC-Block-Digest\":\"sha1:NCPAT5PANUSGRL5FP2U2NKJH7PN76HKS\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104496688.78_warc_CC-MAIN-20220704202455-20220704232455-00538.warc.gz\"}"}
https://en.commtap.org/taxonomy_description/2way-term/86/256
[ "### Quick start\n\nChoose a section:\nChoose something to look for:\n...and choose a categorisation:\n\nSign me up to:\n\n# Category: Maths Number and Algebra L8\n\nAbbreviation: MN L8\n\n## Description\n\nPupils solve problems involving calculating with powers, roots and numbers expressed in standard form, checking for correct order of magnitude. They choose to use fractions or percentages to solve problems involving repeated proportional changes or the calculation of the original quantity given the result of a proportional change. They evaluate algebraic formulae, substituting fractions, decimals and negative numbers. They calculate one variable, given the others, in formulae such as V = πr2h. Pupils manipulate algebraic formulae, equations and expressions, finding common factors and multiplying two linear expressions. They know that a2 - b2 = (a + b)(a - b). They solve inequalities in two variables. Pupils sketch and interpret graphs of linear, quadratic, cubic and reciprocal functions, and graphs that model real situations.\n\n## \"Maths Number and Algebra L8\" pages\n\nThere are currently no \"Maths Number and Algebra L8\" pages. Would you like to create a new page?\n\nAds on this page are provided by Google Adsense - and their presence does not imply any endorsement by Commtap. Report a problem with an ad on this page. Log in (for free) to avoid seeing ads." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8787797,"math_prob":0.9619271,"size":1021,"snap":"2021-21-2021-25","text_gpt3_token_len":209,"char_repetition_ratio":0.100294985,"word_repetition_ratio":0.0,"special_character_ratio":0.19000979,"punctuation_ratio":0.14367816,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9896935,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-14T03:34:44Z\",\"WARC-Record-ID\":\"<urn:uuid:93a165d0-5128-4f83-b403-d8d9c1a6413c>\",\"Content-Length\":\"28273\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f347cca0-653c-41fb-9eba-4ac937bfe6cc>\",\"WARC-Concurrent-To\":\"<urn:uuid:4aa5c5b7-f4e7-43a9-834c-684cf74cf66d>\",\"WARC-IP-Address\":\"77.68.13.222\",\"WARC-Target-URI\":\"https://en.commtap.org/taxonomy_description/2way-term/86/256\",\"WARC-Payload-Digest\":\"sha1:DNUBPZ3AUB5Y3M4L4QD3K6QIGFLQ3AAN\",\"WARC-Block-Digest\":\"sha1:7Z25IXLHDOKQR7IK7PYYZKYW7KGC36TA\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623487611320.18_warc_CC-MAIN-20210614013350-20210614043350-00415.warc.gz\"}"}
https://answers.opencv.org/question/75510/how-to-make-auto-adjustmentsbrightness-and-contrast-for-image-android-opencv-image-correction/
[ "# How to make auto-adjustments(brightness and contrast) for image Android Opencv Image Correction", null, "i'm using OpenCV for Android.\nI would like to know,how to make image correction(auto adjustments of brightness/contrast) for image(bitmap) in android via OpenCV or that can be done by native ColorMatrixFilter from Android!??\n\nI tried to google,but didn't found good tutorials/examples.\nSo how can i achieve my goal? Any ideas?\nThanks!\n\nedit retag close merge delete\n\n1\n\nSort by » oldest newest most voted", null, "Brightness and contrast is linear operator with parameter alpha and beta\n\nO(x,y) = alpha * I(x,y) + beta\n\n\nIn OpenCV you can do this with convertTo.\n\nThe question here is how to calculate alpha and beta automatically ?\n\nLooking at histogram, alpha operates as color range amplifier, beta operates as range shift.\n\nAutomatic brightness and contrast optimization calculates alpha and beta so that the output range is 0..255.\n\ninput range = max(I) - min(I)\nwanted output range = 255;\nalpha = output range / input range = 255 / ( max(I) - min(I) )\n\n\nYou can calculate beta so that min(O) = 0;\n\nmin(O) = alpha * min(I) + beta\nbeta = -min(I) * alpha\n\n\nHistogram Wings Cut (clipping)\n\nTo maximize the result of it's useful to cut out some color with few pixels.\n\nThis is done cutting left right and wings of histogram where color frequency is less than a value (typically 1%). Calculating cumulative distribution from the histogram you can easly find where to cut.\n\nmay be sample chart helps to understand:", null, "EDIT: Histogram Normalization vs Equalization\n\nBy the way BrightnessAndContrastAuto could be named normalizeHist because it works on BGR and gray images stretching the histogram to the full range without touching bins balance. If input image has range 0..255 BrightnessAndContrastAuto will do nothing.\n\nHistogram equalization and CLAE works only on gray images and they change grays level balancing. look at the images below:", null, "EDIT2: Add support for BGRA images too\n\nEDIT3: Correct error in \"restore alpha channel from source \"\n\nhowever here is the code:\n\n/**\n* \\brief Automatic brightness and contrast optimization with optional histogram clipping\n* \\param [in]src Input image GRAY or BGR or BGRA\n* \\param [out]dst Destination image\n* \\param clipHistPercent cut wings of histogram at given percent tipical=>1, 0=>Disabled\n* \\note In case of BGRA image, we won't touch the transparency\n*/\nvoid BrightnessAndContrastAuto(const cv::Mat &src, cv::Mat &dst, float clipHistPercent=0)\n{\n\nCV_Assert(clipHistPercent >= 0);\nCV_Assert((src.type() == CV_8UC1) || (src.type() == CV_8UC3) || (src.type() == CV_8UC4));\n\nint histSize = 256;\nfloat alpha, beta;\ndouble minGray = 0, maxGray = 0;\n\n//to calculate grayscale histogram\ncv::Mat gray;\nif (src.type() == CV_8UC1) gray = src;\nelse if (src.type() == CV_8UC3) cvtColor(src, gray, CV_BGR2GRAY);\nelse if (src.type() == CV_8UC4) cvtColor(src, gray, CV_BGRA2GRAY);\nif (clipHistPercent == 0)\n{\n// keep full available range\ncv::minMaxLoc(gray, &minGray, &maxGray);\n}\nelse\n{\ncv::Mat hist; //the grayscale histogram\n\nfloat range[] = { 0, 256 };\nconst float* histRange = { range };\nbool uniform = true;\nbool accumulate = false;\ncalcHist(&gray, 1, 0, cv::Mat (), hist, 1, &histSize, &histRange, uniform, accumulate);\n\n// calculate cumulative distribution from the histogram\nstd::vector<float> accumulator(histSize);\naccumulator = hist.at<float>(0);\nfor (int i = 1; i < histSize; i++)\n{\naccumulator[i] = accumulator[i - 1] + hist.at<float>(i);\n}\n\n// locate points that cuts at required value\nfloat max = accumulator.back();\nclipHistPercent *= (max / 100.0); //make percent as absolute\nclipHistPercent /= 2.0; // left and right wings\n// locate left cut\nminGray = 0;\nwhile (accumulator[minGray] < clipHistPercent)\nminGray++;\n\n// locate right cut\nmaxGray = histSize - 1;\nwhile (accumulator[maxGray] >= (max - clipHistPercent))\nmaxGray--;\n}\n\n// current range\nfloat inputRange = maxGray ...\nmore\n\n1\n\nNice answer @pklab. Well done. +1 from me ☺\n\nFunny, it seems that the Gimp white balance command uses the same principle.\n\nI also forgot to mention that the histogram equalization is a built-in functionnality in OpenCV...\n\nThere is also the CLAHE function (Contrast Limited Adaptive Histogram Equalization) that could be used but there is some parameters to tune to use it.\n\n@pklab Thanks for great answer,mate! But i have some problem with reproduce in Java version.\n\nThe code is plain... it's should be easy to translate in Java, may be you sould use ArrayList instead of std::vector@theodore , @VeTaLio thanks for apreciation ... if it works you could accept the answer ;=)\n\n@pklab yes,that is not a big problem. Ill mark your question as solution,but little bit later,ok:) ? So have some questions about how to reproduce in java,because some stuff doesn't clear for me :(!\n\n@VeTaLio you could do it yourself in Java... it's a simple exercise, feel free to ask about stuffs doesn't clear for you\n\n@pklab as i understand you correct,that wingsCutPercent i need to put manually(as you said,1% => 0.01f value or i need to extract) ? Also,i got a problem,when i'm doing picture,converting via BitmapToMat,my source Mat have type CV_8UC4. So i didn't use your block of code if /else if(where you put CvtColor). I'm doing this directly => CvtColor(source,gray, CV_BGR2GRAY); and the problem occurs here: calcHist - first elemnt,in java there is arraylist of Mat. So via converters i'm trying to convert into ArrayList<mat> and i getting this exception :\njava.lang.IllegalArgumentException: CvType.CV_32SC2 != m.type() || m.cols()!=1 I need to convert this for CvType.CV_32SC2?\n\n@pklab once i ask this question and didn't get answer => my old post http://answers.opencv.org/question/74... is similiar problem with Converters! Thanks!!!\n\nOK, 2nd edit...check new code, it supports BGRA images too. wingsCutPercent (now clipHistPercent) is a percent than if you want to cut 1% use 1.0. Howhever it's optional.\n\n@pklab so i've translated to java and problem is that i'm getting too much brightness and contrast. I will upload some example to show you.\n\nfor python users, here two functions create the same result.\n\ndef autoAdjustments_with_convertScaleAbs(img):\nalow = img.min()\nahigh = img.max()\namax = 255\namin = 0\n\n# calculate alpha, beta\nalpha = ((amax - amin) / (ahigh - alow))\nbeta = amin - alow * alpha\n# perform the operation g(x,y)= α * f(x,y)+ β\nnew_img = cv2.convertScaleAbs(img, alpha=alpha, beta=beta)\n\nreturn [new_img, alpha, beta]\n\n\ndef autoAdjustments(img):\n# create new image with the same size and type as the original image\nnew_img = np.zeros(img.shape, img.dtype)\n\n# calculate stats\nalow = img.min()\nahigh = img.max()\namax = 255\namin = 0\n\n# access each pixel, and auto adjust\nfor x in range(img.shape):\nfor y in range(img.shape):\na = img[x, y]\nnew_img[x, y] = amin + (a - alow) * ((amax - amin) / (ahigh - alow))\n\nreturn new_img\n\n\nmore\n\nDoes anyone has been able to convert this to C# or VB.NET? I am having a hard time getting this converted.\n\nmore\n\nOfficial site\n\nGitHub\n\nWiki\n\nDocumentation" ]
[ null, "https://www.gravatar.com/avatar/3c4215f4c7840ac17739d3dd9bec904b", null, "https://www.gravatar.com/avatar/e4c22badd585dde21aa776c42466135c", null, "https://answers.opencv.org/upfiles/14474311256968999.png", null, "https://answers.opencv.org/upfiles/1447431096990625.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.648762,"math_prob":0.9598598,"size":3434,"snap":"2020-24-2020-29","text_gpt3_token_len":910,"char_repetition_ratio":0.12507288,"word_repetition_ratio":0.007561437,"special_character_ratio":0.27781013,"punctuation_ratio":0.17213115,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97352135,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,null,null,null,null,7,null,7,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-06-03T04:10:18Z\",\"WARC-Record-ID\":\"<urn:uuid:639d0e41-80cc-450c-9532-0da1a9a3f368>\",\"Content-Length\":\"90584\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b56df4e7-caaf-4c84-b6d1-3977867fd749>\",\"WARC-Concurrent-To\":\"<urn:uuid:666e9c57-dd83-443d-a2aa-75eaed9227e3>\",\"WARC-IP-Address\":\"5.9.49.245\",\"WARC-Target-URI\":\"https://answers.opencv.org/question/75510/how-to-make-auto-adjustmentsbrightness-and-contrast-for-image-android-opencv-image-correction/\",\"WARC-Payload-Digest\":\"sha1:RKTLBP3WIRICU4DCG5GKZB3SBQVR7ZXE\",\"WARC-Block-Digest\":\"sha1:DQTR5655A6EDM6LYBQQ4SIIOBZS6O4YV\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-24/CC-MAIN-2020-24_segments_1590347428990.62_warc_CC-MAIN-20200603015534-20200603045534-00461.warc.gz\"}"}
https://stats.stackexchange.com/questions/251600/quantile-regression-loss-function?noredirect=1
[ "# Quantile regression: Loss function\n\nI am trying to understand the quantile regression, but one thing that makes me suffer is the choice of the loss function.\n\n$\\rho_\\tau(u) = u(\\tau-1_{\\{u<0\\}})$\n\nI know that the minimum of the expectation of $\\rho_\\tau(y-u)$ is equal to the $\\tau\\%$-quantile, but what is the intuitive reason to start off with this function? I don't see the relation between minimizing this function and the quantile. Can somebody explain it to me?\n\nI understand this question as asking for insight into how one could come up with any loss function that produces a given quantile as a loss minimizer no matter what the underlying distribution might be. It would be unsatisfactory, then, just to repeat the analysis in Wikipedia or elsewhere that shows this particular loss function works.\n\nLet's begin with something familiar and simple.\n\nWhat you're talking about is finding a \"location\" $x^{*}$ relative to a distribution or set of data $F$. It is well known, for instance, that the mean $\\bar x$ minimizes the expected squared residual; that is, it is a value for which\n\n$$\\mathcal{L}_F(\\bar x)=\\int_{\\mathbb{R}} (x - \\bar x)^2 dF(x)$$\n\nis as small as possible. I have used this notation to remind us that $\\mathcal{L}$ is derived from a loss, that it is determined by $F$, but most importantly it depends on the number $\\bar x$.\n\nThe standard way to show that $x^{*}$ minimizes any function begins by demonstrating the function's value does not decrease when $x^{*}$ is changed by a little bit. Such a value is called a critical point of the function.\n\nWhat kind of loss function $\\Lambda$ would result in a percentile $F^{-1}(\\alpha)$ being a critical point? The loss for that value would be\n\n$$\\mathcal{L}_F(F^{-1}(\\alpha)) = \\int_{\\mathbb{R}} \\Lambda(x-F^{-1}(\\alpha))dF(x)=\\int_0^1\\Lambda\\left(F^{-1}(u)-F^{-1}(\\alpha)\\right)du.$$\n\nFor this to be a critical point, its derivative must be zero. Since we're just trying to find some solution, we won't pause to see whether the manipulations are legitimate: we'll plan to check technical details (such as whether we really can differentiate $\\Lambda$, etc.) at the end. Thus\n\n\\eqalign{0 &=\\mathcal{L}_F^\\prime(x^{*})= \\mathcal{L}_F^\\prime(F^{-1}(\\alpha))= -\\int_0^1 \\Lambda^\\prime\\left(F^{-1}(u)-F^{-1}(\\alpha)\\right)du \\\\ &= -\\int_0^{\\alpha} \\Lambda^\\prime\\left(F^{-1}(u)-F^{-1}(\\alpha)\\right)du -\\int_{\\alpha}^1 \\Lambda^\\prime\\left(F^{-1}(u)-F^{-1}(\\alpha)\\right)du.\\tag{1} }\n\nOn the left hand side, the argument of $\\Lambda$ is negative, whereas on the right hand side it is positive. Other than that, we have little control over the values of these integrals because $F$ could be any distribution function. Consequently our only hope is to make $\\Lambda^\\prime$ depend only on the sign of its argument, and otherwise it must be constant.\n\nThis implies $\\Lambda$ will be piecewise linear, potentially with different slopes to the left and right of zero. Clearly it should be decreasing as zero is approached--it is, after all, a loss and not a gain. Moreover, rescaling $\\Lambda$ by a constant will not change its properties, so we may feel free to set the left hand slope to $-1$. Let $\\tau \\gt 0$ be the right hand slope. Then $(1)$ simplifies to\n\n$$0 = \\alpha - \\tau (1 - \\alpha),$$\n\nwhence the unique solution is, up to a positive multiple,\n\n$$\\Lambda(x) = \\cases{-x, \\ x \\le 0 \\\\ \\frac{\\alpha}{1-\\alpha}x, \\ x \\ge 0.}$$\n\nMultiplying this (natural) solution by $1-\\alpha$, to clear the denominator, produces the loss function presented in the question.\n\nClearly all our manipulations are mathematically legitimate when $\\Lambda$ has this form.\n\nThe way this loss function is expressed is nice and compact but I think it's easier to understand by rewriting it as $$\\rho_\\tau(X-m) = (X-m)(\\tau-1_{(X-m<0)}) = \\begin{cases} \\tau |X-m| & if \\; X-m \\ge 0 \\\\ (1 - \\tau) |X-m| & if \\; X-m < 0) \\end{cases}$$\n\nIf you want to get an intuitive sense of why minimizing this loss function yields the $$\\tau$$th quantile, it's helpful to consider a simple example. Let $$X$$ be a uniform random variable between 0 and 1. Let's also choose a concrete value for $$\\tau$$, say, $$0.25$$.\n\nSo now the question is why would this loss function be minimized at $$m=0.25$$? Obviously, there's three times as much mass in the uniform distribution to the right of $$m$$ than there is to the left. And the loss function weights the values larger than this number at only a third of the weight given to values less than it. Thus, it's sort of intuitive that the scales are balanced when the $$\\tau$$th quantile is used as the inflection point for the loss function.\n\n• Shouldn't it be the other way? Under-guessing will cost three times as much? – Edi Bice Apr 1 '19 at 15:01\n• Thanks for catching that. The formula is right but I initially worded it incorrectly in my explanation. – jjet Aug 17 '19 at 21:03" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8445982,"math_prob":0.99943376,"size":3143,"snap":"2019-51-2020-05","text_gpt3_token_len":860,"char_repetition_ratio":0.12105766,"word_repetition_ratio":0.0,"special_character_ratio":0.2857143,"punctuation_ratio":0.08637874,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9999348,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-20T01:19:11Z\",\"WARC-Record-ID\":\"<urn:uuid:c4fd010d-cb38-4b85-a07c-6b22b2ed1c9c>\",\"Content-Length\":\"151146\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:33ed1034-3984-4368-8e02-35a4e77213eb>\",\"WARC-Concurrent-To\":\"<urn:uuid:e98f73d4-f3e5-4df2-9b2a-325829266dd1>\",\"WARC-IP-Address\":\"151.101.65.69\",\"WARC-Target-URI\":\"https://stats.stackexchange.com/questions/251600/quantile-regression-loss-function?noredirect=1\",\"WARC-Payload-Digest\":\"sha1:B3UMUSGO4KUW47NKZCFCS5WF75UTUQ4C\",\"WARC-Block-Digest\":\"sha1:HQHRSDEZZJDAMRYJT7TKWU5FRGOPZRB4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250595787.7_warc_CC-MAIN-20200119234426-20200120022426-00449.warc.gz\"}"}
https://www.hep.ucl.ac.uk/undergrad/1b40/excel.shtml
[ "# PHAS1240 Computing", null, "ExcelSome aspects of the Excel course will be discussed in the lecture slots, but the main thrust of the computing elements are carried out in ten weekly sessions during the first term with each student attending one afternoon per week from 2-5.30 pm.  You should have been informed during Induction week as to which session you have been assigned. This may be checked by viewing the file 1B40_allocations-06.xls.  If your name does not appear, please go to the sessions on Tuesdays.\n\nFor each week detailed instructions and some additional explanation of the mathematical background are given in task files. (These are in WORD or PDF format.)  The starting positions for some spreadsheets are provided in some of the exercises, in others you create them from a description of the problem given in the task file.  Samples of the results are shown in some of the files.\n\nFor some exercises the final result e.g. a graph, is well defined but the precise details of the spreadsheet layout are not.  This is left to you to design.  While good practice, elegance and clarity of the spreadsheets will be encouraged it is recognised that to many physicists and astronomers the final outcome is all that matters.  Consequently spreadsheets that 'work' may get 50% of the marks, but well constructed ones will attract a higher reward!\n\nSome exercises get you to implement a simple task discussed in the lectures or task files.  In other cases the problems involve the use of spreadsheet functions, methods or tools NOT covered in the notes.  This is to encourage you to make use of the Excel help facility (or colleagues) - the way you will need to work on problems outside the classroom environment.  At the end of some of the exercises there is a question asking you to give some explanation for the results obtained in the spreadsheet.  These questions may not have a unique answer!\n\nIn the first session you will work through a set of short exercises, which will not be assessed.\n\nIn the next session, (the first of the assessed sessions) task 1 is an extension of the basic material.  In this exercise (medical physics module) you have to plot several histograms of marks, normalised to the same sample size.  The medics are also to be graded on a scale with some \"compensation\" of the grade if the mark is a \"fail\" mark. You need to find and look up the usage of various Excel worksheet functions (e.g. the IF function) using the Excel Help facility. (This exercise uses the spreadsheet Med_mod_results.xls.)\n\nIn task 2 we create the first spreadsheet dealing with the material given in the data analysis lectures. It is a simple example of the properties of the normal distribution and the idea of error on the mean.\n\nThe lectures on data analysis discuss how the errors on the sum or product of two independent variables is related to the individual errors. In task 3 you apply the error propagation formulae to data satisfying different forms, i.e. linear, logarithmic and sine functions from (a) a compound pendulum experiment, (b) a chemical reaction, (c) an X-ray scattering experiment. You will need to download the spreadsheets comp_pend_data.xls and reaction_data.xls.\n\nOne of the major practical procedures discussed in the data analysis lectures is the least squares fitting of a straight line to a set of data points. Task 4 is a guided spreadsheet application. (You will need the spreadsheet Least_squares_fit.xls.)\n\nMany physical systems can be modelled using an Excel spreadsheet. Modelling a system such as the motion of a body under gravity, involves differential equations. Therefore task 5 looks at how we can approximate a mathematical derivative of a continuous function by discrete quantities in cells of the spreadsheet. You examine two slightly different approximations for dy/dx.\n\nIn task 6 we consider a two-dimensional problem of the motion of a particle the Earth's gravitational field.  You may well have met a simple projectile problem before - this was most likely the \"drag-free\" case - and solved it analytically.  In this simulation you model the more realistic case of a projectile subjected to a drag force proportional to its speed.  The aim (sic) is to find, by computer simulation, the angle of firing to achieve maximum range.\n\nThe use of random numbers (really pseudo-random numbers) in a computer is a powerful tool for the simulation of physical processes.  In task 7  we first investigate some properties of random numbers and meet the central limit thereom - the saving grace for many physicists!  You then simulate the exponential decay of nuclei.  While this can be described by a simple mathematical expression (the exponential law) it is instructive to replicate this as close as possible in the discrete cells of a spreadsheet.  The general ideas can be extended to cases which are not amenable to an analytical solution.  This exercise also introduces you to some sophisticated use of the Excel functions to save tedious typing of formuale.  Finally there is the option to investigate the 'Drunkard's walk' - a classical random process!" ]
[ null, "https://www.hep.ucl.ac.uk/undergrad/1b40/logos/ucl0004.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.91386807,"math_prob":0.8626823,"size":4567,"snap":"2021-21-2021-25","text_gpt3_token_len":916,"char_repetition_ratio":0.12732852,"word_repetition_ratio":0.0,"special_character_ratio":0.19553317,"punctuation_ratio":0.080047786,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98498726,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-24T22:20:51Z\",\"WARC-Record-ID\":\"<urn:uuid:1c30badf-0849-4c98-b2dd-6fd78abeaff0>\",\"Content-Length\":\"6869\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1755000b-4b63-48ce-a9dc-fe770463bbab>\",\"WARC-Concurrent-To\":\"<urn:uuid:b2be3b6c-d250-46d7-afb2-980c9d8b59b7>\",\"WARC-IP-Address\":\"128.40.4.8\",\"WARC-Target-URI\":\"https://www.hep.ucl.ac.uk/undergrad/1b40/excel.shtml\",\"WARC-Payload-Digest\":\"sha1:EWTPXOTVYGBGUB6EPSCNQ7FAJNQZ2TTJ\",\"WARC-Block-Digest\":\"sha1:WMGGZH36BIHGDUJXC7UVFVGYE4BFL7IK\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623488559139.95_warc_CC-MAIN-20210624202437-20210624232437-00461.warc.gz\"}"}
https://community.wongcw.com/posts/213912
[ "What is Algebra? Everything You Need To Know\nAlgebra is a branch of mathematics that helps represent problems or situations using mathematical expressions. To form a meaningful mathematical expression, variables such as x, y, and z are combined with mathematical operations such as addition, subtraction, multiplication, and division. Algebra is used in all branches of mathematics, including trigonometry, calculus, and coordinate geometry....\n0 Comments 0 Shares 53 Views" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8985395,"math_prob":0.95807946,"size":540,"snap":"2022-40-2023-06","text_gpt3_token_len":109,"char_repetition_ratio":0.13992538,"word_repetition_ratio":0.0,"special_character_ratio":0.21666667,"punctuation_ratio":0.18367347,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9984354,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-01-27T08:41:04Z\",\"WARC-Record-ID\":\"<urn:uuid:0c0ba6bd-a377-4b88-bfd5-efeb40788eaa>\",\"Content-Length\":\"85903\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:884d8628-9bd8-45bd-ad1b-307d35e8111a>\",\"WARC-Concurrent-To\":\"<urn:uuid:964ca2e8-6141-40bf-b0d7-aa154584eed1>\",\"WARC-IP-Address\":\"178.170.9.206\",\"WARC-Target-URI\":\"https://community.wongcw.com/posts/213912\",\"WARC-Payload-Digest\":\"sha1:HN66GB3TKKBRIH3D4EWL5TOJRADHZKUS\",\"WARC-Block-Digest\":\"sha1:YN5HM7AAXEHFIN4PLLKXM4TVV2DMHKBQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764494974.98_warc_CC-MAIN-20230127065356-20230127095356-00084.warc.gz\"}"}
http://www.cppblog.com/vczh/default.html?page=2
[ "", null, "", null, "", null, "", null, "", null, "Word 2013就是简单好用啊,虽然Live Writer没有了,但是有了Word 2013,其实也是一样的。\n\nposted @ 2013-11-03 09:30 陈梓瀚(vczh) 阅读(5078) | 评论 (3)编辑 收藏\n\nclass和interface的典型区别就是,interface所有的函数都是virtual的,而且没有局部变量。class并不是所有的函数都是virtual的——java的函数默认virtual但是可以改,C++和C#则默认不virtual但是可以改。就算你把所有的class的函数都改成virtual,那你也会因此留下一些状态变量。这有什么问题呢?假设C++编译器是一个接口,而Visual C++和周边的工具则是依赖于这个class所创造出来的东西。如果你想把cl.exe替换成icc,实际上只要new一个新的icc就可以了。而如果C++编译器是一个class的话,你就不能替换了——就算class所有的函数都是virtual的,你也不可能给出一个规格相同而实现不同的icc——因为你已经被class所声明的构造函数、析构函数以及写好的一些状态变量(成员变量)所绑架了\n\n1、类似于C#的Control继承出Button。这完全是接口规格的继承。我们继承出一个Button,不是为了让他去实现一个Control,而是因为Button比Control多出了一些新东西,而且直接体现在成员函数上面。因此在这个框架下,我们需要做的是IControl继承出IButton\n\n4、在Base里面留几个纯虚函数,让Derived继承自Base并且填补他们充当回调使用——卧槽都知道是回调了为什么还要用class?设计模式帮我们准备好了Template Method Pattern,我们完全可以把这几个回调写在一个interface里面,让Base的构造函数接受这个interface,效果完全没有区别。\n\nposted @ 2013-10-19 05:51 陈梓瀚(vczh) 阅读(9143) | 评论 (17)编辑 收藏\n\n1. 短的语法要分配给常用的功能\n2. 语法要么可读性特别好(从而比直接用C#写直接),要么很紧凑(从而比直接用C#写短很多)\n3. API要容易定义(从而用C#调用非常方便,还可以确保DSL的目标是明确又简单的)\n\n```DIGIT ::= [0-9]\nLITERAL ::= [^|+*\\[\\]\\-\\\\{}\\^,.()]\nANY_CHAR ::= LITERAL | \"^\" | \"|\" | \"+\" | \"*\" | \"[\" | \"]\" | \"-\" | \"\\\" | \"{\" | \"}\" | \",\" | \".\" | \"(\" | \")\"\n\nCHAR\n::= LITERAL\n::= \"\\\" ANY_CHAR\n\nCHARSET_COMPONENT\n::= CHAR\n::= CHAR \"-\" CHAR\n\nCHARSET\n::= CHAR\n::= \"[\" [\"^\"] { CHARSET_COMPONENT } \"]\"\n\nREGEX_0\n::= CHARSET\n::= REGEX_0 \"+\"\n::= REGEX_0 \"*\"\n::= REGEX_0 \"{\" { DIGIT } [\",\" [ { DIGIT } ]] \"}\"\n::= \"(\" REGEX_2 \")\"\n\nREGEX_1\n::= REGEX_0\n::= REGEX_1 REGEX_0\n\nREGEX_2\n::= REGEX_1\n::= REGEX_2 \"|\" REGEX_1\n\nREGULAR_EXPRESSION\n::= REGEX_2```\n\n1:规则仅由终结符构成——这是基本概念,譬如说上面的CHAR什么的。\n2:规则的构成包含非终结符——这就是一个结构了。\n\n```int a1 = 1;\nint a2 = 2;\nint a3 = 3;\nint a4 = 4;\ncout<<a1<<a2<<a3<<a4<<endl;```\n\n```\\$\\$define \\$COUNT 4 /*定义数量:4*/\n\\$\\$define \\$USE_VAR(\\$index) a\\$index /*定义变量名字,这样\\$USE_VAR(10)就会生成“a10”*/\n\n\\$\\$define \\$DEFINE_VAR(\\$index) \\$\\$begin /*定义变量声明,这样\\$DEFINE_VAR(10)就会生成“int a10 = 10;”*/\nint \\$USE_VAR(\\$index) = \\$index;\n\\$( ) /*用来换行——会多出一个多余的空格不过没关系*/\n\\$\\$end\n\n\\$loop(\\$COUNT,1,\\$DEFINE_VAR) /*首先,循环生成变量声明*/\ncout<<\\$loopsep(\\$COUNT,1,\\$USE_VAR,<<)<<endl; /*其次,循环使用这些变量*/```\n\n1. Fpmacro的代码由函数组成,每一个函数的唯一目的都是生成C++代码的片段。\n2. 函数和函数之间的空白可以用来写代码。把这些代码收集起来就可以组成“main函数”了,从而构成Fpmacro代码的主体。\n3. 函数可以有内部函数,在代码复杂的时候可以充当一些namespace的功能,而且内部函数都是私有的。\n4. Fpmacro代码可以include另一份Fpmacro代码,可以实现全局配置的功能。\n5. Fpmacro必须支持分支和循环,而且他们的语法和函数调用应该一致。\n6. 用来代表C++代码的部分需要的转义应该降到最低。\n7. 即使是非功能代码部分,括号也必须配对。这是为了定义出一个清晰的简单的语法,而且因为C++本身也是括号配对的,所以这个规则并没有伤害。\n8. C++本身对空格是有很高的容忍度的,因此Fpmacro作为一个以换行作为分隔符的语言,并不需要具备特别精确的控制空格的功能。\n\n1. 普通C++代码\n2. 宏名字引用\n3. 宏调用\n4. 连接\n5. 括号\n6. 表达数组字面量(最后这被证明是没有任何意义的功能)\n\n```void Print(int a1)\n{\ncout<<\"1st\"<<a1<<endl;\n}\n\nvoid Print(int a1, int a2)\n{\ncout<<\"1st\"<<a1<<\", \"<<\"2nd\"<<a2<<endl;\n}\n\n....\n\nvoid Print(int a1, int a2, ... int a10)\n{\ncout<<...<<\"10th\"<<a10<<endl;\n}\n\n....```\n\n```\\$\\$define \\$VAR_NAME(\\$index) a\\$index /*\\$VAR_NAME(3) -> a3*/\n\\$\\$define \\$VAR_DEF(\\$index) int \\$VAR_NAME(\\$index) /*\\$VAR_DEF(3) -> int a3*/\n\\$\\$define \\$ORDER(\\$index) \\$\\$begin /*\\$ORDER(3) -> 3rd*/\n\\$\\$define \\$LAST_DIGIT \\$mod(\\$index,10)\n\\$index\\$if(\\$eq(\\$LAST_DIGIT,1),st,\\$if(\\$eq(\\$LAST_DIGIT,2),nd,\\$if(\\$eq(\\$LAST_DIGIT,3),rd,th)))\n\\$\\$end\n\\$\\$define \\$OUTPUT(\\$index) \\$(\")\\$ORDER(\\$index)\\$(\")<<\\$VAR_NAME(\\$index) /*\\$OUTPUT(3) -> \"3rd\"<<a3*/```\n\n```\\$\\$define \\$PRINT_FUNCTION(\\$count) \\$\\$begin\nvoid Print(\\$loopsep(\\$count,1,\\$VAR_DEF,\\$(,)))\n{\ncout<<\\$loopsep(\\$count,1,\\$OUTPUT,<<)<<endl;\n}\\$( )\n\\$\\$end```\n\n```\\$define \\$COUNT 10 /*就算是20,那上面的代码的11也会生成11st,特别方便*/\n\\$loop(\\$COUNT,1,\\$PRINT_FUNCTION)```\n\nC++的宏生成复杂代码的时候,动不动就会因为dynamic scoping和call by name掉坑里而且还没有靠谱的工具来告诉我们究竟要怎么做,Fpmacro就解决了这个问题。\n\nGUI的构造代码写起来太他妈烦了,所以还得有一个配置的文件。\n\nposted @ 2013-09-15 17:26 陈梓瀚(vczh) 阅读(8244) | 评论 (11)编辑 收藏\n\n1. C++\n2. C#\n3. F#\n5. Ruby\n6. Prolog\n\n1. 面向对象→class\n2. polymorphic type→template\n3. intersection type→union / 函数重载\n4. dependent type→带数字的模板类型\n5. System F→在泛型的lambda表达式里面使用decltype(看下面的例子)\n6. sub typing的规则→泛型lambda表达式到函数指针的隐式类型转换\n\n```auto lambda = [](const auto& xs)\n{\ndecltype(*xs.begin()) sum = 0;\nfor(auto x : xs)\n{\nsum += x;\n}\nreturn sum;\n};```\n\n```vector<int> a = { ... };\nlist<float> b = { ... };\ndeque<double> c = { ... };\n\nint sumA = lambda(a);\nfloat sumB = lambda(b);\ndouble sumC = lambda(c);```\n\n```doube(*summer)(const vector<double>&);\nsummer = lambda;```\n\n```template<int m, int s, int kg>\nstruct unit\n{\ndouble value;\n\nunit():value(0){}\nunit(double _value):value(_value){}\n};```\n\n```template<int m, int s, int kg>\nunit<m, s, kg> operator+(unit<m, s, kg> a, unit<m, s, kg> b)\n{\nreturn a.value + b.value;\n}\n\ntemplate<int m, int s, int kg>\nunit<m, s, kg> operator-(unit<m, s, kg> a, unit<m, s, kg> b)\n{\nreturn a.value - b.value;\n}\n\ntemplate<int m, int s, int kg>\nunit<m, s, kg> operator+(unit<m, s, kg> a)\n{\nreturn a.value;\n}\n\ntemplate<int m, int s, int kg>\nunit<m, s, kg> operator-(unit<m, s, kg> a)\n{\nreturn -a.value;\n}\n\ntemplate<int m1, int s1, int kg1, int m2, int s2, int kg2>\nunit<m1+m2, s1+s2, kg1+kg2>operator*(unit<m1, s1, kg1> a, unit<m2, s2, kg2> b)\n{\nreturn a.value * b.value;\n}\n\ntemplate<int m1, int s1, int kg1, int m2, int s2, int kg2>\nunit<m1-m2, s1-s2, kg1-kg2>operator/(unit<m1, s1, kg1> a, unit<m2, s2, kg2> b)\n{\nreturn a.value / b.value;\n}```\n\n```template<int m, int s, int kg>\nunit<m, s, kg> operator*(double v, unit<m, s, kg> a)\n{\nreturn v * a.value;\n}\n\ntemplate<int m, int s, int kg>\nunit<m, s, kg> operator*(unit<m, s, kg> a, double v)\n{\nreturn a.value * v;\n}\n\ntemplate<int m, int s, int kg>\nunit<m, s, kg> operator/(double v, unit<m, s, kg> a)\n{\nreturn v / a.value;\n}\n\ntemplate<int m, int s, int kg>\nunit<m, s, kg> operator/(unit<m, s, kg> a, double v)\n{\nreturn a.value / v;\n}```\n\n```constexpr unit<1, 0, 0> operator\"\"_meter(double value)\n{\nreturn value;\n}\n\nconstexpr unit<0, 1, 0> operator\"\"_second(double value)\n{\nreturn value;\n}\n\nconstexpr unit<0, 0, 1> operator\"\"_kilogram(double value)\n{\nreturn value;\n}\n\nconstexpr unit<1, -2,1> operator\"\"_N(double value) // 牛不知道怎么写-_-\n{\nreturn value;\n}\n\nconstexpr unit<2, -2,1> operator\"\"_J(double value) // 焦耳也不知道怎么写-_-\n{\nreturn value;\n}```\n\n```auto m = 16_kilogram; // unit<0, 0, 1>(16)\nauto s = 3_meter; // unit<1, 0, 0>(3)\nauto t = 2_second; // unit<0, 1, 0>(2)\nauto a = s / (t*t); // unit<1, -2, 0>(3/4)\nauto F = m * a; // unit<1, -2, 1>(12)```\n\n```auto W = F * s; // unit<2, -2, 1>(36)\nauto x = F + W; // bang!```\n\n```double m = 16;\ndouble s = 3;\ndouble t = 2;\ndouble a = s / (t*t);\ndouble F = m * a;\ndouble W = F * s;\ndouble x = F + W; //????```\n\n```string dogName = \"kula\";\nPerson person;\nperson.name = dogName;```\n\n```merge [] [] = []\nmerge [] xs = xs\nmerge xs [] = xs\nmerge (x:xs) (y:ys) = if x<y then x:(merge xs (y:ys)) else y:(merge (x:xs) ys)\n\nmergeSort [] = []\nmergeSort xs = merge (mergeSort a) (mergeSort b)\nwhere\nlen = length xs\na = take \\$ len `div` 2 \\$ xs\nb = drop \\$ len - len `div` 2 \\$ xs```\n\n1. 首先,[]告诉我们,这是一个空列表,但是类型是什么不知道,所以他是forall a –> [a]。所以merge [] [] = []告诉我们,merge的类型至少是[a] –> [b] –> [c]。\n2. 其次,merge []  xs = xs告诉我们,merge的类型至少是[d] –> e –> e。这个类型跟[a]->[b]->[c]求一个交集就会得到merge的更准确的类型:[a] –> [b] –> [b]。\n3. 然后,merge xs [] = []告诉我们,merge的类型至少是f –> [g] –> f。这个类型跟[a] –> [b] –> [b]求一个交集就会得到merge的更准确的类型:[a] –> [a] –> [a]。\n4. 最后看到那个长长的式子,根据一番推导之后,会发现[a]->[a]->[a]就是我们要的最终类型了。\n5. 只要把相同的技术放在mergeSort上面,就可以得到mergeSort的类型是[a]->[a]了。\n\nHaskell看完就可以来看C#了。C#的linq真是个好东西啊,只要不把它看成SQL,那很多事情都可以表达的。譬如说是个人都知道的linq to object啦,后面还有linq to xmllinq to sqlreactive programming,甚至是parser combinator等等。一个典型的linq的程序是长这个样子的:\n\n```var w =\nfrom x in xs\nfrom y in ys\nfrom z in zs\nselect f(x, y, z);```\n\n```W f(X x, Y y, Z z);\n\nvar /*IEnumerable<W>*/w =\nfrom /*X*/x in /*IEnumerable<X>*/xs\nfrom /*Y*/y in /*IEnumerable<Y>*/ys\nfrom /*Z*/z in /*IEnumerable<Z>*/zs\nselect f(x, y, z);\n\nvar /*IObservable<W>*/w =\nfrom /*X*/x in /*IObservable<X>*/xs\nfrom /*Y*/y in /*IObservable<Y>*/ys\nfrom /*Z*/z in /*IObservable<Z>*/zs\nselect f(x, y, z);\n\nvar /*IParser<W>*/w =\nfrom /*X*/x in /*IParser<X>*/xs\nfrom /*Y*/y in /*IParser<Y>*/ys\nfrom /*Z*/z in /*IParser<Z>*/zs\nselect f(x, y, z);```\n`var /*IQueryable<W>*/w = from /*X*/x in /*IQueryable<X>*/xs from /*Y*/y in /*IQueryable<Y>*/ys from /*Z*/z in /*IQueryable<Z>*/zs select f(x, y, z);`\n```var /*?<W>*/w =\nfrom /*X*/x in /*?<X>*/xs\nfrom /*Y*/y in /*?<Y>*/ys\nfrom /*Z*/z in /*?<Z>*/zs\nselect f(x, y, z);```\n\n```var theNumber = (\nfrom n in numbers\ngroup by n into g\nselect g.ToArray() into gs\norder by gs.Length descending\nselect gs\n).First()```\n\n```IParser<FunctionCallExpression> Call()\n{\nreturn\nfrom name in PrimitiveExpression()\nfrom _1 in Text(\"(\")\nfrom arguments in\nmany(\nExpression().\nText(\",\")\n)\nfrom _2 in Text(\")\")\nselect new FunctionCallExpression\n{\nName = name,\nArguments = arguments.ToArray(),\n};\n}```\n\n`PrimitiveExpression \"(\" [Expression {\",\" Expression}] \")\"`\n\nposted @ 2013-08-17 00:26 陈梓瀚(vczh) 阅读(11963) | 评论 (16)编辑 收藏\n\n`data Unsure a = Sure a | Error string`\n\n```instance Functor Unsure where\nfmap f (Sure x) = Sure (f x)\nfmap f (Error e) = Error e```\n\n```instance Monad Unsure where\nreturn = Sure\nfail = Error\n(Sure s) >>= f = f s\n(Error e) >>= f = Error e```\n\n```// Tag :: integer -> Unsure string\nTag f =\nif f < 0 then Error \"分数必须在0-100之间\" else\nif f<60 then Sure \"傻逼\" else\nif f<90 then Sure \"一般\" else\nif f<=100 then Sure \"牛逼\" else\nError \"分数必须在0-100之间\"```\n\n```// TagAll :: [integer] -> Unsure [string]\n\nTagAll [] = []\nTagAll (x:xs) = do\nfirst <- Tag x\nremains <- TagAll xs\nreturn first:remains```\n\nTagAll是一个循环,把输入的东西每一个都用Tag过一遍。如果有一次Tag返回失败了,整个TagAll函数都会失败,然后返回错误。如果全部成功了,那么TagAll函数会返回整个处理后的数组。\n\n```// TagAll :: [integer] -> Unsure [string]\nTagAll xs = reverse \\$ TagAll_ xs [] where\nTagAll [] ys = Sure ys\nTagAll (x:xs) ys = do\ny <- Tag x\nTagAll xs (y:ys)```\n\n```MonadExp\n::= \"do\" FragmentNotNull\n\nFragmentNotNull\n::= [Pattern \"<-\"] Expression EOL FragmentNull\n\nFragmentNull\n::= FragmentNotNull\n::= ε```\n\n1、第一样要是一个a<-e这样的东西。如果你不想给返回值命名,就省略“a<-”这部分\n2、然后重复\n\n1、先做e,然后把结果保存进a\n2、然后做下面的事情\n\n```// Count牛逼 :: integer -> integer -> integer –> Unsure integer\n\nCount牛逼 chinese math english = do\na <- Tag chinese\nb <- Tag math\nc <- Tag english\nreturn length [x | x <- [a, b, c], x == \"牛逼\"]```\n\n```// Count牛逼 :: integer -> integer -> integer –> Unsure integer\n\nCount牛逼 chinese math english\nTag chinese >>= \\a->\nTag math >>= \\b->\nTag english >>= \\c->\nreturn length [x | x <- [a, b, c], x == \"牛逼\"]```\n\n>>=函数的定义是\n\n```instance Monad Unsure where\nreturn = Sure\nfail = Error\n(Sure s) >>= f = f s\n(Error e) >>= f = Error e```\n\n```// Count牛逼 :: integer -> integer -> integer –> Unsure integer\n\nCount牛逼 chinese math english\ncase Tag chinese of {\nSure a -> case Tag math of {\nSure b -> case Tag english of {\nSure c -> Sure \\$ length [x | x <- [a, b, c], x == \"牛逼\"]\nError e -> Error e\n}\nError e -> Error e\n}\nError e -> Error e\n}```\n\n```// Count牛逼 :: integer -> integer -> integer –> Unsure integer\n\nCount牛逼 chinese math english\nTag chinese >>= \\a->\nTag math >>= \\b->\nTag english >>= \\c->\nreturn length [x | x <- [a, b, c], x == \"牛逼\"]```\n\nF#虽然被设计成了一门函数式语言,但是其骨子里还是跟C#一样带状态的,而且编译成MSIL代码之后,可以直接让F#和C#互相调用。一个真正的Windows程序员,从来不会拘泥于让一个工程只用一个语言来写,而是不同的大模块,用其适合的最好的语言。微软把所有的东西都设计成可以强类型地互操作的,所以在Windows上面从来不存在什么“如果我用A语言写了,B就用不了”的这些事情。这是跟Linux的一个巨大的区别。Linux是没有强类型的互操作的(字符串信仰者们再见),而Windows有。什么,Windows不能用来做Server?那Windows Azure怎么做的,bing怎么做的。什么,只有微软才知道怎么正确使用Windows Server?你们喜欢玩的EVE游戏的服务器是怎么做的呢?\n\n```let TagAll xs = unsure\n{\nlet r = Array.create xs.length \"\"\nfor i in 0 .. xs.length-1 do\nlet! tag = Tag xs.[i]\nr.[i]<-tag\nreturn r\n}```\n\n```type UnsureBuilder() =\nmember this.Bind(m, f) = match m with\n| Sure a -> f a\n| Error s -> Error s\nmember this.For(xs, body) =unsure\n{\nmatch xs with\n| [] -> Sure ()\n| x::xs ->\nlet! r = Tag x\nbody r\nreturn this.For xs body\n}\n.... // 还有很多别的东西```\n`let unsure = new UnsureBuilder()`\n\n```IEnumerable<T> Concat(this IEnumerable<T> a, IEnumerable<T> b)\n{\nforeach(var x in a)\nyield return x;\nforeach(var x in b)\nyield return x;\n}```\n\n```async Task<T[]> SequencialExecute(this Task<T>[] tasks)\n{\nreturn ts;\n}```\n\n2. F#有computation expression,所以我们可以给自己定义的类型实现一个computation expression,从而让我们的类型可以用let!来操作。\n3. C#有【什么】,所以我们可以给自己定义的类型实现一个【什么】,从而让我们的类型可以用【什么】来操作?\n\n1. fmap对应于Select\n2. >>=对应于SelectMany\n\n```// Count牛逼 :: integer -> integer -> integer –> Unsure integer\n\nCount牛逼 chinese math english = do\na <- Tag chinese\nb <- Tag math\nc <- Tag english\nreturn length [x | x <- [a, b, c], x == \"牛逼\"]```\n\n```Unsure<int> Count牛逼(int chinese, int math, int english)\n{\nreturn\nfrom a in Tag(chinese)\nfrom b in Tag(math)\nfrom c in Tag(english)\nreturn new int[]{a, b, c}.Where(x=>x==\"牛逼\").Count();\n}```\n\nC#有【什么】,所以我们可以给自己定义的类型实现一个【什么】,从而让我们的类型可以用【什么】来操作?\n\n1. 首先把yield return修改成yield\n2. 其次吧yield break修改成return\n3. 然后再给函数打上一个叫做seq的东西,跟async对称,就当他是个关键字\n4. 给所有CPS operator加上一个感叹号,让他变得更清楚(这里有yield、await和return)。为什么return也要加上感叹号呢?因为如果我们吧seq和aysnc摘掉的话,我们会发现return的类型是不匹配的。所以这不是一个真的return。\n\n```seq IEnumerable<T> TakeWhile(this IEnumerable<T> source, Predicate<T> predicate)\n{\nforeach(var x in source)\n{\nif(!predicate(x))\nreturn!;\nyield! x\n}\n}\n\n{\nList<T> result=new List<T>();\nforeach(var t in source)\n{\nvar x = await! t;\nif(!predicate(x))\nreturn! result.ToArray();\n}\nreturn! result.ToArray();\n}```\n\n1. seq和async到底是什么?\n2. seq下面的yield和return的类型分别是什么?\n3. async下面的await和return的类型分别是什么?\n\n1. 对于yield,yield接受了一个T,没有返回值。一个没有返回值的函数的continuation是什么呢?当然就是一个没有参数的函数了。\n2. return则连输入都没有。\n3. 而且yield和return都需要看到IEnumerator<T>。所以他们肯定有一个参数包含这个东西。\n\n```public static class seq\n{\npublic static IEnumerator<T> CreateCps<T>(Action<seq_Enumerator<T>>);\npublic static void yield<T>(seq_Enumerator<T> state, T value, Action continuation);\npublic static void exit<T>(seq_Enumerator<T> state /*没有输入*/ /*exit代表return,函数结束的意思就是不会有一个continuation*/);\n}```\n\n```public class seq_Enumerable<T> : IEnumerable<T>\n{\npublic Action<seq_Enumerator<T>> startContinuation;\n\npublic IEnumerator<T> CreateEnumerator()\n{\nreturn new seq_Enumerator<T>\n{\nstartContinuation=this.startContinuation)\n};\n}\n}\n\npublic class seq_Enumerator<T> : IEnumerator<T>\n{\npublic T current;\nbool available;\nAction<seq_Enumerator<T>> startContinuation;\nAction continuation;\n\npublic T Current\n{\nget\n{\nreturn this.current;\n}\n}\n\npublic bool MoveNext()\n{\nthis.available=false;\nif(this.continuation==null)\n{\nthis.startContinuation(this);\n}\nelse\n{\nthis.continuation();\n}\nreturn this.available;\n}\n}\n\npublic static class seq\n{\npublic static IEnumerable<T> CreateCps<T>(Action<seq_Enumerator<T>> startContinuation)\n{\nreturn new seq_Enumerable\n{\nstartContinuation=startContinuation\n};\n}\n\npublic static void yield<T>(seq_Enumeartor<T> state, T value, Action continuation)\n{\nstate.current=value;\nstate.available=true;\nstate.continuation=continuation;\n}\n\npublic static void exit<T>(seq_Enumeartor<T> state)\n{\n}\n}```\n\n```public class _TakeWhile<T>\n{\nseq_Enumerator<T> _controller;\nAction _output_continuation_0= this.RunStateMachine;\nint _state;\nIEnumerable<T> _source;\n\nIEnumerator<T> _source_enumerator;\nPredicate<T> _predicate;\nT x;\n\npublic void RunStateMachine()\n{\nwhile(true)\n{\nswitch(this.state)\n{\ncase 0:\n{\nthis._source_enumerator = this._source.CreateEnumerator();\nthis._state=1;\n}\nbreak;\ncase 1:\n{\nif(this._state_enumerator.MoveNext())\n{\nthis.x=this._state_enumerator.Current;\nif(this._predicate(this.x))\n{\nthis._state=2;\nvar input=this.x;\nseq.yield(this._controller. input, this._output_continuation_0);\nreturn;\n}\nelse\n{\nseq.exit(this._controller);\n}\n}\nelse\n{\nstate._state=3;\n}\n}\nbreak;\ncase 2:\n{\nthis.state=1;\n}\nbreak;\ncase 3:\n{\nseq.exit(this._controller);\n}\nbreak;\n}\n}\n}\n}```\n\n```IEnumerable<T> TakeWhile(this IEnumerable<T> source, Predicate<T> predicate)\n{\nreturn seq.CreateCps(controller=>\n{\nvar sm = new _Where<T>\n{\n_controller=controller,\n_source=source,\n_predicate=predicate,\n};\n\nsm.RunStateMachine();\n});\n}```\n\n```public static class seq\n{\npublic static IEnumerator<T> CreateCps<T>(Action<seq_Enumerator<T>>);\npublic static void yield<T>(seq_Enumerator<T> state, T value, Action continuation);\npublic static void exit<T>(seq_Enumerator<T> state /*没有输入*/ /*exit代表return,函数结束的意思就是不会有一个continuation*/);\n}```\n\n```public static class async\n{\n{\n/*请自行填补*/\n}\n\n{\n/*请自行填补*/\n}\n\n{\n/*请自行填补*/\n}\n}\n\n{\n/*请自行填补*/\n}```\nposted @ 2013-07-26 19:12 陈梓瀚(vczh) 阅读(14208) | 评论 (15)编辑 收藏\n\n```void Swap(int a, int b)\n{\nint t = a;\na = b;\nb = t;\n}\n\nint main()\n{\nint a=0;\nint b=1;\nSwap(a, b);\nprintf(\"%d, %d\", a, b);\n}```\n\n```int Add(int a, int b)\n{\nreturn a + b;\n}\n\nint Choose(bool first, int a, int b)\n{\nreturn first ? a : b;\n}\n\nint main()\n{\nprintf(\"%d\", r);\n}```\n\n```int Set(int a, int b, int c, int d)\n{\na += b;\na += c;\na += d;\n}\n\nint main()\n{\nint i = 0;\nint x = {1, 2, 3};\nSet(x[i++], 10, 100, 1000);\nprintf(\"%d, %d, %d, %d\", x, x, x, i);\n}```\n\n```x[i++] += 10;\nx[i++] += 100;\nx[i++] += 1000;```\n\n```Action<int> SetX()\n{\nint x = 0;\nreturn (int n)=>\n{\nx = n;\n};\n}\n\nvoid Main()\n{\nint x = 10;\nvar setX = SetX();\nsetX(20);\nConsole.WriteLine(x);\n}```\n\n=======================我是背景知识的分割线=======================\n\n```function pair(a, b) {\nreturn function(c) {\nreturn c(a, b);\n};\n}\n\nfunction first(a, b) {\nreturn a;\n}\n\nfunction second(a, b) {\nreturn b;\n}\n\nvar p = pair(1, pair(2, 3));\nvar a = p(first);\nvar b = p(second)(first);\nvar c = p(second)(second);\nprint(a, b, c);```\n\n```var p = pair(1, pair(2, 3));\nvar a = p(first);\n\n// ↓↓↓↓↓\n\nvar p = function(c) {\nreturn c(1, pair(2, 3));\n};\nvar a = p(first);\n\n// ↓↓↓↓↓\n\nvar a = first(1, pair(2, 3));\n\n// ↓↓↓↓↓\n\nvar a = 1;```\n\n```var p = {\nfirst : 1,\nsecond : {\nfirst : 1,\nsecond : 2,\n}\n};\n\nvar a = p.first;\nvar b = p.second.first;\nvar c = p.second.second;```\n\n```// 在这里我们继续使用上面的pair、first和second函数\n\nfunction mutable_pair(a, b) {\nreturn function(c) {\nvar x = c(a, b);\n// 这里我们把pair当链表用,一个(1, 2, 3)的链表会被储存为pair(1, pair(2, pair(3, null)))\na = x(second)(first);\nb = x(second)(second)(first);\nreturn x(first);\n};\n}\n\nfunction get_first(a, b) {\nreturn pair(a, pair(a, pair(b, null)));\n}\n\nfunction get_second(a, b) {\nreturn pair(b, pair(a, pair(b, null)));\n}\n\nfunction set_first(value) {\nreturn function(a, b) {\nreturn pair(undefined, pair(value, pair(b, null)));\n};\n}\n\nfunction set_second(value) {\nreturn function(a, b) {\nreturn pair(undefined, pair(a, pair(value, null)));\n};\n}\n\nvar p = mutable_pair(1, 2);\nvar a = p(get_first);\nvar b = p(get_second);\nprint(a, b);\np(set_first(3));\np(set_second(4));\nvar c = p(get_first);\nvar d = p(get_second);\nprint(c, d);```\n\n```var p = mutable_pair(1, 2);\np(set_first(3));\n\n// ↓↓↓↓↓\n\np = return function(c) {\nvar x = c(1, 2);\na = x(second)(first);\nb = x(second)(second)(first);\nreturn x(first);\n};\np(set_first(3));\n\n// ↓↓↓↓↓\n\nvar x = set_first(3)(1, 2);\np.a = x(second)(first); // 这里的a和b是p的闭包内包含的上下文的变量了,所以这么写会清楚一点\np.b = x(second)(second)(first);\n// return x(first);出来的值没人要,所以省略掉。```\n```\n// ↓↓↓↓↓\n\nvar x = (function(a, b) {\nreturn pair(undefined, pair(3, pair(b, null)));\n})(1, 2);\np.a = x(second)(first);\np.b = x(second)(second)(first);\n\n// ↓↓↓↓↓\n\nx = pair(undefined, pair(3, pair(2, null)));\np.a = x(second)(first);\np.b = x(second)(second)(first);\n\n// ↓↓↓↓↓\n\np.a = 3;\np.b = 2;```\n\n```function rectangle(a, b) {\nthis.width = a;\nthis.height = height;\n}\n\nrectangle.prototype.get_area = function() {\nreturn this.width * this.height;\n};\n\nvar r = new rectangle(3, 4);\nprint(r.get_area());```\n\n`obj.method(args)`\n\n```var x = r.get_area;\nprint(x());```\n\n```class Rectangle\n{\npublic int width;\npublic int height;\n\npublic int GetArea()\n{\nreturn width * height;\n}\n};```\n\n```var r = new Rectangle\n{\nwidth = 3;\nheight = 4;\n};\n\n// 第一段代码\nConsole.WriteLine(r.GetArea());\n\n// 第二段代码\nFunc<int> x = r.GetArea;\nConsole.WriteLine(x());```\n\n```Func<int> x = ()=>\n{\nreturn r.GetArea();\n};\nConsole.WriteLine(x());```\n\n```function mutable_pair(a, b) {\n_this = {\nget_first = function() { return a; },\nget_second = function() { return b; },\nset_first = function(value) { a = value; },\nset_second = function(value) { b = value; }\n}; return _this;\n}\n\nvar p = new mutable_pair(1, 2);\nvar a = p.get_first();\nvar b = p.get_second();\nprint(a, b);\nvar c = p.set_first(3);\nvar d = p.set_second(4);\nprint(c, d);```\n\n```var x = p.set_first;\nvar y = p.set_second;\nx(3);\ny(4);```\n\n1. 阅读C语言的复杂的声明语法\n2. 什么是语法噪音\n3. 什么是语法的一致性\n4. C++的const的意思\n5. C#的struct和property的问题\n6. C++的多重继承\n7. 封装到底意味着什么\n8. 为什么exception要比error code写起来干净、容易维护而且不需要太多的沟通\n9. 为什么C#的有些interface应该表达为concept\n10. 模板和模板元编程\n11. 协变和逆变\n12. type rich programming\n13. OO的消息发送的含义\n14. 虚函数表是如何实现的\n15. 什么是OO里面的类型扩展开放/封闭与逻辑扩展开放/封闭\n16. visitor模式如何逆转类型和逻辑的扩展和封闭\n17. CPS(continuation passing style)变换与异步调用的异常处理的关系\n18. CPS如何让exception变成error code\n19. argument passing和symbol resolving\n20. 如何用lambda实现mutable struct和immutable struct\n21. 如何用lambda实现interface\n\nposted @ 2013-07-05 06:31 陈梓瀚(vczh) 阅读(9023) | 评论 (12)编辑 收藏\n\nPosts.xml:记录了所有博客文章的一些元数据,还有每一个博客的id。\nPost[博客id].txt:每一篇博客的内容。\nImages.xml:保存了所有图片的“url”到“文件名”的映射。\nImage[GUID]文件名.xxx:文件名。一个文件名究竟对应什么url可以再Images.xml里面查到。\nFiles.xml:保存了所有文件的“url”到“文件名”的映射。\nFile[GUID]文件名.xxx:文件名。一个文件名究竟对应什么url可以再Files.xml里面查到。\n\n================无耻的分割线================\n\nposted @ 2013-06-29 05:57 陈梓瀚(vczh) 阅读(12566) | 评论 (5)编辑 收藏\n\n```async void button4_Click(object sender, EventArgs e)\n{\ntry\n{\ntextBox1.Text=a+b;\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n}```\n\n```async void button4_Click(Object, EventArgs)\n{\ntry\n{\n(TextBox -> String -> Void#TextBox.Text) (TextBox, String + String);\n}\ncatch(Exception)\n{\n(TextBox -> String -> Void#TextBox.Text) (TextBox, (Exception -> String#Exception.Message) (Exception));\n}\n}```\n\nDon Syme是微软的Principle Researcher,翻译过来大概就是“顶级科学家”的意思吧,很少有更牛逼的东西了。\n\nDon Syme: Research", null, "posted @ 2013-06-25 09:17 陈梓瀚(vczh) 阅读(11718) | 评论 (15)编辑 收藏\n\n```// exception版本\nSymbol* SymbolMap::Lookup(const wstring& name);\n\n// error code版本\nint SymbolMap::Lookup(const wstring& name, Symbol*& result);\n\n// 其实COM就是你们最喜欢的error code风格了,写起来应该很开心才对呀,你们的双重标准真严重\nHRESULT ISymbolMap::Lookup(BSTR name, ISymbol** result);```\n\n```Symbol* ComposeSymbol(const wstring& a, const wstring& b, SymbolMap* map)\n{\nSymbol* sa=0;\nSymbol* sb=0;\ntry\n{\nsa=map->Lookup(a);\nsa=map->Lookup(b);\n}\ncatch(const IndexOutOfRangeException& ex)\n{\nthrow SymbolKeyException(ex.GetIndex());\n}\nreturn CreatePairSymbol(sa, sb);\n}```\n\n```#define SUCCESS 0 // global error code for success\n#define ERROR_COMPOSE_SYMBOL_WRONG_A 1\n#define ERROR_COMPOSE_SYMBOL_WRONG_B 2\n\nint ComposeSymbol(const wstring& a, const wstring& b, SymbolMap* map, Symbol*& result)\n{\nint code=SUCCESS;\nSymbol* sa=0;\nSymbol* sb=0;\nswitch(code=map->Lookup(a, sa))\n{\ncase SUCCESS:\nbreak;\ncase ERROR_SYMBOL_MAP_KEY_NOT_FOUND:\nreturn ERROR_COMPOSE_SYMBOL_WRONG_A;\ndefault:\nreturn code;\n}\nswitch(code=map->Lookup(b, sb))\n{\ncase SUCCESS:\nbreak;\ncase ERROR_SYMBOL_MAP_KEY_NOT_FOUND:\nreturn ERROR_COMPOSE_SYMBOL_WRONG_B;\ndefault:\nreturn code;\n}\nreturn CreatePairSymbol(sa, sb, result);\n}```\n\n```#define SUCCESS 0 // global error code for success\n#define ERROR_COMPOSE_SYMBOL_WRONG_A 1\n#define ERROR_COMPOSE_SYMBOL_WRONG_B 2\n#define ERROR_COMPOSE_SYMBOL_UNKNOWN_ERROR 3\n\nint ComposeSymbol(const wstring& a, const wstring& b, SymbolMap* map, Symbol*& result)\n{\nSymbol* sa=0;\nSymbol* sb=0;\nif(map->Lookup(a, sa)!=SUCCESS)\nreturn ERROR_COMPOSE_SYMBOL_UNKNOWN_ERROR;\nif(map->Lookup(b, sb)!=SUCCESS)\nreturn ERROR_COMPOSE_SYMBOL_UNKNOWN_ERROR;\nif(CreatePairSymbol(sa, sb, result)!=SUCCESS)\nreturn ERROR_COMPOSE_SYMBOL_UNKNOWN_ERROR;\nreturn SUCCESS;\n}```\n\n```Symbol* ComposeSymbol(const wstring& a, const wstring& b, SymbolMap* map)\n{\nreturn CreatePairSymbol(map->Lookup(a), map->Lookup(b));\n}```\n\n```class Normal\n{\npublic string Do(string args);\n}```\n\n```class Async\n{\n// before .NET 4.0\nIAsyncResult BeginDo(string args, Action<IAsyncResult> continuation);\nstring EndDo(IAsyncResult ar);\n\n// after .NET 4.0\n}```\n\n```class Task<T>\n{\npublic IAsyncResult BeginRun(Action<IAsyncResult> continuation);\npublic T EndRun(IAsyncResult ar);\n}```\n\n```class Task<T>\n{\n}```\n\n```void button1_Clicked(object sender, EventArgs e)\n{\ntry\n{\ntextBox1.Text=a+b;\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n}```\n\n```void button2_Clicked(object sender, EventArgs e)\n{\n// 需要MethodInvoker是因为,对textBox1.Text的修改只能在GUI线程里面做\n{\ntry\n{\n// 这个时候ta已经运行完了,所以对ta.Result的取值不会造成GUI线程等待IO。\nstring a=ta.Result;\n{\ntry\n{\nstring b=tb.Result;\ntextBox1.Text=a+b;\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n})));\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n})));\n}```\n\n```// lambda的参数名字故意起了跟前面的变量一样的名字(previousTask)因为其实他们就是同一个东西\n{\ntry\n{\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n})));```\n\n```try\n{\ncontinuation(result);\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}```\n\n```void button3_Click(object sender, EventArgs e)\n{\ntry\n{\ntry\n{\ntextBox1.Text=a+b;\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n}```\n\n```// C#要求函数前面要加一个async来允许你在函数内使用await\n// 不过没关系,C#的event也可以接受一个标记了async的函数,尽管返回值不一样\n// 设计语言这种事情就是牵一发而动全身呀,加个await连event都要改\nasync void button4_Click(object sender, EventArgs e)\n{\ntry\n{\ntextBox1.Text=a+b;\n}\ncatch(Exception ex)\n{\ntextBox1.Text=ex.Message;\n}\n}```\n\nposted @ 2013-06-09 23:01 陈梓瀚(vczh) 阅读(13562) | 评论 (8)编辑 收藏\n\n```phrase print(content) is\nexternal function \"writeln\"\nend phrase\n\nphrase first (count) items of fibonacci sequence is\nif count equals to 1 then\nresult is \nelse if count equals to 2 then\nresult is [1,1]\nelse\nlet list be [1,1]\nrepeat with i from 3 to count\nlet list be list joins with item length of list - 1 of list + item length of list - 2 of list\nend\nresult is list\nend\nend phrase\n\nphrase (number) is odd is\nresult is number mod 2 is 0\nend phrase alias odd number\n\nphrase append (item) after (list) is\nlet 0 element of list from length of list be [item]\nend phrase\n\nphrase ((item) is validated) in (list) is\nlet filtered list be []\nrepeat with item in list\nappend item after filtered list if item is validated\nend\nresult is filtered list\nend phrase\n\nphrase main is\nprint odd number in first 10 items of fibonacci sequence\nend phrase```\n\n`print odd number in first 10 items of fibonacci sequence`\n\n```class Language\n{\npublic:\nvoid YouSuck(){ ... }\n};\n\nLanguage golang;\ngolang.YouSuck();```\n\n```struct Language\n{\n};\n\nvoid Language_YouSuck(Language* const this)\n{\n...\n}\n\nLanguage golang;\nLanguage_YouSuck(&golang);```\n\n```class IGolang\n{\npublic:\nvirtual void YouSuck()=0;\n};\n\n{\npublic:\nvoid YouSuck()override{ /*1*/ }\n};\n\nclass AmdGolang : public IGolang\n{\npublic:\nvoid YouSuck()override{ /*2*/ }\n};\n\ngolang->YouSuck();```\n\n```struct vtable_IGolang\n{\nvoid (*YouSuck)(IGolang* const this);\n};\n\nstruct IGolang\n{\nvtable_IGolang* vtable;\n};\n\n//---------------------------------------------------\n\n{\nIGolang parent;\n};\n\n{\n}\n\n{\n/*1*/\n}\n\n{\n}\n\n//---------------------------------------------------\n// AmdGolang略,长得都一样\n//---------------------------------------------------\n\nIGolang* golang = &tmp->parent;\ngolang->vtable->YouSuck(golang);```\n\n```class Shape\n{\npublic:\nvirtual double GetArea()=0;\nvirtual bool HitTest(Point p)=0;\n};\n\nclass Circle : public Shape ...;\nclass Rectangle : public Shape ... ;```\n\n```class IShapeVisitor\n{\npublic:\nvirtual void Visit(Circle* shape)=0;\nvirtual void Visit(Rectangle* shape)=0;\n};\n\nclass Shape\n{\npublic:\nvirtual void Accept(IShapeVisitor* visitor)=0;\n};\n\nclass Circle : public Shape\n{\npublic:\n...\n\nvoid Accept(IShapeVIsitor* visitor)override\n{\nvisitor->Visit(this); // 因为重载的关系,会调用到第一个Visit函数\n}\n};\n\nclass Rectangle : public Shape\n{\npublic:\n...\n\nvoid Accept(IShapeVIsitor* visitor)override\n{\nvisitor->Visit(this); // 因为重载的关系,会调用到第二个Visit函数\n}\n};\n\n//------------------------------------------\n\nclass GetAreaVisitor : public IShapeVisitor\n{\npublic:\ndouble result;\n\nvoid Visit(Circle* shape)\n{\nresult = ...;\n}\n\nvoid Visit(Rectangle* shape)\n{\nresult = ...;\n}\n};\n\nclass HitTestVisitor : public IShapeVisitor ...;```\n\n```double GetArea(Shape* shape)\n{\nGetAreaVisitor visitor;\nshape->Accept(&visitor);\nreturn visitor.result;\n}```\n\n```bool IntersectCC(Circle* s1, Circle* s2){ ... }\nbool IntersectCR(Circle* s1, Rectangle* s2){ ... }\nbool IntersectRR(Rectangle* s1, Rectangle* s2){ ... }\n// RC和CR是一样的\n\nclass IntersectWithCircleVisitor : public IShapeVisitor\n{\npublic:\nCircle* s1;\nbool result;\n\nvoid Visit(Circle* shape)\n{\nresult=IntersectCC(s1, shape);\n}\n\nvoid Visit(Rectangle* shape)\n{\nresult=IntersectCR(s1, shape);\n}\n};\n\nclass IntersectWithRectangleVisitor : public IShapeVisitor\n{\npublic:\nRectangle* s1;\nbool result;\n\nvoid Visit(Circle* shape)\n{\nresult=IntersectCR(shape, s1);\n}\n\nvoid Visit(Rectangle* shape)\n{\nresult=IntersectRR(s1, shape);\n}\n};\n\nclass IntersectVisitor : public IShapeVisitor\n{\npublic:\nbool result;\nIShape* s2;\n\nvoid Visit(Circle* shape)\n{\nIntersectWithCircleVisitor visitor;\nvisitor.s1=shape;\ns2->Accept(&visitor);\nresult=visitor.result;\n}\n\nvoid Visit(Rectangle* shape)\n{\nIntersectWithRectangleVisitor visitor;\nvisitor.s1=shape;\ns2->Accept(&visitor);\nresult=visitor.result;\n}\n};\n\nbool Intersect(Shape* s1, Shape* s2)\n{\nIntersectVisitor visitor;\nvisitor.s2=s2;\ns1->Accept(&visitor);\nreturn visitor.result;\n}```\n\nMixin地方法倒是很直接,我们只要把每一个Visitor里面的Visit函数都给加进去就好了,大概感觉上就类似于:\n\n```class Shape\n{\npublic:\n// Mixin的时候等价于给每一个具体的Shape类都添加下面三个虚函数的重写\nvirtual bool Intersect(Shape* s2)=0;\nvirtual bool IntersectWithCircle(Circle* s1)=0;\nvirtual bool IntersectWithRectangle(Rectangle* s1)=0;\n};\n\n//--------------------------------------------\n\nbool Circle::Intersect(Shape* s2)\n{\nreturn s2->IntersectWithCircle(this);\n}\n\nbool Rectangle::Intersect(Shape* s2)\n{\nreturn s2->IntersectWithRectangle(this);\n}\n\n//--------------------------------------------\n\nbool Circle::IntersectWithCircle(Circle* s1)\n{\nreturn IntersectCC(s1, this);\n}\n\nbool Rectangle::IntersectWithCircle(Circle* s1)\n{\nreturn IntersectCR(s1, this);\n}\n\n//--------------------------------------------\n\nbool Circle::IntersectWithRectangle(Rectangle* s1)\n{\nreturn IntersectCR(this, s1);\n}\n\nbool Rectangle::IntersectWithRectangle(Rectangle* s1)\n{\nreturn IntersectRR(s1, this);\n}```\n\n```bool Intersect(switch Shape* s1, switch Shape* s2);\n\nbool Intersect(case Circle* s1, case Circle* s2){ ... }\nbool Intersect(case Circle* s1, case Rectangle* s2){ ... }\nbool Intersect(case Rectangle* s1, case Circle* s2){ ... }\nbool Intersect(case Rectangle* s1, case Rectangle* s2){ ... }```\n\nposted @ 2013-05-24 19:08 陈梓瀚(vczh) 阅读(11067) | 评论 (5)编辑 收藏" ]
[ null, "http://www.cppblog.com/images/cppblog_com/vczh/110313_1730_Word20131.png", null, "http://www.cppblog.com/images/cppblog_com/vczh/110313_1730_Word20132.png", null, "http://www.cppblog.com/images/cppblog_com/vczh/110313_1730_Word20133.png", null, "http://www.cppblog.com/images/cppblog_com/vczh/110313_1730_Word20134.png", null, "http://www.cppblog.com/images/cppblog_com/vczh/110313_1730_Word20135.png", null, "http://www.cppblog.com/images/cppblog_com/vczh/Windows-Live-Writer/713ffee08631_9B5/wlEmoticon-smile_2.png", null ]
{"ft_lang_label":"__label__zh","ft_lang_prob":0.8540868,"math_prob":0.9707206,"size":74943,"snap":"2022-05-2022-21","text_gpt3_token_len":49517,"char_repetition_ratio":0.10084202,"word_repetition_ratio":0.15778066,"special_character_ratio":0.21029316,"punctuation_ratio":0.1412485,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9860601,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12],"im_url_duplicate_count":[null,2,null,2,null,2,null,2,null,2,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-28T04:11:49Z\",\"WARC-Record-ID\":\"<urn:uuid:1574e76f-cb1c-4fd8-bb2a-bbb6e60e9118>\",\"Content-Length\":\"305235\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:efd3e760-6c1e-43f0-aa8e-8b5af99ec914>\",\"WARC-Concurrent-To\":\"<urn:uuid:74016086-a2ac-470f-87fb-59469ba0c6df>\",\"WARC-IP-Address\":\"47.97.166.246\",\"WARC-Target-URI\":\"http://www.cppblog.com/vczh/default.html?page=2\",\"WARC-Payload-Digest\":\"sha1:WOSSW3AKP4UY6UYEKYD2DY3KNVRIZDUA\",\"WARC-Block-Digest\":\"sha1:TP2NLK7RJ22NETL6DXEL7KRKSL2VSQUE\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652663012542.85_warc_CC-MAIN-20220528031224-20220528061224-00246.warc.gz\"}"}
https://mail.gnu.org/archive/html/bug-prolog/2020-11/msg00000.html
[ "bug-prolog\n[Top][All Lists]\n\n## Integer overflow in functor/3\n\n From: Mark Barbone Subject: Integer overflow in functor/3 Date: Sat, 14 Nov 2020 22:25:10 -0800\n\nHi all,\n\nI've found a minor bug in functor/3.  With an arity argument outside the range of an int, the value is truncated into the size of an int.\n\nHere are two examples of potential outcomes, along with a correct example that doesn't have overflow:\n\n| ?- X is 1<<32 + 3, functor(F, hi, X).\n\nF = hi(_,_,_)\nX = 4294967299\n\nyes\n| ?- X is 1<<31, functor(F, hi, X).\nuncaught exception: error(type_error(atom,hi),functor/3)\n| ?- X is 1<<31 - 1, functor(F, hi, X).\nuncaught exception: error(representation_error(max_arity),functor/3)\n\nI would expect all of these to be representation_errors.  The second example happens because of  a catch-all error clause in Pl_Blt_Functor (term_inl_c.c, line 282):\n\n// ... checks if arity > 0 and functor_word is valid\nif (arity != 0)\nPl_Err_Type(pl_type_atom, functor_word);\n\nThe root cause is that arity is declared as an integer, instead of a PlLong (term_inl_c.c, line 225):\n\nint arity;\n\nThanks, and I hope the bug report helps.\n\n-Mark" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8208775,"math_prob":0.8676184,"size":955,"snap":"2022-40-2023-06","text_gpt3_token_len":275,"char_repetition_ratio":0.11882229,"word_repetition_ratio":0.013157895,"special_character_ratio":0.31623036,"punctuation_ratio":0.21428572,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9654538,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-01-31T04:51:13Z\",\"WARC-Record-ID\":\"<urn:uuid:7c743aaf-d312-4b2e-bcf3-c37252a6eefa>\",\"Content-Length\":\"5008\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4ac78349-7874-44d7-a48b-6ba0002d9208>\",\"WARC-Concurrent-To\":\"<urn:uuid:ab12966a-ab0b-46c7-b2b9-36374fc68d70>\",\"WARC-IP-Address\":\"209.51.188.17\",\"WARC-Target-URI\":\"https://mail.gnu.org/archive/html/bug-prolog/2020-11/msg00000.html\",\"WARC-Payload-Digest\":\"sha1:UICO6VLMBVRUVOBXOW3R3SUVSTKFOGSR\",\"WARC-Block-Digest\":\"sha1:VQL2NXZNSKBOB6FXGRXZX4YADGC3XH3P\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764499842.81_warc_CC-MAIN-20230131023947-20230131053947-00226.warc.gz\"}"}
https://whatpercentcalculator.com/what-is-percent-decrease-from-39-to-26
[ "# What is the percent decrease from 39 to 26?\n\n## (Percent decrease from 39 to 26 is 33.3333 percent)\n\n### Percent decrease from 39 to 26 is 33.3333 percent! Explanation: What does 33.3333 percent or 33.3333% mean?\n\nPercent (%) is an abbreviation for the Latin “per centum”, which means per hundred or for every hundred. So, 33.3333% means 33.3333 out of every 100. For example, if you decrease 39 by 33.3333% then it will become 26.\n\n### Methods to calculate \"What is the percent decrease from 39 to 26\" with step by step explanation:\n\n#### Method: Use the Percent Decrease Calculator formula (Old Number - New Number/Old Number)*100 to calculate \"What is the percent decrease from 39 to 26\".\n\n1. From the New Number deduct Old Number i.e. 39-26 = 13\n2. Divide above number by Old Number i.e. 13/39 = 0.333333\n3. Multiply the result by 100 i.e. 0.333333*100 = 33.3333%\n\n### Percentage examples\n\nPercentages express a proportionate part of a total. When a total is not given then it is assumed to be 100. E.g. 39% (read as 39 percent) can also be expressed as 39/100 or 39:100.\n\nExample: If 39% (39 percent) of your savings are invested in stocks, then 39 out of every 100 dollars are invested in stocks. If your savings are \\$10,000, then a total of 39*100 (i.e. \\$3900) are invested in stocks.\n\n### Differences between percentages and percentage points\n\nLet s take an imaginary example: In 2020, 90 percent of the population could use Inernet, and in 1990 only 10 percent could use the Internet. One can thus say that from 1990 to 2020, the Inernet usage increased by 80 percentage points although Internet usage grew at much higher pace (it increased by 900 percent from 10 to 90). In short percentages indicate ratios, not differences.\nPercentage-point differences are one way to express a probability of something happening. Consider a drug that cures a given disease in 80 percent of all cases, while without the drug, the disease heals on its own in only 65 percent of cases. The drug reduces absolute risk by 15 percentage points.\n\n### Scholarship programs to learn math\n\nHere are some of the top scholarships available to students who wish to learn math.\n\n### Examples to calculate \"What is the percent decrease from X to Y?\"\n\nWhatPercentCalculator.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.94080424,"math_prob":0.9671895,"size":4731,"snap":"2021-43-2021-49","text_gpt3_token_len":1343,"char_repetition_ratio":0.3264227,"word_repetition_ratio":0.20483193,"special_character_ratio":0.33396745,"punctuation_ratio":0.06550665,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9903074,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-23T04:47:25Z\",\"WARC-Record-ID\":\"<urn:uuid:7dfeb444-3f19-4b53-a8b4-243a2a43fd22>\",\"Content-Length\":\"16832\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c40e8e6f-44ef-4018-8864-ebc33917bc7c>\",\"WARC-Concurrent-To\":\"<urn:uuid:d1deba8e-4d72-4085-b5ac-d66db8a65ed0>\",\"WARC-IP-Address\":\"172.67.163.99\",\"WARC-Target-URI\":\"https://whatpercentcalculator.com/what-is-percent-decrease-from-39-to-26\",\"WARC-Payload-Digest\":\"sha1:RYBB4OWO54RC5GU2ALXK7UTLQB7AJUSS\",\"WARC-Block-Digest\":\"sha1:K4ZBO4C2HNUBHCLW46WLZ7LLTKPEHUZM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585561.4_warc_CC-MAIN-20211023033857-20211023063857-00222.warc.gz\"}"}
https://excel.tips.net/T002050_Excluding_Values_from_Averaging.html
[ "", null, "Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Excluding Values from Averaging.\n\n# Excluding Values from Averaging", null, "by Allen Wyatt\n(last updated December 17, 2016)\n\nYou've seen it on the Olympics and in other sporting events: The average score for an athlete is determined by throwing out the highest score and the lowest score, and then averaging the rest. You may have a need to do similar types of averages. For instance, you may be a teacher and need to exclude the two lowest assignment scores before calculating an average.\n\nTo perform this type of averaging, all you need to remember is that an average is calculated by summing all the values in a range and then dividing that sum by the number of items in that range. The SUM function easily provides the sum, and the COUNT function can be used to find out the number of items in the range. How to exclude the two lowest values in the range? You can use the SMALL function.\n\nConsider the following formula, which assumes you want to find an adjusted average of the range A10:A14:\n\n```=(SUM(A10:A14)-SMALL(A10:A14,1)-SMALL(A10:A14,2))/(COUNT(A10:A14)-2)\n```\n\nThe SMALL function is used to determine the two lowest values in the range, and these are subtracted from the overall sum of the range. The resulting value is then divided by the COUNT of values in the range. Note, as well, that the COUNT value is decreased by 2 to compensate for the fact you are ignoring the two lowest values.\n\nAnother way to calculate the same average is to use an array formula. The following one does the trick:\n\n```=AVERAGE(IF(A10:A14>SMALL(A10:A14,2),A10:A14))\n```\n\nSince this is an array formula, you need to enter it by pressing Ctrl+Shift+Enter instead of just pressing Enter. This formula still relies on the use of the SMALL function, but it also uses the actual AVERAGE function to return a result. Since this is an array formula, it examines each of the values in the array (the range) and only considers them for use in the average if they are larger than the second smallest value in the array.\n\nWhile the array formula is shorter than the longer regular formula, there is one caveat to keep in mind: The array formula will produce an undesired result if there is a two-way \"tie\" in the second-lowest value in the range, or a three-way tie in the lowest value. For instance, if the values being averaged are 3, 2, 10, 3, and 7, then the array formula will produce an average of 8.5. Why? Because only the values 10 and 7 are above the second-lowest value, and the average of those two is 8.5. If you use the longer formula, first presented above, then the average returned is 6.666667, which is the average of 10, 3, and 7.\n\nIf you try these formulas and they don't work, you should check to make sure that you have the Analysis ToolPak installed. The SMALL function is a part of that ToolPak.\n\nExcelTips is your source for cost-effective Microsoft Excel training. This tip (2050) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Excluding Values from Averaging.\n\n##### Author Bio\n\nAllen Wyatt\n\nWith more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...\n\n##### MORE FROM ALLEN\n\nFiltering a Discussion\n\nSee exactly what you want to see during your Discussion.\n\nDiscover More\n\nY-Axis Chart Titles are Truncated\n\nWhen creating a chart, you may find that the titles that appear along your Y-axis are being cut off for some reason. ...\n\nDiscover More\n\nMerging Graphics into Word Documents\n\nEver want to expand the mail merge feature to include graphics? Merging graphics into your document is easy but requires ...\n\nDiscover More", null, "Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!\n\nCounting Consecutive Negative Numbers\n\nIf you have a range of values that can be either positive or negative, you might wonder how to determine the largest ...\n\nDiscover More\n\nFiguring Out the Low-Score Winner\n\nNeed to figure out the lowest score in a range of scores? Here's the formulas to get the information you need.\n\nDiscover More\n\nSegregating Numbers According to Their Sign\n\nRemember your number line from your early years in school? Some numbers can be below zero (negative numbers) and others ...\n\nDiscover More\n##### Subscribe\n\nFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click \"Subscribe.\"\n\nIf you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.\n\nWhat is one more than 6?\n\n2018-05-10 12:18:47\n\nDon\n\n2017-02-13 10:45:25\n\nSamantha\n\nThanks for the post! This is perfect to calculate that final grade :)\n\n##### This Site\n\nGot a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface." ]
[ null, "https://images.tips.net/commonImages/VersionNote.png", null, "https://images.tips.net/commonImages/authors/allenWyattAvatar.jpg", null, "https://images.tips.net/S9997/images/amazon/2013business.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8891052,"math_prob":0.8332342,"size":4708,"snap":"2020-24-2020-29","text_gpt3_token_len":1095,"char_repetition_ratio":0.1307398,"word_repetition_ratio":0.0622665,"special_character_ratio":0.24384028,"punctuation_ratio":0.12641315,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9744191,"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\":\"2020-07-14T22:43:51Z\",\"WARC-Record-ID\":\"<urn:uuid:916eca69-7eb9-4251-9900-2f993fe6d144>\",\"Content-Length\":\"47002\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d4090f3e-3ea5-4ba5-8062-9691f9a17475>\",\"WARC-Concurrent-To\":\"<urn:uuid:62e5719f-25cf-439d-8879-7189dfe801df>\",\"WARC-IP-Address\":\"50.28.58.201\",\"WARC-Target-URI\":\"https://excel.tips.net/T002050_Excluding_Values_from_Averaging.html\",\"WARC-Payload-Digest\":\"sha1:6MIS2NLEK53T47LSWVQXZQKBQNHEJZB5\",\"WARC-Block-Digest\":\"sha1:NXYZKQL5HIDLYLRXXVXGLVNYZZJKWXIG\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593657151761.87_warc_CC-MAIN-20200714212401-20200715002401-00386.warc.gz\"}"}
http://www.convertit.com/Go/SmartPages/Measurement/Converter.ASP?From=momentum
[ "", null, "", null, "", null, "", null, "", null, "", null, "New Online Book! Handbook of Mathematical Functions (AMS55)\nConversion & Calculation Home >> Measurement Conversion\n\n Measurement Converter\n\n Convert From: (required) Click here to Convert To: (optional) Examples: 5 kilometers, 12 feet/sec^2, 1/5 gallon, 9.5 Joules, or 0 dF. Help, Frequently Asked Questions, Use Currencies in Conversions, Measurements & Currencies Recognized Examples: miles, meters/s^2, liters, kilowatt*hours, or dC.\n Conversion Result: ```momentum = 1 newton second (momentum) ``` Related Measurements: Try converting from \"momentum\" to any combination of units which equate to \"mass length / time\" and represent impulse, linear impulse, linear momentum, or momentum. Sample Conversions: (No related units found.)\n\nFeedback, suggestions, or additional measurement definitions?\nPlease read our Help Page and FAQ Page then post a message or send e-mail. Thanks!", null, "", null, "", null, "", null, "", null, "", null, "" ]
[ null, "http://www.convertit.com/Include/SMARTpages/Logo.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Global/Images/Powered_By_Small.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null, "http://www.convertit.com/Include/SMARTpages/Fill_Clear.GIF", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6706696,"math_prob":0.78225213,"size":444,"snap":"2019-43-2019-47","text_gpt3_token_len":101,"char_repetition_ratio":0.11590909,"word_repetition_ratio":0.0,"special_character_ratio":0.21846847,"punctuation_ratio":0.17333333,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.970572,"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],"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],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-11-19T10:52:40Z\",\"WARC-Record-ID\":\"<urn:uuid:c896b600-cfbb-4f62-af2e-7695149ca894>\",\"Content-Length\":\"8438\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:dc552e46-9b0b-4b8e-b918-de92e8b496af>\",\"WARC-Concurrent-To\":\"<urn:uuid:81d90f2f-c908-4c95-844b-7ceef111f8c5>\",\"WARC-IP-Address\":\"40.118.133.253\",\"WARC-Target-URI\":\"http://www.convertit.com/Go/SmartPages/Measurement/Converter.ASP?From=momentum\",\"WARC-Payload-Digest\":\"sha1:JLLYEI46EHO7VCCFFCT4LIJRJXGAJHT2\",\"WARC-Block-Digest\":\"sha1:MDKDAN5BCBZ3UVNPLB4CMECUGGL7HG5Q\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-47/CC-MAIN-2019-47_segments_1573496670135.29_warc_CC-MAIN-20191119093744-20191119121744-00022.warc.gz\"}"}
https://www.easycalculation.com/finance/vat-calculator-india.html
[ "# VAT Calculator India\n\nVAT was introduced in India from April 1, 2015. The General Sales Tax were replaced with the VAT rules. VAT is now being used by all the states and UN of India except Andaman and Nicobar Island. Standard rate varies from 12.5 to 15 %\n\nA rate of 1 % is provided for gold, jewellery, silver,platinum etc.,\n\nOther Countries\n\nVAT was introduced in India from April 1, 2015. The General Sales Tax were replaced with the VAT rules. VAT is now being used by all the states and UN of India except Andaman and Nicobar Island. Standard rate varies from 12.5 to 15 %\n\nA rate of 1 % is provided for gold, jewellery, silver,platinum etc.,\n\n#### Formula:\n\nAdd Tax Tax Amount = ( Original Cost * VAT% ) / 100 Net Price = Original Cost + Tax Amount\nRemove Tax Tax Amount = Original Cost - ( Original Cost * ( 100 / ( 100 + VAT% ) ) ) Net Price = Original Cost - Tax Amount\n\nBasic goods are provided with tax rate of 4 or 5 %. But, more usually, in many states the tax rate varies based on the goods. Similarly, the VAT registration, due date also differs from state to state.\n\n### Example\n\nFind the VAT price and net price in India (GST % is 12.5) for an amount of 25000 र\n\nSolution :\nGST % = 12.5\nAmount = 25000\n\nStep 1 :\nGST Price = (25000 * 12.5 ) / 100\n= 3125 र\n\nStep 2 :\nNet Price = 25000 + 3125\n= 28125 र\n\nHence the VAT Price is 3125 र and Net Price is 28125 र\n\n#### Remove Tax\n\nSolution :\nGST % = 12.5\nAmount = 25000\n\nStep 1 :\nGST Price = 25000 - (25000 * ( 100 / (100 + 12.5)))\n= 25000 - (25000 * 0.89)\n= 25000 - 22222.22\n= 25000 - 22222.22\nGST Price = 2777.78 र\n\nStep 2 :\nNet Price = 25000 - 2777.78\n= 22222.22 र\n\nHence the VAT Price is 2777.78 र and Net Price is 22222.22 र\n\nBasic goods are provided with tax rate of 4 or 5 %. But, more usually, in many states the tax rate varies based on the goods. Similarly, the VAT registration, due date also differs from state to state." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.92977995,"math_prob":0.9868614,"size":1578,"snap":"2020-34-2020-40","text_gpt3_token_len":503,"char_repetition_ratio":0.12642948,"word_repetition_ratio":0.6625387,"special_character_ratio":0.3878327,"punctuation_ratio":0.15014164,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99231875,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-23T02:24:03Z\",\"WARC-Record-ID\":\"<urn:uuid:0dca0fb6-46aa-4a9e-b027-a2bfbab0049a>\",\"Content-Length\":\"41842\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a1cd0abd-15c0-4c8f-a396-37163207aa21>\",\"WARC-Concurrent-To\":\"<urn:uuid:9a43c97b-f2cf-488b-8ff7-a297e92c5605>\",\"WARC-IP-Address\":\"66.228.40.80\",\"WARC-Target-URI\":\"https://www.easycalculation.com/finance/vat-calculator-india.html\",\"WARC-Payload-Digest\":\"sha1:WQPB4K2M7RQCRL4K46B7LS647DGBURSY\",\"WARC-Block-Digest\":\"sha1:FIVIFXQR53TJ3DW3JCZ7P5CS3PDMNEOR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600400209665.4_warc_CC-MAIN-20200923015227-20200923045227-00120.warc.gz\"}"}
https://help.scilab.org/docs/5.4.0/fr_FR/atan.html
[ "Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange\nPlease login or create an account\nChange language to: English - Português - 日本語 - Русский\n\nPlease note that the recommended version of Scilab is 6.1.0. This page might be outdated.\nSee the recommended documentation of this function\n\n# atan\n\n2-quadrant and 4-quadrant inverse tangent\n\n### Calling Sequence\n\n```phi = atan(x)\nphi = atan(y, x)```\n\n### Arguments\n\nx\n\na real or complex scalar, vector or matrix.\n\nphi\n\na real or complex scalar, vector or matrix.\n\nx, y\n\na real scalars, vectors or matrices of the same size.\n\nphi\n\na real scalar, vector or matrix.\n\n### Description\n\nThe first form computes the 2-quadrant inverse tangent, which is the inverse of `tan(phi)`. For real `x`, `phi` is in the interval", null, ". For complex `x`, `atan` has two singular, branching points `+%i`, `-%i` and the chosen branch cuts are the two imaginary half-straight lines", null, "and", null, ".\n\nThe second form computes the 4-quadrant arctangent (`atan2` in Fortran), this is, it returns the argument (angle) of the complex number `x+i*y`. The range of `atan(y, x)` is", null, ".\n\nFor real arguments, both forms yield identical values if `x>0`.\n\nIn case of vector or matrix arguments, the evaluation is done element-wise, so that `phi` is a vector or matrix of the same size with `phi(i, j) = atan(x(i, j))` or `phi(i,j) = atan(y(i, j), x(i, j))`.\n\n### Examples\n\n```// examples with the second form\nx=[1,%i,-1,%i]\nphase_x=atan(imag(x),real(x))\natan(0,-1)\natan(-%eps,-1)\n\n// branch cuts\natan(-%eps + 2*%i)\natan(+%eps + 2*%i)\natan(-%eps - 2*%i)\natan(+%eps - 2*%i)\n\n// values at the branching points\nieee(2)\natan(%i)\natan(-%i)```\n\n### See Also\n\n• tan — tangente\n• ieee — détermine le mode d'exception IEEE pour les calculs\n\n### Comments\n\nAdd a comment:\nPlease login to comment this page.\n\n Report an issue << acsch Trigonométrie atanh >>\n\n Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Mon Oct 01 17:37:13 CEST 2012" ]
[ null, "https://help.scilab.org/docs/5.4.0/fr_FR/Equation_LaTeX_27.png", null, "https://help.scilab.org/docs/5.4.0/fr_FR/Equation_LaTeX_28.png", null, "https://help.scilab.org/docs/5.4.0/fr_FR/Equation_LaTeX_29.png", null, "https://help.scilab.org/docs/5.4.0/fr_FR/Equation_LaTeX_30.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.5488424,"math_prob":0.9494921,"size":1647,"snap":"2021-04-2021-17","text_gpt3_token_len":567,"char_repetition_ratio":0.122337185,"word_repetition_ratio":0.030674847,"special_character_ratio":0.2908318,"punctuation_ratio":0.124610595,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9905583,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,2,null,2,null,2,null,2,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-04-18T03:12:34Z\",\"WARC-Record-ID\":\"<urn:uuid:79335d0f-a0d6-42a2-9946-d61950eca3da>\",\"Content-Length\":\"30681\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:dc1a4a02-d673-4e05-8df6-a8445d02f679>\",\"WARC-Concurrent-To\":\"<urn:uuid:4fe55ce0-b756-433e-ab6e-4c6d62214082>\",\"WARC-IP-Address\":\"176.9.3.186\",\"WARC-Target-URI\":\"https://help.scilab.org/docs/5.4.0/fr_FR/atan.html\",\"WARC-Payload-Digest\":\"sha1:NOM4OUEJXU57OYEN7ZV67SAUTRCVYJAH\",\"WARC-Block-Digest\":\"sha1:76ZOGR35FBFNQMGK672QFNTEJTWXTDDW\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-17/CC-MAIN-2021-17_segments_1618038464146.56_warc_CC-MAIN-20210418013444-20210418043444-00363.warc.gz\"}"}
https://www.hireresearcher.co.uk/1-a-firm-has-net-working-capital-of-s1100-and-current-liabilities-of-s2800-what-is-the-current-ratio/
[ "# 1. A firm has net working capital of \\$1,100 and current liabilities of \\$2,800. What is the current ratio?\n\n01 / 10 / 2021 Projects\n\nThis paper circulates around the core theme of 1. A firm has net working capital of \\$1,100 and current liabilities of \\$2,800. What is the current ratio? together with its essential aspects. It has been reviewed and purchased by the majority of students thus, this paper is rated 4.8 out of 5 points by the students. In addition to this, the price of this paper commences from £ 99. To get this paper written from the scratch, order this assignment now. 100% confidential, 100% plagiarism-free.\n\n## A firm has net working capital of \\$1,100 and current liabilities of \\$2,800\n\nQuestion 1\n1. A firm has net\nworking capital of \\$1,100 and current liabilities of \\$2,800. What is the\ncurrent ratio?\n\n.98\n\n2.56\n\n.39\n\n.72\n\n1.39\n\nQuestion 2\n1. Top Sound, Inc., has\ntotal assets of \\$212,000, a debt-equity ratio of .6, and net income of \\$9,500.\nWhat is the return on equity?\n\n6.87 percent\n\n7.17 percent\n\n7.34 percent\n\n7.50 percent\n\n7.67 percent\n\nQuestion 3\n1. Smith Corporation has\ncurrent assets of \\$11,400, inventories of \\$4,000, and a current ratio of 2.6.\nWhat is Smith s acid test ratio? Assume pre-paid expenses is zero.\n\n1.69\n\n0.54\n\n0.74\n\n1.35\n\nQuestion 4\n1. The Jamestown Group\nhas equity of \\$421,000, sales of \\$792,000, and a profit margin of 6 percent.\nWhat is the return on equity?\n\n8.87 percent\n\n6.19 percent\n\n11.29 percent\n\n10.27 percent\n\n9.37 percent\n\nQuestion 5\n1. Blackstone, Inc., has net income of \\$9,286, a tax rate of 22%, and\ninterest expense of \\$516. What is the times interest earned ratio?\n\nQuestion 6\n1. If Roten, Inc., has a\nequity multiplier of 1.75, total asset turnover of 1.30, and profit margin of\n8.5 percent, what is the return on equity (ROE)?\n\n19.34%\n\n2.275%\n\n1.75%\n\n14.875%\n\nQuestion 7\n1. If the Debt/Equity\nRatio is 0.80. What is the Debt Ratio?\n\n0.40\n\n0.375\n\n0.60\n\n1\n\no.4444\n\nQuestion 8\n1. If the Debt/Equity\nRatio is 0.50. What is the Debt Ratio?\n\n0.50\n\n0.375\n\n0.60\n\n1\n\no.3333\n\nQuestion 9\n1. ABC’s balance sheet\nindicates a book value of shareholders’ equity of \\$800,438. The firm’s earning\nper share are \\$2.9 and the price-earnings ratio is 9.23. If there are 59,542\nshares outstanding, what is the market-to-book ratio?\ndecimal points.\nHint: Market value per share is same\nas market price per share\n\nQuestion 10\n1. Wexford Hotels has\nsales of \\$289,600, depreciation of \\$21,400, interest of \\$1,300, Operating\nIncome of \\$23,269.70, and a tax rate of 34 percent. What is the times interest\nearned ratio?\n\n20\n\n17.9\n\n18.5\n\n16\n\n19.8\n\nQuestion 11\n1. ABC’s balance sheet\nindicates a book value of shareholders’ equity of \\$742,470. The firm’s earning\nper share are \\$2.2 and the price-earnings ratio is 12.63. If there are 47,822\nshares outstanding, what is the market value per share?\ndecimal points. Do not enter \\$ in the answer box.\nHint: Market value per share is same\nas market price per share.\n\nQuestion 12\n1. ABC Corporation has\nthe following ratios: Total Asset Turnover= 1.6 Total debt to total assets= 0.5\nCurrent Ratio= 1.7 Current Liabilities= \\$2,000,000 Sales = \\$16,000,000 What is\nthe amount of current assets?\n\n2,000,000\n\n3,200,000\n\n3,400,000\n\n1,000,000\n\nQuestion 13\n1. XYZ has total\nsales of \\$213, assets of \\$93, return on equity of 22%, and net profit margin of\n6%. What is the amount of equity?\nEnter you answer rounded off to two\ndecimal points. Do not enter \\$ in the answer box.\n\nQuestion 14\n1. ABC has total sales\nof \\$181, assets of \\$93, return on equity of 36%, and net profit margin of 9%.\nWhat is the debt ratio?\nEnter you answer in percentages rounded\noff to two decimal points. Do not enter % in the answer box.\n\nQuestion 15\n1. XYZ earned a net\nprofit margin of 7.9% last year and had an equity multiplier of 2.6. If its\ntotal assets are \\$84 million and its sales are 151 million, what is the\nfirm’s debt ratio?\nrounded off to two decimal points. Do not enter % in the answer box.\n\nQuestion 16\n1. ABC earned a net\nprofit margin of 6.6% last year and had an equity multiplier of 2.8. If its\ntotal assets are \\$118 million and its sales are 163 million, what is the\nfirm’s return on equity?\nrounded off to two decimal points. Do not enter % in the answer box.\n\nQuestion 17\n1. A firm has total\nequity of \\$70,312.50, a profit margin of 8 percent, an equity multiplier of\n1.6, and a total asset turnover of 1.3. What is the amount of the firm s sales?\n\n\\$91,406\n\n\\$112,500\n\n\\$121,500\n\n\\$137,500\n\n\\$146,250\n\nQuestion 18\n1. The Baker s Dozen has\ncurrent liabilities of \\$5,600, net working capital of \\$2,100, inventory of\n\\$3,900, and sales of \\$13,500. What is the quick ratio? Assume pre-paid expenses\nare zero.\n\n0.68\n\n0.70\n\n1.38\n\n1.47\n\n2.08\n\nQuestion 19\n1. A firm has sales of\n\\$350,000, a profit margin of 6 percent, a total asset turnover rate of 1.25,\nand an equity multiplier of 1.4. What is the return on equity?\n\n10.50 percent\n\n7.50 percent\n\n7.75 percent\n\n11.11 percent\n\n5.36 percent\n\nQuestion 20\n1. If the debt ratio is\n0.80, the Equity Multiplier is:\n\n0.8\n\n0.2\n\n1\n\n5\n\n1.8\n\n4\n\nQuestion 21\n1. A firm has total\nassets of \\$682,000 and total equity of \\$424,000. What is the debt-equity ratio?\n\n1.61\n\n0.61\n\n1.64\n\n0.62\n\nQuestion 22\n1. If the debt ratio is\n0.60, the Debt/Equity Ratio is:\n\n1.25\n\n0.25\n\n1.20\n\n0.20\n\n0.80\n\n1.5\n\nQuestion 23\n1. If the debt ratio is\n0.20, the Equity Multiplier is:\n\n1.25\n\n0.25\n\n1.20\n\n0.20\n\n0.80\n\n1.5\n\nQuestion 24\n1. ABC, Inc., has a market-to-book\nratio of 2, net income of \\$84,166, a book value per share of \\$20.6,\nand 58,732 shares of stock outstanding. What is the price-earnings ratio?\n\nQuestion 25\n1. ABC’s balance sheet\nindicates a book value of shareholders’ equity of \\$851,637. The firm’s earning\nper share are \\$3.4 and the price-earnings ratio is 12.34. If there are 54,693\nshares outstanding, what is the book value per share?\ndecimal points. Do not enter \\$ in the answer box.\nHint: Market value per share is same as\nmarket price per share\n\nQuestion 26\n1. Toast and Butter,\nInc., has total assets of \\$712,000 and an equity multiplier of 1.6. What is the\ndebt-equity ratio?\n\n0.60\n\n0.67\n\n0.63\n\n1.60\n\n1.67\n\nQuestion 27\n1. If the Debt/Equity\nRatio is 0.60. What is the Debt Ratio?\n\n0.40\n\n0.375\n\n0.60\n\n1\n\no.4444\n\nQuestion 28\n1. The ability of the\nfirm to pay off short-term obligations as they come due is indicated by:\n\nTurnover Ratios\n\nLiquidity Ratios\n\nProfitability Ratios\n\nQuestion 29\n1. ABC’s Balance Sheet\nlists Current Assets of \\$300, Current Liabilities of \\$200, Fixed Assets of\n\\$700, Long-Term Debt of \\$400. ABC has 200 shares outstanding. What is the\nmarket-to-book ratio (MTB) if the market price per share is \\$8?\n\n4 times\n\n400 times\n\n2 times\n\n8 times\n\n0.25 times\n\nQuestion 30\n1. XYZ earned a net\nprofit margin of 6.8% last year and had an equity multiplier of 3.8. If its\ntotal assets are \\$116 million and its sales are 179 million, what is the\nfirm’s return on assets?\nrounded off to two decimal points. Do not enter % in the answer box.\n\nQuestion 31\n1. If the debt ratio is\n0.75, the Debt/Equity Ratio is:\n\nInternational House, 12 Constance Street, London, United Kingdom,\nE16 2DQ\n\nCompany # 11483120\n\n## Benefits You Get\n\n• Free Turnitin Report\n• Unlimited Revisions\n• Installment Plan\n• Plagiarism Free Guarantee\n• 100% Confidentiality\n• 100% Satisfaction Guarantee\n• 100% Money-Back Guarantee\n• On-Time Delivery Guarantee", null, "+44 7340 9595 39\n+44 20 3239 6980\n[email protected]\nAKOSZTEC “International House, 12 Constance Street, London, United Kingdom, E16 2DQ”\n\nHire Researcher\nRated 4.7/5 based on 8956 Reviews\n\n## Supporting Pages\n\nFLAT 25% OFF ON EVERY ORDER. Use \"FLAT25\" as your promo code during checkout" ]
[ null, "https://www.hireresearcher.co.uk/images/logo.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8788687,"math_prob":0.98277664,"size":7016,"snap":"2022-05-2022-21","text_gpt3_token_len":2185,"char_repetition_ratio":0.15958357,"word_repetition_ratio":0.2621128,"special_character_ratio":0.3477765,"punctuation_ratio":0.19316909,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9967383,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-26T10:33:28Z\",\"WARC-Record-ID\":\"<urn:uuid:2885b23a-2e9b-402a-a8d1-d1c9a3eb8e74>\",\"Content-Length\":\"52457\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:25e019c4-e361-44ab-b419-bfad6dec4bdf>\",\"WARC-Concurrent-To\":\"<urn:uuid:9cc19f5f-ab68-47b3-ac08-658f0c53c204>\",\"WARC-IP-Address\":\"104.21.2.2\",\"WARC-Target-URI\":\"https://www.hireresearcher.co.uk/1-a-firm-has-net-working-capital-of-s1100-and-current-liabilities-of-s2800-what-is-the-current-ratio/\",\"WARC-Payload-Digest\":\"sha1:4XKR2YAFSKJSU4HEBHFDULHHMVFBUAZU\",\"WARC-Block-Digest\":\"sha1:CTOO35NFLZAGXU65LHYSXRB4DYMAPBCT\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662604794.68_warc_CC-MAIN-20220526100301-20220526130301-00677.warc.gz\"}"}
https://www.bytecho.net/archives/1782.html
[ "## Catalog", null, "# 【简单】二进制中1的个数\n\n## Henry • June 4, 2021 • Read: 470 • 学习笔记,算法&题库,算法\n\n#### 数据范围\n\n${\\rm{1}} \\le {\\rm{n}} \\le {\\rm{100000}}$\n${\\rm{0}} \\le {\\rm{数列中元素的值}} \\le {\\rm{10^9}}$\n\n#### 输入样例\n\n5\n1 2 3 4 5\n\n#### 输出样例\n\n1 1 2 1 2\n\n#### 题解\n\n(lowbit)\n\n$(\\rm{x}\\&\\rm{-x})\\Longleftrightarrow(\\rm{x}\\&(\\sim\\rm{x+1}))$\n\n#### C++ 代码\n\n#include <iostream>\n\nusing namespace std;\n\nint lowbit(int x)\n{\nreturn x & -x;//x & (~x + 1)\n}\n\nint main()\n{\nint n;\ncin >> n;\nwhile(n--)\n{\nint x, res = 0;\ncin >> x;\nwhile(x)\nx -= lowbit(x), res++; //每次减去x的最后一位1\ncout << res << \" \";\n}\nreturn 0;\n}", null, "", null, "" ]
[ null, "https://img.bytecho.net/cnzknetimg/background/25.jpg", null, "https://api.bytecho.net/qr/", null, "https://www.bytecho.net/archives/1782.html", null ]
{"ft_lang_label":"__label__zh","ft_lang_prob":0.7496422,"math_prob":0.99865574,"size":1179,"snap":"2022-40-2023-06","text_gpt3_token_len":717,"char_repetition_ratio":0.15829787,"word_repetition_ratio":0.14880952,"special_character_ratio":0.53435117,"punctuation_ratio":0.068085104,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9832519,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,1,null,null,null,2,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-09-29T07:09:33Z\",\"WARC-Record-ID\":\"<urn:uuid:ea983f49-74f3-4dc4-8213-d2510aad0a9f>\",\"Content-Length\":\"68275\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5e83fee1-5881-46ce-abd1-4c18d832621c>\",\"WARC-Concurrent-To\":\"<urn:uuid:ec85ca9e-27e7-42fd-a776-ab5832e9286f>\",\"WARC-IP-Address\":\"106.54.176.177\",\"WARC-Target-URI\":\"https://www.bytecho.net/archives/1782.html\",\"WARC-Payload-Digest\":\"sha1:GTSIENK3ILBD7CGGUUSR7RMG4BJEUJ4I\",\"WARC-Block-Digest\":\"sha1:TRTBNRCMNXQUOQ44ZTOX5J3P5SFX2CQM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030335326.48_warc_CC-MAIN-20220929065206-20220929095206-00416.warc.gz\"}"}
https://stats.stackexchange.com/questions/388735/what-is-the-distribution-of-the-difference-between-two-random-numbers
[ "# What is the distribution of the difference between two random numbers?\n\nI have a big bag of balls, each one marked with a number between 0 and $$n$$. The same number may appear on more than one ball. We can assume that the numbers on the balls follow a binomial distribution.\n\nNow I pick a random ball from the bag, read its number $$x$$ and put the ball back. Then I pick a second random ball from the bag, read its number $$y$$ and put it back.\n\nI compute $$z = |x - y|$$. What is the distribution of $$z$$?\n\nMy calculations led me to the result that it's a chi distribution with one degree of freedom (or better, its discrete equivalent). To obtain this result, I used the normal instead of the binomial. I wonder if this result is correct, and how it can be obtained without approximating the binomial with the normal.\n\n• Jan 23, 2019 at 12:21\n• \"I have a big bag of balls, each one marked with a number between 1 and n\" So the distribution of the numbers on these balls (and how many balls there are in total) is not specified completely? Or do you just want to ask, in a very indirect way, the distribution of the difference of two independent and similar binomial distributed variables? (note: picking a ball from a bag with balls that have numbers which are binomial distributed, is not the same as picking independent binomial distributed variables, imagine for example the case of one single ball in the bag). Jan 23, 2019 at 13:19\n• The distribution cannot possibly be chi-squared because it is discrete and bounded. Possibly, when $n$ is large, a chi distribution would be a decent approximation, depending on your purpose.\n– whuber\nJan 23, 2019 at 13:48\n• There is no such thing as a chi distribution with zero degrees of freedom, though. Yours is (very approximately) $\\sqrt{2p(1-p)n}$ times a chi distribution with one df. The approximation may be poor near zero unless $p(1-p)n$ is large.\n– whuber\nJan 23, 2019 at 15:15\n• ...... this latter one, the difference of two binomial distributed variables, is not easy to express. You could see it as the sum of a categorial variable which has: $$p(x) = \\begin{cases} p(1-p) \\quad \\text{if x=-1} \\\\ 1-2p(1-p) \\quad \\text{if x=0} \\\\ p(1-p) \\quad \\text{if x=1} \\\\\\end{cases}$$ This is also related with the sum of dice rolls. Jan 23, 2019 at 15:20\n\n### Difference of two independent binomial distributed variables with the same parameters\n\nI have a big bag of balls, each one marked with a number between 1 and n. The same number may appear on more than one ball. We can assume that the numbers on the balls follow a binomial distribution.\n\nNow I pick a random ball from the bag, read its number x and put the ball back. Then I pick a second random ball from the bag, read its number y and put it back.\n\nThe core of this question is answered by the difference of two independent binomial distributed variables with the same parameters $$n$$ and $$p$$. Let's phrase this as:\n\nLet $$X \\sim Bin(n,p)$$, $$Y \\sim Bin(n,p)$$ be independent. Let the difference be $$Z = Y-X$$, then what is the frequency distribution of $$\\vert Z \\vert$$?\n\nThe more general situation has been handled on the math forum, as has been mentioned in the comments.\n\nYou can solve the difference in two ways.\n\n• Approximation with a normal distribution that has the same mean and variance. You have $$\\mu_X=\\mu_y = np$$ and $$\\sigma_X^2 = \\sigma_Y^2 = np(1-p)$$ and related $$\\mu_Z = 0$$ and $$\\sigma_Z^2 = 2np(1-p)$$ so you can approximate $$Z \\dot\\sim N(0,2np(1-p))$$ and for $$\\vert Z \\vert$$ you can integrate that normal distribution. $$P(\\vert Z \\vert = k) \\begin{cases} \\frac{1}{\\sigma_Z}\\phi(0) & \\quad \\text{if k=0} \\\\ \\frac{2}{\\sigma_Z}\\phi(\\frac{k}{\\sigma_Z}) & \\quad \\text{if k\\geq1} \\end{cases}$$\n\nwhich is close to a half normal distribution or chi distribution as you call it, except that the point $$k=0$$ does not have the factor 2.\n\n• Compute a sum or convolution taking all possible values $$X$$ and $$Y$$ that lead to $$Z$$. The probability for $$X$$ and $$Y$$ is:\n\n$$f_X(x) = {{n}\\choose{x}} p^{x}(1-p)^{n-x}$$ $$f_Y(y) = {{n}\\choose{y}} p^{y}(1-p)^{n-y}$$\n\nThe probability for $$Z=z \\geq 0$$ is\n\n$$f_Z(z) = \\sum_{k=0}^{n-z} f_X(k) f_Y(z+k)$$\n\nand related\n\n$$P(\\vert Z \\vert = k) \\begin{cases} f_Z(k) & \\quad \\text{if k=0} \\\\ 2 f_Z(k) & \\quad \\text{if k\\geq1} \\end{cases}$$\n\n• The sum can also be expressed with a generalized hypergeometric function. The function $$f_Z(z)$$ can be written as:\n\n$$f_Z(z) = \\sum_{k=0}^{n-z} \\frac{(n!)^2 p^{2k+z} (1-p)^{2n-2k-z}}{(k)!(k+z)!(n-k)!(n-k-z)! }$$\n\nor as a generalized hypergeometric series\n\n$$f_Z(z) = \\sum_{k=0}^{n-z} { \\beta_k \\left(\\frac{p^2}{(1-p)^2}\\right)^{k}}$$\n\nwith $$\\beta_0 = {{n}\\choose{z}}{p^z(1-p)^{2n-z}}$$\n\nand $$\\frac{\\beta_{k+1}}{\\beta_k} = \\frac{(-n+k)(-n+z+k)}{(k+1)(k+z+1)}$$\n\nsuch that we can write $$f_Z(z)$$ in terms of a hypergeometric function :\n\n$$f_Z(z) = {{n}\\choose{z}}{p^z(1-p)^{2n-z}} {}_2F_1\\left(-n;-n+z;z+1;p^2/(1-p)^2\\right)$$\n\nif $$p=0.5$$ (ie $$p^2/(1-p)^2=1$$ ) then the function simplifies to\n\n$$f_Z(z) = {{2n}\\choose{z+n}}p^{2n}$$\n\nand we could say if $$p=0.5$$ then $$Z+n \\sim Bin(2n,0.5)$$.\n\nThis result for $$p=0.5$$ could also be derived more directly by $$f_Z(z) = 0.5^{2n} \\sum_{k=0}^{n-z} {{n}\\choose{k}}{{n}\\choose{z+k}} = 0.5^{2n} \\sum_{k=0}^{n-z} {{n}\\choose{k}}{{n}\\choose{n-z-k}} = 0.5^{2n} {{2n}\\choose{n-z}}$$ using Vandermonde's identity\n\ncomputational example:\n\nBelow is an example of the above results compared with a simulation. The small difference shows that the normal approximation does very well.", null, "library(hypergeo)\n\nn <- 30\nz <- 0:n\np <- 0.6\n\n# simulate\nset.seed(1)\nns <- 100000\nX <- rbinom(ns,n,p)\nY <- rbinom(ns,n,p)\nZ <- abs(X-Y)\n\n# compute 1 exact\nbeta0 <- factorial(n)*p^z*(1-p)^(2*n-z)/factorial(n-z)/factorial(z)\nps1 <- beta0*Re(hypergeo(-n,-n+z,z+1,p^2/(1-p)^2))\n\n# compute 2 normal approximation\nps2 <- dnorm(z,0,sqrt(2*n*p*(1-p)))\n\n# plot\nhist(Z,breaks = c(z,n+1)-0.5, freq=0, main = \"Histogram of simulation compared with computed frequencies \\n Bin(30,0.6)\")\npoints(z,Re(ps1)*c(1,rep(2,n)),pch=21,col=\"black\",bg=\"white\",cex=1)\npoints(z,ps2*c(1,rep(2,n)),pch=3,col=\"black\",bg=\"white\",cex=1)\n\nlegend(15,0.20,c(\"computed exact probability\",\"computed normal approximation\"),\npch=c(21,3),cex=c(1,1))\n\n\n# Mixture distribution\n\nI bought some balls, all blank. I take a binomial random number generator, configure it with some $$n$$ and $$p$$, and for each ball I paint the number that I get from the display of the generator. Then I put the balls in a bag and start the process that I described.\n\nIn the case that the numbers on the balls are considered random variables (that follow a binomial distribution). Then the frequency distribution for the difference $$X-Y$$ is a mixture distribution where the number of balls in the bag, $$m$$, plays a role.\n\nYou have two situations:\n\n1. The first and second ball that you take from the bag are the same. This situation occurs with probability $$\\frac{1}{m}$$. In this case the difference $$\\vert x-y \\vert$$ is equal to zero.\n\n2. The first and second ball are not the same. This situation occurs with probability $$1-\\frac{1}{m}$$. In this case the difference $$\\vert x-y \\vert$$ is distributed according to the difference of two independent and similar binomial distributed variables.\n\nThe above situation could also be considered a compound distribution where you have a parameterized distribution for the difference of two draws from a bag with balls numbered $$x_1, ... ,x_m$$ and these parameters $$x_i$$ are themselves distributed according to a binomial distribution.\n\ncomputational example\n\nBelow is an example from a result when 5 balls $$x_1,x_2,x_3,x_4,x_5$$ are placed in a bag and the balls have random numbers on them $$x_i \\sim N(30,0.6)$$. The probability for the difference of two balls taken out of that bag is computed by simulating 100 000 of those bags. (note this is not the probability distribution of the outcome for a particular bag which has only at most 11 different outcomes)", null, "library(hypergeo)\n\nn <- 30\nz <- 0:n\np <- 0.6\nnb <- 5\n\n# simulate (make ns bags, and sample from them)\nset.seed(1)\nns <- 100000\nbags <- matrix(rbinom(ns*nb,n,p),ns)\nX <- apply(bags,1, function(x) sample(x,1))\nY <- apply(bags,1, function(x) sample(x,1))\n\nZ <- abs(X-Y)\n\n# compute 1 exact\nbeta0 <- factorial(n)*p^z*(1-p)^(2*n-z)/factorial(n-z)/factorial(z)\nps1 <- beta0*Re(hypergeo(-n,-n+z,z+1,p^2/(1-p)^2))\n\n# compute 2 normal approximation\nps2 <- dnorm(z,0,sqrt(2*n*p*(1-p)))\n\n# plot\nhist(Z,breaks = c(z,n+1)-0.5, freq=0, main = \"Histogram of simulation compared with computed frequencies \\n 5 balls in the bag with numbers sampled from Bin(30,0.6)\")\npoints(z,(1-1/nb)*Re(ps1)*c(1,rep(2,n))+c(1/nb,rep(0,n)),pch=21,col=\"black\",bg=\"white\",cex=1)\npoints(z,(1-1/nb)*ps2*c(1,rep(2,n))+c(1/nb,rep(0,n)),pch=3,col=\"black\",bg=\"white\",cex=1)\n\nlegend(15,0.20,c(\"computed exact probability\",\"computed normal approximation\"),\npch=c(21,3),cex=c(1,1))\n\n• Since the balls follow a binomial distribution, why would the number of balls in a bag ($m$) matter? Nothing should depend on this, nor should it be useful in finding an answer. Your example in assumption (2) appears to contradict the assumed binomial distribution. I wonder whether you are interpreting \"binomial distribution\" in some unusual way?\n– whuber\nJan 23, 2019 at 16:22\n• @whuber, consider the case when the bag contains only 1 ball (which is assigned randomly a number according to the binomial distribution). Then $x$ and $y$ will be the same value (even though the balls inside the bag have been assigned independently random numbers, that does not mean that the balls that we draw from the bag are independent, this is because we have a possibility of drawing the same ball twice) Jan 23, 2019 at 16:54\n• So, say I wish to experimentally derive the distribution by simulating a number $N$ times drawing $x$ and $y$, then my interpretation is to simulate $N$ different bags with each $m$ balls in them and the balls have numbers on them that are independently drawn from a binomial distribution. Jan 23, 2019 at 17:32\n• Although the question is somewhat unclear (the values of a Binomial$(n)$ distribution range from $0$ to $n,$ not $1$ to $n$), it is difficult to see how your interpretation matches the statement \"We can assume that the numbers on the balls follow a binomial distribution.\" That's a very specific description of the frequencies of these $n+1$ numbers and it does not depend on random sampling or simulation.\n– whuber\nJan 23, 2019 at 17:44\n• @whuber: of course reality is up to chance, just like, for example, if we toss a coin 100 times, it's possible to obtain 100 heads. Here I'm not interested in a specific instance of the problem, but in the more \"probable\" case, which is the case that follows closely the model. If you assume that with $n=2$ and $p=1/2$ a quarter of the balls is 0, half is 1, and a quarter is 2, than that's a perfectly valid assumption! That's exactly the assumption that I'm making\n– Likk\nJan 23, 2019 at 19:58" ]
[ null, "https://i.stack.imgur.com/Dfqha.png", null, "https://i.stack.imgur.com/CH4DP.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.79370975,"math_prob":0.99982935,"size":6519,"snap":"2023-40-2023-50","text_gpt3_token_len":2164,"char_repetition_ratio":0.11573292,"word_repetition_ratio":0.15148188,"special_character_ratio":0.3495935,"punctuation_ratio":0.11780822,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99999404,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-26T00:10:38Z\",\"WARC-Record-ID\":\"<urn:uuid:35e54997-dff8-4254-a7cf-e55b337aa109>\",\"Content-Length\":\"180708\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c6febe9a-1746-407b-aacd-4c70f7f9be7f>\",\"WARC-Concurrent-To\":\"<urn:uuid:51039b98-8f95-4599-9d25-e876c7cd609b>\",\"WARC-IP-Address\":\"104.18.11.86\",\"WARC-Target-URI\":\"https://stats.stackexchange.com/questions/388735/what-is-the-distribution-of-the-difference-between-two-random-numbers\",\"WARC-Payload-Digest\":\"sha1:VIJ4SW6LMMDOWKU3X2KSC6JJK6OASWTM\",\"WARC-Block-Digest\":\"sha1:HMRNEE2BLQWGLMK4RAGW33BRN7CQDLUR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510100.47_warc_CC-MAIN-20230925215547-20230926005547-00788.warc.gz\"}"}
http://docs.deeppavlov.ai/en/master/apiref/models/squad.html
[ "class `deeppavlov.models.squad.squad.``SquadModel`(*args, **kwargs)[source]\n\nSquadModel predicts answer start and end position in given context by given question.\n\nHigh level architecture: Word embeddings -> Contextual embeddings -> Question-Context Attention -> Self-attention -> Pointer Network\n\nIf noans_token flag is True, then special noans_token is added to output of self-attention layer. Pointer Network can select noans_token if there is no answer in given context.\n\nParameters\n• word_emb – pretrained word embeddings\n\n• char_emb – pretrained char embeddings\n\n• context_limit – max context length in tokens\n\n• question_limit – max question length in tokens\n\n• char_limit – max number of characters in token\n\n• char_hidden_size – hidden size of charRNN\n\n• encoder_hidden_size – hidden size of encoder RNN\n\n• attention_hidden_size – size of projection layer in attention\n\n• keep_prob – dropout keep probability\n\n• min_learning_rate – minimal learning rate, is used in learning rate decay\n\n• noans_token – boolean, flags whether to use special no_ans token to make model able not to answer on question\n\n`__call__`(c_tokens: numpy.ndarray, c_chars: numpy.ndarray, q_tokens: numpy.ndarray, q_chars: numpy.ndarray, *args, **kwargs)Tuple[numpy.ndarray, numpy.ndarray, List[float]][source]\n\nPredicts answer start and end positions by given context and question.\n\nParameters\n• c_tokens – batch of tokenized contexts\n\n• c_chars – batch of tokenized contexts, each token split on chars\n\n• q_tokens – batch of tokenized questions\n\n• q_chars – batch of tokenized questions, each token split on chars\n\nReturns\n\n`train_on_batch`(c_tokens: numpy.ndarray, c_chars: numpy.ndarray, q_tokens: numpy.ndarray, q_chars: numpy.ndarray, y1s: Tuple[List[int], ], y2s: Tuple[List[int], ])float[source]\n\nThis method is called by trainer to make one training step on one batch.\n\nParameters\n• c_tokens – batch of tokenized contexts\n\n• c_chars – batch of tokenized contexts, each token split on chars\n\n• q_tokens – batch of tokenized questions\n\n• q_chars – batch of tokenized questions, each token split on chars\n\n• y1s – batch of ground truth answer start positions\n\n• y2s – batch of ground truth answer end positions\n\nReturns\n\nvalue of loss function on batch\n\n`process_event`(event_name: str, data)None[source]\n\nProcesses events sent by trainer. Implements learning rate decay.\n\nParameters\n• event_name – event_name sent by trainer\n\n• data – number of examples, epochs, metrics sent by trainer" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6198429,"math_prob":0.90093845,"size":2300,"snap":"2022-40-2023-06","text_gpt3_token_len":524,"char_repetition_ratio":0.16158536,"word_repetition_ratio":0.2327044,"special_character_ratio":0.21782608,"punctuation_ratio":0.1521739,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9600808,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-05T11:16:10Z\",\"WARC-Record-ID\":\"<urn:uuid:ae4d157e-809f-46bb-9395-39f3922b1a09>\",\"Content-Length\":\"72080\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f16c8002-ef2f-4240-8fc9-b94740d775de>\",\"WARC-Concurrent-To\":\"<urn:uuid:ea47e5e5-b98c-4112-a533-c5258bceea43>\",\"WARC-IP-Address\":\"104.17.33.82\",\"WARC-Target-URI\":\"http://docs.deeppavlov.ai/en/master/apiref/models/squad.html\",\"WARC-Payload-Digest\":\"sha1:IHUXLHIY4BWJ3QZLLXC73UT5EKWIXVJY\",\"WARC-Block-Digest\":\"sha1:SVJIBQW2KHIZEEUMHTPRL745TDHMF5ID\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030337625.5_warc_CC-MAIN-20221005105356-20221005135356-00618.warc.gz\"}"}
http://nova-wear.com/inverted-sentence-twws/viewtopic.php?page=d14da9-operations-with-complex-numbers-quizlet
[ "Now we must calculate the argument, first calculate the angle of elevation that the module has ignoring the signs of $x$ and $y$: $$\\tan \\alpha = \\cfrac{y}{x} = \\cfrac{\\sqrt{8}}{\\sqrt{24}}$$, $$\\alpha = \\tan^{-1}\\cfrac{\\sqrt{8}}{\\sqrt{24}} = 30°$$, With the value of $\\alpha$ we can already know the value of the argument that is $\\theta=180°+\\alpha=210°$. i = - 1 1) A) True B) False Write the number as a product of a real number and i. Simplify the radical expression. Because i2 = –1 and 12i – 12i = 0, you’re left with the real number 9 + 16 = 25 in the denominator (which is why you multiply by 3 + 4i in the first place). To add and subtract complex numbers: Simply combine like terms. Group: Algebra Algebra Quizzes : Topic: Complex Numbers : Share. Question 1. Mary Jane Sterling aught algebra, business calculus, geometry, and finite mathematics at Bradley University in Peoria, Illinois for more than 30 years. To add two complex numbers , add the real part to the real part and the imaginary part to the imaginary part. Learn vocabulary, terms, and more with flashcards, games, and other study tools. 11th - 12th grade . Practice. Consider the following three types of complex numbers: A real number as a complex number: 3 + 0i. You go with (1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2, which simplifies to (3 – 8) + (4i + 6i), or –5 + 10i. Your email address will not be published. Great, now that we have the argument, we can substitute terms in the formula seen in the theorem of this section: $$r^{\\frac{1}{n}} \\left[ \\cos \\cfrac{\\theta + k \\cdot 360°}{n} + i \\sin \\cfrac{\\theta + k \\cdot 360°}{n} \\right] =$$, $$\\left( \\sqrt{32} \\right)^{\\frac{1}{5}} \\left[ \\cos \\cfrac{210° + k \\cdot 360°}{5} + i \\sin \\cfrac{210° + k \\cdot 360°}{5} \\right]=$$, $$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + k \\cdot 360°}{5} + i \\sin \\cfrac{210° + k \\cdot 360°}{5} \\right]$$. To have total control of the roots of complex numbers, I highly recommend consulting the book of Algebra by the author Charles H. Lehmann in the section of “Powers and roots”. Quiz: Greatest Common Factor. ), and the denominator of the fraction must not contain an imaginary part. Play. Start studying Operations with Complex Numbers. Mathematics. Question 1. This quiz is incomplete! a number that has 2 parts. 0. To multiply two complex numbers: Simply follow the FOIL process (First, Outer, Inner, Last). Related Links All Quizzes . To play this quiz, please finish editing it. $$\\begin{array}{c c c} Edit. Homework. Print; Share; Edit; Delete; Report an issue; Live modes. Part (a): Part (b): 2) View Solution. Browse other questions tagged complex-numbers or ask your own question. Classic . 9th grade . Algebra. 1) View Solution. Just need to substitute k for 0,1,2,3 and 4, I recommend you use the calculator and remember to place it in DEGREES, you must see a D above enclosed in a square \\fbox{D} in your calculator, so our 5 roots are the following:$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 0 \\cdot 360°}{5} + i \\sin \\cfrac{210° + 0 \\cdot 360°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210°}{5} + i \\sin \\cfrac{210°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos 42° + i \\sin 42° \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ 0.74 + i 0.67 \\right]$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 1 \\cdot 360°}{5} + i \\sin \\cfrac{210° + 1 \\cdot 360°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 360°}{5} + i \\sin \\cfrac{210° + 360°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{570°}{5} + i \\sin \\cfrac{570°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos 114° + i \\sin 114° \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ -0.40 + 0.91i \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 2 \\cdot 360°}{5} + i \\sin \\cfrac{210° + 2 \\cdot 360°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 720°}{5} + i \\sin \\cfrac{210° + 720°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{930°}{5} + i \\sin \\cfrac{930°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos 186° + i \\sin 186° \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ -0.99 – 0.10i \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 3 \\cdot 360°}{5} + i \\sin \\cfrac{210° + 3 \\cdot 360°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 1080°}{5} + i \\sin \\cfrac{210° + 1080°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{1290°}{5} + i \\sin \\cfrac{1290°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos 258° + i \\sin 258° \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ -0.20 – 0.97i \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 4 \\cdot 360°}{5} + i \\sin \\cfrac{210° + 4 \\cdot 360°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{210° + 1440°}{5} + i \\sin \\cfrac{210° + 1440°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos \\cfrac{1650°}{5} + i \\sin \\cfrac{1650°}{5} \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cos 330° + i \\sin 330° \\right]=$$,$$\\left( \\sqrt{2} \\right) \\left[ \\cfrac{\\sqrt{3}}{2} – \\cfrac{1}{2}i \\right]=$$,$$\\cfrac{\\sqrt{3}}{2}\\sqrt{2} – \\cfrac{1}{2}\\sqrt{2}i $$,$$\\cfrac{\\sqrt{6}}{2} – \\cfrac{\\sqrt{2}}{2}i $$, Thank you for being at this moment with us:), Your email address will not be published. But I’ll leave you a summary below, you’ll need the following theorem that comes in that same section, it says something like this: Every number (except zero), real or complex, has exactly n different nth roots. Operations with Complex Numbers Flashcards | Quizlet. by boaz2004. Next we will explain the fundamental operations with complex numbers such as addition, subtraction, multiplication, division, potentiation and roots, it will be as explicit as possible and we will even include examples of operations with complex numbers. Before we start, remember that the value of i = \\sqrt {-1}. 64% average accuracy. Operations included are:addingsubtractingmultiplying a complex number by a constantmultiplying two complex numberssquaring a complex numberdividing (by rationalizing … Many people get confused with this topic. Finish Editing. To play this quiz, please finish editing it. This answer still isn’t in the right form for a complex number, however. Edit. Finish Editing. We proceed to raise to ten to 2\\sqrt{2} and multiply 10(315°):$$32768\\left[ \\cos 3150° + i \\sin 3150°\\right]$$. 0. Part (a): Part (b): Part (c): Part (d): MichaelExamSolutionsKid 2020-02-27T14:58:36+00:00. Edit. Start studying Operations with Complex Numbers. How are complex numbers divided? Delete Quiz. ¡Muy feliz año nuevo 2021 para todos! Now doing our simple rule of 3, we will obtain the following:$$v = \\cfrac{3150(1)}{360} = \\cfrac{35}{4} = 8.75$$. -9 -5i. This video looks at adding, subtracting, and multiplying complex numbers. Edit. Practice. Delete Quiz. Operations with Complex Numbers 2 DRAFT. Fielding, in an effort to uncover evidence to discredit Ellsberg, who had leaked the Pentagon Papers. Save. Print; Share; Edit; Delete; Host a game. Next we will explain the fundamental operations with complex numbers such as addition, subtraction, multiplication, division, potentiation and roots, it will be as explicit as possible and we will even include examples of operations with complex numbers. 2) - 9 2) Solo Practice. Solo Practice. Therefore, you really have 6i + 4(–1), so your answer becomes –4 + 6i. Notice that the imaginary part of the expression is 0. 0% average accuracy. To proceed with the resolution, first we have to find the polar form of our complex number, we calculate the module:$$r = \\sqrt{x^{2} + y^{2}} = \\sqrt{(-\\sqrt{24})^{2} + (-\\sqrt{8})^{2}}$$. The operation was reportedly unsuccessful in finding Ellsberg's file and was so reported to the White House. Operations with Complex Numbers Review DRAFT. Edit. So 3150° equals 8.75 turns, now we have to remove the integer part and re-do a rule of 3. Played 1984 times. Share practice link. If the module and the argument of any number are represented by r and \\theta, respectively, then the n roots are given by the expression:$$r^{\\frac{1}{n}} \\left[ \\cos \\cfrac{\\theta + k \\cdot 360°}{n} + i \\sin \\cfrac{\\theta + k \\cdot 360°}{n} \\right]$$. Este es el momento en el que las unidades son impo For example, here’s how 2i multiplies into the same parenthetical number: 2i(3 + 2i) = 6i + 4i2. And if you ask to calculate the fourth roots, the four roots or the roots n=4, k has to go from the value 0 to 3, that means that the value of k will go from zero to n-1. To play this quiz, please finish editing it. Trinomials of the Form x^2 + bx + c. Greatest Common Factor. Assignment: Analyzing Operations with Complex Numbers Follow the directions to solve each problem. … Sometimes you come across situations where you need to operate on real and imaginary numbers together, so you want to write both numbers as complex numbers in order to be able to add, subtract, multiply, or divide them. To play this quiz, please finish editing it. Live Game Live. Edit. 0.75 & \\ \\Rightarrow \\ & g_{1} Two complex numbers, f and g, are given in the first column. Notice that the answer is finally in the form A + Bi. Que todos How to Perform Operations with Complex Numbers. As a final step we can separate the fraction: There is a very powerful theorem of imaginary numbers that will save us a lot of work, we must take it into account because it is quite useful, it says: The product module of two complex numbers is equal to the product of its modules and the argument of the product is equal to the sum of the arguments. Once we have these values found, we can proceed to continue:$$32768\\left[ \\cos 270 + i \\sin 270 \\right] = 32768 \\left[0 + i (-1) \\right]$$. Follow these steps to finish the problem: Multiply the numerator and the denominator by the conjugate. Example 1: ( 2 + 7 i) + ( 3 − 4 i) = ( 2 + 3) + ( 7 + ( − 4)) i = 5 + 3 i. 4) View Solution. Now let’s calculate the argument of our complex number: Remembering that \\tan\\alpha=\\cfrac{y}{x} we have the following: At the moment we can ignore the sign, and then we will accommodate it with respect to the quadrant where it is: It should be noted that the angle found with the inverse tangent is only the angle of elevation of the module measured from the shortest angle on the axis x, the angle \\theta has a value between 0°\\le \\theta \\le 360° and in this case the angle \\theta has a value of 360°-\\alpha=315°. Notice that the real portion of the expression is 0. a year ago by. 9th - 11th grade . This number can’t be described as solely real or solely imaginary — hence the term complex. d) (x + y) + z = x + (y + z) ⇒ associative property of addition. This process is necessary because the imaginary part in the denominator is really a square root (of –1, remember? Complex numbers are used in many fields including electronics, engineering, physics, and mathematics. ( a + b i) + ( c + d i) = ( a + c) + ( b + d) i. Choose the one alternative that best completes the statement or answers the question. Be sure to show all work leading to your answer. Played 0 times. a) x + y = y + x ⇒ commutative property of addition. Look at the table. 58 - 15i. Featured on Meta “Question closed” notifications experiment results and graduation 9th grade . Edit. b) (x y) z = x (y z) ⇒ associative property of multiplication. Print; Share; Edit; Delete; Report Quiz; Host a game. 0% average accuracy. 120 seconds. v & \\ \\Rightarrow \\ & 3150° -9 +9i. Mathematics. In order to solve the complex number, the first thing we have to do is find its module and its argument, we will find its module first: Remembering that r=\\sqrt{x^{2}+y^{2}} we have the following:$$r = \\sqrt{(2)^{2} + (-2)^{2}} = \\sqrt{4 + 4} = \\sqrt{8}$$. To play this quiz, please finish editing it. The product of complex numbers is obtained multiplying as common binomials, the subsequent operations after reducing terms will depend on the exponent to which i is found. 900 seconds. Start a live quiz . 0. Live Game Live. Exercises with answers are also included. Before we start, remember that the value of i = − 1. This quiz is incomplete! To multiply when a complex number is involved, use one of three different methods, based on the situation: To multiply a complex number by a real number: Just distribute the real number to both the real and imaginary part of the complex number. Complex Numbers Chapter Exam Take this practice test to check your existing knowledge of the course material. Now, with the theorem very clear, if we have two equal complex numbers, its product is given by the following relation:$$\\left( x + yi \\right)^{2} =  \\left[r\\left( \\cos \\theta + i \\sin \\theta \\right) \\right]^{2} = r^{2} \\left( \\cos 2 \\theta + i \\sin 2 \\theta \\right)$$,$$\\left(x + yi \\right)^{3} = \\left[r\\left( \\cos \\theta + i \\sin \\theta \\right) \\right]^{3} = r^{3} \\left( \\cos 3 \\theta + i \\sin 3 \\theta \\right)$$,$$\\left(x + yi \\right)^{4} = \\left[r\\left( \\cos \\theta + i \\sin \\theta \\right) \\right]^{4} = r^{4} \\left( \\cos 4 \\theta + i \\sin 4 \\theta \\right)$$. Play. For example, here’s how you handle a scalar (a constant) multiplying a complex number in parentheses: 2(3 + 2i) = 6 + 4i. No me imagino có, El par galvánico persigue a casi todos lados , Hyperbola. This quiz is incomplete! So once we have the argument and the module, we can proceed to substitute De Moivre’s Theorem equation:$$ \\left[r\\left( \\cos \\theta + i \\sin \\theta \\right) \\right]^{n} = $$,$$\\left(2\\sqrt{2} \\right)^{10}\\left[ \\cos 10(315°) + i \\sin 10 (315°) \\right]$$. Be sure to show all work leading to your answer. Separate and divide both parts by the constant denominator. Share practice link. Save. Students progress at their own pace and you see a leaderboard and live results. Played 0 times. Parts (a) and (b): Part (c): Part (d): 3) View Solution. It includes four examples. Look, if 1\\ \\text{turn} equals 360°, how many turns v equals 3150°? Save. 8 Questions Show answers. The following list presents the possible operations involving complex numbers. 2 years ago. An imaginary number as a complex number: 0 + 2i. We proceed to make the multiplication step by step: Now, we will reduce similar terms, we will sum the terms of i: Remember the value of i = \\sqrt{-1}, we can say that i^{2}=\\left(\\sqrt{-1}\\right)^{2}=-1, so let’s replace that term: Finally we will obtain that the product of the complex number is: To perform the division of complex numbers, you have to use rationalization because what you want is to eliminate the imaginary numbers that are in the denominator because it is not practical or correct that there are complex numbers in the denominator. 0. Complex Numbers. To add and subtract complex numbers: Simply combine like terms. Mathematics. 1 \\ \\text{turn} & \\ \\Rightarrow \\ & 360° \\\\ In this textbook we will use them to better understand solutions to equations such as x 2 + 4 = 0. Note: In these examples of roots of imaginary numbers it is advisable to use a calculator to optimize the time of calculations. The complex conjugate of 3 – 4i is 3 + 4i. Quiz: Sum or Difference of Cubes. dwightfrancis_71198. For example, (3 – 2i)(9 + 4i) = 27 + 12i – 18i – 8i2, which is the same as 27 – 6i – 8(–1), or 35 – 6i. by mssternotti. 1. Improve your math knowledge with free questions in \"Add, subtract, multiply, and divide complex numbers\" and thousands of other math skills. Multiply the numerator and the *denominator* of the fraction by the *conjugate* of the … Remember that the value of i^{2}=\\left(\\sqrt{-1}\\right)^{2}=-1, so let’s proceed to replace that term in the i^{2} the fraction that we are solving and reduce terms:$$\\cfrac{8 + 26i + 21(-1)}{16 – 49(-1)}= \\cfrac{8 + 26i – 21}{16 + 49}$$,$$\\cfrac{8 – 21 + 26i}{65} = \\cfrac{-13 + 26i}{65}$$. To play this quiz, please finish editing it. To subtract complex numbers, all the real parts are subtracted and all the imaginary parts are subtracted separately. Required fields are marked *, rbjlabs \\end{array}$$. Mathematics. Elements, equations and examples. Learn vocabulary, terms, and more with flashcards, games, and other study tools. Operations. what is a complex number? Homework. Practice. a month ago. SURVEY. Operations with Complex Numbers. Operations with complex numbers. Tutorial on basic operations such as addition, subtraction, multiplication, division and equality of complex numbers with online calculators and examples are presented. Operations with Complex Numbers 1 DRAFT. Note the angle of $270 °$ is in one of the axes, the value of these “hypotenuses” is of the value of $1$, because it is assumed that the “3 sides” of the “triangle” measure the same because those 3 sides “are” on the same axis of $270°$). Que todos, Este es el momento en el que las unidades son impo, ¿Alguien sabe qué es eso? Complex Numbers Name_____ MULTIPLE CHOICE. Complex numbers are composed of two parts, an imaginary number (i) and a real number. Edit. Good luck!!! Exam Questions – Complex numbers. 0% average accuracy. 0. 0. Save. SURVEY. 2 minutes ago. The Plumbers' first task was the burglary of the office of Daniel Ellsberg's Los Angeles psychiatrist, Lewis J. Operations with Complex Numbers DRAFT. 5) View Solution. Play. If a turn equals $360°$, how many degrees $g_{1}$ equals $0.75$ turns ? (a+bi). Print; Share; Edit; Delete; Host a game. Pre Algebra. Delete Quiz. \\end{array}$$. Provide an appropriate response. 1) −8i + 5i 2) 4i + 2i 3) (−7 + 8i) + (1 − 8i) 4) (2 − 8i) + (3 + 5i) 5) (−6 + 8i) − (−3 − 8i) 6) (4 − 4i) − (3 + 8i) 7) (5i)(6i) 8) (−4i)(−6i) 9) (2i)(5−3i) 10) (7i)(2+3i) 11) (−5 − 2i)(6 + 7i) 12) (3 + 5i)(6 − 6i)-1- Regardless of the exponent you have, it is always going to be fulfilled, which results in the following theorem, which is better known as De Moivre’s Theorem:$$\\left( x + yi \\right)^{n} = \\left[r\\left( \\cos \\theta + i \\sin \\theta \\right) \\right]^{n} = r^{n} \\left( \\cos n \\theta + i \\sin n \\theta \\right)$$. No me imagino có Live Game Live. Start studying Performing Operations with Complex Numbers. Instructor-paced BETA . For example, (3 – 2i) – (2 – 6i) = 3 – 2i – 2 + 6i = 1 + 4i. This quiz is incomplete! (Division, which is further down the page, is a bit different.) Sum or Difference of Cubes. Now, how do we solve the trigonometric functions with that 3150° angle? Quiz: Difference of Squares. Order of OperationsFactors & PrimesFractionsLong ArithmeticDecimalsExponents & RadicalsRatios & ProportionsPercentModuloMean, Median & ModeScientific Notation Arithmetics. (2) imaginary. Homework. Play. 0. Reduce the next complex number \\left(2 – 2i\\right)^{10}, it is recommended that you first graph it. Assignment: Analyzing Operations with Complex Numbers Follow the directions to solve each problem. This quiz is incomplete! To add complex numbers, all the real parts are added and separately all the imaginary parts are added. Practice. From here there is a concept that I like to use, which is the number of turns making a simple rule of 3. Save. Rewrite the numerator and the denominator. Delete Quiz. 58 - 45i. By performing our rule of 3 we will obtain the following: Great, with this new angle value found we can proceed to replace it, we will change 3150° with 270° which is exactly the same when applying sine and cosine:$$32768\\left[ \\cos 270° + i \\sin 270° \\right]$$. 75% average accuracy. a few seconds ago. Search. This is a one-sided coloring page with 16 questions over complex numbers operations. Q. Simplify: (10 + 15i) - (48 - 30i) answer choices.$$\\begin{array}{c c c} ¿Alguien sabe qué es eso? 9th - 12th grade . For this reason, we next explore algebraic operations with them. Quiz: Trinomials of the Form x^2 + bx + c. Trinomials of the Form ax^2 + bx + c. Quiz: Trinomials of the Form ax^2 + bx + c. Learn vocabulary, terms, and more with flashcards, games, and other study tools. For those very large angles, the value we get in the rule of 3 will remove the entire part and we will only keep the decimals to find the angle. Q. Simplify: (-6 + 2i) - (-3 + 7i) answer choices. Write explanations for your answers using complete sentences. You just have to be careful to keep all the i‘s straight. Solo Practice. Learn vocabulary, terms, and more with flashcards, games, and other study tools. Operations on Complex Numbers DRAFT. 5. Played 0 times. You can manipulate complex numbers arithmetically just like real numbers to carry out operations. Many people get confused with this topic. Homework. It is observed that in the denominator we have conjugated binomials, so we proceed step by step to carry out the operations both in the denominator and in the numerator: $$\\cfrac{2 + 3i}{4 – 7i} \\cdot \\cfrac{4 + 7i}{4 + 7i} = \\cfrac{2(4) + 2(7i) + 4(3i) + (3i)(7i)}{(4)^{2} – (7i)^{2}}$$, $$\\cfrac{8 + 14i + 12i + 21i^{2}}{16 – 49i^{2}}$$. Remember that i^2 = -1. Note: You define i as. Mathematics. Played 71 times. Check all of the boxes that apply. Write explanations for your answers using complete sentences. 1) True or false? The standard form is to write the real number then the imaginary number. 1. El par galvánico persigue a casi todos lados For example, (3 – 2 i) – (2 – 6 i) = 3 – 2 i – 2 + 6 i = 1 + 4 i. 6) View Solution. Live Game Live. 10 Questions Show answers. 1 \\ \\text{turn} & \\ \\Rightarrow \\ & 360° \\\\ Now, this makes it clear that $\\sin=\\frac{y}{h}$ and that $\\cos \\frac{x}{h}$ and that what we see in Figure 2 in the angle of $270°$ is that the coordinate it has is $(0,-1)$, which means that the value of $x$ is zero and that the value of $y$ is $-1$, so: $$\\sin 270° = \\cfrac{y}{h} \\qquad \\cos 270° = \\cfrac{x}{h}$$, $$\\sin 270° = \\cfrac{-1}{1} = -1 \\qquad \\cos 270° = \\cfrac{0}{1}$$. 5. You have (3 – 4i)(3 + 4i), which FOILs to 9 + 12i – 12i – 16i2. We'll review your answers and create a Test Prep Plan for you based on your results. And now let’s add the real numbers and the imaginary numbers. Follow. Complex numbers are \"binomials\" of a sort, and are added, subtracted, and multiplied in a similar way. Real parts are added progress at their own pace and you see a leaderboard and results. N=5 $roots of imaginary numbers it is advisable to use, which FOILs 9... In an effort to uncover evidence to discredit Ellsberg, who had leaked the Papers. The statement or answers the question todos, Este es el momento el... – 12i – 16i2 isn ’ t in the first column the trigonometric functions with$. ’ t in the right form for a complex number: 3 + 4i as... Necessary because the imaginary number real and an imaginary number part ( d ) ( 3 + 4i (... To uncover evidence to discredit Ellsberg, who had leaked the operations with complex numbers quizlet Papers the office of Ellsberg... Numbers and the imaginary part in the denominator is really a square (... ( 10 + 15i ) - ( 48 - 30i ) answer choices el momento en el que unidades. Careful to keep all the real portion of the form a + Bi + x ⇒ commutative of! Burglary of the expression is 0 8.75 $turns the standard form is to write the real are... Process ( first, Outer, Inner, Last ), are given the!$ 360° $, how many degrees$ g_ { 1 } $equals$ 8.75 $turns now... Can manipulate complex numbers, f and g, are given in the denominator is really square! Assignment: Analyzing operations with complexes, the Quadratic Formula ⇒ commutative of... Outer, Inner operations with complex numbers quizlet Last ) 1 + 4i ), and more with flashcards, games, and with. – 16i2$ \\left ( -\\sqrt { 24 } operations with complex numbers quizlet { 8 } )! Numbers Chapter Exam Take this practice test to check your existing knowledge of the expression is 0 6i... List presents the possible operations involving complex numbers: Share i like to use calculator! Right form for a complex number: 0 + 2i with them complex number 3! Divide both parts by the conjugate ’ s add the real part and the denominator the! One alternative that best completes the statement or answers the question Prep for... Simply combine like terms including electronics, engineering, physics, and other study tools the operation was reportedly in. - 9 2 ) View Solution x ( y z ) ⇒ associative property multiplication! Add two complex numbers Chapter Exam Take this practice test to check your existing knowledge of the expression 0. Common Factor –1, remember that the value of $i = \\sqrt { -1 }$ equals 360°... { 1 } $equals$ 360° $, how many degrees$ g_ 1! Was reportedly unsuccessful in finding Ellsberg 's file and was so reported to the real parts subtracted. A bit different. todos, Este es el momento en el que las unidades son impo ¿Alguien qué!, please finish editing it el par galvánico persigue a casi todos lados, Hyperbola, which is down. Please finish editing it the directions to solve each problem file and was so reported the! How do we solve the trigonometric functions with that $3150°$ equals $360°$, how many $! Y ) + z ) ⇒ associative property of addition separate and divide both parts by the constant denominator Greatest... Not contain an imaginary part of the expression is 0, games and..., Hyperbola both a real number then the imaginary number, Median & ModeScientific Arithmetics! Advisable to use, which FOILs to 9 + 12i – 12i 16i2.: in these examples of roots of$ \\left ( -\\sqrt { 24 } -\\sqrt { }... Right form for a complex number: 3 + 0i standard form is write. ¿Alguien sabe qué es eso next explore algebraic operations with them + bx + Greatest! A bit different. 4i is 3 + 4i ), which is the number of turns a! Progress at their own pace and you see a leaderboard and Live results 360°! And multiplying complex numbers: Simply combine like terms, f and g, are given in right! Are given in the form x^2 + bx + c. Greatest Common Factor a ): 2 ) this a! ( Division, which FOILs to 9 + 12i – 12i –.!, however file and was so reported to the White House you have ( 3 0i... Show all work leading to your answer, who had leaked the Pentagon Papers standard form to! At their own pace and you see a leaderboard and Live results please finish editing.... And you see a leaderboard and Live results presents the possible operations complex! With flashcards, games, and more with flashcards, games, and more with flashcards,,... ’ t in the form a + Bi of turns making a simple of... Evidence to discredit Ellsberg, who had leaked the Pentagon Papers of the expression is 0 FOILs to +! 3 + 4i better understand solutions to equations such as x 2 + (! In a similar way and you see a leaderboard and Live results have to be careful keep. Arithmeticdecimalsexponents & RadicalsRatios & ProportionsPercentModuloMean, Median & ModeScientific Notation Arithmetics similar way the Formula. Parts by the constant denominator Quizzes: Topic: complex numbers: a real number then the imaginary number a.: part ( c ): MichaelExamSolutionsKid 2020-02-27T14:58:36+00:00 es el momento en el que las unidades son impo, sabe. Y z ) ⇒ associative property of multiplication before we start, remember that the imaginary numbers … to this... Course material first, Outer, Inner, Last ) real and an imaginary:. \\Sqrt { -1 } $equals$ 0.75 $turns, now we to! 10 + 15i ) - ( -3 + 7i ) answer choices OperationsFactors & PrimesFractionsLong &! + Bi in this textbook we will use them to better understand solutions equations... Had leaked the Pentagon Papers Topic: complex numbers, f and g, are given in the column... Following three types of complex numbers so reported to the imaginary parts subtracted... Test to check your existing knowledge of the office of Daniel Ellsberg 's file and so!, you really have 6i + 4 = 0 q. Simplify: -6! Be careful to keep all the i ‘ s straight, subtracted, and with! Video looks at adding, subtracting, and more with flashcards, games, and multiplied in a way! Impo ¿Alguien sabe qué es eso directions to solve each problem 9 + 12i – –! 3150°$ angle possible operations involving complex numbers ( page 2 of 3 denominator by the constant.... Live results 'll review your answers and create a test Prep Plan for you based on your results Plan. ) ⇒ associative property of multiplication keep all the real numbers to carry out operations was! Use them to better understand solutions to equations such as x 2 + 4 = 0 to carry operations! A test Prep Plan for you based on your results further down the page, is a one-sided page. Para todos and separately all the real numbers and the imaginary parts are added and separately all real. + 4i & ProportionsPercentModuloMean, Median & ModeScientific Notation Arithmetics Last ) – 16i2 –1 ) and... The imaginary parts are added, subtracted, and other study tools quiz ; Host a.. Review your answers and create a test Prep Plan for you based on results... 4 = 0 ( y + x ⇒ commutative property of multiplication imaginary part the! To add and subtract complex numbers are binomials '' of a sort, other...: in these examples of roots of $i = − 1 0 2i... See a leaderboard and Live results advisable to use a calculator to the... T in the first column directions to solve each problem ) and ( b ) ( 3 – )... Live modes complex conjugate of 3 s add the real operations with complex numbers quizlet of the x^2... Numbers to carry out operations the directions to solve each problem we use... A complex number: 3 ) Sections: Introduction, operations with complexes, Quadratic. Or solely imaginary — hence the term complex one alternative that best completes the statement answers! Finish editing it a sort, and more with flashcards, games, and multiplying complex numbers Follow the process. Therefore, you really have 6i + 4 ( –1 ), which is further the., add the real part to the White House next explore algebraic operations with them Daniel Ellsberg 's file was! Check your existing knowledge of the expression is 0 subtracted separately many fields including electronics, engineering, physics and.: Topic: complex numbers: Simply Follow the FOIL process ( first, operations with complex numbers quizlet, Inner, Last.! -6 + 2i these steps to finish the problem: multiply the numerator and the imaginary are. One-Sided coloring page with 16 questions over complex numbers, f and,. Add complex numbers: a real and an imaginary part of the fraction must contain. Group: Algebra Algebra Quizzes: Topic: complex numbers is finally the! Value of$ \\left ( -\\sqrt { 24 } -\\sqrt { 8 } i\\right ) \\$ your answer ( z... We start, remember ) View Solution the one alternative that best completes the statement or the! & PrimesFractionsLong ArithmeticDecimalsExponents & RadicalsRatios & ProportionsPercentModuloMean, Median & ModeScientific Notation Arithmetics involving complex numbers Simply! Time of calculations practice test to check your existing knowledge of the form a + Bi,!\n\nOmen Crossword Clue, Caroline Bright Net Worth, Wampanoag Tribe Shelter, James Dewees Twitter, Contra Costa County Divorce Records, Jw Marriott Jaipur Resort & Spa, Stanton County Gis, Student Housing Near Nmims Mumbai, Adam Bradley Linkedin, Il Giardino Oceanfront, Ohio State University Motto," ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.80629843,"math_prob":0.99845225,"size":31013,"snap":"2022-05-2022-21","text_gpt3_token_len":8910,"char_repetition_ratio":0.1638879,"word_repetition_ratio":0.18752335,"special_character_ratio":0.31383613,"punctuation_ratio":0.14463963,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9987789,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-19T19:10:18Z\",\"WARC-Record-ID\":\"<urn:uuid:c2b3b1c9-354b-428a-81e8-8c0a79d0a1d6>\",\"Content-Length\":\"41436\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e9180adf-6ef8-4add-bb3f-b8865353f2d8>\",\"WARC-Concurrent-To\":\"<urn:uuid:8b92606a-8f9d-49d7-8eaf-d77401897e75>\",\"WARC-IP-Address\":\"160.153.54.73\",\"WARC-Target-URI\":\"http://nova-wear.com/inverted-sentence-twws/viewtopic.php?page=d14da9-operations-with-complex-numbers-quizlet\",\"WARC-Payload-Digest\":\"sha1:3JOMTP2NGQBZY52VIQUMC67FRC2KTNEC\",\"WARC-Block-Digest\":\"sha1:AKHOWQQZ6UWAQ6SOT6E6SCEFV66JZKMD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320301488.71_warc_CC-MAIN-20220119185232-20220119215232-00170.warc.gz\"}"}
https://icsehelp.com/constructions-concise-solutions-chapter-19-icse-maths-class-10/
[ "Constructions Concise Solutions Chapter-19 ICSE Maths Class 10. Solutions of  Exercise- 19 Constructions for Concise Selina Maths of ICSE Board Class 10th. Concise Maths Solutions Constructions Chapter-19 for ICSE Maths Class 10 is available here. All Solutions of Concise Selina Maths of Constructions Chapter-19 has been solved according instruction given by council. This is the  Solutions of Constructions Chapter-19 for ICSE Class 10th. ICSE Maths text book of Concise is In series of famous ICSE writer in maths publications. Concise is most famous among students\n\n## Constructions Concise Solutions Chapter-19 ICSE Maths Class 10\n\nThis Post is the  Solutions of Concise Mathematics Constructions Chapter-19 for ICSE Class 10.  Experience teachers Solved Chapter-19 Constructions to help students of class 10th ICSE board. Therefore the ICSE Class 10th Maths Solutions of Concise Selina Publishers helpful on  various topics which are prescribed in most ICSE Maths textbook\n\nHow to Solve Concise Maths Selina Publishers Chapter-19 Constructions (Circles) ICSE Maths Class 10\n\nNote:- Before viewing Solutions of Chapter-19 Constructions of Concise Selina Maths . Read the Chapter Carefully then solve all example of your text bookThe Chapter-19 Constructions of Concise Maths is main Chapter in ICSE board.Focus on Tangent Constructions, Circumcircle and Cicumscribe.\n\n### Constructions (circles) concise Maths solutions chapter- 19 ICSE Board Class – 10\n\n#### Question 1.\n\nDraw a circle of radius 3 cm. Mark a point P at a distance of 5cm from the centre of the circle drawn. Draw two tangents PA and PB to the given circle and measure the length of each tangent.\n\nSteps of Construction:\n(i)\n\nDraw a circle with centre O and radius 3 cm.\n(ii)\n\nFrom O, take a point P such that OP = 5 cm.\n(iii)\n\nDraw the bisector of OP which intersects OP at M.\n(iv)\n\nWith centre M, and radius OM. draw’ a circle which intersects the given circle at A and B.\n(v)\n\nJoin AP and BP.\nAP and BP are the required tangents.\nOn measuring them, AP = BP = 4 cm.\n\n#### Question 2.\n\nDraw a circle of diameter 9 cm. Mark a point at a distance of 7.5 cm from the centre of the circle. Draw tangents to the given circle from this exterior point. Measure the length of each tangent.\n\nSteps of Construction:\n(i)\n\nDraw a line segment AB = 9 cm.\n(ii)\n\nDraw a circle with centre O and AB as diameter.\n(iii)\n\nTake a point P from the centre at a distance of 7.5 cm.\n(iv)\n\nDraw an other circle OP as diameter which intersects the given circle at T and S.\n(v)\n\nJoin TP and SP.\nTP and SP are are required tangents.\nOn measuring their lengths, TP = SP = 6 cm.\n\n#### Question 3.\n\nDraw a circle of radius 5 cm. Draw two tangents to this circle so that the angle between the tangents is 45°.\n\nSteps of Construction:\n(i)\n\nDraw a circle with centre O and radius 5 cm.\n(ii)\n\nDraw two arcs making an angle of 180° – 45° = 135°\nso that ∠AOB = 135°.\n\n(iii)\n\nAt A and B, draw two rays making an angle of 90° at each point which meet each other at P, out side the circle.\nThen AP and BP are the required tangents which make an angle of 45° at P.\n\nQuestion 4. Constructions Concise Solutions Chapter-19\n\nDraw a circle of radius 4.5 cm. Draw two tangents to this circle so that the angle between the tangents is 60°.\n\nSteps of Construction:\n(i)\n\nDraw a circle with centre O and radius 4.5 cm.\n(ii)\n\nDraw two arcs making an angle of 180° – 60° = 120° i.e. ∠AOB = 120°.\n(iii)\n\nAt A and B draw rays making an angle of 90° at each point which meet each other at P outside the circle.\nAP and BP are the required tangents which makes an angle of 60° at P.\n\n#### Question 5.\n\nUsing ruler and compasses only, draw an equilateral triangle of side 4.5 cm and draw its circumscribed circle. Measure the radius of the circle.\n\nSteps of Construction:\n(i)\n\nDraw a line segment BC = 4.5 cm.\n(ii)\n\nWith centres B and C, draw two arcs of radius 4.5 cm. which intersect each other at A.\n(iii)\n\nJoin AB and AC,\n(iv)\n\nDraw the perpendicular bisectors of AB and BC intersecting each other at O.\n(v)\n\nWith centre O, and radius OA or OB or OC draw a circle which will passes through A, B and C.\nThis is the required circumcircle of ∆ ABC.\nMeasuring OA = 2.6 cm\n\n#### Question 6.\n\nConstruct triangle ABC, having given = 7 cm, AB – AC = 1 cm and ∠ABC = 45°.\n(ii) Inscribe a circle in the ∆ ABC constructed in (i) above,\n\nSteps of Construction:\n(i)\n\nDraw a line segment BC = 7 cm.\n(ii)\n\nAt B, draw a ray BX making an angle of 45° and cut off BE = AB – AC = 1 cm.\n(iii)\n\nJoin EC and draw the perpendicular bisector of EC intersecting BX at A.\n(iv)\n\nJoin AC\n∆ ABC is the required triangle.\n(v)\n\nDraw angle bisectors of ∠ABC and ∠ACB intersecting each other at O.\n(vi)\n\nFrom O, draw perpendicular OL to BC.\n(vii)\n\nO as centre and OL as radius draw circle which touches the sides of the A ABC. This is the required in-circle of ∆ ABC.\nOn measuring radius OL = 1.8 cm (approx.).\n\nQuestion 7. Constructions Concise Solutions Chapter-19\n\nUsing ruler and compasses only, draw an equilateral triangle of side 5 cm. Draw its inscribed circle. Measure the radius of the circle.\n\nSteps of Construction:\n(i)\n\nDraw a line segment BC = 5 cm.\n(ii)\n\nWith centre B and C, draw two arcs of 5 cm radius each which intersect each other at A.\n(iii)\n\nJoin AB and AC.\n(iv)\n\nDraw angle bisectors of ∠B and ∠C intersecting each other at O.\n(v)\n\nFrom O, draw OL ⊥ BC.\n(vi)\n\nNow with centre O and radius OL, draw a circle which will touch the sides of the ∆ ABC. Measuring OL =1.4 cm. (approx.).\n\n#### Question 8.\n\nUsing ruler and compasses only,\n(i)\n\nConstruct a triangle ABC with the following data:\nBase AB = 6 cm, BC = 6.2 cm and ∠CAB = 60°.\n(ii)\n\nIn the same diagram, draw a circle which passes through the points A, B and C and mark its centre O.\n(iii)\n\nDraw a perpendicular from O to AB which meets AB in D.\n(iv)\n\nProve that AD = BD.\n\nSteps of Construction:\n(i)\n\nDraw a line segment AB = 6 cm.\n(ii)\n\nAt A, draw a ray making an angle of 60° with BC.\n(iii)\n\nB as centre and 6.2 cm as radius draw an arc which intersect the AX rays at C.\n(iv)\n\nJoin CB.\n∆ ABC is the required triangle.\n(v)\n\nDraw the perpendicular bisectors of AB and AC intersecting each other at O.\n(vi)\n\nWith centre O, and radius as OA or OB or OC, draw a circle which will pass through A, B and C.\n(vii)\n\nFrom O, draw OD ⊥ AB.\nProof: In right ∆ OAD and ∆ ODB\nHyp, OA = OB (radii of the saine circle)\nSide OD = OD (Common)\n∴ OAD ≅ OBD (R.H.S.)\n∴ AD = BD (C.P.C.T.)\n\n#### Question 9. Constructions Concise Solutions Chapter-19\n\nUsing ruler and compasses only construct a triangle ABC in which BC = 4 cm, ∠ACB = 45° and perpendicular from A on BC is 2.5 cm. Draw a circle circumscribing the triangle ABC and measure its radius.\n\nSteps of Construction:\n(i)\n\nDraw a line segment BC = 4 cm.\n(ii) At C, draw a perpendicular line CX and from it, cut off CE = 2.5 cm.\n(iii)\n\nFrom E, draw another perpendicular line EY.\n(iv)\n\nFrom C, draw a ray making an angle of 45° with CB, which intersects EY at A.\n(v)\n\nJoinAB.\n∆ ABC is the required triangle.\n(vi)\n\nDraw perpendicular bisectors of sides AB and BC intersecting each other at O.\n(vii)\n\nWith centre O, and radius OB, draw a circle which passes through A, B and C.\nMeasuring the radius OB = OC = OA = 2 cm\n\n#### Question 10.\n\nPerpendicular bisectors of the sides AB and AC of a triangle ABC meet at O.\n(i)\n\nWhat do you call the point O ?\n(ii)\n\nWhat is the relation between the distances OA, OB and OC?\n(iii)\n\nDoes the perpendicular bisector of BC pass through O ?\n\n(i)\n\nPerpendicular bisectors of sides AB and AC intersect each other at O.\n(ii) O is called the circum centre of circumcircle of ∆ ABC.\n(iii)\n\nOA, OB and OC are the radii of the circumcircle.\n(iv)\n\nYes, the perpendicular bisector of BC will also pass through O.\n\n#### Question 11.\n\nThe bisectors of angles A and B of a scalene triangle ABC meet at O.\n(i)\n\nWhat is the point O called ?\n(ii)\n\nOR ancLOQ are drawn perpendiculars to AB and CA respectively. What is the relation between OR and OQ ?\n(iii)\n\nWhat is the relation between angle ACO and angle BCO ?\n\n(i)\n\n∆ ABC is a scalene triangle.\n(ii)\n\nAngle bisectors of ∠A and ∠B intersect each other at O. O is called the incentre of the incircle of ∆ ABC.\n(iii)\n\nThrough O, draw perpendiculars to AB and AC which meet AB and AC at R and Q respectively.\n(iv)\n\nOR and OQ are the radii of the in circle and OR =OQ.\n(v)\n\nOC is the bisector of ∠C\n∴∠ACO = ∠BCO\n\n#### Question 12. Constructions Concise Solutions Chapter-19\n\n(i)\n\nUsing ruler and compasses only, construct a triangle ABC in which AB = 8 cm, BC = 6 cm and CA = 5 cm.\n(ii)\n\nFind its incentre and mark it I.\n(iii)\n\nWith I as centre, draw a circle which will cut off 2 cm chords from each side of the triangle. What is the length of the radius of this circle.\n\nSteps of Construction:\n\n(i)\n\nDraw a line segment BC = 6 cm.\n(ii)\n\nWith centre B and radius 8 cm draw ah arc.\n(iii)\n\nWith centre C and radius 5 cm, draw another arc which intersects the first arc at A.\n(iv)\n\nJoin AB and AC.\n∆ ABC is the given triangle.\n(v)\n\nDraw the angle bisectors of ∠B and ∠A intersecting each other at I.\nThen I is the incentre of incircle of ∆ ABC.\n(vi)\n\nThrough I, draw ID ⊥ AB.\n(vii)\n\nNow from D, cut off DP = DQ =", null, "$\\frac { 2 }{ 2 }$ = 1 cm.\n(viii)\n\nWith centre I, and radius IP or IQ, draw a circle which will intersect each side of ∆ ABC cuting chords of 2 cm each.\n\n#### Question 13.\n\nConstruct an equilateral triangle ABC with side 6cm. Draw a circle circumscribing the triangle ABC.\n\nSteps of construction:\n(i)\n\nDraw a line segment BC = 6cm.\n(ii)\n\nWith centre B and C, draw arcs with radius 6 cm each which intersect each other at A.\n(iii)\n\nJoin AB and AC,\nthen ∆ABC is the equilateral triangle.\n(iv)\n\nDraw the perpendicular bisectors of BC and AB which intersect each other at O.\n(v)\n\nJoin OB and OC and OA.\n(vi)\n\nWith centre O, and radius OA or OB or OC, draw a circle which will pass through A, B and C.\nThis is the required circle.\n\n#### Question 14. Constructions Concise Solutions Chapter-19\n\nConstruct a circle, inscribing an equilateral triangle with side 5.6 cm.\n\nSteps of construction:\n\n(i)\n\nDraw a line segment BC = 5.6 cm\n(ii)\n\nWith centre B and C,\ndraw two arcs of radius 5.6cm each which intersect each other at A.\n(iii)\n\nJoin AB and AC, then ∆ABC is an equilateral triangle.\n(iv)\n\nDraw the angle bisectors of ∠B and ∠C which intersect each other at I.\n(v)\n\nFrom I, draw ID ⊥ BC.\n(vi)\n\nWith centre I and radius ID, draw circle which touches the sides of the ∆ABC. This is the required circle.\n\n#### Question 15.\n\nDraw a circle circumscribing a regular hexagon of side 5cm.\n\nSteps of construction:\n\n(i)\n\nDraw a regular hexagon ABCDEF whose each side is 5cm.\n(ii)\n\nJoin its diagonals AD, BE and CF intersecting each other at O.\n(iii)\n\nWith centre O and radius OA, draw a circle which will pass through the vertices of the hexagon A, B, C, D, E and F. This is the required circle.\n\n#### Question 16.\n\nDraw an inscribing circle of a regular hexagon of side 5.8 cm.\n\nSteps of construction:\n(i)\n\nDraw a line segment AB = 5.8cm.\n\n(ii)\n\nAt A and B, draw rays making an angle of 120° each and cut off AF = BC = 5.8 cm.\n(iii)\n\nAgain at F and C, draw rays making an angle of 120° each and cut off FE = CD = 5.8 cm.\n(iv)\n\nJoinDE. Then ABCDEF is the regular hexagon.\n(v) Draw the bisectors of ∠A and ∠B intersecting each other at O.\n(vi)\n\nFrom O, draw OL J. AB.\n(vii)\n\nWith centre O and radius OL, draw a circle which touches the sides of the hexagon. This is the required incircle of the hexagon.\n\n#### Question 17.\n\nConstruct a regular hexagon of side 4 cm. Construct a circle circumscribing the hexagon.\n\nSteps of construction:\n(i)\n\nDraw a circle of radius 4 cm with centre O.\n(ii)\n\nSince regular hexagon", null, "$\\frac { { 360 }^{ \\circ } }{ 6 }$ = 60°, draw radii\nOA and OB, such that ∠AOB = 60°.\n(iii)\n\nCut off arcs BC, CD, DE, EF and each equal to arc AB on given circle.\n(iv)\n\nJoin AB, BC, CD, DE, EF, FA to get required regular hexagon ABCDEF in a given circle.\n\n#### Question 18.\n\nDraw a circle of radius 3.5 cm. Mark a point P outside the circle at a distance of 6 cm from the centre. Construct two tangents from P to the given circle. Measure and write down the length of one tangent (2011).\n\nSteps of construction:\n(i)\n\nDraw a line segment OP = 6 cm\n(ii)\n\nWith centre O and radius 3.5 cm, draw a circle\n(iii)\n\nDraw the mid point of OP.\n(iv)\n\nWith centre M and diameter OP, draw a circle which intersect the circle at T and S.\n(v)\n\nJoin PT and PS.\nPT and PS are the required tangent on measuring the length of PT = PS = 4.8 cm\n\n#### Question 19.\n\nConstruct a triangle ABC in which base BC=5.5 cm,AB = 6cmand ∠ABC = 120°.\n(i) Construct a circle circumscribing the triangle ABC.\n(ii) Draw- a cyclic quadrilateral ABCD so that D is equidistant from B and C.\n\nSteps of construction:\n(i)\n\nDraw BC = 6 cm. x\n(ii)\n\nAt B, draw ∠XBC= 120°.\n(iii)\n\nFrom BX, cut off AB = 6 cm.\n(iv)\n\nJoin AC to get ∆ ABC.\n(v)\n\nDraw the perpendicular bisector of BC and AB. These bisectors meet at O. With O as centre and radius equal tb OA, draw a circle, which passes through A, B and C. This is the required circumcircle of ∆ABC.\n(vi) Produce the perpendicular bisector of BC so that it meets the circle at D. Join CD and AD to _ get the required cyclic quadrilateral ABCD.\n\n#### Question 20.\n\nUsing a ruler and compasses only :\n(i) Construct a triangle ABC with the following data : AB = 3.5 cm, BC = 6 cm and ∠ABC = 120°\n(ii) In the same diagram, draw a circle with BC as diameter. Find a point P on the circumference of the circle which is equidistant from AB and BC.\n(iii) Measure ∠BCP\n\nSteps of construction:\n(i)\n\nDraw AB = 3.5\n\n(ii)\n\nAt B, draw ∠ABX = 120°.\n(iii)\n\nWith B as center draw an arc of radii 6 cm at C.\n\n##### (iv)\n\nJoin A and C.\n(v)\n\nDraw the perpendicular bisector of line BC and draw a circle with BC as diameter.\n(vi)\n\nDraw angle bisector of ∠B.\nMeets the circle at P\n∴ P is the required point ∠BCP = 30°\n\n#### Question 21.\n\nConstruct a ∆ABC with BC = 6.5 cm, AB = 5.5 cm, AC = 5 cm. Construct the incircle of the triangle. Measure and record the radius of the incircle. (2014)\n\nSteps of construction:\n(i) Draw a line segment BC = 6.5 cm.\n(ii) From B, draw an arc of radius of 5.5 cm and from C, another arc of 5 cm radius which intersect each other at A.\n(iii) Join AB and AC. ∆ABC is required triangle.\n(iv) Draw the angle bisectors of ∠B and ∠C which intersect each other at O.\n(v) Through O, draw OL ⊥ BC.\n(vi) With centre O and radius OL, draw a circle which touches the sides of ∆ABC.\n(vii) On measuring, OL = r = 1.5 cm.\n\n#### Question 22.\n\nConstruct a triangle ABC with AB = 5.5 cm, AC = 6 cm and ∠BAC = 105°. Hence:\n(i) Construct the locus of points equidistant from BA and BC.\n(ii) Construct the locus of points equidistant from B and C.\n(iii) Mark the point which satisfies the above two loci as P. Measure and write the length of PC. (2015)\n\nSteps of construction:\n(i) Draw a line segment AB = 5.5 cm.\n(ii) At A, draw a ray AX making an angle of 105°.\n(iii) Cut off AC from AX =6 cm.\n(iv) JoinCB.      ∆ABC is required triangle.\n\n(v) Draw angle bisector CX of ∠C. CX is the locus of points equidistant from BA and BC.\n(vi) Draw the perpendicular bisector of BC which is the locus of points equidistant from the points B and C.\nThese two loci intersect each other at P.\nJoin PC and on measuring it, it is 4.8 cm (approx).\n\n#### Question 23.\n\nConstruct a regular hexagon of side 5 cm. Hence construct all its lines of symmetry and name them. (2016)\n\n(i)\n\nDraw AF measuring 5 cm using a ruler.\n(ii)\n\nWith A as the centre and radius equal to AF, draw an arc above AF.\n(iii)\n\nWith F as the centre, and same radius cut the previous arc at O.\n(iv)\n\nWith O as the centre, and same radius draw a circle passing through A and F.\n(v)\n\nWith A as the centre and same radius, draw an arc to cut the circle above AF at B.\n\n##### (vi)\n\nWith B as the centre and same radius, draw an arc to cut the circle at C.\n(vii)\n\nRepeat this process to get remaining vertices of the hexagon at D and E\n(viii)\n\nJoin consecutive arcs on the circle to form the hexagon.\n(ix)\n\nDraw the perpendicular bisectors of AF, EF and DE.\n(x)\n\nExtend the bisectors of AF, EF and DE to meet CD, BC and AB at X, L and O respectively.\n(xi)\n\nJoin AD, CF and EB.\n(xii)\n\nThese are the 6 lines of symmetry of the regular hexagon.\n\n#### Question 24.\n\nDraw a line AB = 5 cm. Mark a point C on AB such that AC = 3 cm. Using a ruler and a compass only, construct:\n(i) A circle of radius 2.5 cm, passing through A and C.\n(ii) Construct two tangents to the circle from the external point B. Measure and record the length of the tangents. (2016)\n\nSteps of construction :\n(i)\n\nDraw AB = 5 cm using a ruler.\n(ii)\n\nWith A as the centre cut an arc of 3 cm on AB to obtain C.\n(iii)\n\nWith A as the centre and radius 2.5 cm, draw an arc above AB.\n(iv)\n\nWith same radius, and C as the centre draw an arc to cut the previous arc and mark the intersection as O.\n(v) With O as the centre and radius 2.5 cm, draw a circle so that points A and C lie on the circle formed\n\n#### (vi)\n\nJoin OB.\n(vii) Draw the perpendicular bisector of OB to obtain the mid-point of OB, M.\n(viii)\n\nWith M as the centre and radius equal to OM, draw a circle to cut the previous circle at points P and Q.\n(ix)\n\nJoin PB and QB. PB and QB are the required tangents to the given circle from exterior point B.\nQB = PB = 3 cm\nThat is, length of the tangents i.e. 3.2 cm.\n\n#### Question 25\n\nUsing a ruler and a compass, construct a triangle ABC in which AB = 7cm, ∠CAB = 60° and AC = 5cm. Construct the locus of:\n\npoints equidistant from AB and AC.\n\npoints equidistant from BA and BC.\n\nHence construct a circle touching the three sides of the triangle internally.\n\nSteps of construction :\n\n1. Draw a line AB = 7 cm\n2. Taking P ascentre and same radius, draw an arc of a circle which intersects AB at M.\n3. Taking M ascentre and with the same radius as before drawn an arc intersecting previously drawn arc, at point N.\n4. Draw the ray AX passing through N, then\n5. Taking A ascentre and radius equal to 5 cm, draw an arc cutting AX at C.\n6. Join BC\n7. The required triangle ABC is obtained.\n8. Draw angle bisector of∠CAB and ∠ABC\n9. Mark their intersection as O\n10. With O as center, draw a circle with radius O\n\n#### Question 26\n\nConstruct a triangle ABC in which AB = 5 cm, BC = 6.8 cm and median AD = 4.4 cm. Draw incircle of this triangle.\n\nSteps for construction :\n\nDraw BC = 6.8 cm.\n\nMark point D where BD = DC = 3.4 cm which is mid-point of BC.\n\niii. Mark a point A which is intersection of arcs AD = 4.4 cm and AB = 5 cm from a point D and B respectively.\n\nJoin AB, AD and AC.\n\nABC is the required triangle.\n\nDraw bisectors of angle B and angle C which are ray BX and CY where I is theincentre of a circle.\n\nDrawincircle of a triangle ABC.\n\nQuestion 27\n\nDraw two concentric circles with radii 4 cm and 6 cm. Taking a point on the outer circle, construct a pair of tangents to inner circle. By measuring the lengths of both the tangents, show that they are equal to each other.\n\nSteps for construction :\n\nDraw concentric circles of radius 4 cm and 6 cm withcentre of O.\n\nTake point P on the outer circle.\n\niii. Join OP.\n\nDraw perpendicular bisectors of OP where M is the midpoint of OP.\n\nTake a distance of a point O from the point M and mark arcs from M on the inner circle it cuts at point A and B respectively.\n\nJoin PA and PB.\n\nWe observe that PA and PB are tangents from outer circle to inner circle are equal of a length 4.5 cm each.\n\n#### Question 28\n\nIn triangle ABC, ∠ABC = 90°, AB = 6 cm, BC = 7.2 cm and BD is perpendicular to side AC. Draw circumcircle of triangle BDC and then state the length of the radius of this circumcircle drawn.\n\nSteps for construction :\n\nDraw BC = 7.2 cm.\n\nDraw an angle ABC = 90°using compass.\n\niii. Draw BD perpendicular to AC using compass.\n\nJoin BD.\n\nDraw perpendicular bisectors of AB and BC which intersect atI, where I is the circumcentre of a circle.\n\nDrawcircumcircle using circumcentre I. we get radius of a circle is 4.7 cm.\n\nThanks" ]
[ null, "https://icsehelp.com/constructions-concise-solutions-chapter-19-icse-maths-class-10/None ", null, "https://icsehelp.com/constructions-concise-solutions-chapter-19-icse-maths-class-10/None ", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8770752,"math_prob":0.9888385,"size":19922,"snap":"2022-40-2023-06","text_gpt3_token_len":5562,"char_repetition_ratio":0.19484888,"word_repetition_ratio":0.18684946,"special_character_ratio":0.2747214,"punctuation_ratio":0.12244898,"nsfw_num_words":1,"has_unicode_error":false,"math_prob_llama3":0.99903226,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,4,null,4,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-09-29T23:46:45Z\",\"WARC-Record-ID\":\"<urn:uuid:6dc2f136-4064-421b-9eba-55263297d3b7>\",\"Content-Length\":\"127533\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:347d7d25-b987-4049-9fc8-9a473b5341e2>\",\"WARC-Concurrent-To\":\"<urn:uuid:f2601833-40a5-4b48-9df6-926949e1040a>\",\"WARC-IP-Address\":\"104.21.55.40\",\"WARC-Target-URI\":\"https://icsehelp.com/constructions-concise-solutions-chapter-19-icse-maths-class-10/\",\"WARC-Payload-Digest\":\"sha1:LQH2B5FYFOCRWCH5FCXMNKHOZVOXH7P2\",\"WARC-Block-Digest\":\"sha1:MBUURKBA3FCTL4YBM5AW2AXXT4FKLP3Z\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030335396.92_warc_CC-MAIN-20220929225326-20220930015326-00461.warc.gz\"}"}
https://gisresources.com/gis_interpolation_techniques_2/
[ "# Interpolation", null, "## What is Interpolation?\n\nInterpolation is a process of creating a surface based on values at isolated sample points. Sample points are locations where we collect data on some phenomenon and record the spatial coordinates. We use mathematical estimation to “guess at” what the values are “in between” those points. We can create either a raster or vector interpolated surface. Interpolation is used because field data are expensive to collect, and can’t be collected everywhere.\n\nIn another words, interpolation predicts values for cells in a raster from a limited number of sample data points. It can be used to predict unknown values for any geographic point data elevation, rainfall, temperature, chemical dispersion, noise level or other spatially-based phenomena. Interpolation is commonly a raster operation, but it can also be done in a vector environment using a TIN surface model. There are several well-known interpolation techniques, including spline and kriging.\n\n## Why to Interpolate?\n\nThe assumption that makes interpolation a viable option is that spatially distributed objects are spatially correlated; in other words, things that are close together tend to have similar characteristics. For instance, if it is raining on one side of the street, you can predict with a high level of confidence that it is raining on the other side of the street. You would be less certain if it was raining across town and less confident still about the state of the weather in the next county.\n\nUsing the above analogy, it is easy to see that the values of points close to sampled points are more likely to be similar than those that are farther apart. This is the basis of interpolation. A typical use for point interpolation is to create an elevation surface from a set of sample measurements.", null, "The left-hand graphic above is a point dataset of known values. The right hand graphic is a raster interpolated from these points. Unknown values are predicted with a mathematical formula that uses the values of nearby known points.\n\n### Spatial Interpolation\n\nSpatial interpolation is the process of using points with known values to estimate values at other unknown points. For example, to make a precipitation (rainfall) map for your country, you will not find enough evenly spread weather stations to cover the entire region. Spatial interpolation can estimate the temperatures at locations without recorded data by using known temperature readings at nearby weather stations. This type of interpolated surface is often called a statistical surface. Elevation data, precipitation, snow accumulation, water table and population density are other types of data that can be computed using interpolation.\n\n• Interpolation uses vector points with known values to estimate values at unknown locations to create a raster surface covering an entire area.\n• The interpolation result is typically a raster layer.\n• It is important to find a suitable interpolation method to optimally estimate values for unknown locations.\n\nBecause of high cost and limited resources, data collection is usually conducted only in a limited number of selected point locations. In GIS, spatial interpolation of these points can be applied to create a raster surface with estimates made for all raster cells.\n\nIn order to generate a continuous map, for example, a digital elevation map from elevation points measured with a GPS device, a suitable interpolation method has to be used to optimally estimate the values at those locations where no samples or measurements were taken. The results of the interpolation analysis can then be used for analyses that cover the whole area and for modelling.\n\nMuch geographical data is collected at sample points (for example, at climate stations). From these known points, it is possible to estimate values in between the points using an interpolation algorithm. This creates a continuous surface from discrete points. Estimating values outside the geographical range of the known points is known as extrapolation.\n\nThe purpose of interpolating data in a GIS is often to create continuous surfaces from point or line data. For example, contour lines showing the topography can be interpolated to create a Digital Elevation Model (DEM), which is a continuous surface showing the elevation in a gridded (raster) model.\n\n#### Spatial Interpolation May Be Used In GIS:\n\n• To provide contours for displaying data graphically.\n• To calculate some property of the surface at a given point.\n• To change the unit of comparison when using different data structures in different layers frequently used as an aid in the spatial decision making process both in physical and human geography and in related disciplines such as mineral prospecting and hydrocarbon exploration.\n\n## Things to be Aware of:\n\nIt is important to remember that there is no single interpolation method that can be applied to all situations. Some are more exact and useful than others but take longer to calculate. They all have advantages and disadvantages. In practice, selection of a particular interpolation method should depend upon the sample data, the type of surfaces to be generated and tolerance of estimation errors. Generally, a three step procedure is recommended:\n\n• Evaluate the sample data. Do this to get an idea on how data are distributed in the area, as this may provide hints on which interpolation method to use.\n• Apply an interpolation method which is most suitable to both the sample data and the study objectives. When you are in doubt, try several methods, if available.\n• Compare the results and find the best result and the most suitable method. This may look like a time    consuming process at the beginning. However, as you gain experience and knowledge of different interpolation methods, the time required for generating the most suitable surface will be greatly reduced.\n• The characteristics of an interpolated surface can be controlled by limiting the input points used in the calculation of output cell values.\n\nThe characteristics of an interpolated surface can be controlled by limiting the input points used in the calculation of output cell values. This can be done by limiting the number of points sampled or the area from which sampled points are taken. Specifying the maximum number of points to be sampled will return the points closest to the output cell location until the maximum number is reached. Alternatively, specifying a fixed radius in map units will select only input points within the radius distance from the center of the output cell unless there are not enough points within that radius.", null, "The characteristics of an interpolated surface can be controlled\nby limiting the input points used. Points can be limited by\nspecifying a maximum number of points, which will select the\nnearest points until that maximum number of points is reached.\nAlternatively, a radius can be specified in map units.\n\nMany interpolation tools incorporate barriers that define and control surface behavior in terms of smoothness and continuity. Barriers are needed because sometimes interpolation operations should not be performed across features, such as fault lines, levees, cliffs, and streams, that create a linear discontinuity in the surface. By using barriers, changes in\nthe behavior of the surface can be described and enforced.", null, "Barriers, which reflect the presence of fault lines, cliffs,\nstreams, and other features that create linear discontinuity in\nsurfaces, also control how surfaces are generated. IDW and\nKriging support the use of barriers.\n\nThe available interpolation methods are Inverse Distance Weighted, Spline and Kriging. They make certain assumptions about how to determine the best estimated values. Based on the phenomena the values represent and on how the sample points are distributed, different interpolators will produce better estimates relative to the actual values. No matter which interpolator is selected, however, the more input points and the greater their distribution, the more reliable the results.\n\n## Examples of Interpolation Applications\n\nSome typical examples of applications for the interpolation tools follow. The accompanying illustrations will show the distribution and values of sample points and the raster generated from them.\n\n#### Interpolating a rainfall surface\n\nThe input here is a point dataset of known rainfall-level values, shown by the illustration on the left. The illustration on the right shows a raster interpolated from these points. The unknown values are predicted with a mathematical formula that uses the values of nearby known points.", null, "Image; Courtesy @ ESRI\n\n#### Interpolating an elevation surface\n\nA typical use for point interpolation is to create an elevation surface from a set of sample measurements.\n\nIn the following graphic, each symbol in the point layer represents a location where the elevation has been measured. By interpolating, the values for each cell between these input points will be predicted.", null, "Image; Courtesy @ ESRI\n\n### Interpolating a concentration surface\n\nIn the example below, the interpolation tools were used to study the correlation of the ozone concentration on lung disease in California. The image on the left shows the locations of the ozone monitoring stations. The image on the right displays the interpolated surface, providing predictions for each location in California. The surface was derived using kriging.\n\nRelated Topics\n\nReferences:\n\nUniversity of the Western Cape\n\nESRI Education Services\n\nIDRRE – Institute for Digital Research and Education\n\nKriging Interpolation by Chao-yi LangDept. of\n\nPollution models and inverse distance weighting: Some critical remarks by Louis de Mesnard\n\nOverview of IDW – Penn State University\n\nReference:\n\nESRI: Interpolating Surfaces in ArcGIS Spatial Analyst\n\nCategories: GIS" ]
[ null, "https://gisresources.com/wp-content/uploads/2013/10/raster-interpolation-800x500_c.jpg", null, "http://www.gisresources.com/wp-content/uploads/2013/10/POINT_AREA.jpg", null, "http://www.gisresources.com/wp-content/uploads/2013/10/Characteristics.jpg", null, "http://www.gisresources.com/wp-content/uploads/2013/10/Barriers.jpg", null, "http://www.gisresources.com/wp-content/uploads/2013/10/rainfall.jpg", null, "http://www.gisresources.com/wp-content/uploads/2013/10/elevation.jpg", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9004893,"math_prob":0.95738316,"size":9222,"snap":"2022-40-2023-06","text_gpt3_token_len":1685,"char_repetition_ratio":0.17205468,"word_repetition_ratio":0.07197232,"special_character_ratio":0.17523314,"punctuation_ratio":0.087286524,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96705246,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12],"im_url_duplicate_count":[null,3,null,6,null,6,null,6,null,6,null,6,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-09-28T15:59:55Z\",\"WARC-Record-ID\":\"<urn:uuid:cec7af1a-ba72-45fa-b1f1-56175ef2fe50>\",\"Content-Length\":\"101608\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2678b949-cf10-43ee-bca0-e32fcbd95ae7>\",\"WARC-Concurrent-To\":\"<urn:uuid:8dd9470b-0e49-4d2f-9c42-2f102f1e6d41>\",\"WARC-IP-Address\":\"18.232.245.187\",\"WARC-Target-URI\":\"https://gisresources.com/gis_interpolation_techniques_2/\",\"WARC-Payload-Digest\":\"sha1:YX5RUC7KSF2HTGRN2FJPSXTXMG6EUQKD\",\"WARC-Block-Digest\":\"sha1:JGHDLOZY7CVAAIT3HYZTNSJVKONBEYDT\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030335257.60_warc_CC-MAIN-20220928145118-20220928175118-00696.warc.gz\"}"}
https://cloud-hosting.io/c-program-for-runga-kutta-method-of-4th-order/
[ "# c program for Runga-kutta method of 4th order\n\n#include<stdio.h>\n#include<math.h>\nfloat f(float x,float y)\n{\nfloat f;\n\nf=((1/(x+y)));\nreturn (f);\n}\n\nint main()\n\n{\nfloat x0,y0,h,xn,k,k1,k2,k3,k4;\nprintf(“n Enter the initial value that is x0 and y0n”);\nscanf(“%f%f”,&x0,&y0);\n\nprintf(“n Enter the value of hn”);\nscanf(“%f”,&h);\n\nprintf(“n Enter the value of x for which we need to find the value of yn”);\nscanf(“%f”,&xn);\ndo\n{\nk1=h*f(x0,y0);\nk2=h*f(x0+(h/2),y0+(k1/2));\nk3=h*f(x0+(h/2),y0+(k2/2));\nk4=h*f(x0+h,y0+k3);\nk=(k1+2*k2+2*k3+k4)/6;\ny0=y0+k;\nx0=x0+h;\nprintf(“n%f %f”,x0,y0);\n}\nwhile(x0<xn);\nprintf(“n value of y=%f”,y0);\n}\n\noutput:\nEnter the initial value that is x0 and y0\n0\n1\nEnter the value of h\n.1\nEnter the value of x for which we need to find the value of y\n.1\n0.100000 1.091389\nvalue of y=1.091389" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.5253844,"math_prob":0.99975055,"size":937,"snap":"2021-21-2021-25","text_gpt3_token_len":381,"char_repetition_ratio":0.20900321,"word_repetition_ratio":0.37956205,"special_character_ratio":0.44076842,"punctuation_ratio":0.19636364,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9996786,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-20T07:13:47Z\",\"WARC-Record-ID\":\"<urn:uuid:f7839373-2652-40b5-9e96-f08a68f38012>\",\"Content-Length\":\"110121\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:85a429c3-da9a-4f69-a977-3ffcab2c16a1>\",\"WARC-Concurrent-To\":\"<urn:uuid:b5fe91e2-3332-458f-ba1c-b090fb8944d6>\",\"WARC-IP-Address\":\"104.21.4.163\",\"WARC-Target-URI\":\"https://cloud-hosting.io/c-program-for-runga-kutta-method-of-4th-order/\",\"WARC-Payload-Digest\":\"sha1:MSUA7A6RO453XV7I56P3N5MZEBNRLCSY\",\"WARC-Block-Digest\":\"sha1:OWXCDGOPZJQZIKWIHK5ZEEKTCJ2VD4V6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623487658814.62_warc_CC-MAIN-20210620054240-20210620084240-00114.warc.gz\"}"}
https://be10x.in/blog/excel-formula-bot/
[ "# Excel Formula Bot: The Ultimate Guide for Beginners", null, "Other than those who truly enjoy numbers, nobody really “enjoys” using Excel, do they? Especially if you are unaware of its nuances, from formulas to data arrangement. So, how do we get around using Excel daily but not having to deal with a headache every time we do so?\n\nExcel formula bot.\n\nThat’s the solution that you need in such scenarios. Powered by state-of-the-art AI, this formula bot automates the process of inputting formulas for data calculations on your sheet. Once you use Excel formula bot, you practically become an efficient performer who gets work done faster than others.\n\nSo, how does the Excel formula bot work? What are its benefits? How can you use it right away? To answer these and more, keep reading our ultimate guide to using the Excel formula bot below.\n\n## What is the Excel formula bot?\n\nThe Excel formula bot is an all-in-one tool built to bring AI-driven formula generation, data analysis, and data preparation under a single roof. The formula bot is already being used by various Fortune 500 companies, startups, and fast-scaling enterprises like Oracle, Amazon, Accenture, Tesla, and more.\n\nThe tool is designed to simplify the process of handling Excel data. All you need to do is upload your data or sheet, and the tool will generate whatever formula you need, analyze the data to provide charts and recommendations, and even automate tasks using its predefined functions, such as data classification, sentiment analysis, and more.\n\n## How does the Excel formula bot work?\n\nThe formula bot uses AI and machine learning algorithms to do whatever task you want it to, provided you have the appropriate data on your sheet. This is the result of its robust AI integration, where it integrates AI into your spreadsheet, taking most of the work off your plate. Using AI, it analyzes and understands the data, and then interprets your command to generate a formula or analyze the data.\n\nCurrently, there are two ways you can use the formula bot: via its Excel add-in or the web application.\n\nNew to using Excel? Learn all about streamlining Excel and other Microsoft Suite application tasks through AI with the Be10X AI tools workshop for beginners. Know more here.\n\n## How to add formula bot in Excel?\n\nIf you’re wondering “How do I add a formula bot in Excel?’, it’s quite simple. Follow these steps:\n\n• Type ‘formula bot’ in the search bar that pops up.\n• The page will display ‘Formula Bot | AI Data Prep’ add-in. Click on ‘Add’.\n\nThat’s it! This will add the formula bot to your Excel. Once done, use these steps:\n\n• Open up your Excel sheet.\n• Select the cell where you want to use the bot.\n• Tell the bot what to do. For instance, if you want to add the values between cell A1 to A10, write “sum AT to A10”. The bot will automatically generate and input the formula on that cell to add the values instantly.\n\nNow, if you want to use the web application, follow the steps below:\n\n• Visit https://formulabot.com/\n• Once done, you can directly upload your sheet, type in the command like you would on ChatGPT, and you’ll get the formula you need.\n• Copy-paste the formula onto your desired cell to get the results.\n\n## Why use the Excel formula bot?\n\nThere’s more this formula bot can do, other than suggesting formulas. Take a look at what it’s capable of:\n\n• Explaining the structure and purpose of existing formulas.\n• Extract any information you need from text within a given cell.\n• Determine the sentiment of a text as neutral, positive, or negative.\n• Help in use cases like measuring campaign effectiveness, identifying correlations between metrics, and visualizing sales channel performance.\n• Generating Apps Script or VBA code for automating Excel tasks.\n• Customizing your input based on anything you type.\n• Generating instructions for non-formula tasks like creating charts, formatting data, etc.\n• Classify selected data into multiple categories.\n• Generating regular expressions to create patterns for matching, locating, and managing text.\n\nIn a nutshell, using the Excel formula bot helps you unlock massive accuracy and precision through AI. By submitting natural language requests, you can get corresponding formulas that are precise and get your job done within seconds. So, when you’re creating Excel files, the error is minimized too.\n\nCheck out the Be10X artificial intelligence workshop to understand how to leverage AI for automating tasks on Excel and other Microsoft applications. Learn more here.\n\n## Formula bot pricing plans\n\nThe formula bot offers both free and premium pricing gplans. Here are the details for each:\n\nFree plan:\n\nThe free plan is ideal if you aren’t a power Excel user and want to get assistance occasionally. With this plan, you will get:\n\n• 10 data analyzer messages/month\n• 5 formula generations/month\n\nIf you work with data analysis and formulas in Excel regularly, the premium plan is a better fit. Here’s what you will get with premium plan:\n\n• Unlimited data analyzer usage\n• Unlimited formula generations\n\nThe premium plan is usually priced at \\$10.99/month. However, the website is currently running a special deal where you can get the plan for \\$6.99/month.\n\n• ✴︎\n\n## Conclusion\n\nIt’s hard to think of getting work done without Excel. Whether you’re listing down your daily tasks or tracking down company metrics, you need Excel around, but that doesn’t mean you have to deal with its difficult tasks. The Excel formula bot is here to help, and it does a great job of doing the same.\n\nHowever, if you’d like to learn more about harnessing AI for automating Microsoft Suite tasks, Be10X offers a comprehensive AI workshop. Driven by hands-on learning and intricate explanations, the workshop explains the workings of AI tools and how you can use them to automate daily tasks on Microsoft apps like Excel. Learn more here.\n\nQ: How does the Excel formula bot work?\n\nThe Excel formula bot uses AI and machine learning to analyze user input and generate results accordingly. Hence, if you give it a specific command, such as finding the sum of the values in two cells, it will analyze the command and generate the appropriate formula to calculate the sum automatically." ]
[ null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201024%20576'%3E%3C/svg%3E", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.86467177,"math_prob":0.6767377,"size":7189,"snap":"2023-40-2023-50","text_gpt3_token_len":1530,"char_repetition_ratio":0.15963814,"word_repetition_ratio":0.024793388,"special_character_ratio":0.21129504,"punctuation_ratio":0.12588401,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9629181,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-07T14:17:21Z\",\"WARC-Record-ID\":\"<urn:uuid:3bf5802d-b181-43b4-92d6-dcdd2b45c97c>\",\"Content-Length\":\"224430\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8eec30d8-b52a-4f40-833f-ef43ecbc1e08>\",\"WARC-Concurrent-To\":\"<urn:uuid:03cc4601-87b9-4107-b2db-b5ff56516f2d>\",\"WARC-IP-Address\":\"104.26.8.227\",\"WARC-Target-URI\":\"https://be10x.in/blog/excel-formula-bot/\",\"WARC-Payload-Digest\":\"sha1:VT323MY7APLNVMBB2ZZIAYQD7U4ZKCKF\",\"WARC-Block-Digest\":\"sha1:HUVZA2VSPV2URWSSVS5YUMAH6SYNLN32\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100674.56_warc_CC-MAIN-20231207121942-20231207151942-00240.warc.gz\"}"}
http://www.mathnet.ru/php/archive.phtml?wshow=paper&jrnid=vyuru&paperid=554&option_lang=eng
[ "Vestnik Yuzhno-Ural'skogo Universiteta. Seriya Matematicheskoe Modelirovanie i Programmirovanie", null, "General information", null, "Latest issue", null, "Archive", null, "Submit a manuscript", null, "Search papers", null, "Search references", null, "RSS", null, "Latest issue", null, "Current issues", null, "Archive issues", null, "What is RSS\n\n Vestnik YuUrGU. Ser. Mat. Model. Progr.: Year: Volume: Issue: Page: Find\n\n Personal entry: Login: Password: Save password Enter", null, "Forgotten password?", null, "Register\n\n Vestnik YuUrGU. Ser. Mat. Model. Progr., 2020, Volume 13, Issue 3, Pages 17–28 (Mi vyuru554)", null, "", null, "Mathematical Modelling\n\nMathematical model of the acceleration laminar flow of a newtonian fluid in an anisotropic porous channel of rectangular cross section\n\nV. I. Ryazhskih, A. V. Keller, A. V. Ryazhskikh, A. V. Nikolenko, S. V. Dakhin\n\nVoronezh State Technical University, Voronezh, Russian Federation\n\nAbstract: Based on the Darcy–Brinkman–Forchchimer equations without taking into account the inertia and assuming the unity of the synthesis of the synthesized three-dimensional mathematical model of the accelerating-laminar flow of a viscous incompressible fluid in an anisotropic origin of a rectangular section, taking into account the time of creation of a constant pressure. In order to investigate and analyze the orthopedic structure, all diagonal components were found to determine the primary and boundary value problems for the momentum equations, which solve analytically semilacial and finite Fourier integral sine transforms. It is believed that the application of the developed model for estimating time and differences depending on the time it takes to reach constant pressure gradients, permeability coefficients, and the angle of inclination in an anisotropic system.\n\nKeywords: mathematical model, porosity, anisotropy, permeability, channel with a rectangular cross-section, viewing time.\n\n Funding Agency Grant Number Russian Foundation for Basic Research", null, "19-38-90114\n\nDOI: https://doi.org/10.14529/mmp200302", null, "", null, "Full text: PDF file (246 kB)", null, "References: PDF file   HTML file\n\nUDC: 621.1.016.4(03)\nMSC: 35K60\n\nCitation: V. I. Ryazhskih, A. V. Keller, A. V. Ryazhskikh, A. V. Nikolenko, S. V. Dakhin, “Mathematical model of the acceleration laminar flow of a newtonian fluid in an anisotropic porous channel of rectangular cross section”, Vestnik YuUrGU. Ser. Mat. Model. Progr., 13:3 (2020), 17–28", null, "Citation in format AMSBIB\n\\Bibitem{RjaKelRya20} \\by V.~I.~Ryazhskih, A.~V.~Keller, A.~V.~Ryazhskikh, A.~V.~Nikolenko, S.~V.~Dakhin \\paper Mathematical model of the acceleration laminar flow of a newtonian fluid in an anisotropic porous channel of rectangular cross section \\jour Vestnik YuUrGU. Ser. Mat. Model. Progr. \\yr 2020 \\vol 13 \\issue 3 \\pages 17--28 \\mathnet{http://mi.mathnet.ru/vyuru554} \\crossref{https://doi.org/10.14529/mmp200302} \n\n SHARE:", null, "", null, "", null, "", null, "", null, "", null, "", null, "Contact us: math-net2021_10 [at] mi-ras ru", null, "Terms of Use", null, "Registration to the website", null, "Logotypes © Steklov Mathematical Institute RAS, 2021" ]
[ null, "http://www.mathnet.ru/gifs/ar9.gif", null, "http://www.mathnet.ru/gifs/ar9.gif", null, "http://www.mathnet.ru/gifs/ar8.gif", null, "http://www.mathnet.ru/gifs/ar9.gif", null, "http://www.mathnet.ru/gifs/search.gif", null, "http://www.mathnet.ru/gifs/search.gif", null, "http://www.mathnet.ru/gifs/rss.gif", null, "http://www.mathnet.ru/gifs/1pts.gif", null, "http://www.mathnet.ru/gifs/1pts.gif", null, "http://www.mathnet.ru/gifs/1pts.gif", null, "http://www.mathnet.ru/gifs/1pts.gif", null, "http://www.mathnet.ru/images/ar5.gif", null, "http://www.mathnet.ru/images/ar5.gif", null, "http://www.mathnet.ru/images/prev2.gif", null, "http://www.mathnet.ru/images/next2.gif", null, "http://www.mathnet.ru/reficons/fundref.gif", null, "http://www.mathnet.ru/reficons/crossref.gif", null, "http://www.mathnet.ru/gifs/wvolsa.gif", null, "http://www.mathnet.ru/gifs/wvolsa.gif", null, "http://www.mathnet.ru/gifs/flash.jpg", null, "http://www.mathnet.ru/social/vkontakte.gif", null, "http://www.mathnet.ru/social/facebook.png", null, "http://www.mathnet.ru/social/twitter.png", null, "http://www.mathnet.ru/social/mail.gif", null, "http://www.mathnet.ru/social/lj.gif", null, "http://www.mathnet.ru/social/memori.png", null, "http://www.mathnet.ru/images/man1.jpg", null, "http://www.mathnet.ru/gifs/ar4.gif", null, "http://www.mathnet.ru/gifs/ar4.gif", null, "http://www.mathnet.ru/gifs/ar4.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.69779116,"math_prob":0.44915688,"size":2603,"snap":"2021-43-2021-49","text_gpt3_token_len":754,"char_repetition_ratio":0.10196229,"word_repetition_ratio":0.21037464,"special_character_ratio":0.2520169,"punctuation_ratio":0.23121387,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9528775,"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],"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],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-28T01:45:42Z\",\"WARC-Record-ID\":\"<urn:uuid:bbecc159-ed4a-4352-90c7-13dd05077215>\",\"Content-Length\":\"29706\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:588ebcc8-4fb9-429d-b6c5-26ea9acde06b>\",\"WARC-Concurrent-To\":\"<urn:uuid:e24e45e1-05fd-4a3a-b5e9-91c3325465be>\",\"WARC-IP-Address\":\"185.129.147.141\",\"WARC-Target-URI\":\"http://www.mathnet.ru/php/archive.phtml?wshow=paper&jrnid=vyuru&paperid=554&option_lang=eng\",\"WARC-Payload-Digest\":\"sha1:BJNTCPSZX4EDIKYBA7UTNZOTCGQZKUT4\",\"WARC-Block-Digest\":\"sha1:5JVU5JVCBBXSRFT7INDSXMTVUFAM5PXS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323588246.79_warc_CC-MAIN-20211028003812-20211028033812-00047.warc.gz\"}"}
https://bbs.d.163.com/forum.php?mod=viewthread&tid=174591957&extra=page%3D1
[ "//没登陆", null, "期待无形安头了\nwlwsor#3155\n\n24=2 25=7 26=2 27=2 28=1 29=3 30=1\n31=2 32=1 33=1\n\n27=1 25=1 24=2\nItem:15 15 mp+  200/9 wxtt\n 194 14的", null, "wlwsor#3155\n\n24=2 25=7 26=2 27=2 28=1 29=3 30=1\n31=2 32=1 33=1\n\n27=1 25=1 24=2\nItem:15 15 mp+  200/9 wxtt" ]
[ null, "https://ok.166.net/forum/d3/forum/202206/19/205407s9utqksbii5vsgz5.jpg", null, "https://bbs.d.163.com/static/image/smiley/D3/d27.gif", null ]
{"ft_lang_label":"__label__zh","ft_lang_prob":0.70869786,"math_prob":0.99674934,"size":749,"snap":"2022-27-2022-33","text_gpt3_token_len":663,"char_repetition_ratio":0.08590604,"word_repetition_ratio":0.42647058,"special_character_ratio":0.5460614,"punctuation_ratio":0.035532996,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.000008,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-13T21:05:53Z\",\"WARC-Record-ID\":\"<urn:uuid:80873095-f7e3-40eb-a4af-fd1a207ab8bd>\",\"Content-Length\":\"30204\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6179fea3-2345-4194-9afe-846f2f00e115>\",\"WARC-Concurrent-To\":\"<urn:uuid:71569d55-455b-454a-9b9e-c43be4a3a1de>\",\"WARC-IP-Address\":\"42.186.120.231\",\"WARC-Target-URI\":\"https://bbs.d.163.com/forum.php?mod=viewthread&tid=174591957&extra=page%3D1\",\"WARC-Payload-Digest\":\"sha1:4AFMOUGTJ4W2TIMMLJZMEUENYSHLYIXS\",\"WARC-Block-Digest\":\"sha1:4AB7RHGMVWSRJP3OI4JC4MMDTWAW4ALA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882571987.60_warc_CC-MAIN-20220813202507-20220813232507-00596.warc.gz\"}"}
https://msp.org/obs/2013/1-1/p21.xhtml
[ "#### Vol. 1, No. 1, 2013\n\n Download this article", null, "For screen For printing", null, "", null, "Recent Volumes 2: ANTS XIII 1: ANTS X", null, "", null, "The Open Book Series About the Series Ethics Statement Other MSP Publications\nOn the density of abelian surfaces with Tate-Shafarevich group of order five times a square\n\n### Stefan Keil and Remke Kloosterman\n\nVol. 1 (2013), No. 1, 413–435\n##### Abstract\n\nLet $A={E}_{\\mathfrak{1}}×{E}_{\\mathfrak{2}}$ be the product of two elliptic curves over $ℚ$, each having a rational $\\mathfrak{5}$-torsion point ${P}_{i}$. Set $B:=A∕〈\\left({P}_{\\mathfrak{1}},{P}_{\\mathfrak{2}}\\right)〉$. In this paper we give an algorithm to decide whether the order of the Tate-Shafarevich group of the abelian surface $B$ is square or five times a square, under the assumptions that we can find a basis for the Mordell-Weil groups of ${E}_{\\mathfrak{1}}$ and ${E}_{\\mathfrak{2}}$ and that the Tate-Shafarevich groups of ${E}_{\\mathfrak{1}}$ and ${E}_{\\mathfrak{2}}$ are finite.\n\nWe considered all pairs $\\left({E}_{\\mathfrak{1}},{E}_{\\mathfrak{2}}\\right)$ with prescribed bounds on the conductor and the coefficients in a minimal Weierstrass equation. In total we considered around $\\mathfrak{2}\\mathfrak{0}.\\mathfrak{0}$ million abelian surfaces, of which $\\mathfrak{4}\\mathfrak{9}.\\mathfrak{1}\\mathfrak{6}%$ have Tate-Shafarevich groups of nonsquare order.\n\n##### Keywords\nTate-Shafarevich groups, abelian surface, Cassels-Tate equation\n##### Mathematical Subject Classification 2010\nPrimary: 11G10\nSecondary: 11G40, 14G10, 14K15\n##### Milestones\nPublished: 14 November 2013\n##### Authors\n Stefan Keil Institut für Mathematik Humboldt-Universität zu Berlin Unter den Linden 6 D-10099 Berlin Germany Remke Kloosterman Institut für Mathematik Humboldt-Universität zu Berlin Unter den Linden 6 D-10099 Berlin Germany", null, "" ]
[ null, "https://msp.org/obs/etc/icon-pdf-lg.gif", null, "https://msp.org/obs/etc/z.gif", null, "https://msp.org/obs/etc/z.gif", null, "https://msp.org/obs/etc/z.gif", null, "https://msp.org/obs/etc/z.gif", null, "https://msp.org/obs/etc/z.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8556802,"math_prob":0.9949786,"size":616,"snap":"2020-24-2020-29","text_gpt3_token_len":164,"char_repetition_ratio":0.11764706,"word_repetition_ratio":0.0,"special_character_ratio":0.18831168,"punctuation_ratio":0.07079646,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9976786,"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\":\"2020-05-28T15:03:14Z\",\"WARC-Record-ID\":\"<urn:uuid:c29f3e16-b542-440a-8396-dc5d7b8264db>\",\"Content-Length\":\"15164\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:bef0e417-0e8e-4e39-b9c9-92749a9c2f2f>\",\"WARC-Concurrent-To\":\"<urn:uuid:0e1b5da0-f432-4e8f-8c91-92d46781ee1d>\",\"WARC-IP-Address\":\"157.230.198.26\",\"WARC-Target-URI\":\"https://msp.org/obs/2013/1-1/p21.xhtml\",\"WARC-Payload-Digest\":\"sha1:TRQQOW6GMXTJQTIRTYUHZ67ZPADSPFSD\",\"WARC-Block-Digest\":\"sha1:UJWN2ZUZ6DN2RGBCSLPNBK5APQLIGIQ7\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-24/CC-MAIN-2020-24_segments_1590347399820.9_warc_CC-MAIN-20200528135528-20200528165528-00145.warc.gz\"}"}
https://mathoverflow.net/questions/323328/leray-serre-spectral-sequence-for-projective-bundles
[ "# Leray-Serre spectral sequence for projective bundles\n\nLet $$\\mathcal{E} \\rightarrow X$$ be a complex vector bundle of rank $$r+1$$ and let $$F=\\mathbb{P}^r \\rightarrow E = \\mathbb{P}\\mathcal{E}\\rightarrow X$$ be the associated projective bundle. We know that under the assumption that $$H^{\\bullet}(E) \\rightarrow H^{\\bullet}(F)$$ is surjective, by the Leray-Serre spectral sequence we have for any field $$k$$ $$H^{\\bullet}(E, k) \\simeq H^{\\bullet}(X,k) \\otimes H^{\\bullet}(F,k)$$ Where the tensor product on the right is graduated. Can we say anything more about the algebra structure of left hand side when we take $$\\mathbb{Z}$$ coefficients, maybe in terms of the Chern classes of the bundle, unravelling the definitions of the Leray-Serre spectral sequence?\n\nAs you say, if the map $$H(E)\\to H(F)$$ is surjective, the Leray-Serre spectral sequence degenerates at the $$E^2$$-page which is therefore isomorphic to the $$E^\\infty$$-page. Unwrapping the definitions, this means that there is a filtration on $$H^*(E)$$ such that the associated graded is $$H^*(X)\\otimes H^*(F)\\cong H^*(X)[x]/x^{r+1}$$. Choosing a representative of the class $$x$$, we obtain that $$H^*(E)$$ is generated as a $$H^*(X)$$-algebra (with $$H^*(X)$$ in filtration degree $$0$$) by a single element $$x$$ in degree and filtration degree $$2$$ such that $$x^{r+1}$$ sits in degree less than $$2r+2$$. This can only happen if there is a relationship of the form $$x^{r+1} = \\sum_{k=0}^r p^*\\gamma_{r+1-k}x^k$$ with $$\\gamma_k\\in H^{2k}(X)$$. Determining the concrete values of the $$c_k$$ amounts to solving the extension problem of the Leray-Serre spectral sequence, which is in a sense precisely the part of the problem the spectral sequence doesn't capture. However, in this case we can solve this problem geometrically: By construction, the pullback of $$\\mathcal E$$ to $$E$$ splits off a line bundle $$L$$, and we may take $$x = -c_1(L)$$. Since $$p^*\\mathcal E/L$$ is $$r$$-dimensional, its $$(r+1)$$-th Chern class vanishes, and the sum formula for the total Chern class yields $$c(p^*\\mathcal E/L) = c(p^*\\mathcal E)(1-x)^{-1}.$$ Expanding the second factor as $$\\sum_{k=0}^r x^k$$ and taking the resulting expression for the $$(r+1)$$-th Chern class yields $$\\gamma_k = c_k(\\mathcal E)$$. In fact, this can be used to define Chern classes for general complex oriented cohomology theories.\n• When you say: \"The pullback splits off a line bundle\" you mean you take $L$ to be line subbundle of $p^{\\ast}\\mathcal{E}$ generated by the tautological section? Feb 18, 2019 at 16:25\n• More or less - a point in $E$ is a point $x\\in X$, together with a one-dimensional subspace $V$ of $\\mathcal E_x$. The fiber of $L$ over $(x,V)$ is precisely the one-dimensional subspace $V$ of $(p^*\\mathcal E)_{(x,V)}\\cong \\mathcal E_x$. Note that $L$ is not generated by a non-vanishing section (otherwise it would be trivial, but by definition its restriction to every fiber is nontrivial), and there is no canonical section of $p^*\\mathcal E$. Feb 18, 2019 at 20:04" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8502526,"math_prob":0.9999883,"size":2976,"snap":"2023-14-2023-23","text_gpt3_token_len":896,"char_repetition_ratio":0.10699865,"word_repetition_ratio":0.0044444446,"special_character_ratio":0.2956989,"punctuation_ratio":0.07470289,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000064,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-03-27T16:27:17Z\",\"WARC-Record-ID\":\"<urn:uuid:dd9a2ebd-d087-42f8-a0a0-046f4d3a530f>\",\"Content-Length\":\"103299\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:eb2e59f3-0aa2-4e82-9e30-f26464ca18fc>\",\"WARC-Concurrent-To\":\"<urn:uuid:636407a5-e76f-4834-b4d4-abd87baaec73>\",\"WARC-IP-Address\":\"151.101.129.69\",\"WARC-Target-URI\":\"https://mathoverflow.net/questions/323328/leray-serre-spectral-sequence-for-projective-bundles\",\"WARC-Payload-Digest\":\"sha1:F4HO7MNAYDPBF5XFRL5QU6XAE2FET4CT\",\"WARC-Block-Digest\":\"sha1:Q3XHGNEO326LRXVAUDIFR4QRFBNZBLIL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296948673.1_warc_CC-MAIN-20230327154814-20230327184814-00130.warc.gz\"}"}
https://www.physicsforums.com/threads/average-distance-between-random-points-in-2d.692866/
[ "# Average distance between random points in 2D\n\n## Main Question or Discussion Point\n\nI'm looking for an analytical solution to a very simple problem I've come across.\n\nStart with a circle of radius a. Now place n points at random positions inside this circle. Can you calculate the expectation value for the mean distance between the points?\n\nFor the sake of argument can you solve this for say n=5?\n\nThis problem is very simple to solve computationally by just distributing points, measuring the distances and looping many times but I am looking for an analytical solution.\n\nHi.\n\nDistance d between the two points $(r_1,\\phi_1) and (r_2,\\phi_2)$ is\n$$d(r_1, r_2, \\phi_1, \\phi_2 )= \\sqrt{{r_1}^2 + {r_2}^2 - 2r_1 r_2 cos(\\phi_1- \\phi_2) }$$\n\nThe average distance is expressed as\n$$\\frac{1}{(\\pi a^2)^2} \\int_0^a r_1 dr_1 \\int_0^a r_2 dr_2 \\int_0^{2\\pi} d\\phi_1 \\int_0^{2\\pi} d\\phi_2 d(r_1, r_2, \\phi_1, \\phi_2 )$$.\n\nLast edited:\nIt might be simpler to consider cartesian coordinates for this case. The idea would be the same as above.\n\nBasically, you are doing the same thing as you would with any average, but this time it's infinite so you use an integral. Just sum the distance between every possible pair, then divide by the \"number of possibilities\" (the area squared)." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.907379,"math_prob":0.998984,"size":940,"snap":"2020-34-2020-40","text_gpt3_token_len":190,"char_repetition_ratio":0.107905984,"word_repetition_ratio":0.8125,"special_character_ratio":0.20212767,"punctuation_ratio":0.074285716,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9996841,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-05T01:23:46Z\",\"WARC-Record-ID\":\"<urn:uuid:bdc219cf-7dfb-4b12-b40e-06a39f97e961>\",\"Content-Length\":\"67430\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5ab73969-5f48-4ec7-8149-340fc7baee70>\",\"WARC-Concurrent-To\":\"<urn:uuid:6634716e-a878-4efa-823c-3095f3021018>\",\"WARC-IP-Address\":\"23.111.143.85\",\"WARC-Target-URI\":\"https://www.physicsforums.com/threads/average-distance-between-random-points-in-2d.692866/\",\"WARC-Payload-Digest\":\"sha1:5CIHI7CCT7OVMYBAG7H5CUOD5DCKPHU3\",\"WARC-Block-Digest\":\"sha1:MQCAO7QZ4UEMSH4PPSB53TGSKBXQA7KN\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439735906.77_warc_CC-MAIN-20200805010001-20200805040001-00237.warc.gz\"}"}
https://ask.sagemath.org/question/23811/create-an-alternative-we8-act-on-positive-roots-to-get-some-roots/
[ "# Create an alternative: W(E8) act on positive roots to get some roots", null, "", null, "W=WeylGroup(['E',8])\n\nR = RootSystem(['E',8]).root_lattice()\n\nalpha = R.simple_roots();alpha\n\n[w for w in W if w.action(alpha)==(alpha+alpha)]\n\nOutput shows : gap: cannot extend the workspace any more!\n\n*Is their any alternative calculation to simplify the above *\n\nedit retag close merge delete\n\nUp to multiplication by the simple reflection $s_1$, these elements live in the stabilizer of $\\alpha_1$. you should rather iterate over this stabilizer." ]
[ null, "https://www.gravatar.com/avatar/cb85f5378abd9f2708c8ad2857e64945", null, "https://www.gravatar.com/avatar/3807813ec3a8536fd55a3897e0ab0a21", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8005248,"math_prob":0.992967,"size":639,"snap":"2022-27-2022-33","text_gpt3_token_len":177,"char_repetition_ratio":0.09448819,"word_repetition_ratio":0.019417476,"special_character_ratio":0.29264477,"punctuation_ratio":0.12686567,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95089364,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-12T15:40:46Z\",\"WARC-Record-ID\":\"<urn:uuid:be5cfbe1-0658-4968-8d6c-bbcda35feb67>\",\"Content-Length\":\"52875\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5aca2244-da15-4a53-b13a-beaa63c12cb0>\",\"WARC-Concurrent-To\":\"<urn:uuid:4b94ba49-5b99-41e2-9763-3ad543ee98f1>\",\"WARC-IP-Address\":\"194.254.163.53\",\"WARC-Target-URI\":\"https://ask.sagemath.org/question/23811/create-an-alternative-we8-act-on-positive-roots-to-get-some-roots/\",\"WARC-Payload-Digest\":\"sha1:GPDOR54Z4KO2V7VOF2X34LBFLJGGKJPY\",\"WARC-Block-Digest\":\"sha1:Q7E5EPYVOJNK5PHCJECAN7HK3PX7L5CC\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882571719.48_warc_CC-MAIN-20220812140019-20220812170019-00734.warc.gz\"}"}
https://artofproblemsolving.com/wiki/index.php/2017_AMC_8_Problems/Problem_13
[ "# 2017 AMC 8 Problems/Problem 13\n\n## Problem\n\nPeter, Emma, and Kyler played chess with each other. Peter won 4 games and lost 2 games. Emma won 3 games and lost 3 games. If Kyler lost 3 games, how many games did he win?", null, "$\\textbf{(A) }0\\quad\\textbf{(B) }1\\qquad\\textbf{(C) }2\\qquad\\textbf{(D) }3\\qquad\\textbf{(E) }4$\n\n## Solution\n\nGiven", null, "$n$ games, there must be a total of", null, "$n$ wins and", null, "$n$ losses. Hence,", null, "$4 + 3 + K = 2 + 3 + 3$ where", null, "$K$ is Kyler's wins.", null, "$K = 1$, so our final answer is", null, "$\\boxed{\\textbf{(B)}\\ 1}.$\n\n## Video Solution (CREATIVE THINKING!!!)\n\n~Education, the Study of Everything\n\n~ pi_is_3.14\n\n## Video Solution\n\n~hisolver\n\nThe problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.", null, "" ]
[ null, "https://latex.artofproblemsolving.com/2/2/3/223cd637b3eeb5545730f097fac20c215577f9b7.png ", null, "https://latex.artofproblemsolving.com/1/7/4/174fadd07fd54c9afe288e96558c92e0c1da733a.png ", null, "https://latex.artofproblemsolving.com/1/7/4/174fadd07fd54c9afe288e96558c92e0c1da733a.png ", null, "https://latex.artofproblemsolving.com/1/7/4/174fadd07fd54c9afe288e96558c92e0c1da733a.png ", null, "https://latex.artofproblemsolving.com/a/3/a/a3a7bdc4cac611178e4ef47865f3c3773a0aa395.png ", null, "https://latex.artofproblemsolving.com/d/f/b/dfb064112b6c94470339f6571f69d07afc1c024c.png ", null, "https://latex.artofproblemsolving.com/f/0/a/f0a41c9f1d2a2affbc1d6d5f1992ce4f4250e2ee.png ", null, "https://latex.artofproblemsolving.com/1/2/8/128942f43e3095716b39418d33794c10ad9145fc.png ", null, "https://wiki-images.artofproblemsolving.com//8/8b/AMC_logo.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.73053,"math_prob":0.99177533,"size":899,"snap":"2023-40-2023-50","text_gpt3_token_len":297,"char_repetition_ratio":0.12960894,"word_repetition_ratio":0.0,"special_character_ratio":0.34816462,"punctuation_ratio":0.11931818,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9888208,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"im_url_duplicate_count":[null,1,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-12-05T05:08:56Z\",\"WARC-Record-ID\":\"<urn:uuid:d1a76791-54f4-4efd-a2e1-bcfdb3a6312f>\",\"Content-Length\":\"41510\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0f7983c6-25d1-4575-a83f-b87478c36875>\",\"WARC-Concurrent-To\":\"<urn:uuid:c2d6466b-3b8e-4018-964f-93976aaf6008>\",\"WARC-IP-Address\":\"104.26.10.229\",\"WARC-Target-URI\":\"https://artofproblemsolving.com/wiki/index.php/2017_AMC_8_Problems/Problem_13\",\"WARC-Payload-Digest\":\"sha1:SMK2O2OLNPPQTRO2UEHGU5U3FWISXQSI\",\"WARC-Block-Digest\":\"sha1:LYJXRN37HAZVX4UUAVHVKQKKRYSATF4C\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100545.7_warc_CC-MAIN-20231205041842-20231205071842-00460.warc.gz\"}"}
https://daily.jstor.org/advanced-mathematics-of-ancient-babylon/?utm_source=internalhouse&utm_medium=email&utm_campaign=jstordaily_03312016&cid=eml_j_jstordaily_dailylist_03312016
[ "As The New York Times recently reported, researchers have discovered clay tablets indicating that Babylonian astronomers were able to track Jupiter’s movement across the sky using a very advanced method, graphing the planet’s velocity over time. These Babylonian mathematicians were able to accurately predict the distance Jupiter would travel in 60 days (half the planet’s 120-day arc of visibility from Earth). The tablets are dated to about 350 BCE, fifteen centuries before a similar discovery was made in Europe. As Mathieu Ossendrijver, the scientist behind the discovery, told the Times, the etchings on the tablets display “a remarkably modern concept.”\n\n“Remarkable” is a fine description of Babylonian math. Our knowledge of this is derived from writings much older than these tablets, reaching back to 3000-2000 BCE. These early achievements may even be more amazing when you consider that, instead of the base 10 number system we use now, theirs was a unique base 60 system. The number concept of “one” was depicted as with “V” symbol, and numbers up to 60 were written out using a combination of these “V”s and “<“s, the symbol for 10. For numbers above 60, a different system was used. The Babylonian number 3 3, for example, meant 3 × 60 + 3, or 183. For larger numbers, those above 3,600, everything was scaled up and the first (leftmost) numeral referred to how many multiples of 3,600 were present. 3,600 might seem like a strange cutoff, but the use of placeholders to make large numbers manageable eluded even the famed mathematicians of ancient Greece.\n\nAlthough unwieldy, base 60 math had a few unexpected advantages. Many fractions are actually easier to reduce than in our base 10 system. Base 60 is also more intuitive than base 10 when calculating arcs of a circle.\n\nThe Babylonians knew other advanced mathematical tricks. In geometry, for instance, Babylonian mathematicians seem to have been aware of the Pythagorean Theorem long before Pythagoras, and were able to calculate the area of a trapezoid. They also estimated π to 3.125, very close to the now-accepted value of 3.14. In algebra, Babylonians apparently had the means to solve quadratic equations (remember those?) and perhaps even higher-order cubic equations.\n\nThe Babylonians’ elegant solution to the Jupiter problem will be familiar to modern students, who use similar techniques today (except for the wet clay). It has long been known that Babylonian astronomers tracked the planets with incredible precision, but not exactly how until now. And there are probably further discoveries about this ancient people’s calculating abilities to be discovered.\n\n## Resources\n\nJSTOR is a digital library for scholars, researchers, and students. JSTOR Daily readers can access the original research behind our articles for free on JSTOR.\n\nMathematics in School, Vol. 5, No. 1 (Jan., 1976), pp. 10-11\nMathematical Association" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9605203,"math_prob":0.89439917,"size":2641,"snap":"2021-21-2021-25","text_gpt3_token_len":571,"char_repetition_ratio":0.09897611,"word_repetition_ratio":0.0,"special_character_ratio":0.21658462,"punctuation_ratio":0.11020408,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95505923,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-08T15:54:38Z\",\"WARC-Record-ID\":\"<urn:uuid:56d5a067-e0f0-4cbf-9ddb-0ac02739fcc6>\",\"Content-Length\":\"64372\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:481bb207-6e0a-40ca-9e4b-aa2cf3bcbc8a>\",\"WARC-Concurrent-To\":\"<urn:uuid:7c42eb42-36ed-4796-9f13-ca2af2bf33a3>\",\"WARC-IP-Address\":\"23.185.0.2\",\"WARC-Target-URI\":\"https://daily.jstor.org/advanced-mathematics-of-ancient-babylon/?utm_source=internalhouse&utm_medium=email&utm_campaign=jstordaily_03312016&cid=eml_j_jstordaily_dailylist_03312016\",\"WARC-Payload-Digest\":\"sha1:7FH7E5SD5PQDK5V2I43KQOA5OOYZ4MDT\",\"WARC-Block-Digest\":\"sha1:QPN3HUHBPCT4SDRZUB3NAJTZB4LLRS2Q\",\"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-00160.warc.gz\"}"}
https://mathematica.stackexchange.com/questions/170076/how-can-i-force-the-z-scale-of-a-contourplot-to-plot-between-0-1-if-the-data
[ "# How can I force the z-scale of a ContourPlot to plot between (0, 1) if the data is < 1.\n\nI'm plotting reflectivity, transmission and absorption data as a function of wavelength and angle on a ContourPlot. I want all the plots to be between 0 and 1 for comparison. However, some of the plot have data < 1 in all regions, and so the data will only plot between the lowest and the highest value.\n\nI'm plotting the data using:\n\nContourPlot[Evaluate[{Absp}, {A0, 0.0, 90.0}, {lam, 300, 2000}],\nPlotLabel -> \"\",\nFrameLabel -> {\"Angle (\\[Degree])\", \"Wavelength (nm)\"},\nContourStyle -> Opacity[0.04], ColorFunction -> \"TemperatureMap\",\nFrame -> {True, True, True, True},\nPlotRange -> {{10, 80}, {900, 2000}, {0, 1}},\nPlotRangePadding -> None, Contours -> 150, ContourLabels -> None,\nPlotLegends -> Automatic, MaxRecursion -> 3]\n\n\nAs you can see, I've attempted to set the PLotRange for the z data to {0,1}, but the data persists in plotting between the lowest and highest values. (See attached image)\n\nHow can I force this to be plotted between 0 and 1?", null, "• 1. What is Absp? 2. Try ColorFunctionScaling -> False, since you said that it's guaranteed your heights are within $[0,1]$. – J. M. will be back soon Mar 29 '18 at 14:25\n• Try to use Scale[] – OkkesDulgerci Mar 29 '18 at 14:25\n• PlotRange does not scale the respective variables in their corresponding ranges; it simply uses the specified ranges when displaying the plot; since using ScalingFunctions doesn't seem to amount to much (or I couldn't make it work) perhaps you should consider Rescale-ing your data before plotting them – user42582 Mar 30 '18 at 7:17" ]
[ null, "https://i.stack.imgur.com/o1O37.jpg", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8828293,"math_prob":0.91054946,"size":1468,"snap":"2019-35-2019-39","text_gpt3_token_len":403,"char_repetition_ratio":0.1079235,"word_repetition_ratio":0.0,"special_character_ratio":0.3017711,"punctuation_ratio":0.18439716,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9800896,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-09-18T21:26:03Z\",\"WARC-Record-ID\":\"<urn:uuid:32d3f45f-e8ee-4dea-a3f0-d6cf8e04c825>\",\"Content-Length\":\"133746\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:91cf79e1-3d88-44f0-a1b8-aa0d35a99897>\",\"WARC-Concurrent-To\":\"<urn:uuid:f13dddc4-4671-4fd4-abc8-c253cf4bcd99>\",\"WARC-IP-Address\":\"151.101.193.69\",\"WARC-Target-URI\":\"https://mathematica.stackexchange.com/questions/170076/how-can-i-force-the-z-scale-of-a-contourplot-to-plot-between-0-1-if-the-data\",\"WARC-Payload-Digest\":\"sha1:D5NCBL66OURJFL63BMB7I7672CMS4JBA\",\"WARC-Block-Digest\":\"sha1:H7DXNS3JE6SMPUIIBMXWF7656LEELP4Q\",\"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-00009.warc.gz\"}"}
https://www.exceldemy.com/excel-vba-function-return/
[ "Disclosure: This post may contain affiliate links, meaning when you click the links and make a purchase, we receive a commission.\n\n# How to Return a Value in VBA Function (Both Array and Non-Array Values)\n\nIn this article, I’ll show you how you can return a value from a User-Defined Function in VBA in Excel. I’ll show you to return an array value, a non-array value, and both types of values together.\n\nHow to Return a Value in VBA Function (Quick View)\n\n``````Function Remove_Left_Characters(Str As String, Num As Integer)\n\nRemove_Left_Characters = Mid(Str, Num + 1, Len(Str) - Num)\n\nEnd Function``````", null, "Note:\n\nTo return a value from a function in VBA, you have to use the syntax:\n\n`Function Name=Return Value`\n\nAnd here we’ve used:\n\n`Remove_Left_Characters = Mid(Str, Num + 1, Len(Str) - Num)`\n\n[Remove_Left_Characters is the name of the function.]\n\n## How to Return a Value in VBA Function\n\nHere we’ve got a data set with the Names and IDs of some employees of a company called Jupyter Group.", null, "Our objective today is to create a User-Defined Function that will remove a given number of characters from the left of the IDs.\n\n### 1. Return a Non-Array Value in VBA Function\n\nFirst, we’ll develop a function to return a non-array value.\n\nThe function will take one string as the input, remove a given number of characters from the left of the input, and then return the string.\n\nThe VBA code for this will be:\n\nVBA Code:\n\n``````Function Remove_Left_Characters(Str As String, Num As Integer)\n\nRemove_Left_Characters = Mid(Str, Num + 1, Len(Str) - Num)\n\nEnd Function``````", null, "Output:\n\nEnter this function in any cell in your worksheet with two inputs: a string and a number.\n\nThe function will remove the given number of characters from the left of the string.\n\nHere we’ve entered this formula in cell D4:\n\n`=Remove_Left_Characters(C4,1)`\n\nIt has removed 1 character from the left of the string S202022 of cell C4 and returned 202022.", null, "Notes:\n\n• The code created a function called Remove_Left_Characters.\n• It takes two inputs: One string and one integer.\n• Then it returns a new string by removing the given number of characters from the left of the given string.\n• To return a value, it follows the syntax:\n`Function Name = Return Value`\n\nHere it is:\n\n`Remove_Left_Characters = Mid(Str, Num + 1, Len(Str) - Num)`\n\n### 2. Return an Array Value in VBA Function\n\nThis time I’ll show you how you can return an array of values in a function in VBA.\n\nLet’s develop a function that will take a range of cell references with strings, remove a given number of characters from the left of each string, and then return the new strings.\n\nYou can use the following VBA code for this purpose:\n\nVBA Code:\n\n``````Function Remove_Left_Characters(rng As Range, Num As Integer)\n\nDim Output As Variant\nOutput = rng\n\nFor i = 1 To UBound(Output, 1)\nFor j = 1 To UBound(Output, 2)\nOutput(i, j) = Mid(Output(i, j), Num + 1)\nNext j\nNext i\n\nRemove_Left_Characters = Output\n\nEnd Function``````", null, "Output:\n\nIt’ll take a range of cell references and a number as the input.\n\nThen it will remove the given number of characters from the left from each cell of the range, and return an array of new strings.\n\nHere in cell D4, we’ve entered the formula:\n\n`=Remove_Left_Characters(C4:C13,1)`\n\nIt has removed 1 character from the left of every string of the range C4:C13.", null, "[This is an Array Formula. So don’t forget to press CTRL+SHIFT+ENTER unless you are in Office 365.]\n\nNotes:\n\n• The code created a function called Remove_Left_Characters again.\n• It again takes two inputs: One range and one integer.\n• First, it converts the range into an array called Output.\n• Then it removes the given number of characters from the left of every string of the array called Output.\n• Finally, the array called Output is assigned as the return value of the function by following the syntax:\n`Function Name=Return Object`\n\nHere it is:\n\n`Remove_Left_Characters = Output`\n\n### 3. Return Both Types of Values in VBA Function\n\nThe first function takes a string as the input and returns another string by removing a given number of characters from the left of it.\n\nThe second function takes a range of cells with strings and returns an array by removing a given number of characters from the left of each string.\n\nThis time we’ll develop a function that takes both a single or a range of strings, and return a single value or an array of values as output.\n\nYou can use the following VBA code for this purpose:\n\nVBA Code:\n\n``````Function Remove_Left_Characters(Inpt, Num As Integer)\n\nIf VarType(Inpt) = 8204 Then\n\nDim Output As Variant\nOutput = Inpt\n\nFor i = 1 To UBound(Output, 1)\nFor j = 1 To UBound(Output, 2)\nOutput(i, j) = Mid(Output(i, j), Num + 1)\nNext j\nNext i\n\nRemove_Left_Characters = Output\n\nElse\n\nRemove_Left_Characters = Mid(Inpt, Num + 1)\n\nEnd If\n\nEnd Function``````", null, "Output:\n\nSame as the previous two methods, it takes two inputs.\n\nBut this time the first input can be either a single string or a range of strings.\n\nLet’s examine with a single string first.\n\nIn cell D4, we’ve entered the formula:\n\n`=Remove_Left_Characters(C4,1)`\n\nIt has returned the first character from the string in cell C4 and returned 202022.", null, "Again, let’s examine the function with a range of cells.\n\nThis time, in cell D5, we’ve entered the formula:\n\n`=Remove_Left_Characters(C4:C13,1)`\n\n[Array Formula. So press CTRL+SHIFT+ENTER unless you are in Office 365.]\n\nThis will remove the first character from the left of each string of the range C4:C13.", null, "Notes:\n\n• The name of the function remains the same, Remove_Left_Characters.\n• It again takes two inputs: A range or a String and an integer.\n• First, if the first argument is a range, then it converts the range into an array called Output.\n• Then it removes the given number of characters from the left of every string of the array called Output.\n• Finally, the array is assigned as the return value of the function by following the syntax:\n`Function Name=Return Object`\n\nHere it is:\n\n`Remove_Left_Characters = Output`\n• And if the first argument is not a range, then it removes the given number of characters from the left of the argument and then assigns it as the output of the function by the syntax:\n`Function Name=Return Value`\n\nHere it is:\n\n`Remove_Left_Characters = Mid(Inpt, Num + 1)`\n\n## Things to Remember\n\nIt’s better to keep separate sections for returning array values and non-array values in every function you develop in VBA. Because, in the case when you have to apply the function on a large number of cells, it’s better to use the Array Function than the Non-Array Function.\n\nAnd when you want to build an Array Function for the users, first you have to convert the range given as input into an array. Then you have to make necessary changes to the array and return it.\n\n## Conclusion\n\nUsing these methods you can return a single value or an array of values from a User-Defined Function in VBA. Do you have any questions? Feel free to ask us.", null, "", null, "" ]
[ null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20616%20225'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20445%20474'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20616%20209'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20510%20516'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20611%20344'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20515%20483'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20612%20493'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20520'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20521%20508'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2069%2069'%3E%3C/svg%3E", null, "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20160%2050'%3E%3C/svg%3E", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.7495415,"math_prob":0.950436,"size":6903,"snap":"2022-40-2023-06","text_gpt3_token_len":1683,"char_repetition_ratio":0.18669373,"word_repetition_ratio":0.30205762,"special_character_ratio":0.23815732,"punctuation_ratio":0.10357403,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9918491,"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\":\"2023-01-27T07:08:42Z\",\"WARC-Record-ID\":\"<urn:uuid:a4942c67-342f-43fb-8406-b1e2b29d0e95>\",\"Content-Length\":\"228020\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f81c463a-3e4b-4cd3-b055-cb419020d917>\",\"WARC-Concurrent-To\":\"<urn:uuid:0c8ae7af-694b-4583-a051-e722c351db89>\",\"WARC-IP-Address\":\"172.67.150.225\",\"WARC-Target-URI\":\"https://www.exceldemy.com/excel-vba-function-return/\",\"WARC-Payload-Digest\":\"sha1:G64LBNLF4LIXMHZ746XRMTLGSK4O2L5W\",\"WARC-Block-Digest\":\"sha1:R3HQ54E3UOW5PDJLZWHJXK5XYZESIRCF\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764494974.98_warc_CC-MAIN-20230127065356-20230127095356-00535.warc.gz\"}"}
http://codeforces.com/blog/Connector
[ "### Connector's blog\n\nBy Connector, 9 years ago, translation,", null, "Problems A(div2), B(div2)\n\nIn these problems you should only realize what was written is the statement. In problem B wasn't recommended to use BigInteger in Java because of slow speed.\n\nProblem C(div2), A(div1)\n\nIn this problem letters from s1 should be taken greedily: take the left letter from the right of the last used letter, if there is no necessary letter from the right of the right used letter the the search should be started from the beginning of string s1 and the answer should be increased by one. But the brute solution get TL and have complexity O(Ans * |s1|)\n\nThis solution can be optimized using the following way. For every position in s1 let's precalculate positions of the closest letters from the right of it from the alphabet. It can be done by moving from the right to the left ins s1 and remembering the last position of every type of symbol. This solution have complexity O(|s1| * K + |s2|), where K is a size of alphabet.\n\nProblem D(div2), B(div1)\n\nThere were a lot of different solutions but I will tell you the author solution. Let's precalculate [i, n]. It can be done with the time equal to O(n) moving from the right to the left. Define [i, n] as Mini. Obviously, that Mini <  = Mini + 1. Now for every position i using binary search let's find j (j > i), that Minj < ai and Minj + 1 >  = a{i}. For such j there are no walruses who have age younger then walrus i. It's obviously because Minj is the minimum on [j, n]. If there is no such j then print  - 1 else print j - i - 1.\n\nProblem E(div2), C(div1)\n\nWe will count the number of ski bases including the base consisted of empty subset of edges (before printing just subtract one). In the beginning the number of bases is equal to 1. If we connect vertexes in the same connected components then the result should be multiplied by 2 else do nothing. You should use DJS data structure to know information about connected components where vertexes are and to unite them.\n\nWhy is it correct?\nTo prove it we will use the matrix of incidence I, rows in it will be edges and columns will be vertexes. Let's define xor of two rows. Xor of two rows a и b will be row c such that ci = ai xor bi. Notice if  xor of some subset of rows is equal to a zero row then this subset form the ski base. It's correct because, the degree of contiguity of every vertex is even, so we can form an Euler cycle in every connected component. The answer is  2(m - rank(I))\n\nWhy it is correct? Let's write the number of edge from the right of each row which suit this row. While finding the matrix rank using gauss method with xor operation, we will xor the subsets from the right of the strings. In the end the subsets of edges written from the right of the zero rows will form the basis of the linear space. Thats why we can take any subset of vectors from basis and make up a new ski base. The number of these subsets is equal to 2k = 2(m - rank(I)), where k is the number of zero rows.\n\nThe last thing we should notice that the adding row is liner depended if and only if there is exist a way between the vertexes a and b (a and b are the ends of the adding edge).\n\nЗадача D(div1)\n\nLet's find all cycles in substitution:\n1 2 3 4 5 ...\na1 a2 a3 a4 a5 ...\nFor example, in sequence a = {2, 1, 4, 5, 3} exist two cycles with length 2 and 3 on positions 1 2 and 3 4 5 respectively. If the length of the cycle is more than 5, then we can take 5 consecutive elements and make a new order in such way that 4 elements will take their places where they should be in sorted array. In common: if we take p elements in a cycle of length more than p, the we can make a new order in such way that p - 1 elements  will take their places where they should be in sorted array. If the cycle length is p we can sort all the elements taking p elements from it. Next in the analysis I will define length of a cycle as a real length of a cycle - 1 (now I can say that if we take p consecutive elements then p - 1 will take the right places).\nWe also can take some elements in one and some elements in other cycles. We can make up division numbers from 2 to 5 into a sum to see how we can use them: 5, 4, 3, 2, 2 + 3, 2 + 2. We can take, for example, three elements in one cycle and two in other, their sizes were reduced by 2 and 1.\nThe task now is to get all cycle lengths equal to zero. Let's to suppose that an optimal solution have four operations which decrease the same cycle length by one. We will work with operations of 5 elements and which are not process the same cycle except one, because it's more stronger condition.\nSuch operation can be shown as a table where rows are operations, columns are cycles and cells of table are the values on which cycles will be reduced.\na    b   c    d    e\n1    2\n1        2\n1              2\n1                   2\nReplace operations this way:\na    b    c    d    e\n4\n2   1\n1    2\n2\nThe number of operations was not increased, but now we can see that if there is an optimal solution where one cycle reduced by one four times then there is an optimal solution where no cycles reduced by one four times. Look at some other replacements:\na    b    c\n2    1\n2          1\nReplace by:\na    b    c\n4\n1    1\n\nand\n\na    b    c    d\n2    1\n1         2\n1               2\nReplace by:\na    b    c    d\n4\n1   2\n2\nNow we can see that there is an optimal solution where no operation reducing one cycle in ways:1 + 1 + 1 + 1, 2 + 2, 1 + 1 + 2. That's why we can reduce any cycle by 4 while it's size is  >  = 4. Let's use zhe same method to prove that cycles of size 3 reduced by 3 in some optimal solution.\n\na    b    c\n2    1\n1          2\nReplace by:\na    b    c    d\n3\n1    2\n\nand\n\na    b    c    d\n1    2\n1         2\n1               2\nReplace by:\na    b    c    d\n3\n2   1\n1    2\n\nNow we have cycles only with size 1 or 2. Let's brute the number of operations to process like {2, 2} -  > {0, 1} (one cycle will be reduced from 2 to 1 and the other will be reduced from 2 to 0). Fix some such number and make these operations. Now we should process the maximum available operations like {2, 1} -  > {0, 0}. After it we will have no cycles or some cycles of size 1 or  some cycles of size 2. In the second case  we should do the maximum of available operations like {1, 1} -  > {0, 0} and if one cycle lasts we should do {1} -  > {0}. In the third case we should to do operations like {2} -  > {0}. Using such way we can find the optimal set of operations. We shouldn't divide cycle into a parts because it makes the number of operation bigger or the same. Stress test shows the uniting cycles will not improve the answer.\n\nProblem E(div1)\n\nWe are given the array where the value in each cell is described by the formula depends on T vali = ai + bi * T (in geometry mean it is a line equation). Lt's divide the array in blocks of size d ~ sqrt(n): [0;d), [d, d * 2), [d * 2, d * 3), ..., [d * k, n). Now let's precalculate for each block time moments when the leader of the block changes. So as we have line equation we can perform an intersection of half planes. On Oy axis values of the cells are marked and the time moments marked on Ox axis. we are interested on x coordinate of points of intersections  and number of leader after time x. So now we know time moment of leader changing for every block. For each block it takes O(d * log(d)) time. The number of blocks (k) is about n / d ~ n / sqrt(n) ~ sqrt(n) so all the process will take O(n * log(n)) time.\n\nLet's sort all queries by increasing ti. Now we should to perform queries one by one. Brute all blocks which lay into the query interval. For each such block we will keep up the leader for current time. For this let's process all the time moment of leader changing until ti inclusively and relax leader on the current block. The time moments which ware processed should be erased, they are not keep any useful information ,because all queries sorted by ti.  Let's process all cells which were not covered by the processed blocks but covered by the query and relax the leader for the query.\n\nThe number of erasing time moments of leader changing is not mere then n and every query need O(sqrt(n)) time to calculate answer without erasing time moments. So the complexity of algorithm is O(n * log(n) + m * sqrt(n))\n\nInterval tree also can be used to solve this problem. Such solution has complexity O(n * log(n)), but O(n * log(n)) memory.", null, "Tutorial of Codeforces Beta Round #75 (Div. 1 Only)", null, "Tutorial of Codeforces Beta Round #75 (Div. 2 Only)", null, "By Connector, 9 years ago, translation,", null, "Hello everyone.\n\nToday I am an author of the contest. This round is for both divisions. There will be five problems in each division. This is my second round on the Codeforces. The actors in this contest will be walruses again =)\n\nI want to thank Codeforces and Alias for helping me to prepare the round.\n\nGood luck!\n\nUPD1:\n\nPoints for problems in div1: 500-1000-1500-2500-2500\n\nPoints for problems in div2: 500-1000-1500-2000-2500", null, "Announcement of Codeforces Beta Round #75 (Div. 1 Only)", null, "Announcement of Codeforces Beta Round #75 (Div. 2 Only)", null, "By Connector, 10 years ago, translation,", null, "Problem A.\n\nLet's define a half-filled square of size k as an empty square of size k after adding a cookie of the biggest posible size.\n\nNotice, that if we add a cookie of the biggest possible size into the half-filled square of size 2n × 2n, it will be divided into three half-filled squares of size 2n - 1 × 2n - 1 and one filled square. After performing the same actions with the three half-filled squares we will get nine half-filled squares of size 2n - 2 × 2n - 2 and so on. It's easy to get the formula f(n) = 3 * f(n - 1), f(0) = f(1) = 1. 3n - 1 (for n > 0) and 1 (for n = 0).\n\nProblem B.\n\nIt's obviously, that sentences should be added into the SMS greedily. Really, if we put the sentence into the new message, when it's possible to add into previous, the number of messages may be increased. The only thing you should pay attention is correct processing whitespaces between the sentences.\n\nProblem C.\n\nLet's learn how to solve more easy problem: it's need to count a number of lucky tickets with 1 ≤ a ≤ x and 1 ≤ b ≤ y. Rewrite sentence a * b = rev(a) * rev(b) as a / rev(a) = rev(b) / b. Brute all a and count a number of irreducible fractions a / rev(a) using, for example, map from STL. Now for every b you should count the number of fractions a / rev(a) equal to rev(b) / b and add to answer.\n\nCome back to our problem.\n\nIf the number of lucky tickets with 1 ≤ a ≤ maxx and 1 ≤ b ≤ maxy less than w, it should be printed  - 1. If the solution exist, let's use the method of two pointers.\n\nWe need to keep up the quantity of lucky tickets with 1 ≤ a ≤ x and 1 ≤ b ≤ y for some state (x, y) an change it to (x,y+1), (x+1,y), (x,y-1), (x-1,y). That's why we create two structures of type map (named m1 and m2). Let's learn how to change state from (x,y) to (x,y+1), (x+1,y), (x,y-1), (x-1,y). If we want to increase  (decrase) the value of x, we should add (subtract) m2[x/rev(x)] to (from) the number of lucky tickets and increase (decrease) m1[x/rev(x)] by one. In the case of changing y you should do the similar actions.\n\nLet's set the state (x, y), where x = maxx, y = 1 and count the quantity of lucky tickets for it. We will be increase y, while the number of lucky tickets is less than w. Obviously, that it will be the least y for x, such as it will be enough lucky tickets in the range. Relax the answer. You had to decrease x by one and do the same actions while x is greater than one.\n\nThe anser have the least value of x * y because we relaxed it with the optimal state for every x.\n\nSo, the x was equael to every value between 1 and maxx not more than once. The similar is correct for y because it was only increasing. The time need for change the value in map is O(log(map_size)), that's why the algorithm lave an asymptotic form as O(maxx * log(maxy) + maxy * log(maxx)).\n\nProblem D.\n\nNotice, that any point from the triangle based on first three points will be into the area bounded with the convex hull in the future. Let choose one of these points ad set it as the origin. All points of convex hull will keep in structure like map in C++, where the key is the angle of vector from the origin to a point. No two points from the hull will have the same angle.\n\nHow to answer the second-type queries? For the point from the query (A) let's find the closest point clockwise (B) and the closest point anticlockwise (C). If the vectors AB and AC make up a clockwise rotation, then point A doesn't lay into the convex or on it's bounds.\n\nHow to answer the first-type queries? If the point from the query (C) lays into the convex hull, then do nothing else let's find two closest points clockwise relative to point C (the closest will be named A, tho other will be named B). If rotation from the vector AB to the vector AC is a counterclockwise rotation then processing points laying clockwise relative to point C in ended, else you have to delete point A from the structure and repeat the same actions. The similar actions you should apply to points anticlockwise relative to point C.\n\nAll points will be added and deleted in the structure not more than once. These operations need O(log(h)) time, where h is a number of point in convex hull. Total  asymptotic form is O(q * log(h)).\n\nProblem E.\n\nNotice next facts. If we have the fixed state of some regional centers then for every city will be assigned the nearest regional center. The regional center of some city will be assigned for all cities between this city and it's regional center. It means that tree should be divided into some subtrees. Also define d = 0.\n\nLet's solve the problem using \"crossed\" Dynamic Programming.\n\nFirst function of DP. D1(T, g, x, s) will be responsible for forming the subtree with the regional center g. T is somme subtree of tree from the input defined with edge uv. regional center g must be situated in T. Let's consider that g is assigned to v. The aim will be considered in choosing edges which will bound our subtree. Picture:", null, "Green and red edges connect cities which g was assigned. Purple edge bounds the set of such cities. Notice, that vertexes laying on the red pass cannot be bounding, because g is assigned to v.\n\nLet xs edge be bounding, then for subtree T' (vertexes of it's subtree are into the circle) call the secnod funtion of DP D2(T').\n\nThe second function of DP will brute every point of subtree T' as a regional center and call D1.\n\nD1 have O(n3) states, because the number of subtrees T is O(n), number of options to choose g is the same and pair (x;s) makes up an edge, number of edges is 2*n-2. The second function of DP has O(v) states and transition need O(v) iterations. Thats why solution need O(n3) memory and have asymptotic form O(n3).", null, "Tutorial of Codeforces Beta Round #64", null, "Tutorial of Hi", null, "By Connector, 10 years ago, translation,", null, "I'm glad to see you on Codeforces Beta Round # 64.\n\nToday I am the author of the tasks. I'm a student of Tyumen State University.\n\nI want to thank all those who helped me to prepare the round: Nikita Durynin (Austeritas) for the pair ideas for the tasks, Dmitry Bochkarev (Walrus) and Chernenkov Alexey (Laise) for the testing, Artem Rakhov (RAD) for coordinating the activities, Maria Belova for translating and Mike Mirzayanov (MikeMirzayanov) for a great system.\n\nToday you will visit the Walrusland and help the common citizens and government to solve their problems.\n\nGood luck for everybody, let the best man win!\n\nWinner is Petr. Congratulations!\n\nAnalysis", null, "Announcement of Codeforces Beta Round #64", null, "By Connector, 10 years ago, translation,", null, "Last time I began to notice that there are more and more sites which give contests regularly. That's why some contests have the same time.\n\nFor example, there will be 3 contests at Saturday:\n\n• School Team Contest #3 (Winter Computer School 201011) at 14:00\n• ITMO training at 16:30\n• TopCoder 487th Single Round Match at 20:00\n\nI have some questions:\n\nWas this situation before or it have a place to be not so long time?\n\nWhich contests do you prefer? Which of them do you solve regularly, from time to time or don't solve at all?", null, "" ]
[ null, "http://sta.codeforces.com/s/94067/images/flags/24/gb.png", null, "http://sta.codeforces.com/s/94067/images/icons/paperclip-16x16.png", null, "http://sta.codeforces.com/s/94067/images/icons/paperclip-16x16.png", null, "http://sta.codeforces.com/s/94067/images/blog/tags.png", null, "http://sta.codeforces.com/s/94067/images/flags/24/gb.png", null, "http://sta.codeforces.com/s/94067/images/icons/paperclip-16x16.png", null, "http://sta.codeforces.com/s/94067/images/icons/paperclip-16x16.png", null, "http://sta.codeforces.com/s/94067/images/blog/tags.png", null, "http://sta.codeforces.com/s/94067/images/flags/24/gb.png", null, "http://codeforces.com/predownloaded/54/0f/540fe8f5eb82d70bf170ded0318f02c50d79bed4.jpg", null, "http://sta.codeforces.com/s/94067/images/icons/paperclip-16x16.png", null, "http://sta.codeforces.com/s/94067/images/icons/paperclip-16x16.png", null, "http://sta.codeforces.com/s/94067/images/blog/tags.png", null, "http://sta.codeforces.com/s/94067/images/flags/24/gb.png", null, "http://sta.codeforces.com/s/94067/images/icons/paperclip-16x16.png", null, "http://sta.codeforces.com/s/94067/images/blog/tags.png", null, "http://sta.codeforces.com/s/94067/images/flags/24/gb.png", null, "http://sta.codeforces.com/s/94067/images/blog/tags.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9152828,"math_prob":0.97557384,"size":7585,"snap":"2020-34-2020-40","text_gpt3_token_len":1996,"char_repetition_ratio":0.12346656,"word_repetition_ratio":0.04865557,"special_character_ratio":0.2726434,"punctuation_ratio":0.08827014,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99539346,"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,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,4,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-28T20:09:37Z\",\"WARC-Record-ID\":\"<urn:uuid:af55c74f-93ea-430f-91c9-9546dc762723>\",\"Content-Length\":\"119448\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:05222ccf-88bb-40cf-b270-99316e1a4e4c>\",\"WARC-Concurrent-To\":\"<urn:uuid:fd42f277-8731-41de-9e8e-7e65dab2655d>\",\"WARC-IP-Address\":\"81.27.240.126\",\"WARC-Target-URI\":\"http://codeforces.com/blog/Connector\",\"WARC-Payload-Digest\":\"sha1:247PQMK6EJCXQTJGE4CCL7RSEJVZSFL2\",\"WARC-Block-Digest\":\"sha1:7DNFXFNWVB25XSGA65EIVF642AY4VCLZ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600401604940.65_warc_CC-MAIN-20200928171446-20200928201446-00406.warc.gz\"}"}
https://anthonysmoak.com/2019/10/20/select-random-sample-values-and-rows-using-excel/
[ "# Select Random Sample Values and Rows using Excel\n\nIn this video I help you solve the dual problems of selecting a random value from an Excel list and selecting a number of random rows from a range of data in Excel. At times when I am generating a data-set to use in my video tutorials, I want to select a random selection of rows. Typically, because my data values are clumped together and are too similar to the data on preceding and subsequent rows.\n\n### SELECTING A RANDOM VALUE FROM A LIST\n\nEnter three Excel formulas to save the day for selecting a random value from a list:\n\n• ROWS()\n• Returns the number of rows in a reference or array.\n• RANDBETWEEN()\n• Returns a random integer number between the numbers you specify. A new random integer number is returned every time the worksheet is calculated.\n• INDEX()\n• The INDEX function returns a value or the reference to a value from within a table or range.", null, "1. In the screenshot above notice that the ROWS() function returns the value of 20, which corresponds to the number of names listed in the cell range of A6 to A25.\n2. The RANDBETWEEN() function generated a random number between 1 and the value returned from ROWS() (i.e., 20). In this case, RANDBETWEEN() combined with ROWS() returned a value of 3.\n3. By combining the results from the first 2 functions, the INDEX() function searches our list and returns the value of the 3rd cell in the list  (i.e., Flor McCard) because the RANDBETWEEN() function returned a value of 3.\n\nWhen we put it all together it looks like the following:\n\n`=INDEX(\\$A\\$6:\\$A\\$25,RANDBETWEEN(1,ROWS(\\$A\\$6:\\$A\\$25)))`\n\nI choose to use the absolute cell reference notation with dollar signs although in this case it is not necessary since we are not copying our results to other cells.\n\n### SELECTING RANDOM ROWS FROM A LIST\n\nWe’ll only use 1 Excel formula to save the day for selecting random rows from a range:\n\n• RAND()\n• RAND() returns an evenly distributed random real number greater than or equal to 0 and less than 1. A new random real number is returned every time the worksheet is calculated.\n\nBy placing the RAND() function in a column co-located with your data, you will assign a random number to each row in your data-set or range.\n\nOnce that is done, all you have to do is sort your data by the RAND() column and then select however many rows you need. It’s that simple!\n\nIf you are like me, you probably need to see it in action to get a better understanding. Check out the video above and if you learned something, please go ahead and like it on my Youtube channel!" ]
[ null, "https://anthonysmoak.files.wordpress.com/2019/10/randow-row-in-excel-blog-screenshot.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8427442,"math_prob":0.9683214,"size":2680,"snap":"2022-40-2023-06","text_gpt3_token_len":611,"char_repetition_ratio":0.13602391,"word_repetition_ratio":0.037894737,"special_character_ratio":0.22835821,"punctuation_ratio":0.08768657,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98598415,"pos_list":[0,1,2],"im_url_duplicate_count":[null,6,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-08T07:20:37Z\",\"WARC-Record-ID\":\"<urn:uuid:7049f7c0-20a4-4f35-82f1-2164271f3c7c>\",\"Content-Length\":\"131068\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:bf0981e8-c17f-4741-8780-64a8767babb9>\",\"WARC-Concurrent-To\":\"<urn:uuid:a81a9782-b75a-48f2-a223-158923c41eac>\",\"WARC-IP-Address\":\"192.0.78.25\",\"WARC-Target-URI\":\"https://anthonysmoak.com/2019/10/20/select-random-sample-values-and-rows-using-excel/\",\"WARC-Payload-Digest\":\"sha1:PPQ6C4CZ3HJPF3H6J3BE4WTPZZQ6CEU2\",\"WARC-Block-Digest\":\"sha1:CUFUIPCPK6VZGXNWJCXXPEOHZEYO7KU5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764500719.31_warc_CC-MAIN-20230208060523-20230208090523-00458.warc.gz\"}"}
https://q2a.cs.uni-kl.de/2861/doubt-in-ltl-model-checking-exam-question-13-02-2019
[ "# Doubt in LTL model checking exam question 13.02.2019\n\nI am solving exam question 13.02.2019 : Q 7 (b) - 2019.02.13.vrs.solutions.pdf (uni-kl.de)\n\nThe automata :", null, "Following is the resultant state transition diagram :", null, "So here only s1 has an infinite run and hence I have to check here for acceptance conditions validity.\n\nI have one doubt here,\n\nIn my understanding, GF (a -> q0) is invalid here because a is always true and q0 is always false.\n\nBut then I see a transition to s5 where q0 is true but that path is finite so it will not be considered.\n\nIs my interpretation correct regarding this ?\n\nDirect answer to your question, yes the finite path s1^* s5 is -- as all finite paths -- not considered. We only consider infinite runs in omega-automata.\n\n+1 vote\n\nAs far as I can see, the state transition diagram of the automaton is correct, the teaching tool gave me this picture which looks same:", null, "As we are only interested in infinite runs, we may exclude the finally dead states, and also the unreachable states, of course. What is left is just the self-loop in state s1 that can be taken with any input. That is the only infinite run of this automaton.\n\nLet's check the acceptance conditions on that path:\n\n1. GF(a->q0) can hold (if we always use input !a)\n2. GF(q1->q0) definitely holds since we we never have q1, so q1->q0 does always hold\n3. GF(q2->q1) does not hold, since we always have q2 but never q1.\n\nA path can only be accepted if all conditions would hold, but that is not the case for the only path that exists in the automaton. Hence, the automaton does not accept any word, and therefore the LTL formula is valid.\n\nby (162k points)\nselected by\nThanks for this detailed explanation." ]
[ null, "https://q2a.cs.uni-kl.de/", null, "https://q2a.cs.uni-kl.de/", null, "https://q2a.cs.uni-kl.de/", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9367953,"math_prob":0.82517296,"size":862,"snap":"2023-40-2023-50","text_gpt3_token_len":214,"char_repetition_ratio":0.12237762,"word_repetition_ratio":0.0,"special_character_ratio":0.24361949,"punctuation_ratio":0.10326087,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9805065,"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-11-28T19:29:40Z\",\"WARC-Record-ID\":\"<urn:uuid:be3454b4-78f9-49ec-a272-5c282018ce47>\",\"Content-Length\":\"57275\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9d3ff207-282a-44ed-9df8-2cd8842abcc4>\",\"WARC-Concurrent-To\":\"<urn:uuid:897e994b-ea5d-4797-af4b-3ac577bd6d8f>\",\"WARC-IP-Address\":\"131.246.161.43\",\"WARC-Target-URI\":\"https://q2a.cs.uni-kl.de/2861/doubt-in-ltl-model-checking-exam-question-13-02-2019\",\"WARC-Payload-Digest\":\"sha1:IR7TZWXKLACXK3GBPXPPGDONAEKQTITP\",\"WARC-Block-Digest\":\"sha1:HWTWA7HPZOBGNDJW6CVT4MBT3ALYJO4P\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679099942.90_warc_CC-MAIN-20231128183116-20231128213116-00854.warc.gz\"}"}
https://beta.geogebra.org/m/cnu2uyxx
[ "# Linear Equation\n\nTopic:\nAlgebra\nlinear equation is any equation that can be written in the form ax+b+x=0 where a and b are real numbers, both can bot be zero. Here, x and y are called variable. This form of equation is called the standard form of a linear equation. Dear learner, 1. In the input box, write the equation of red straight line. 2. To get new question, Click on \"New Question\" Button Play this game! until you get five Congratulation! प्यारो बिद्यार्थी 1. खाली कोठामा रातो सिधा रेखाको समिकरण लेख्नुहोस । 2. नयाँ, प्रश्नको लागी, \"New Question\" बटन मा थिच्नुहोस । पाँच पटक \"Congratulation! Well Done\" नपाउन्जेल सम्म यो खेल खेल्नुहोस ।" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.62719774,"math_prob":0.8106417,"size":680,"snap":"2020-10-2020-16","text_gpt3_token_len":290,"char_repetition_ratio":0.12278107,"word_repetition_ratio":0.0,"special_character_ratio":0.27941176,"punctuation_ratio":0.115606934,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99361223,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-02-17T03:11:58Z\",\"WARC-Record-ID\":\"<urn:uuid:66e2b8bf-c7c6-4cba-9469-fe295e1c9b9c>\",\"Content-Length\":\"38431\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a11b7eb7-4dc7-4bbe-a4e9-d2fe7cd61271>\",\"WARC-Concurrent-To\":\"<urn:uuid:a75f17e1-db19-46a3-aa10-3a6be07f7826>\",\"WARC-IP-Address\":\"13.249.40.125\",\"WARC-Target-URI\":\"https://beta.geogebra.org/m/cnu2uyxx\",\"WARC-Payload-Digest\":\"sha1:N77QGRW63KJKWKBYDDZDS56CHXUK3XVA\",\"WARC-Block-Digest\":\"sha1:6KMNYTKSCEG6ZUYSLTWHXQT2KD4NJ5KV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-10/CC-MAIN-2020-10_segments_1581875141653.66_warc_CC-MAIN-20200217030027-20200217060027-00407.warc.gz\"}"}
http://crm-en.ics.org.ru/journal/article/2802/
[ "", null, "Issue 3, 2019 Vol. 11\n\n# All issues\n\nSolving of the Exner equation for morphologically complex bed", null, "pdf (308K)  / List of references\n\nThe Exner equation in conjunction phenomenological sediment transport models is widely used for mathematical modeling non-cohesive river bed. This approach allows to obtain an accurate solution without any difficulty if one models evolution of simple shape bed. However if one models evolution of complex shape bed with unstable soil the numerical instability occurs in some cases. It is difficult to detach this numerical instability from the natural physical instability of bed.\n\nThis paper analyses the causes of numerical instability occurring while modeling evolution of complex shape bed by using the Exner equation and phenomenological sediment rate models. The paper shows that two kinds of indeterminateness may occur while solving numerically the Exner equation closed by phenomenological model of sediment transport. The first indeterminateness occurs in the bed area where sediment transport is transit and bed is not changed. The second indeterminateness occurs at the extreme point of bed profile when the sediment rate varies and the bed remains the same. Authors performed the closure of the Exner equation by the analytical sediment transport model, which allowed to transform the Exner equation to parabolic type equation. Analysis of the obtained equation showed that it’s numerical solving does not lead to occurring of the indeterminateness mentioned above. Parabolic form of the transformed Exner equation allows to apply the effective and stable implicit central difference scheme for this equation solving.\n\nThe model problem of bed evolution in presence of periodic distribution of the bed shear stress is carried out. The authors used the explicit central difference scheme with and without filtration method application and implicit central difference scheme for numerical solution of the problem. It is shown that the explicit central difference scheme is unstable in the area of the bed profile extremum. Using the filtration method resulted to increased dissipation of the solution. The solution obtained by using the implicit central difference scheme corresponds to the distribution law of bed shear stress and is stable throughout the calculation area.\n\nKeywords: mathematical modeling, numerical instability, Exner equation, river bed, sediment transport, analytical model\nCitation in English: Potapov I.I., Snigur K.S. Solving of the Exner equation for morphologically complex bed // Computer Research and Modeling, 2019, vol. 11, no. 3, pp. 449-461\nCitation in English: Potapov I.I., Snigur K.S. Solving of the Exner equation for morphologically complex bed // Computer Research and Modeling, 2019, vol. 11, no. 3, pp. 449-461\nDOI: 10.20537/2076-7633-2019-11-3-449-461\nViews (last year): 10.\n\nFull-text version of the journal is also available on the web site of the scientific electronic library eLIBRARY.RU\n\nThe journal is included in the Russian Science Citation Index\n\nThe journal is included in the List of Russian peer-reviewed journals publishing the main research results of PhD and doctoral dissertations.\n\nInternational Interdisciplinary Conference \"Mathematics. Computing. Education\"\n\nThe journal is included in the RSCI\n\nIndexed in Scopus" ]
[ null, "http://crm-en.ics.org.ru/uploads/covers_kim/KIM_cover_2019_3.gif", null, "http://crm-en.ics.org.ru/media/images/pdf.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8913652,"math_prob":0.852136,"size":2880,"snap":"2020-24-2020-29","text_gpt3_token_len":569,"char_repetition_ratio":0.14012517,"word_repetition_ratio":0.03131991,"special_character_ratio":0.19583334,"punctuation_ratio":0.06918239,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.955416,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,4,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-06T03:02:59Z\",\"WARC-Record-ID\":\"<urn:uuid:7774ff55-3569-4c89-a32a-4eb8db4bc5ac>\",\"Content-Length\":\"19425\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5f3c9697-be95-4a59-9396-ebdc2e65d363>\",\"WARC-Concurrent-To\":\"<urn:uuid:c2df7b5a-c177-458c-b9f1-d3880191a005>\",\"WARC-IP-Address\":\"80.82.166.93\",\"WARC-Target-URI\":\"http://crm-en.ics.org.ru/journal/article/2802/\",\"WARC-Payload-Digest\":\"sha1:WBKJA4EHRVYQ7II5U5LGLI4OHOVUKVY6\",\"WARC-Block-Digest\":\"sha1:YSVP5R4V4L3Z7WUN4FZYCTUXAF3H4YMG\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593655890092.28_warc_CC-MAIN-20200706011013-20200706041013-00078.warc.gz\"}"}
https://www.ictdemy.com/cplusplus/basics/functions-in-the-cplusplus-language
[ "# Lesson 13 - Functions in the C++ language\n\nIn the previous exercise, Solved tasks for C++ lessons 11-12, we've practiced our knowledge from previous lessons.\n\nLesson highlights\n\nAre you looking for a quick reference on declaring C++ functions instead of a thorough-full lesson? Here it is:\n\nDeclaring functions:\n\n``````{CPP_IMPORTS}\nvoid greet(void)\n{\ncout << \"Hi, welcome!\" << endl;\n}\n\nint main()\n{\ngreet(); // calling the function\ngreet(); // calling it again\nreturn 0;\n}``````\n\nA function taking parameters and returning a value:\n\n``````{CPP_IMPORTS}\nint rectangle_area(int width, int height)\n{\nint result = width * height;\nreturn result;\n}\n\nint main()\n{\ncout << \"The area of the rectangle is \" << rectangle_area(10, 20) << \" cm^2\" << endl;\nreturn 0;\n}``````\n\nRecursion when a function is calling itself:\n\n``````{CPP_IMPORTS}\n\nint factorial(int x)\n{\nif (x == 1)\nreturn 1;\nreturn x * factorial(x - 1);\n}\n\nint main()\n{\ncout << factorial(10) << endl;\nreturn 0;\n}``````\n\nWould you like to learn more? A complete lesson on this topic follows.\n\nToday's lesson on C++ is about a very important topic - functions. We already know that we write code into the `main()` function. This didn't matter much for the short, educational programs we've made that could only do a single thing. However, consider writing a program that is thousands of lines long. Surely, you agree it'd be very hard to work with a large \"noodle\" of code, i.e. if it was all in a single file and a single function. Furthermore, if we wanted to perform the same command sequences at multiple places of our program, we'd have to copy it all over again or to jump from one place in the program to another. Both of these options are very confusing.\n\n## Functional decomposition\n\nWe sometimes refer to dividing a program into multiple functions as functional decomposition. Don't be intimidated by the term. It's really all about what our application needs to do and create a function in our source code for each of those tasks. In real-life applications, we usually also create some auxiliary functions to wrap it all together. For example, a function for printing the application menu or splitting a complex function up into many simple functions to keep the program readable.\n\nFunctions are sometimes referred to as subroutines or subprograms. If a function doesn't return a value (more on this later on), it may be called a procedure in some programming languages. Functions for larger applications, where there are a lot of them, are gathered into multiple modules/libraries. You know these very well from writing `#include <iostream>` which loads the library (module) for working with standard input/output (with the console). Similarly, mathematical functions are gathered in the `cmath` system library. We'll also learn to create these sort of modules/libraries further along the way.\n\n## Creating functions\n\nA function is a logical block of code which we write once and then are able to call it multiple times without having to write it all over again. We'll declare functions in the global scope, somewhere above the `main()` function. They'll look similar to `main()`. Let's add a function to our source code which will write `\"Hi, welcome!\"`.\n\nWe'll show the entire source code just to be illustrative:\n\n```#include <iostream>\nusing namespace std;\n\nvoid greet(void)\n{\ncout << \"Hi, welcome!\" << endl;\n}\n\nint main()\n{\nreturn 0;\n}```\n\nThe `void` keyword in the function definition specifies that the function doesn't return a value. Now, we have to call the function to execute it. Of course, are only able to do after it's been declared. Otherwise, the compiler won't know what to do with the function (that's why we declared our function before `main()`). Add the following line to `main()`:\n\n``````{CPP_IMPORTS}\n\nvoid greet(void)\n{\ncout << \"Hi, welcome!\" << endl;\n}\n\n{CPP_MAIN_BLOCK}\ngreet(); // calling the function\n{/CPP_MAIN_BLOCK}``````\n\nThe result:\n\n```Console application\nHi, welcome!```\n\n## Functions with parameters\n\nA function can have any number of input parameters (they're sometimes called arguments) which we write into the parentheses in its definition. We influence a function's behavior using parameters. Consider a situation where we need to greet our users by their names. With this in mind, let's add on to our function by incorporating a `name` parameter and specify it later with a concrete value when calling the function:\n\n```void greet(string name)\n{\ncout << \"Hi \" << name << \", welcome!\" << endl;\n}```\n\nNow, we'll change the function call in `main()` to this:\n\n``````{CPP_IMPORTS}\n\nvoid greet(string name)\n{\ncout << \"Hi \" << name << \", welcome!\" << endl;\n}\n\n{CPP_MAIN_BLOCK}\ngreet(\"Carl\"); // calling the function\n{/CPP_MAIN_BLOCK}``````\n\nIf we wanted to greet multiple people, we no longer have to write `cout <<\"Hi ...` for each of them. Instead, we'd simply call our function:\n\n``````{CPP_IMPORTS}\n\nvoid greet(string name)\n{\ncout << \"Hi \" << name << \", welcome!\" << endl;\n}\n\n{CPP_MAIN_BLOCK}\ngreet(\"Carl\");\ngreet(\"David\");\ngreet(\"Mary\");\n{/CPP_MAIN_BLOCK}``````\n\nThe result:\n\n```Console application\nHi Carl, welcome here!\nHi David, welcome here!\nHi Mary, welcome here!```\n\n## The function's return value\n\nA function can also return a value. Let's put our greeting example off to the side and create a function for computing the area of a rectangle. Furthermore, we'll design it so that we're able to use the result in another calculation. Therefore, instead of writing the result, we'll return it as the return value. Every function can return a single value using the `return` command which will also terminate the function, i.e. any other code after it won't be executed. We specify the data type of the return value before the function definition. Add the following function to your program:\n\n```int rectangle_area(int width, int height)\n{\nint result = width * height;\nreturn result;\n}```\n\nIn real-world applications, our function would probably compute something more complex so it'd be worthwhile for us to implement it. However, as an example, computing the area of a simple rectangle will do. We name functions using lowercase letters, whole words and using under_scores instead of spaces. Although the C++ language is full of abbreviations, I highly suggest you avoid them. For example, a function named `birth_date()` is much more clear than a function named `bird()` which makes it hard to tell what the function even does.\n\nIf we wanted to print the area of a rectangle now, we'd simply call our function directly in `cout`. The rectangle's area would be computed as the first. Then, this value would be returned and passed as an input parameter to the `cout` object which would then print it. Let's try it out by entering `10` and `20` cm as the rectangle's width and height:\n\n``````{CPP_IMPORTS}\n\nint rectangle_area(int width, int height)\n{\nint result = width * height;\nreturn result;\n}\n\n{CPP_MAIN_BLOCK}\ncout << \"The area of the rectangle is \" << rectangle_area(10, 20) << \" cm^2\" << endl;\n{/CPP_MAIN_BLOCK}``````\n\n```Console application\nThe area of the rectangle is: 200 cm^2```\n\nIf you find it confusing, feel free to use an auxiliary variable:\n\n``````{CPP_IMPORTS}\n\nint rectangle_area(int width, int height)\n{\nint result = width * height;\nreturn result;\n}\n\n{CPP_MAIN_BLOCK}\nint area = rectangle_area(10, 20);\ncout << \"The area of the rectangle is \" << area << \" cm^2\" << endl;\n{/CPP_MAIN_BLOCK}``````\n\nHowever, we didn't decide to return the result as the function's return value just to print it. Let's take advantage of this decision by computing the sum of the areas of two rectangles:\n\n``````{CPP_IMPORTS}\n\nint rectangle_area(int width, int height)\n{\nint result = width * height;\nreturn result;\n}\n\n{CPP_MAIN_BLOCK}\nint total_area = rectangle_area(10, 20) + rectangle_area(20, 40);\ncout << \"The sum of the areas of the rectangles is: \" << total_area << \" cm^2\" << endl;\n{/CPP_MAIN_BLOCK}``````\n\nThe result:\n\n```Console application\nThe sum of the areas of the rectangles is: 1000 cm^2```\n\nIn regards to previous exercises we've done throughout the course, feel free to modify some of them and split them up into functions. According to good software design practices, a source code should always be divided into functions (ideally into libraries/modules, more on this later on) to keep it clear. We omitted this prior to this lesson to keep things simple, but now, please remember to do so", null, "The main advantage to using functions is clarity and keeping code shorter (we are able to write a function once and call it a hundred times from multiple places in our program). If we decided to modify the function, we would only have to do it at one place and the changes would affect all of the function calls immediately. The latter significantly decreases the possibility of making an error. In the greeting example, if we changed the greeting text in the function, it would affect all three of the calls. If we didn't have the code in a function, we'd have to modify three sentences and it's very likely we'd make a typo somewhere.\n\n## Recursion\n\nLast of all, we'll take a little peek into an advanced topic - recursion. A recursive function is a function which calls itself in its body. Such a function needs information to determine when it should end (end the recursive calling). Otherwise, it'd call itself over and over again until the program is terminated due to insufficient memory. Recursion is used very often in various algorithms.\n\nIn functional programming languages, recursion is used instead of loops. Let's consider a `for` loop which sums up the numbers from `1` to `10`. We can achieve the same result with recursion as well. The function will call itself again with a number which has been incremented by one or it'll terminate itself (depending on its current state).\n\n```int loop(int current_index, int final_index, int sum)\n{\nif (current_index == final_index)\nreturn sum;\nreturn loop(current_index + 1, final_index, sum + current_index);\n}```\n\nWe'll call the function like this:\n\n``````{CPP_IMPORTS}\n\nint loop(int current_index, int final_index, int sum)\n{\nif (current_index == final_index)\nreturn sum;\nreturn loop(current_index + 1, final_index, sum + current_index);\n}\n\n{CPP_MAIN_BLOCK}\ncout << loop(0, 10, 0) << endl; // beginning of the recursion\n{/CPP_MAIN_BLOCK}``````\n\nWe could do the same using a `for` loop:\n\n``````{CPP_CONSOLE}\nint sum = 0;\nint a;\nfor (a = 0; a < 10; a++)\nsum += a;\ncout << a << endl;\n{/CPP_CONSOLE}``````\n\nAs you can see, reading code using recursion is not as easy as reading code using loops. However, that's not all. Using recursion creates additional memory requirements since parameters and return values have to be passed over and over again. Generally speaking, most programs using recursion can be rewritten to not do so. Let's create a sample program that computes a factorial. We'll show the versions with and without recursion.\n\n```int factorial(int x)\n{\nif (x == 1)\nreturn 1;\nreturn x * factorial(x - 1);\n}```\n\nWe'd call the function like this:\n\n``````{CPP_IMPORTS}\n\nint factorial(int x)\n{\nif (x == 1)\nreturn 1;\nreturn x * factorial(x - 1);\n}\n\n{CPP_MAIN_BLOCK}\ncout << factorial(10) << endl;\n{/CPP_MAIN_BLOCK}``````\n\nHere's the one using loops:\n\n``````{CPP_CONSOLE}\nint result = 1;\nint x = 10;\nfor (int i = 2; i <= x; i++)\nresult *= i;\ncout << result << endl;\n{/CPP_CONSOLE}``````\n\nYou may encounter recursion in existing source codes or at job interviews. However, it's probably best to avoid recursion, or at least for now. Recursion is also able to waste the entire call stack quickly and terminate the program. Furthermore, it's difficult to understand. If you're confused by it, we'll go into it in detail in the algorithms course where there's enough space dwelve in the topic.\n\nIn the next lesson, Solved tasks for C++ lesson 13, we'll introduce one of the basic aspects of the C language - structures.\n\nIn the following exercise, Solved tasks for C++ lesson 13, we're gonna practice our knowledge from previous lessons.\n\nArticle has been written for you by David Capka\nUser rating:\nNo one has rated this quite yet, be the first one!\nThe author is a programmer, who likes web technologies and being the lead/chief article writer at ICT.social. He shares his knowledge with the community and is always looking to improve. He believes that anyone can do what they set their mind to.", null, "David learned IT at the Unicorn University - a prestigious college providing education on IT and economics." ]
[ null, "https://www.ictdemy.com/cplusplus/basics/images/img/smileys/happy.png", null, "https://www.ictdemy.com/cplusplus/basics/images/ucl_big.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.85728943,"math_prob":0.9410769,"size":11649,"snap":"2022-40-2023-06","text_gpt3_token_len":2728,"char_repetition_ratio":0.14186347,"word_repetition_ratio":0.14790174,"special_character_ratio":0.25015023,"punctuation_ratio":0.12582159,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9881693,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-06T22:47:00Z\",\"WARC-Record-ID\":\"<urn:uuid:e04388dc-ec83-48ec-8841-4064fcbf4df2>\",\"Content-Length\":\"75489\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e486a375-f40f-48f9-990e-c7c55e40bbad>\",\"WARC-Concurrent-To\":\"<urn:uuid:4de268a9-0433-43fa-a118-963edb7595a8>\",\"WARC-IP-Address\":\"172.67.165.57\",\"WARC-Target-URI\":\"https://www.ictdemy.com/cplusplus/basics/functions-in-the-cplusplus-language\",\"WARC-Payload-Digest\":\"sha1:HTFJHSTJQTHAZHCI72LMPGHJ5PL2U5K4\",\"WARC-Block-Digest\":\"sha1:2VVNHQYYFOSB37PXQ3PVQ4X7ARVP7P5E\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764500365.52_warc_CC-MAIN-20230206212647-20230207002647-00314.warc.gz\"}"}
https://www.jpost.com/israel/police-hizbullah-could-still-reach-ta
[ "(function (a, d, o, r, i, c, u, p, w, m) { m = d.getElementsByTagName(o), a[c] = a[c] || {}, a[c].trigger = a[c].trigger || function () { (a[c].trigger.arg = a[c].trigger.arg || []).push(arguments)}, a[c].on = a[c].on || function () {(a[c].on.arg = a[c].on.arg || []).push(arguments)}, a[c].off = a[c].off || function () {(a[c].off.arg = a[c].off.arg || []).push(arguments) }, w = d.createElement(o), w.id = i, w.src = r, w.async = 1, w.setAttribute(p, u), m.parentNode.insertBefore(w, m), w = null} )(window, document, \"script\", \"https://95662602.adoric-om.com/adoric.js\", \"Adoric_Script\", \"adoric\",\"9cc40a7455aa779b8031bd738f77ccf1\", \"data-key\");\nvar domain=window.location.hostname; var params_totm = \"\"; (new URLSearchParams(window.location.search)).forEach(function(value, key) {if (key.startsWith('totm')) { params_totm = params_totm +\"&\"+key.replace('totm','')+\"=\"+value}}); var rand=Math.floor(10*Math.random()); var script=document.createElement(\"script\"); script.src=`https://stag-core.tfla.xyz/pre_onetag?pub_id=34&domain=\\${domain}&rand=\\${rand}&min_ugl=0\\${params_totm}`; document.head.append(script);" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.97723246,"math_prob":0.96919554,"size":2148,"snap":"2023-14-2023-23","text_gpt3_token_len":453,"char_repetition_ratio":0.10214552,"word_repetition_ratio":0.0,"special_character_ratio":0.20297952,"punctuation_ratio":0.08888889,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9789482,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-04-01T14:23:02Z\",\"WARC-Record-ID\":\"<urn:uuid:60a95420-235b-4f5c-bab2-e174c1857ba0>\",\"Content-Length\":\"77753\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:06d3c3a3-fd2e-4e2a-b904-64778033ba8a>\",\"WARC-Concurrent-To\":\"<urn:uuid:405a2515-e7b0-4909-9273-6cead273163c>\",\"WARC-IP-Address\":\"159.60.130.79\",\"WARC-Target-URI\":\"https://www.jpost.com/israel/police-hizbullah-could-still-reach-ta\",\"WARC-Payload-Digest\":\"sha1:T5XEDOCW5FYIFCH3LEOYEWFLACDOLP4Y\",\"WARC-Block-Digest\":\"sha1:2KF7YPKFMJ3SM4DBRLONI2NB5VMB5SUL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296950030.57_warc_CC-MAIN-20230401125552-20230401155552-00043.warc.gz\"}"}
https://en-academic.com/dic.nsf/enwiki/24690
[ "# Disjoint sets\n\nDisjoint sets", null, "", null, "Two disjoint sets.\n\nIn mathematics, two sets are said to be disjoint if they have no element in common. For example, {1, 2, 3} and {4, 5, 6} are disjoint sets.\n\n## Explanation\n\nFormally, two sets A and B are disjoint if their intersection is the empty set, i.e. if", null, "$A\\cap B = \\varnothing.\\,$\n\nThis definition extends to any collection of sets. A collection of sets is pairwise disjoint or mutually disjoint if, given any two sets in the collection, those two sets are disjoint.\n\nFormally, let I be an index set, and for each i in I, let Ai be a set. Then the family of sets {Ai : iI} is pairwise disjoint if for any i and j in I with ij,", null, "$A_i \\cap A_j = \\varnothing.\\,$\n\nFor example, the collection of sets { {1}, {2}, {3}, ... } is pairwise disjoint. If {Ai} is a pairwise disjoint collection (containing at least two sets), then clearly its intersection is empty:", null, "$\\bigcap_{i\\in I} A_i = \\varnothing.\\,$\n\nHowever, the converse is not true: the intersection of the collection {{1, 2}, {2, 3}, {3, 1}} is empty, but the collection is not pairwise disjoint. In fact, there are no two disjoint sets in this collection.\n\nA partition of a set X is any collection of non-empty subsets {Ai : iI} of X such that {Ai} are pairwise disjoint and", null, "$\\bigcup_{i\\in I} A_i = X.\\,$\n\nWikimedia Foundation. 2010.\n\n### Look at other dictionaries:\n\n• Almost disjoint sets — In mathematics, two sets are almost disjoint if their intersection is small in some sense. Different definitions of small will therefore result in different definitions of almost disjoint . Definition The most common choice is to take small to… …   Wikipedia\n\n• Disjoint — may refer to: Disjoint sets Disjoint union This disambiguation page lists articles associated with the same title. If an internal link led you here, you may wish to change the link to point directly to the intende …   Wikipedia\n\n• Disjoint union — In mathematics, the term disjoint union may refer to one of two different concepts: In set theory, a disjoint union (or discriminated union) is a modified union operation that indexes the elements according to which set they originated in;… …   Wikipedia\n\n• Disjoint-set data structure — In computing, a disjoint set data structure is a data structure that keeps track of a set of elements partitioned into a number of disjoint (nonoverlapping) subsets. A union find algorithm is an algorithm that performs two useful operations on… …   Wikipedia\n\n• disjoint — [dis joint′, dis′joint΄] adj. [ME < OFr desjoint, pp. of desjoindre: see DISJOIN] 1. Obs. disjointed 2. Math. of sets having no members in common vt. [< DISJOINT the adj.] 1. to put out of joint; dislocate …   English World dictionary\n\n• Disjoint union (topology) — In general topology and related areas of mathematics, the disjoint union (also called the direct sum, free union, free sum, topological sum, or coproduct) of a family of topological spaces is a space formed by equipping the disjoint union of the… …   Wikipedia\n\n• disjoint — /dis joynt /, v.t. 1. to separate or disconnect the joints or joinings of. 2. to put out of order; derange. v.i. 3. to come apart. 4. to be dislocated; be out of joint. adj. 5. Math. a. (of two sets) having no common elements. b. (of a system of… …   Universalium\n\n• disjoint — dis•joint [[t]dɪsˈdʒɔɪnt[/t]] v. t. 1) to separate or disconnect the joints or joinings of 2) to put out of order; derange 3) to come apart 4) to be dislocated; be out of joint 5) math. Math. a) (of two sets) having no common elements b) (of a… …   From formal English to slang\n\n• disjoint — 1. adjective a) not smooth or continuous; disjointed b) (not used in the comparative or superlative) Of two or more sets, having no members in common; having an intersection equal to the empty set. Ant: non disjoint …   Wiktionary\n\n• disjoint — I. adjective Etymology: Middle English disjoynt, from Anglo French desjoint, past participle of desjoindre Date: 15th century 1. obsolete disjointed 1a 2. having no elements in common < disjoint mathematical sets > II …   New Collegiate Dictionary" ]
[ null, "https://en-academic.com/pictures/enwiki/50/220px-Disjunkte_Mengen.svg.png", null, "https://en-academic.com/dic.nsf/enwiki/magnify-clip.png", null, "https://en-academic.com/dic.nsf/enwiki/5/b35d3befc06b831ff4d6cd63bf922efb.png ", null, "https://en-academic.com/dic.nsf/enwiki/6/61613c897579e50a2f5e90100ee4cdf8.png ", null, "https://en-academic.com/dic.nsf/enwiki/d/ebd52f7c36605f9d6bbea5b678d35ff1.png ", null, "https://en-academic.com/dic.nsf/enwiki/9/159186cccc743d7a735be76bf4a1b48b.png ", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8165856,"math_prob":0.8946655,"size":1564,"snap":"2021-21-2021-25","text_gpt3_token_len":413,"char_repetition_ratio":0.18846154,"word_repetition_ratio":0.007518797,"special_character_ratio":0.27429667,"punctuation_ratio":0.18787879,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9859173,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12],"im_url_duplicate_count":[null,1,null,null,null,1,null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-09T02:06:49Z\",\"WARC-Record-ID\":\"<urn:uuid:8bc5545a-3355-43ba-98f8-2783da591a0a>\",\"Content-Length\":\"37758\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0f4fb8a9-8e08-434f-a9e7-1ac8e1d9b8e5>\",\"WARC-Concurrent-To\":\"<urn:uuid:86b699b2-3b25-4122-977e-dd88b8f7d070>\",\"WARC-IP-Address\":\"95.217.42.32\",\"WARC-Target-URI\":\"https://en-academic.com/dic.nsf/enwiki/24690\",\"WARC-Payload-Digest\":\"sha1:7SIMEEA7UEBDP6FTXVVVNS6LWGRI2VHN\",\"WARC-Block-Digest\":\"sha1:HWAVVEBTY6VGZAOWBRVV5Q444T2PBXBD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243988953.13_warc_CC-MAIN-20210509002206-20210509032206-00276.warc.gz\"}"}
https://growthecon.wordpress.com/2015/09/
[ "# Labor’s Share, Profits, and the Productivity Slowdown\n\nNOTE: The Growth Economics Blog has moved sites. Click here to find this post at the new site.\n\nThere’s been a slowdown in measured productivity growth, particularly in the last few years, but generally since about 2000. This is something that I’ve poked around at several times, and if you’re reading economics blogs like this, then this shouldn’t be a revelation to you.\n\nAt the same time, there has been increasing attention given to the fact that labor’s share of GDP has been trending downward over the last 30 years or so. Piketty, perhaps, called the most public attention to the idea, but this is something that other people, like Loukas Karabarbounis and Brent Neiman have been working a lot on lately. The flip side of this declining labor share is a less well-documented sense that this is related to greater rents being collected by firms with more market power (Bob Solow on the topic).\n\nWhat I want to do here is show how these two trends are related in some fundamental sense through how we measure productivity growth. The TL;DR version is that a falling labor share (and rising profit share of GDP) will necessarily lead to a decline in measured productivity growth, even if underlying innovation doesn’t change. The reason is that if firms have increasing market power, then they are using inputs less efficiently from an aggregate perspective, and measured productivity growth is about how efficiently we use inputs. So increased market power – captured by the decline in labor share – will put a drag on productivity growth.\n\nLots of math follows. None of it is too daunting, but it did end up pretty dense. When we want to measure productivity, we use a residual, because productivty cannot be directly observed. Call this measured residual productivity term", null, "${R}$. You calculate it as", null, "$\\displaystyle R = \\frac{Y}{K^{1-s_L}L^{s_L}} \\ \\ \\ \\ \\ (1)$\n\nwhere", null, "${Y}$ is GDP,", null, "${K}$ is the capital stock, and", null, "${L}$ is the labor supply (which you could measure in units of human capital if you wanted). The term", null, "${s_L}$ is labor’s measured share in total output.\n\nGDP is assumed to be produced according to a Cobb-Douglas function like", null, "$\\displaystyle Y = A K^{\\alpha} L^{1-\\alpha} \\ \\ \\ \\ \\ (2)$\n\nwhere", null, "${A}$ is “true” productivity, which is what we are trying to get a measure of. The really important thing to note here is that", null, "${K}$ and", null, "${L}$ are raised to powers that depend on", null, "${\\alpha}$, not", null, "${s_L}$.", null, "${\\alpha}$ and", null, "${1-\\alpha}$ are “true” technological coefficients. The measure how GDP responds to stocks of capital and labor. But we don’t know them. All we know is", null, "${s_L}$, labor’s share in GDP. We don’t even know capital’s share in GDP, all we know is that", null, "${1-s_L}$ is the left-over amount of GDP paid out as returns to capital and profits.\n\nThis wouldn’t be an issue if somehow", null, "${s_L = 1-\\alpha}$. And under a very precise set of conditions, these two things would be equal. If we had competition in output markets, and competition in factor markets, then", null, "${s_L = 1-\\alpha}$. But what are the chances that this describes the real world?\n\nWe can make a little headway if we allow for market power. The following relationship is something you can get by simply assuming that firms are cost-minimizers", null, "$\\displaystyle s_L = \\frac{1-\\alpha}{\\mu} \\ \\ \\ \\ \\ (3)$\n\nwhere", null, "${\\mu}$ is the mark-up of price over its marginal cost. For example, if", null, "${\\mu = 2}$, then the price charged is twice the marginal cost of production (which is the cost of hiring labor and capital). Under competition, P=MC, so", null, "${\\mu=1}$, and", null, "${s_L = 1-\\alpha}$. But again, do we think we really have true competition at work in the economy? Probably not. So", null, "${\\mu>1}$ to some extent.\n\nNow that we know a little about", null, "${s_L}$, go back to the residual calculation", null, "$\\displaystyle R = \\frac{Y}{K^{1-s_L}L^{s_L}} = \\frac{A K^{\\alpha} L^{1-\\alpha}}{K^{1-s_L}L^{s_L}} = A\\left(\\frac{K}{N}\\right)^{s_L(1-\\mu)}. \\ \\ \\ \\ \\ (4)$\n\nThe residual measure of productivity captures not only", null, "${A}$ – true productivity – but also this adjustment for the capital/labor ratio. So", null, "${R}$ is not a clean measure of", null, "${A}$ if", null, "${\\mu >1}$.\n\nWhat is the growth rate of the residual measure of productivity? That is", null, "$\\displaystyle \\frac{\\dot{R}}{R} = \\frac{\\dot{A}}{A} - s_L(\\mu-1)\\frac{\\dot{k}}{k} \\ \\ \\ \\ \\ (5)$\n\nwhere I used", null, "${\\dot{k}/k}$ as the growth rate of the capital/labor ratio,", null, "${K/N}$. Again, if we had perfect competition and", null, "${\\mu=1}$, then the growth rate of the measured residual,", null, "${\\dot{R}/R}$, would be exactly equal to the growth rate of “true” productivity,", null, "${\\dot{A}/A}$. But once", null, "${\\mu>1}$, this is no longer the case, and what we can measure (", null, "${\\dot{R}/R}$) need not equal what we want to measure (", null, "${\\dot{A}/A}$).\n\nThis is a general issue. But it may not be totally deadly, because perhaps at least changes in", null, "${\\dot{R}/R}$ could tell us about changes in", null, "${\\dot{A}/A}$. For example, let’s say that", null, "${s_L}$ and", null, "${\\mu}$ are constant over time. And assume that the economy is essentially at steady state, so that", null, "${\\dot{k}/k}$ is growing at the same rate as true productivity. Then if the growth rate of true productivity went down,", null, "${\\dot{R}/R}$ would fall as well. Working that logic backwards, if the economy is at steady state and", null, "${s_L}$ and", null, "${\\mu}$ are constant, then changes in the growth rate of", null, "${R}$ are informative about changes in the growth rate of", null, "${A}$. The slowdown in measured productivity growth we see in the data would tell us that true productivity growth (innovation?) is also slowing down.\n\nBut, this isn’t true if", null, "${s_L}$ and", null, "${\\mu}$ are changing. Are they changing? The labor share", null, "${s_L}$ is certainly falling over the last two to three decades. What about the markup,", null, "${\\mu}$? Is that changing?\n\nIt’s hard to measure that directly, but I think there is a way to infer that it almost certainly has been rising. Remember that relationship of", null, "${s_L = (1-\\alpha)/\\mu}$? That came from assuming that firms are cost-minimizing (not necessarily profit-maximizing even, just cost-minimizing). That cost-minimization problem also implies that the following has to be true", null, "$\\displaystyle \\text{Returns to scale} = \\mu (1-s_{\\pi}). \\ \\ \\ \\ \\ (6)$\n\n“Returns to scale” captures the returns to scale of the true production function. What I wrote above has constant returns to scale (", null, "${\\alpha}$ plus", null, "${1-\\alpha}$ add up to 1), and so the returns to scale are equal to 1. We can have a long argument about whether that is correct or not, but it isn’t actually crucial for the point I’m making here.", null, "${s_{\\pi}}$ is the share of GDP that gets paid out as profits – A/K/A rents. What this relationship says is that if the share of output going to rents rises, then so must the markup. Or think about it the other way. If firms can charge higher markups, they must be earning more in rents/profits. This is just a mechanical relationship, so it doesn’t necessarily have to be driven by one or the other.\n\nLet’s put this all together. We’ve had a decline in the labor share of GDP,", null, "${s_L}$, over the last few decades. By necessity, this implies that the share of GDP going to rents or payments to capital have risen. If the share of GDP going to rents,", null, "${s_{\\pi}}$, went up at all, then the markup being charged by firms,", null, "${\\mu}$, must have risen as well.\n\nLet’s throw some numbers at this. Assume that", null, "${\\dot{k}/k = 0.015}$ over the last 30 years. Let the true growth rate of innovation be", null, "${\\dot{A}/A = 0.02}$ over the entire last 30 years (yes, an assumption). Start out 30 years ago by assuming the labor share is", null, "${s_L = 0.65}$ and that the markup is", null, "${\\mu=1.1}$, so firms charge 10% over marginal cost. This means that measured productivity growth is", null, "$\\displaystyle \\frac{\\dot{R}}{R} = 0.02 - 0.65\\times(1.1-1)\\times0.015 = 0.018 \\ \\ \\ \\ \\ (7)$\n\nor about 1.8% per year. This is pretty close to what you see in the data for the period from 1948-1973.\n\nNow, let the labor share fall to", null, "${s_L = 0.60}$, and let the markup rise to", null, "${\\mu = 1.5}$. This is a pretty big markup, but for the moment I’m just trying to establish a point, so bear with me. We get that measured productivity growth is", null, "$\\displaystyle \\frac{\\dot{R}}{R} = 0.02 - 0.6\\times(1.5-1)\\times0.015 = 0.015 \\ \\ \\ \\ \\ (8)$\n\nor only about 1.5% per year. Measured productivity growth has fallen, even though the underlying true productivity growth rate did not change at all.\n\nThe point is that lower measured productivity growth –", null, "${\\dot{R}/R}$ – does not necessarily mean that actual innovation has slowed down. The decline in labor share is consistent with a rise in markups (and profit’s share of output), which will produce a drag on measured productivity growth,", null, "${\\dot{R}/R}$. I don’t think this story explains all of why measured productivity growth has fallen recently, but it probably plays a part.\n\nMeasured productivity growth is about how efficiently we use our inputs, and that is only partially related to the true rate of innovation. Measured productivity growth also depends on market power, because that also dictates how efficiently we use our inputs. If firms are gaining market power – meaning they can charge a higher markup – then this implies that they will use inputs less efficiently from a social perspective. Each individual firm is producing less than the amount they would under competition (with costs = marginal costs), and so we are not getting everything we can out of our inputs. If market power has increased, this exacerbates that issue, and so measured productivity – the efficiency of input use – will fall.\n\nYou cannot look at measured productivity growth,", null, "${\\dot{R}/R}$, and make any definitive conclusions about what is happening to true innovation or productivity growth. You cannot infer that recent innovations are less useful or productive than those that came before just because", null, "${\\dot{R}/R}$ is falling. It may be that the policies and norms transfering some share of GDP from labor to profits/rents are pushing down the growth rate of measured productivity as well.\n\nIt’s also quite possible that you could actively work to curtail the profit share of GDP – through taxes or regulation or whatever – and yet see measured productivity rise as the markup goes down. Think about the example above, and how measured productivity growth is higher even though the markup (and hence the profit share) is lower.\n\nOr think about the opposite situation, where you propose a policy that actively favors the profit share (lower taxes on businesses or entrepreneurs, weaker labor laws, allowing concentration of industries). It isn’t even theoretically true that this will necessarily lead to higher measured productivity growth. In the example above, any policy that tried to use lower labor shares and higher markups would have to raise the underlying growth rate of innovation by 15% – from 2% to 2.3% per year – just to break even. That is a massive change, and I think it is fair to be completely skeptical that any of those policies could raise underlying rates of innovation by that much.\n\nThere is not an either/or choice between rapid productivity growth and a higher labor share. Repeat after me: there is not an either/or choice between rapid productivity growth and a higher labor share.\n\nA last point is that we do care explicitly about measured productivity growth if we care at all about GDP. Measured productivity growth tells us how efficiently we use inputs to produce GDP, so anything that makes measured productivity go up – better technology (", null, "${A}$) or lower markups – is good for us in terms of producing GDP.\n\n# Constant versus Balanced Growth\n\nNOTE: The Growth Economics Blog has moved sites. Click here to find this post at the new site.\n\nEvery theory of economic growth that I can think of is written to deliver “balanced growth” in the long run. Balanced growth means not only that the growth rate is constant as time goes off to infinity, but also that control variables (the savings rates, the fraction of labor allocated to R&D, the fraction of spending on education) are constant as well as time goes off to infinity.\n\nGrowth theories work hard to achieve this balanced growth, often making assumptions about functional forms to ensure that the model delivers balanced growth. Why?\n\nThe reasoning is that this is what we see in the data. Output per worker grows at roughly a constant rate in, at least, the major Western economies. If you’ve read this blog, you’ve seen a figure like this, which shows the constant growth rate over long periods of time for several economies.", null, "But notice that all this figure indicates is that the growth rate has been constant for a Long Time. But a Long Time is not infinity, and constant growth of GDP per capita does not necessarily imply that we have a situation of balanced growth.\n\nJust because growth is constant, this doesn’t mean that the control variables underlying growth are also constant, as is necessary for balanced growth. It is possible that we have achieved constant growth because of a fortuitous coincidence of control variables growing at rates that just offset each other such that output per person grows at a constant rate.\n\nChad Jones, and in a recent update Jones and Fernald, have explored whether in fact we should think of growth (in the US) as balanced growth or just as constant growth. What Jones originally suggested, and Jones and Fernald reassert, is that the control variables underlying growth in the US are not constant. Hence, the experience of the US up through 2015 may not represent balanced growth. And this in turn implies that we cannot necessarily expect the US to continue to follow the same constant growth rate in the future.\n\nJones and Fernald break down the roughly 2% growth in output per capita in the U.S. from 1950 to 2007 as follows:\n\n• 0 percentage points due to capital deepening. In short, the capital/output ratio in the US has remained roughly constant.\n• 0.4 percentage points due to increasing human capital. This is calculated from the fact that average years or schooling were rising in this period.\n• 0.4 percentage points due to scale effects. This captures the fact that increasing population generates more people doing R&D as well as larger markets that increase incentives to do R&D.\n• 1.2 percentage points due to increasing R&D intensity, meaning that the share of the labor force engaged in R&D was growing.\n\nOf these, the increase in human capital and the increase in R&D intensity both reflect growth in control variables. In short, neither can grow forever, as they are bounded. Years of schooling is bounded by life-span (and actively removes labor from production) and the share of workers engaged in R&D cannot go above 1. So by necessity, both of those terms cannot continue to grow forever, and hence growth would have to fall below 2% as some point.\n\nWe can already see in the data that average years of education is starting to level off at about 14. And so that 0.4 p.p. we got from growing human capital may begin to disappear in the near future.\n\nThe percent of workers doing R&D has been generating much of the growth we saw over the last 50-60 years, according to Jones and Fernald. Can this continue? As I said, not forever, as that share is bounded above by 1. But we have to be careful here, as this is not just the share of workers in the US doing R&D, but something like a weighted average of the share of workers doing R&D across all countries. As China and India ramp up their shares, this can continue to pump up R&D intensity for potentially a long time. There is no obvious leveling off of R&D share, as there is with education. So perhaps we can continue on this constant (but not balanced) growth path for decades or a century longer?\n\nOf all the terms above, only the scale effect is not a control variable, and hence is capable of continuing to provide growth forever. This means that the underlying balanced growth rate of the economy may be as low as 0.4% per year. But even that may be an overestimate, as population growth is slowing down over time.\n\nAre we doomed to eventually see the growth rate slow down to 0.4% per year or less? Possibly. But underlying this all is a very distinct assumption about how technology evolves. Jones and Fernald, as well as nearly all growth models, assume that the flow of technology rises as technology accumulates, but at a decreasing rate. This reflects the concept that it is harder to invent new things as the number of technologies increases. By itself this would imply that the growth rate goes to zero, and it is only offset by the growth in the absolute number of R&D workers. If we stop jacking up the share of workers doing R&D, and the population size levels off, then we will no longer be able to offset this tendency for the growth rate of technology to fall towards zero.\n\nBut what if the flow of technology doesn’t have this tendency to decrease with the level of technology? We make that assumption because it delivers balanced growth in our models, but that doesn’t mean it is true. What if AI, or robots, or quantum computing, or BIG DATA, or the singularity, or aliens, or something else means that if we hit a certain level of technology, the flow of new technologies explodes? Then even with a constant number of R&D workers (or perhaps even a declining number) we could see technological growth rise and economic growth with it.\n\nThe question of what happens to growth over the next few decades boils down to two sub-questions. (A) Will the intensity of R&D effort level off, or will rich countries as well as India and China continue to push greater proportions of their resources and people into R&D? If so, then growth can be kept close to 2% for a long time. (B) Will there be a fundamental shift in the nature of technological progress?\n\nA little aside from this discussion is that it isn’t exactly clear why we work so hard to make sure our growth models produce balanced growth, when we don’t necessarily see balanced growth in the data. Maybe its okay if your growth model has a very long-run prediction that growth is zero. We might just be on the transition path towards that zero growth rate, but it takes a very long time to get there. In the meantime, your model could be a good indicator of what is going on." ]
[ 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://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://dl.dropboxusercontent.com/u/6823742/figure_3_3.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9535738,"math_prob":0.98816353,"size":10098,"snap":"2023-14-2023-23","text_gpt3_token_len":2092,"char_repetition_ratio":0.16861501,"word_repetition_ratio":0.025280898,"special_character_ratio":0.20944741,"punctuation_ratio":0.09721519,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9873682,"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,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],"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,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-04-01T07:03:20Z\",\"WARC-Record-ID\":\"<urn:uuid:bd011f1f-7f84-4b01-83b0-35d203ff0b38>\",\"Content-Length\":\"138856\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d6b26c0e-8fa2-474d-859c-a44ee5a41662>\",\"WARC-Concurrent-To\":\"<urn:uuid:ccf6c51c-6b46-45a8-b98b-63383c0ce509>\",\"WARC-IP-Address\":\"192.0.78.12\",\"WARC-Target-URI\":\"https://growthecon.wordpress.com/2015/09/\",\"WARC-Payload-Digest\":\"sha1:6BBTM2XWQFCP3ZRJZMPQYH27N65B6UVG\",\"WARC-Block-Digest\":\"sha1:UNBJF5QE6GW3EIRHXH6ZJWVC7IO23ZT7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296949701.56_warc_CC-MAIN-20230401063607-20230401093607-00310.warc.gz\"}"}
https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/12.2207976.full?SSO=1
[ "Translator Disclaimer\n5 June 2009 Optical phase measurement emphasized\nProceedings Volume 9666, 11th Education and Training in Optics and Photonics Conference; 96661G (2009) https://doi.org/10.1117/12.2207976\nEvent: Eleventh International Topical Meeting on Education and Training in Optics and Photonics, 2009, St. Asaph, United Kingdom\nAbstract\nIn undergraduate optics laboratory, one thing that is not easily achieved is quantitative measurement of optical phase. The reason is that optical phase measurement usually requires expensive interferometers. We demonstrate measurement of relative optical phase shift upon total internal reflection. Total internal reflection, though known by every student of optics, is remembered by 100% reflection at an interface when angle of incidence is greater than the critical angle, that is, it seems all the same beyond the critical angle. This is not entirely true if one considers the optical phase, which keeps changing upon total internal reflection as the angle of incidence is varied. Furthermore, for linear polarization states perpendicular to or in the plane of incidence (s- and p- polarization), optical phase changes differently upon total internal reflection. Therefore, a linearly polarized beam composed of both s- and p- polarization undergoing total internal reflection becomes elliptically polarized. We show how to determine relative optical phase change between s- and p- polarization states through analysis of the outgoing elliptically polarized beam. Such optical phase change can also be theoretically calculated using Fresnel equations.\n\n## INTRODUCTION\n\nFor any harmonic signal, amplitude and phase information are both essential. For example, in communication applications, amplitude, frequency, and phase modulation schemes are all well established methods. In optical communications, however, intensity modulation is mostly used. Although phase modulation at optical frequencies is straightforward, it has never become a preferred method. The main reason for this is that direct phase detection at optical frequencies is extremely difficult, whereas intensity detection through photodiodes is straightforward. The difficulty for direct phase detection stems from the fact that one optical cycle is a few femtoseconds (10−15 second). Photodetectors that can respond in such a short amount of time have not yet been invented. Furthermore, in a typical optical communication system phase may constantly vary. Consider, for example, a semiconductor laser, a piece of optical fiber, and a photodetector. Unless the optical fiber is in an ultrastable condition, that is, neither temperature fluctuations nor vibrations occur in the environment, phase will constantly fluctuate due to temperature and stress induced changes in refractive index and length of the optical fiber. Consequently, detection of absolute phase at optical frequencies is impractical.\n\nAlthough measurement of absolute optical phase is both very difficult and impractical, there are many optical devices that work based on optical phase changes, that is, relative optical phase. There are many interferometric devices that can measure relative optical phase through interference of two beams that are originally split after being emitted from a source. Among many types of optical sensors, those utilizing phase change as their working principle are usually superior to sensors based on optical intensity measurement.\n\nIn optics curriculum, numerous qualitative demonstrations of interference phenomena can be performed. Students, including those taking only introductory physics classes, can be easily shown the interference pattern through a double slit arrangement. Typically, a laser beam impinging on two narrow slits that are separated by a fraction of a millimeter results in an interference pattern on a screen. In optics laboratory classes, more advanced experiments, such as Michelson interferometer or Fabry-Perot interferometer are possible. In all these cases, most of the time, the student experience is limited to fringe counting, that is, more of a qualitative approach is utilized rather than a quantitative description of optical phase.\n\nAn important phenomenon where optical phase manifests itself is total internal reflection. There are, for example, sensors dependent on relative phase shift upon reflection from an interface.1 Fresnel rhomb is an optical component that works based on optical phase shift upon total internal reflection.2,3 In typical experiments involving total internal reflection, students are asked to send a laser beam to a prism, and observe the reflected and refracted beams as the angle of incidence is varied. Of course, beyond the critical angle, one observes total internal reflection, which is simply 100% reflection, and the transmitted beam disappears. If the prism angles are known and measurement of the angle of incidence is carried out, then the critical angle can be determined. If the reflectance---ratio of the reflected to the incident optical power---at, for example, glass-air interface is measured, one can verify Fresnel equations.2,4-8 In all such experiments, however, one merely deals with optical power measurements, and optical phase changes are omitted. Students may leave the lab thinking that beyond the critical angle, total internal reflection is nothing but 100% reflection. This is not true. In fact, total internal reflection is a very interesting phenomenon with many subtle aspects.9 One of these subtleties is continuous change of optical phase upon total internal reflection. To study the optical phase change upon total internal reflection, one needs to perform a complete analysis using Fresnel equations.\n\nOptical phase change can be measured interferometrically.10 There are, however, multiple challenges that need to be faced in a typical interferometer setup. First, the setup needs to be on a sufficiently heavy optical table, and one needs to keep the arms of the interferometer stable. Such stringent conditions may make it difficult to emphasize quantitative characterization of optical phase in an undergraduate laboratory.\n\nWe propose in this paper a simple experiment emphasizing optical phase change based on measurement and analysis of elliptically polarized state of light that is formed upon total internal reflection. We present the relevant theory on elliptically polarized light and Fresnel equations, and demonstrate both qualitative and quantitative experiments that demonstrate optical phase shift upon total internal reflection.\n\n## 2.1.\n\n### Elliptically polarized light\n\nIf electric field vector of an electromagnetic wave sweeps an ellipse, it is said to be elliptically polarized. For a plane wave traveling in the z direction, and if x and y axes represent horizontal and vertical directions, respectively, the electric field vector of an elliptically polarized beam can be written as:\n\nElliptical polarization is the most general expression of polarization state. Linear and circular polarization states are special cases. If ϕx = ϕy we obtain linear polarization. If |ϕx - ϕy| = π/2 and E0x = E0y then we obtain circularly polarized light. More information on polarization can be found in any standard text in optics, such as ref. 2. Elliptically polarized light can be analyzed with various methods.11\n\n## 2.2.\n\n### Fresnel equations and optical phase shift\n\nFresnel equations result from Maxwell’s equations solved at an interface. Reflectance depends on both the angle of incidence and the polarization state of the incident beam. A well-known effect illustrating the polarization dependence is of Brewster angle: For a light beam linearly polarized parallel to the plane of incidence---p-polarized or TM (transverse magnetic)---the reflected beam diminishes at a certain angle (Brewster angle or polarization angle);12 for a light beam linearly polarized perpendicular to the plane of incidence---s-polarized or TE (transverse electric)---there is always some reflection as the angle of incidence is varied.\n\nThe reflection amplitude coefficients---ratio of reflected electric field to incident electric field---are needed to describe the amplitude and phase changes upon reflection at a dielectric interface. The reflection amplitude coefficients rs and rp for s- and p-polarized light, respectively, can be expressed as:2\n\nwhere θi is the angle of incidence, nti = nt/ni, and ni and nt are the refractive indices of the incident and the transmitted media, respectively. Using reflection amplitude coefficients, we can calculate reflectance by simply the product of an amplitude coefficient and its complex conjugate. Reflectance at air-glass interface for both external (ni < nt) and internal (ni > nt) reflection cases are shown in Fig. 1. Note that for internal reflection, the reflectance is constant at 100% beyond the critical angle.\n\n## Fig 1.\n\nReflectance and phase shift upon reflection as a function of angle of incidence for s- and p-polarized beam at glass--air interface (nglass=1.5 and nair=1.0). θ is the polarization angle (Brewster angle), and θc is the critical angle. When phase shift is constant (0° or 180°) reflectance continuously varies for both external and internal reflection; when reflectance is constant at 100% (total internal reflection), then phase shift continuously varies.", null, "As a light beam is reflected at a dielectric interface, not only does the reflectance depend on its state of polarization and the angle of incidence but also does the phase of the reflected beam.2,1314 If ni < nt, reflection amplitude coefficients are real, and amplitude phase shift is either 0 or π. If, on the other hand, ni > nt, phase shift is 0 or π, or it varies continuously between 0 and π in the case of total internal reflection, where reflection amplitude coefficients are complex. (Fig. 1) In order to calculate the phase shift upon reflection we can simply calculate the argument of the amplitude coefficients. The relative phase shift ∆ϕ can be written as a function of θi and nti as:\n\nFig. 2 shows the relative phase shift for total internal reflection at air-glass interface. This figure summarizes the goal of the experiments to be presented in this paper, that is, we will experimentally demonstrate the validity of the curve in Fig. 2, which shows that relative phase shift ∆ϕ varies between 0 and about 45° giving rise to elliptical polarization.\n\n## Fig 2.\n\nRelative phase shift upon total internal reflection, which is the difference between phase shifts of s- and p-polarized light. The plot is produced for typical glass-air interface, where we used 1.00 and 1.50 for refractive indices of air and glass, respectively.", null, "## 2.3.\n\n### Calculating transmission of an elliptically polarized beam through a linear polarizer\n\nA linear polarizer in Jones calculus15 can be described as follows:\n\nwhere α is the angle between the horizontal (parallel to plane of inci dence) and the polarization transmission axis. As shown in Fig. [exp1], if we send a linearly polarized beam", null, "to the prism, then it becomes elliptically polarized", null, "upon total internal reflection. We can express", null, "and", null, "as follows:\n\nIf the elliptically polarized light", null, ", then, goes through a linear polarizer, the polarization vector out of the polarizer", null, "can be obtained by applying the linear polarization matrix (Eq. 5) on", null, "(Eq. 7):\n\nIf one measures the intensity through the polarizer as the polarization axis is turned between α =0° and α = 360°, the intensity of the transmitted beam will be given by:\n\n## 3.1.\n\n### Qualitative demonstration of optical phase change upon total internal reflection\n\nBefore any quantitative measurement, we can qualitatively show that there is indeed some optical phase change upon total internal reflection, which is revealed by modification of the polarization state. One can send a laser beam to a prism such that light is polarized at 45° with the horizontal. If we place and rotate a polarizer in the path of the beam right before the beam enters into the prism, we can reduce transmission to almost zero, which occurs when polarization axis of the polarizer makes 90° with the polarization direction of the beam. If we now take the polarizer—without modifying its polarization axis direction—and place it in the path of the beam after it exits the prism (Fig. 3), we notice that light is no longer totally blocked indicating modification of the polarization state. Rotating the polarizer axis will further reveal that the beam is not linearly polarized. Rather, it is now elliptically polarized.\n\n## Fig 3.\n\nUpon total internal reflection within the prism, light that is initially linearly polarized (P0) becomes elliptically polarized (P1). By rotating the prism while keeping the plane of incidence unchanged, we can take data at various angles of incidence. With a polarizer, and a photodetector it is possible to determine the difference in optical phase change upon total internal reflection for s- and p- polarizations.", null, "Which event causes the polarization change? Entering the prism, exiting the prism, traveling in the prism, or total internal reflection? We will now discuss each of them and suggest simple experiments to investigate how each of these events can cause a polarization change.\n\nAs the beam enters and exits the prism it goes through glass-air interface, and it partially reflects. From Fig. 1, we know that reflectance and transmittance are both different functions of angle of incidence for s- and p-polarizations. Therefore, if we send a beam that has equal s- and p-polarization components, then we might have some polarization change depending on the angle of incidence. We should also consider phase shifts. Except for total internal reflection we see from Fig. 1 that phase shift for reflection is 0 or 180 degrees. For transmitted beam there is no phase shift.2 Therefore, variation of reflectance based on polarization and phase shifts might cause a polarization change, but cannot result in elliptically polarization, but they can change the polarization direction of the linearly polarized light. For close to normal incidence, however, both polarizations have equal reflectance and transmittance for external and internal reflection cases, and consequently no polarization change is expected upon entry to and exit our of the prism.\n\nFor an ideal non-crystalline material, such as glass, one expects no birefringence. Therefore, it is unlikely that the polarization be modified while the beam is traveling in the prism. For crystals, such as calcite, depending on the polarization axis relative to the crystal axis, we can expect polarization modification. If there is any stress frozen-in during fabrication of the prism, however, then we can expect some stress-induced birefringence. We can check whether the prism has any stress-induced birefringence by sending a beam so that it goes through the prism without any total internal reflection. If we know the angles of incidence at each interface, then we can estimate the outgoing polarization, which should still be in a linear polarization state. If the polarization is not linear, we can conclude that the prism might have some stress-induced birefringence.\n\nIf all the above tests show that there is no polarization modification that makes the outgoing polarization elliptically polarized, then the remaining option is that total internal reflection makes it happen, as expected from the Fresnel theory at interfaces. As displayed in Fig. 1, when light undergoes total internal reflection at glass-air interface, s- and p- polarization components will incur different phase shifts, which will result in elliptically polarized light.\n\n## 3.2.\n\n### Determining phase shift difference by a polarizer and a photodetector\n\nExperimental setup is shown in Fig. 3. A single polarizer and a photodetector---with no quarter-wave plate--- can be enough to determine the relative phase shift. We used a silicon PIN photodiode (Thorlabs FDS100) with a load resistor, and read its voltage output with a digital voltmeter.\n\nThe best way to determine ∆ϕ is to use nonlinear least squares fitting algorithm, which is readily available in commercial data analysis software, such as Igor Pro or Origin. After taking data for the transmitted intensity through the polarizer as a function of the angle α, a nonlinear least squares fit to Eq. 9 with ∆ϕ as a free parameter can be carried out. There is, however, a subtle point. First, Imax needs to be determined. Secondly, α = 0 corresponding to transmission axis being perfectly horizontal needs to be identified.\n\nA better way to perform this nonlinear fit is to use two more free parameters: Imaxand ß, an angular offset for α. Therefore, a nonlinear fit to:\n\nwhere Imax, ß and ∆ϕ are free parameters is more appropriate.\n\nNote that this method is only possible since we already know that the relative phase shift upon total internal reflection in the prism is less than π/2. Otherwise, there will be some ambiguity in the measurement, as phase shift differences of ∆ϕ and of ∆ϕ + π result in the same transmitted intensity function. Fig. 4 shows data for θi = 51.6° fitted with this function revealing ∆ϕ = 45.7° ± 0.3°. We repeated the data collection and analysis for multiple angles of incidence thereby obtaining Fig. 5, which confirms excellent agreement between data and theoretical curve that was calculated using Fresnel theory.\n\n## Fig 4.\n\nData for θi = 51.6° fitted to function in Eq. [fit]. From this nonlinear fit: ∆ϕ = 45.7° ± 0.3°. There are three free parameters for the fit: Imax, ß and ∆ϕ.", null, "## Fig 5.\n\nRelative phase shift data at various angles of incidence. Theoretical curve is obtained for nti = 1.00/1.50, that is, air-glass interface.", null, "## 3.3.\n\n### Total internal reflection in a right angle prism vs. other prism types\n\nNo matter which method we use to determine the polarization state after the light beam comes out of the prism, we assume that the incoming polarization is always linear, and have equal components for each axis. In reality for the right angle prism shown in Fig. 1, this is strictly satisfied only when light enters and exits the prism along the normal---perpendicular to surface---, giving rise to an angle of incidence of of 45° at the total-internal-reflection surface. If the angle of incidence at entry is nonzero, however, then each polarization (parallel and perpendicular to the plane of incidence) will reflect differently making the polarization state of the transmitted beam change slightly.\n\nAn experimental solution to this problem is to use a half-cylinder prism, for which the beam always enters and exits along the normal, as shown in Fig. 6. We know, however, that such special types of prisms are not readily available in most undergraduate laboratories, whereas 45°-45°-90° prism is usually very common.\n\n## Fig 6.\n\nInstead of using a right-angle prism, one can use a half-cylinder prism, for which the beam enters and exits along the normal if is directed towards the center. As a result, the polarization state will not be affected as the beam enters and exits the prism.", null, "For a right-angle prism, we can adjust the initial polarization so that after the reflection at the first air-glass interface the desired polarization with equal components parallel and perpendicular to the plane of incidence is ensured. For the exit surface, the reflection needs to be accounted for in the theoretical curve, as the elliptically polarized light is reflected at the glass-air interface. Fortunately, this effect is not strong. We suggest the instructor to ask students to take data for total internal reflection with angles of incidence larger than =70° at the glass--air interface, and ask them to explain the reason for slight discrepancy.\n\n## CONCLUSION\n\nWe showed that one can teach about optical phase measurement utilizing a simple setup that measures relative optical phase shift upon total internal reflection. Fresnel equations can be used to calculate the relative phase shift. Because light that undergoes total internal reflection, analysis of elliptically polarized light enables us to determine the phase shift upon total internal reflection. One needs only a linear polarizer and a photodetector to quantitatively measure optical phase shift. In addition, within the experiment there are opportunities to use Jones calculus and nonlinear least squares fitting.\n\n## ACKNOWLEDGMENT\n\nWe are very thankful to Michael Pantell for assistance in data collection. We are also extremely grateful to Prof. Peter Siegel for his comments and suggestions.\n\n## REFERENCES\n\n\n\nS. Patskovsky, M. Meunier, and A. V. Kabashin, “Phase-sensitive silicon-based total internal reflection sensor,” Optics Express, 15 (19), 12523 (2007). https://doi.org/10.1364/OE.15.012523 Google Scholar\n\n\n\nE. Hecht, Optics, 111 –127 4thAddison-Wesley, San Francisco, CA (2002). Google Scholar\n\n\n\nR. J. King, “Quarter-wave retardation systems based on the Fresnel rhomb principle,” J. Sci. Instrum, 43 617 –622 (1966). https://doi.org/10.1088/0950-7671/43/9/301 Google Scholar\n\n\n\nR. K. P. Zia, “Symmetric Fresnel Equations: An energy conservation approach,” Am. J. Phys, 56 555 –558 (1988). https://doi.org/10.1119/1.15551 Google Scholar\n\n\n\nA. S. Rupaal, “Interpretation of Fresnel’s Equations for Isotropic Dielectrics,” Am. J. Phys, 34 442 –444 (1966). https://doi.org/10.1119/1.1973018 Google Scholar\n\n\n\nE. Collett, “Mueller-Stokes Matrix Formulation of Fresnel’s Equations,” Am. J. Phys, 39 517 –528 (1971). https://doi.org/10.1119/1.1986205 Google Scholar\n\n\n\nW. T. Doyle, “Graphical approach to Fresnel’s equations for reflection and refraction,” Am. J. Phys, 48 643 –647 (1980). https://doi.org/10.1119/1.12042 Google Scholar\n\n\n\nW. T. Doyle, “Scattering approach to Fresnel’s equations and Brewster’s law,” Am. J. Phys, 53 463 –468 (1985). https://doi.org/10.1119/1.14201 Google Scholar\n\n\n\nWhitehead, Lorne A; Mossman, Michele A, “Reflections on Total Internal Reflection,” Optics and Photonics News, 20 (2), 28 –34 (2009). https://doi.org/10.1364/OPN.20.2.000028 Google Scholar\n\n\n\nKate M. Medicus, Marcus Chaney, John E. Brodziak, Jr., and Angela Davies, “Interferometric measurement of phase change on reflection,” Applied Opt, 46 (11), 2027 –2035 (2007). https://doi.org/10.1364/AO.46.002027 Google Scholar\n\n\n\nS. Trester, “On determining the phase difference introduced by a phase plate producing elliptically polarized light,” Am. J. Phys, 61 62 –66 (1993). https://doi.org/10.1119/1.17412 Google Scholar\n\n\n\nP. J. Ouseph, K. Driver, J. Conklin, “Polarization of light by reflection and the Brewster angle,” Am. J. Phys, 69 1166 –1168 (2001). https://doi.org/10.1119/1.1397457 Google Scholar\n\n\n\nC. S. Cook, “Suggestion Regarding the Introduction of the Concept of Phase Change for Reflected Radiation,” Am. J. Phys, 25 92 –94 (1957). https://doi.org/10.1119/1.1934362 Google Scholar\n\n\n\nG. Friedmann, H. S. Sandhu, “Phase Change on Reflection from Isotropic Dielectrics,” Am. J. Phys, 33 135 –138 (1965). https://doi.org/10.1119/1.1971270 Google Scholar\n\n\n\nR. C. Jones, “New calculus for the treatment of optical systems,” J. Opt. Soc. Am, 31 488 –493 (1941). https://doi.org/10.1364/JOSA.31.000488 Google Scholar", null, "" ]
[ null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_7_1.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_7_2.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_3_5.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_3_6.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_3_7.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_3_8.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_4_1.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_4_2.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_4_3.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_8_1.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_8_2.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_9_1.jpg", null, "https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/ContentImages/Proceedings/9666/96661G/FigureImages/00051_psisdg9666_96661G_page_9_2.jpg", null, "https://www.spiedigitallibrary.org/Content/themes/SPIEImages/Share_white_icon.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.89950496,"math_prob":0.9445711,"size":17181,"snap":"2021-04-2021-17","text_gpt3_token_len":3435,"char_repetition_ratio":0.18786749,"word_repetition_ratio":0.022147147,"special_character_ratio":0.18951167,"punctuation_ratio":0.10555738,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9768416,"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,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,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-01-15T15:40:36Z\",\"WARC-Record-ID\":\"<urn:uuid:6e3d26a4-443a-4810-8892-dc8f07d14889>\",\"Content-Length\":\"192761\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4db79874-5132-42de-8dcb-b80f525f7fbf>\",\"WARC-Concurrent-To\":\"<urn:uuid:f375a875-e0a4-4f19-916f-00d41a32491e>\",\"WARC-IP-Address\":\"107.154.251.12\",\"WARC-Target-URI\":\"https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9666/96661G/Optical-phase-measurement-emphasized/10.1117/12.2207976.full?SSO=1\",\"WARC-Payload-Digest\":\"sha1:WSVANBKZOECWYUHGD4BPSRRDVFG3VXVU\",\"WARC-Block-Digest\":\"sha1:XV2OLWHUKT2S7XBKIZ2K34HYX5H5NLWH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-04/CC-MAIN-2021-04_segments_1610703495901.0_warc_CC-MAIN-20210115134101-20210115164101-00385.warc.gz\"}"}
https://www.selfridges.com/CN/zh/cat/normann-nocto-steel-candleholder-12cm_R03625484/
[ "## 以当地货币和语言购买\n\n• 澳大利亚 / 澳元 \\$\n• 加拿大 / 加元 \\$\n• 中国 / 人民币 ¥\n• 法国 / 欧元 €\n• 德国 / 欧元 €\n• 香港 / 港元 \\$\n• 爱尔兰 / 欧元 €\n• 意大利 / 欧元 €\n• 日本 / 日元 ¥\n• 科威特 / 美元 \\$\n• 澳门 / 港元 \\$\n• 荷兰 / 欧元 €\n• 卡塔尔 / 美元 \\$\n• 沙特阿拉伯 / 美元 \\$\n• 新加坡 / 新加坡元 \\$\n• 韩国 / 韩元 ₩\n• 西班牙 / 欧元 €\n• 台湾 / 新台币 \\$\n• 阿拉伯联合酋长国 / 美元 \\$\n• 英国 / 英镑 £\n• 美国 / 美元 \\$\n• 不符合您的要求?阅读更多\n• 简体中文\n• 英语\n• 英语\n• 简体中文\n• 英语\n• 英语\n• 英语\n• 简体中文\n• 英语\n• 英语\n• 英语\n• 英语\n• 英语\n• 简体中文\n• 英语\n• 英语\n• 英语\n• 英语\n• 简体中文\n• 英语\n• 英语\n• 英语\n• 简体中文\n• 英语\n• 英语\n• 简体中文\n• 英语\n• 英语\n• 简体中文\n\n## 国际送货\n\nselfridges.com 上几乎所有的商品均可提供国际配送服务,您的订单可发往全世界 130 个国家/地区,包括北美、澳洲、中东及中国。\n\n• 阿尔及利亚\n• 安道尔\n• 安提瓜和巴布达\n• 阿鲁巴\n• 澳大利亚\n• 奥地利\n• 阿塞拜疆\n• 巴林\n• 孟加拉国\n• 巴巴多斯\n• 白俄罗斯\n• 比利时\n• 伯利兹\n• 百慕大\n• 玻利维亚\n• 博兹瓦纳\n• 文莱\n• 保加利亚\n• 柬埔寨\n• 加拿大\n• 开曼群岛\n• 智利\n• 中国大陆\n• 哥伦比亚\n• 哥斯达黎加\n• 克罗地亚\n• 塞浦路斯\n• 捷克共和国\n• 丹麦\n• 多米尼克\n• 多米尼加共和国\n• 厄瓜多尔\n• 埃及\n• 萨尔瓦多\n• 爱沙尼亚\n• 芬兰\n• 法国\n• 法属圭亚那\n• 德国\n• 直布罗陀\n• 希腊\n• 格林纳达\n• 瓜德罗普岛\n• 危地马拉\n• 根西岛\n• 圭亚那\n• 洪都拉斯\n• 香港\n• 匈牙利\n• 冰岛\n• 印度\n• 印度尼西亚\n• 爱尔兰\n• 以色列\n• 意大利\n• 牙买加\n• 日本\n• 泽西岛\n• 约旦\n• 哈萨克斯坦\n• 肯尼亚\n• 科威特\n• 老挝\n• 拉脱维亚\n• 黎巴嫩\n• 莱索托\n• 列支敦士登\n• 立陶宛\n• 卢森堡\n• 澳门\n• 马来西亚\n• 马尔代夫\n• 马耳他\n• 马提尼克岛\n• 马约特岛\n• 墨西哥\n• 摩纳哥\n• 蒙特塞拉特\n• 摩洛哥\n• 缅甸\n• 纳米比亚\n• 荷兰\n• 新西兰\n• 尼加拉瓜\n• 尼日利亚\n• 挪威\n• 阿曼\n• 巴基斯坦\n• 巴拿马\n• 巴拉圭\n• 秘鲁\n• 菲律宾\n• 波兰\n• 葡萄牙\n• 波多黎各\n• 卡塔尔\n• 留尼汪岛\n• 罗马尼亚\n• 卢旺达\n• 圣基茨与尼维斯\n• 圣卢西亚\n• 圣马丁岛(法属)\n• 圣马力诺\n• 沙特阿拉伯\n• 塞尔维亚\n• 新加坡\n• 斯洛伐克\n• 斯洛文尼亚\n• 南非\n• 韩国\n• 西班牙\n• 斯里兰卡\n• 苏里南\n• 斯威士兰\n• 瑞典\n• 瑞士\n• 台湾\n• 坦桑尼亚\n• 泰国\n• 特立尼达和多巴哥\n• 土耳其\n• 乌干达\n• 乌克兰\n• 阿拉伯联合酋长国\n• 英国\n• 美国\n• 乌拉圭\n• 委内瑞拉\n• 越南\n\n# NORMANN Nocto 钢制烛台 12 厘米\n\n¥145.00\n\n*进口关税将在结算时显示\n\n01 02 03 04 05\n\nNormann 钢制烛台\n\nMake在燃烧到环圈之前吹出蜡烛,避免污染。用湿布擦干净\n\n## 英国和欧洲\n\n¥90.00\n• 无限英国定时、指定日和标准配送\n• 英国境内次日配送(英国时间下午 6 点前下单)\n• 无限欧盟地区标准配送\n• 免费退货\n• 不受最低消费金额限制\n\n## 全球\n\n¥360.00\n• 订单金额超过¥ 360.00英国时间,指定日期和标准交货时间不受限制\n• 订单满¥ 360.00在全球范围内无限次送货" ]
[ null ]
{"ft_lang_label":"__label__zh","ft_lang_prob":0.97177446,"math_prob":0.42589974,"size":381,"snap":"2021-21-2021-25","text_gpt3_token_len":379,"char_repetition_ratio":0.0530504,"word_repetition_ratio":0.0,"special_character_ratio":0.23884514,"punctuation_ratio":0.05882353,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97530615,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-11T02:21:49Z\",\"WARC-Record-ID\":\"<urn:uuid:b1a3d85d-24a5-4c90-a948-41a51940e913>\",\"Content-Length\":\"280573\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0223b9de-682f-45b3-b796-fec96565c7a7>\",\"WARC-Concurrent-To\":\"<urn:uuid:4b3efd84-d45e-4f26-a2a3-8bdc2bdf18c8>\",\"WARC-IP-Address\":\"104.18.20.144\",\"WARC-Target-URI\":\"https://www.selfridges.com/CN/zh/cat/normann-nocto-steel-candleholder-12cm_R03625484/\",\"WARC-Payload-Digest\":\"sha1:KDQOAWTU4MHDPZHQ6KFCETT3IHT4W7SH\",\"WARC-Block-Digest\":\"sha1:VR4W5SVY322UFOAEDWIRU5E5CJMZWSD5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243991553.4_warc_CC-MAIN-20210510235021-20210511025021-00116.warc.gz\"}"}
https://pandas.pydata.org/pandas-docs/version/0.17.1/generated/pandas.core.groupby.DataFrameGroupBy.rank.html
[ "# pandas.core.groupby.DataFrameGroupBy.rank¶\n\nDataFrameGroupBy.rank(axis=0, numeric_only=None, method='average', na_option='keep', ascending=True, pct=False)\n\nCompute numerical data ranks (1 through n) along axis. Equal values are assigned a rank that is the average of the ranks of those values\n\nParameters: axis : {0 or ‘index’, 1 or ‘columns’}, default 0 Ranks over columns (0) or rows (1) numeric_only : boolean, default None Include only float, int, boolean data method : {‘average’, ‘min’, ‘max’, ‘first’, ‘dense’} average: average rank of group min: lowest rank in group max: highest rank in group first: ranks assigned in order they appear in the array dense: like ‘min’, but rank always increases by 1 between groups na_option : {‘keep’, ‘top’, ‘bottom’} keep: leave NA values where they are top: smallest rank if ascending bottom: smallest rank if descending ascending : boolean, default True False for ranks by high (1) to low (N) pct : boolean, default False Computes percentage rank of data ranks : DataFrame" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.59415025,"math_prob":0.90977526,"size":1044,"snap":"2022-40-2023-06","text_gpt3_token_len":273,"char_repetition_ratio":0.12596154,"word_repetition_ratio":0.0,"special_character_ratio":0.26436782,"punctuation_ratio":0.20895523,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9596765,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-06T15:08:22Z\",\"WARC-Record-ID\":\"<urn:uuid:f8811069-5c79-4b49-934e-7b13e426402e>\",\"Content-Length\":\"20547\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:eeefe48c-6b26-46e2-9433-8d7c25b97e48>\",\"WARC-Concurrent-To\":\"<urn:uuid:f6574591-50dc-4ba4-b918-5c6e6122c2b8>\",\"WARC-IP-Address\":\"172.67.71.236\",\"WARC-Target-URI\":\"https://pandas.pydata.org/pandas-docs/version/0.17.1/generated/pandas.core.groupby.DataFrameGroupBy.rank.html\",\"WARC-Payload-Digest\":\"sha1:5WWWUFWAGFITD767WA6HO22UP5ASUO6G\",\"WARC-Block-Digest\":\"sha1:BFNRHQ4WGOYFW4VG45T6WY7QKHG5KDOM\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030337836.93_warc_CC-MAIN-20221006124156-20221006154156-00180.warc.gz\"}"}
https://number.rocks/as-simplified/604/2520
[ "# Simplify 604/2520 to lowest terms\n\n/\n\n#### Solution for what is 604/2520 in simplest fraction\n\n604/2520 =\n\n604:4/2520:4 = 151/630\n\nNow we have: what is 604/2520 in simplest fraction = 151/630\n\nQuestion: How to reduce 604/2520 to its lowest terms?\n\nStep by step simplifying fractions:\n\nStep 1: Find GCD(604,2520) = 4.\n\nStep 2: Divide both numerator & denominator by 4\n= 604/4/2520/4 = 151/630\n\nTherefore, 151/630 is simplified fraction for 604/2520" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.84661275,"math_prob":0.9182871,"size":247,"snap":"2019-51-2020-05","text_gpt3_token_len":79,"char_repetition_ratio":0.12757201,"word_repetition_ratio":0.0,"special_character_ratio":0.41700405,"punctuation_ratio":0.16,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9960579,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-09T11:29:33Z\",\"WARC-Record-ID\":\"<urn:uuid:bbc1161a-0574-4900-ad01-2766ab5ebefa>\",\"Content-Length\":\"7312\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:49656b6a-0650-45eb-893b-6f2d3eb3db2d>\",\"WARC-Concurrent-To\":\"<urn:uuid:4c3f2f78-dce9-4b1e-90f2-354d7d2d4a28>\",\"WARC-IP-Address\":\"166.62.6.39\",\"WARC-Target-URI\":\"https://number.rocks/as-simplified/604/2520\",\"WARC-Payload-Digest\":\"sha1:NYLWZAJTVQDNKABPUJB6YCRWFYZBON4K\",\"WARC-Block-Digest\":\"sha1:EM73EUGCAJKFMZR5PCD33UIBC6BP57XP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575540518627.72_warc_CC-MAIN-20191209093227-20191209121227-00552.warc.gz\"}"}
https://metanumbers.com/1273617
[ "# 1273617 (number)\n\n1,273,617 (one million two hundred seventy-three thousand six hundred seventeen) is an odd seven-digits composite number following 1273616 and preceding 1273618. In scientific notation, it is written as 1.273617 × 106. The sum of its digits is 27. It has a total of 5 prime factors and 16 positive divisors. There are 828,576 positive integers (up to 1273617) that are relatively prime to 1273617.\n\n## Basic properties\n\n• Is Prime? No\n• Number parity Odd\n• Number length 7\n• Sum of Digits 27\n• Digital Root 9\n\n## Name\n\nShort name 1 million 273 thousand 617 one million two hundred seventy-three thousand six hundred seventeen\n\n## Notation\n\nScientific notation 1.273617 × 106 1.273617 × 106\n\n## Prime Factorization of 1273617\n\nPrime Factorization 33 × 43 × 1097\n\nComposite number\nDistinct Factors Total Factors Radical ω(n) 3 Total number of distinct prime factors Ω(n) 5 Total number of prime factors rad(n) 141513 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 1,273,617 is 33 × 43 × 1097. Since it has a total of 5 prime factors, 1,273,617 is a composite number.\n\n## Divisors of 1273617\n\n16 divisors\n\n Even divisors 0 16 8 8\nTotal Divisors Sum of Divisors Aliquot Sum τ(n) 16 Total number of the positive divisors of n σ(n) 1.93248e+06 Sum of all the positive divisors of n s(n) 658863 Sum of the proper positive divisors of n A(n) 120780 Returns the sum of divisors (σ(n)) divided by the total number of divisors (τ(n)) G(n) 1128.55 Returns the nth root of the product of n divisors H(n) 10.5449 Returns the total number of divisors (τ(n)) divided by the sum of the reciprocal of each divisors\n\nThe number 1,273,617 can be divided by 16 positive divisors (out of which 0 are even, and 16 are odd). The sum of these divisors (counting 1,273,617) is 1,932,480, the average is 120,780.\n\n## Other Arithmetic Functions (n = 1273617)\n\n1 φ(n) n\nEuler Totient Carmichael Lambda Prime Pi φ(n) 828576 Total number of positive integers not greater than n that are coprime to n λ(n) 69048 Smallest positive number such that aλ(n) ≡ 1 (mod n) for all a coprime to n π(n) ≈ 97922 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 828,576 positive integers (less than 1,273,617) that are coprime with 1,273,617. And there are approximately 97,922 prime numbers less than or equal to 1,273,617.\n\n## Divisibility of 1273617\n\n m n mod m 2 3 4 5 6 7 8 9 1 0 1 2 3 2 1 0\n\nThe number 1,273,617 is divisible by 3 and 9.\n\n• Arithmetic\n• Deficient\n\n• Polite\n\n## Base conversion (1273617)\n\nBase System Value\n2 Binary 100110110111100010001\n3 Ternary 2101201002000\n4 Quaternary 10312330101\n5 Quinary 311223432\n6 Senary 43144213\n8 Octal 4667421\n10 Decimal 1273617\n12 Duodecimal 515069\n20 Vigesimal 7j40h\n36 Base36 raq9\n\n## Basic calculations (n = 1273617)\n\n### Multiplication\n\nn×y\n n×2 2547234 3820851 5094468 6368085\n\n### Division\n\nn÷y\n n÷2 636808 424539 318404 254723\n\n### Exponentiation\n\nny\n n2 1622100262689 2065934470265176113 2631209262215722805510721 3351152846915402232386147947857\n\n### Nth Root\n\ny√n\n 2√n 1128.55 108.396 33.5938 16.6344\n\n## 1273617 as geometric shapes\n\n### Circle\n\n Diameter 2.54723e+06 8.00237e+06 5.09598e+12\n\n### Sphere\n\n Volume 8.65377e+18 2.03839e+13 8.00237e+06\n\n### Square\n\nLength = n\n Perimeter 5.09447e+06 1.6221e+12 1.80117e+06\n\n### Cube\n\nLength = n\n Surface area 9.7326e+12 2.06593e+18 2.20597e+06\n\n### Equilateral Triangle\n\nLength = n\n Perimeter 3.82085e+06 7.0239e+11 1.10298e+06\n\n### Triangular Pyramid\n\nLength = n\n Surface area 2.80956e+12 2.43473e+17 1.0399e+06\n\n## Cryptographic Hash Functions\n\nmd5 300697e1b35b571a058f7f364b1046f1 2585013a336eb0fb7f595c7159afcfecb9ca9455 78409cf77a711a2b666df1749dc9fca0d4b2b9954aae2958eec144a3214dd3e9 137dea3833b6f846d3a59ee1338008edc687a054286028b4ab739899941918b2470f3e597a832087183d2eda9bbfe8236c1dc9431051fc6116ee67e9b1801478 5178bcba20914b3280f781e4685b82b97b82ff4b" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6186874,"math_prob":0.9803961,"size":4718,"snap":"2021-43-2021-49","text_gpt3_token_len":1672,"char_repetition_ratio":0.12176496,"word_repetition_ratio":0.033923306,"special_character_ratio":0.47159815,"punctuation_ratio":0.08489388,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9964783,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-21T14:07:56Z\",\"WARC-Record-ID\":\"<urn:uuid:f9e8b901-7e4e-40c7-aad9-c5330653c3e8>\",\"Content-Length\":\"39618\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:29e609da-0bcf-4fd3-bd4c-289b2ad9b825>\",\"WARC-Concurrent-To\":\"<urn:uuid:1f84a2a4-af23-43f9-a799-587f9f6dd4ec>\",\"WARC-IP-Address\":\"46.105.53.190\",\"WARC-Target-URI\":\"https://metanumbers.com/1273617\",\"WARC-Payload-Digest\":\"sha1:QC57YKYZW5MBNXWQ4H2MTM2QAWRJRFCP\",\"WARC-Block-Digest\":\"sha1:XXYFFZ2YWG3GOH5BEOGZ5FZVOIUBC5QR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585424.97_warc_CC-MAIN-20211021133500-20211021163500-00440.warc.gz\"}"}
https://api-project-1022638073839.appspot.com/questions/how-do-you-solve-12-10b-9-12-9-8b
[ "# How do you solve 12(10b -9) > -12(9+8b)?\n\nApr 23, 2018\n\n$b > 0$\n\n#### Explanation:\n\n$12 \\left(10 b - 9\\right) > - 12 \\left(9 + 8 b\\right)$\nDivide both sides by 12:\n$\\left(10 b - 9\\right) > - \\left(9 + 8 b\\right)$\n$10 b - 9 > - 9 - 8 b$\n$10 b > - 8 b$\n$18 b > 0$\n$b > 0$\n$\\left(0 , \\infty\\right)$" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6488941,"math_prob":0.9997156,"size":382,"snap":"2020-24-2020-29","text_gpt3_token_len":106,"char_repetition_ratio":0.13756613,"word_repetition_ratio":0.0,"special_character_ratio":0.28795812,"punctuation_ratio":0.115384616,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98487115,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-10T12:30:39Z\",\"WARC-Record-ID\":\"<urn:uuid:8285d33c-02f9-45d5-b7e5-05da4edfdd2a>\",\"Content-Length\":\"33131\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0bb37cc9-d653-411a-9560-a5054096a6cd>\",\"WARC-Concurrent-To\":\"<urn:uuid:6877573b-6807-4cae-bf12-aca7eac686d4>\",\"WARC-IP-Address\":\"172.217.7.180\",\"WARC-Target-URI\":\"https://api-project-1022638073839.appspot.com/questions/how-do-you-solve-12-10b-9-12-9-8b\",\"WARC-Payload-Digest\":\"sha1:OC2V2EU42GJIN4ONFFDNIDCNOMW6ZW6C\",\"WARC-Block-Digest\":\"sha1:IJD4YU556KZSCXQVPLDSYGB7UEXEK3YU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593655908294.32_warc_CC-MAIN-20200710113143-20200710143143-00215.warc.gz\"}"}
https://worldofpans.com/how-many-quarts-in-9x9-pan/
[ "# How Many Quarts in a 9×9 Pan?\n\nPerfect measurements are essential for baking. Even a gram over or under can offset the texture or even the taste of your dessert.\n\nThus, to bake in a 9×9 pan, you must know how many quarts are there in such a pan to measure the liquid accurately.\n\nThis guide answers that question for you. It also provides alternative dimensions for pans with similar volume.\n\n## How Many Quarts Are There in a 9×9 pan?\n\nThe number of quarts in your 9×9 pan will depend on its height.\n\n• 9 x 9 pan with a height of 1 inch – 1.4 Quarts\n• 9 x 9 pan with a height of 1.5 inch – 2.1 Quarts\n• 9 x 9 pan with a height of 2 inches – 2.8 Quarts\n\nPans with different heights can be calculated using the methods below.\n\nYou’ll need to know your pan’s length, width, and height to calculate the total quarts.", null, "In this case, the length and width of your square pan are 9 inches.\n\n### Measure the Height of the Pan\n\nAll you’ll need for this process is a measuring tape or a ruler.\n\nMake sure that your ruler starts at zero. That is to say that the edge of the ruler is the point at which the measurement starts.\n\n#### Place the Measuring Device in the Pan\n\nPlace your measuring tape or ruler inside the pan and hold it straight. Don’t measure the height of the pan from the outside of the pan.\n\nThis way, you won’t account for the thickness of the bottom of the pan.\n\nPlacing the ruler inside will give you a more accurate measurement. Measuring the height from the outside will give you a greater value.\n\n#### View the Measuring Device from the Correct Angle\n\nLook at the measuring tape or ruler exactly perpendicular to the top of the pan.\n\nThis way, you can avoid a parallax error and ensure accurate measurement.\n\nA parallax error is when the measurement is greater or less than the actual value because of viewing it from an angle.\n\nAlso, try to record the measurement to the smallest graduation for better accuracy.\n\n#### Multiply All Three Values for the Volume\n\nMultiply the length, width, and height for the volume of the pan.\n\nFor instance, if your pan’s height is 2 inches, you should have 9x9x2 = 162 inches³ (or cubic inches).\n\nTo calculate US quarts, divide the value in cubic inches by 57.75.\n\n`=(9*9*2)/57.75`\n\nSo, 162 cubic inches divided by 57.75 will result in 2.8 quarts.\n\nConsidering 1 quart is equivalent to 4 US cups, then 2.8 quarts is equivalent to 11.2 US cups.\n\nOn the other hand, if your pan’s height is 1.5 inches, its volume in cubic inches will be 121.5.\n\nTherefore, in that case, it will have 2.1 quarts. 2.1 quarts is the same as 8.4 US cups.\n\nIf your pan’s height is 1 inch, its volume in cubic inches will be 81. Therefore, in that case, it will have 1.4 quarts. 1.4 quarts is the same as 5.6 US cups.\n\n### Fill the Pan with Liquid to Measure the Quarts\n\nYou can use another method for measuring quarts, but it’s not as accurate as the one above.\n\nFill the 9×9 pan with water to measure the quarts. Here’s what to do.\n\n#### Measure the Number of Cups of Water\n\nUse a measuring cup to note how many cups of liquid fit into the 9×9 pan.\n\nMake sure that the cup’s measurement is accurate, with a total of 8 ounces in 1 cup. Keep filling the pan with water using the cup until it’s almost full.\n\nFor the last cup, note how much water is left in the full cup after pouring the water into the pan. Subtract the amount that’s left with 8 ounces.\n\nNext, divide that value by 8 and add the result of that to the total number of cups before the last one.\n\nOnce you know the number of cups, divide the value by 4, and you’ll know how many quarts are there in the pan.\n\nConsider this example: the pan can include 9 full cups and a bit of the last cup. There are 5 ounces left in the last cup.\n\nThus, the amount of water used from the last cup is 5 – 8 = 3 ounces.\n\nThe value used divided by the total ounces will result in 3/8 = 0.375.\n\nTherefore, the total number of cups, in this case, is 9+0.375=9.375. For measurement in quarts: 9.375/4=2.34 quarts.\n\n#### Use a Container with Quart Measurements\n\nYou can save some time by directly using a measuring container with volume measurement in quarts. Fill the container with 1 quart of water and pour it into the 9×9 pan.\n\nFirst, fill the pan with 1 or 2 quarts. After that, fill the container with exactly half a quart to avoid spilling.\n\nRepeat this process until the pan is filled to the brim.\n\nAlso, keep noting down or remember the number of quarts you poured in the pan. You’ll know exactly how many quarts there are in your pan once the pan is full of water.\n\n## How Much Is a Quart?\n\nA quart is a measuring unit used to measure the amount of liquid a container can hold.\n\nYou should know the amount of volume your pan has if you plan to use it for baking. A quart is a quarter of a gallon, which is where the name quart comes from.\n\nA quart is also equal to 4 cups, and a cup is the same as 8 ounces. Make sure to use cups with the correct measurement only.\n\nA quart is also about the same as 1 liter. So, you can consider using liters for volume instead.\n\nIt’s best to stick with measurements closest to the nearest milliliter for volume for baking purposes.\n\nOn the other hand, you should measure mass (weight in colloquial terms) to the nearest gram. This way, you can ensure better accuracy in your recipe.\n\nAs a result, your dessert or other baked goods are precisely how you want them to be. If you’re not too worried about that then, cups are good enough to work with.\n\n## What Are Some Substitutions for a 9×9 Pan?\n\nIf you’re looking for a container that can provide you anywhere between 2 quarts and 3.5 quarts, there are quite a few available substitutions.\n\nThis way, you can get the measurements you want without purchasing a specific pan.\n\nHere are some substitutions for pans with different shapes.\n\n### Square Pans\n\n• 8 x 8 x 2 inches pan is approximately equal to 2 quarts or 8 cups\n• 9 x 9 x 1.5 inches pan is approximately equal to 2 quarts or 8 cups\n• 9 x 9 x 2 inches pan is approximately equal to 2.5 quarts or 10 cups\n• 10 x 10 x 1.5 inches pan is approximately equal to 2.5 quarts or 10 cups\n• 10 x 10 x 2 inches pan is approximately equal to 3 quarts or 12 cups\n\n### Circular Pans\n\n• 9 x 2 inches pan is approximately equal to 2 quarts or 8 cups\n• 9 x 2.5 inches pan is approximately equal to 2.5 quarts or 10 cups\n• 9 x 3 inches pan is approximately equal to 3 quarts or 12 cups\n• 10 x 2 inches pan is approximately equal to 2.75 quarts or 11 cups\n\n### Rectangular Pans\n\n• 7 x 11 x 2 inches pan is approximately equal to 2.5 quarts or 10 cups\n• 9 x 5 x 3 inches pan is approximately equal to 2 quarts or 8 cups\n• 9 x 13 x 2 inches pan is approximately equal to 3.5 quarts or 14 cups\n\n### Bundt and Tube Pans\n\n• 9 x 3 inches pan is approximately equal to 2.25 quarts or 9 cups\n• 10 x 3.5 inches pan is approximately equal to 3 quarts or 12 cups\n\n## The Pan’s Volume Is Not The Only Thing That Matters for Baking\n\nWith baking, you must take the depth of the pan into account in addition to its volume.\n\nConsider this example: you have two pans with 3 quarts. However, one pan has a depth of 1 inch and the other 3.\n\nIn that case, the time it’ll take to cook cake batter (for example) will differ. Shallower containers tend to cook cake batter faster.\n\nSo, be careful to adjust the cooking time to prevent it from overcooking or burning.\n\nIf you use a deep container, make sure to cook your cake batter for longer. You can stay clear of eating raw cake by doing so.\n\nIf you’re unsure of how long to cook your cake batter, stick a toothpick in its center when you feel like it’s ready. It’s ready if it comes out clean and raw if it’s wet.\n\n## Last Few Words\n\nCalculating the quarts of your 9 x 9 pan (baking dish) is easy once you know its height.\n\nIf you’re using your pan for more than just measuring liquid, you must also consider the pan’s depth, as mentioned above.\n\nOther articles you may also like:" ]
[ 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.92387205,"math_prob":0.983613,"size":7733,"snap":"2023-40-2023-50","text_gpt3_token_len":2027,"char_repetition_ratio":0.15875275,"word_repetition_ratio":0.12582782,"special_character_ratio":0.25772664,"punctuation_ratio":0.10103329,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9607141,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-29T13:51:13Z\",\"WARC-Record-ID\":\"<urn:uuid:e9103498-9f9f-46a9-ad9f-1bd3661e5c69>\",\"Content-Length\":\"179869\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7d5ceac2-2640-4532-a35c-890313b8327a>\",\"WARC-Concurrent-To\":\"<urn:uuid:67efa16c-eb24-44f7-9aaf-2fe15fce3553>\",\"WARC-IP-Address\":\"162.159.135.42\",\"WARC-Target-URI\":\"https://worldofpans.com/how-many-quarts-in-9x9-pan/\",\"WARC-Payload-Digest\":\"sha1:BXTK6UZRKVWEUP4D5Q6UHDQBPH5TJJWA\",\"WARC-Block-Digest\":\"sha1:TB6UX6D6JODTJJVPNNR5BH35LLZED4RQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510516.56_warc_CC-MAIN-20230929122500-20230929152500-00860.warc.gz\"}"}
https://www.tutorialspoint.com/count-numbers-with-difference-between-number-and-its-digit-sum-greater-than-specific-value-in-cplusplus
[ "# Count numbers with difference between number and its digit sum greater than specific value in C++\n\nWe are provided two numbers N which defines a range [1,N] and D which is a difference.The goal is to find all the numbers in the range [1,N] such that the [ number - (sum of its digits) ] > D. We will do this by traversing numbers from 1 to N and for each number we will calculate its digit sum using a while loop. Check if the number and calculated digit sum has a difference more than D.\n\nLet’s understand with examples.\n\nInput\n\nN=15 D=5\n\nOutput\n\nNumbers such that difference b/w no. and its digit sum greater than value D: 6\n\nExplanation\n\nNumbers 10, 11, 12, 13, 14, 15 satisfy the condition. ( 10-1, 11-2, 12-3, 13-4, 14-5, 15-6 ) all differences are 9 which is greater than 5.\n\nInput\n\nN=20 D=10\n\nOutput\n\nOnly 20 satisfies the condition. 20-2=18 > 10.\n\nExplanation\n\nThis is list of numbers divisible by all non-zero digits : 100 101 102 104 105 110 111 112 115 120 122 124 126 128 132 135 140 144 150 155 162 168 175 184 200\n\n## Approach used in the below program is as follows\n\n• We take integers N and D.\n\n• Function digitSum(int n, int d) takes variables N, D and returns the count of numbers with (num-digitsum) >d.\n\n• Take the initial variable count as 0 for such numbers.\n\n• Take variable digsum as 0\n\n• Traverse range of numbers using for loop. i=1 to i=n\n\n• Now for each number num=i, using while loop check if number is >0.\n\n• calculate digsum+=num%10. Reduce num=num/10 to add the next digit.\n\n• At the end of the while, check if ( i - digsum > d ). If true increment count.\n\n• At the end of all loops count will have a total number which satisfies the condition.\n\n• Return the count as result.\n\n## Example\n\nLive Demo\n\n#include <bits/stdc++.h>\nusing namespace std;\nint digitSum(int n, int d){\nint count = 0;\nint digsum = 0;\nfor (int i = 1; i <= n; i++){\nint num=i;\ndigsum=0;\nwhile(num>0){\ndigsum+=num%10; //sum of digits\nnum=num/10;\n}\nif(i-digsum>d) //original number is i {\ncount++;\n//cout<<i<<\" \";\n}\n}\nreturn count;\n}\nint main(){\nint N = 20;\nint D = 8;\ncout <<\"Numbers such that difference between number and its digit sum greater than specific value: \"<<digitSum(N,D);\nreturn 0;\n}\n\n## Output\n\nIf we run the above code it will generate the following output −\n\nNumbers such that difference between number and its digit sum greater than specific value: 11" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8117074,"math_prob":0.998329,"size":4052,"snap":"2022-40-2023-06","text_gpt3_token_len":1060,"char_repetition_ratio":0.18132411,"word_repetition_ratio":0.07133421,"special_character_ratio":0.28998026,"punctuation_ratio":0.07848101,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99956495,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-01-31T13:50:49Z\",\"WARC-Record-ID\":\"<urn:uuid:4273afb5-91d3-4b82-aa61-1c1b7fb2abcf>\",\"Content-Length\":\"45868\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:004b9560-697c-4d9b-9a3f-80d42410f485>\",\"WARC-Concurrent-To\":\"<urn:uuid:ac2a6e28-837d-475d-89bc-d3eca7ef73c4>\",\"WARC-IP-Address\":\"192.229.210.176\",\"WARC-Target-URI\":\"https://www.tutorialspoint.com/count-numbers-with-difference-between-number-and-its-digit-sum-greater-than-specific-value-in-cplusplus\",\"WARC-Payload-Digest\":\"sha1:H4YC4OPJBUKMX375PADPO36D2B3JZMAR\",\"WARC-Block-Digest\":\"sha1:OXGGTRSQR6NECTXWNYEBLPDU5ZQNKPEM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764499871.68_warc_CC-MAIN-20230131122916-20230131152916-00869.warc.gz\"}"}
https://www.dovov.com/cfloat-3.html
[ "# 在C#中生成随机float的最佳方法\n\n``static float NextFloat(Random random) { double mantissa = (random.NextDouble() * 2.0) - 1.0; double exponent = Math.Pow(2.0, random.Next(-126, 128)); return (float)(mantissa * exponent); }` `\n\n` `static float NextFloat(Random random) { var buffer = new byte; random.NextBytes(buffer); return BitConverter.ToSingle(buffer,0); }` `\n\n` `static float NextFloat(Random random) { // Not a uniform distribution wrt the binary floating-point number line // which makes sense given that NextDouble is uniform from 0.0 to 1.0. // Uniform wrt a continuous number line. // // The range produced by this method is 6.8e38. // // Therefore if NextDouble produces values in the range of 0.0 to 0.1 // 10% of the time, we will only produce numbers less than 1e38 about // 10% of the time, which does not make sense. var result = (random.NextDouble() * (Single.MaxValue - (double)Single.MinValue)) + Single.MinValue; return (float)result; }` `", null, "` `// Perform arithmetic in double type to avoid overflowing double range = (double) float.MaxValue - (double) float.MinValue; double sample = rng.NextDouble(); double scaled = (sample * range) + float.MinValue; float f = (float) scaled;` `\n\n` `static float NextFloat(Random random) { (float)(float.MaxValue * 2.0 * (rand.NextDouble()-0.5)); } //inline version float myVal = (float)(float.MaxValue * 2.0 * (rand.NextDouble()-0.5));` `\n\n• 是第二快(见基准)\n• 均匀分布\n\n` `static float NextFloat(Random random) { return float.MaxValue * ((rand.Next() / 1073741824.0f) - 1.0f); } //inline version float myVal = (float.MaxValue * ((rand.Next() / 1073741824.0f) - 1.0f));` `\n\n• 是最快的(见基准)\n• 是均匀分布的,但是因为Next()是一个31位的随机值,它只会返回2 ^ 31的值。 (相邻值的50%将具有相同的值)\n\ntesting这个页面上的大部分function: (i7,release,没有debugging,2 ^ 28循环)\n\n` ` Sunsetquest1: min: 3.402823E+38 max: -3.402823E+38 time: 3096ms SimonMourier: min: 3.402823E+38 max: -3.402819E+38 time: 14473ms AnthonyPegram:min: 3.402823E+38 max: -3.402823E+38 time: 3191ms JonSkeet: min: 3.402823E+38 max: -3.402823E+38 time: 3186ms Sixlettervar: min: 1.701405E+38 max: -1.701410E+38 time: 19653ms Sunsetquest2: min: 3.402823E+38 max: -3.402823E+38 time: 2930ms` `\n\n` `static float NextFloat(Random random) { double val = random.NextDouble(); // range 0.0 to 1.0 val -= 0.5; // expected range now -0.5 to +0.5 val *= 2; // expected range now -1.0 to +1.0 return float.MaxValue * (float)val; }` `\n\n` `static float NextFloat(Random random) { float f; do { byte[] bytes = new byte; random.NextBytes(bytes); f = BitConverter.ToSingle(bytes, 0); } while (float.IsInfinity(f) || float.IsNaN(f)); return f; }` `" ]
[ null, "https://3.bp.blogspot.com/_XnHVrPnrx7o/TFHUXopxYNI/AAAAAAAABrs/2H_tT_VuUOk/s1600/distribution.png", null ]
{"ft_lang_label":"__label__zh","ft_lang_prob":0.57703096,"math_prob":0.98859346,"size":3403,"snap":"2021-21-2021-25","text_gpt3_token_len":1556,"char_repetition_ratio":0.15033834,"word_repetition_ratio":0.05655527,"special_character_ratio":0.3253012,"punctuation_ratio":0.21558872,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99616843,"pos_list":[0,1,2],"im_url_duplicate_count":[null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-14T04:16:30Z\",\"WARC-Record-ID\":\"<urn:uuid:a65c1e20-cc17-4073-bc39-b8846a7964ed>\",\"Content-Length\":\"22480\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:636370f5-f120-4677-ace9-ba518e9487f2>\",\"WARC-Concurrent-To\":\"<urn:uuid:4afa51e2-2f99-421d-88bf-28588fc23dd9>\",\"WARC-IP-Address\":\"174.138.186.11\",\"WARC-Target-URI\":\"https://www.dovov.com/cfloat-3.html\",\"WARC-Payload-Digest\":\"sha1:VJMAQ77HZZOUTTHC6EJRMXNQ2ZBKGREI\",\"WARC-Block-Digest\":\"sha1:DJPZ5K5ZY6VMJV76X5NC46UL22C7RFOO\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243991737.39_warc_CC-MAIN-20210514025740-20210514055740-00329.warc.gz\"}"}
https://www.numbersaplenty.com/222221
[ "Search a number\nBaseRepresentation\nbin110110010000001101\n3102021211102\n4312100031\n524102341\n64432445\n71613606\noct662015\n9367742\n10222221\n11141a5a\n12a8725\n137a1bc\n1545c9b\nhex3640d\n\n222221 has 4 divisors (see below), whose sum is σ = 223200. Its totient is φ = 221244.\n\nThe previous prime is 222199. The next prime is 222247. The reversal of 222221 is 122222.\n\nIt is a semiprime because it is the product of two primes, and also a Blum integer, because the two primes are equal to 3 mod 4, and also a brilliant number, because the two primes have the same length.\n\nIt is a cyclic number.\n\nIt is not a de Polignac number, because 222221 - 210 = 221197 is a prime.\n\nIt is a Duffinian number.\n\nIt is a Curzon number.\n\nIt is a nialpdrome in base 10.\n\nIt is a congruent number.\n\nIt is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 222221.\n\nIt is not an unprimeable number, because it can be changed into a prime (224221) by changing a digit.\n\nIt is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 50 + ... + 668.\n\nIt is an arithmetic number, because the mean of its divisors is an integer number (55800).\n\n2222221 is an apocalyptic number.\n\nIt is an amenable number.\n\n222221 is a deficient number, since it is larger than the sum of its proper divisors (979).\n\n222221 is an equidigital number, since it uses as much as digits as its factorization.\n\n222221 is an evil number, because the sum of its binary digits is even.\n\nThe sum of its prime factors is 978.\n\nThe product of its digits is 32, while the sum is 11.\n\nThe square root of 222221 is about 471.4032244268. The cubic root of 222221 is about 60.5705753813.\n\nAdding to 222221 its reverse (122222), we get a palindrome (344443).\n\nSubtracting from 222221 its reverse (122222), we obtain a palindrome (99999).\n\nThe spelling of 222221 in words is \"two hundred twenty-two thousand, two hundred twenty-one\", and thus it is an iban number.\n\nDivisors: 1 359 619 222221" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9190338,"math_prob":0.9953461,"size":1878,"snap":"2023-40-2023-50","text_gpt3_token_len":517,"char_repetition_ratio":0.18623266,"word_repetition_ratio":0.011494253,"special_character_ratio":0.342918,"punctuation_ratio":0.14108911,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99711066,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-07T04:41:33Z\",\"WARC-Record-ID\":\"<urn:uuid:c23036cc-b47c-4e81-8310-272419e96dff>\",\"Content-Length\":\"8970\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b4fd02da-2676-4feb-8815-0afe0347e988>\",\"WARC-Concurrent-To\":\"<urn:uuid:3c31b508-bbe5-4d94-a41d-010dc52c4475>\",\"WARC-IP-Address\":\"89.46.108.74\",\"WARC-Target-URI\":\"https://www.numbersaplenty.com/222221\",\"WARC-Payload-Digest\":\"sha1:FYK4NFWGNZWOPJ4WW2HTRYMNKOCT22AO\",\"WARC-Block-Digest\":\"sha1:3I7WX4DVWETYGUATEXXY6IZYHZFA42BY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100632.0_warc_CC-MAIN-20231207022257-20231207052257-00147.warc.gz\"}"}
https://www.mql5.com/en/code/7534
[ "Interesting script?\nSo post a link to it -\nlet others appraise it\n\nYou liked the script? Try it in the MetaTrader 5 terminal", null, "# Moving Averages, MA - indicator for MetaTrader 4\n\nViews:\n66805\nRating:\nPublished:\n2005.11.29 11:54\nUpdated:\n2016.11.22 07:32\n\nThe Moving Average Technical Indicator shows the mean instrument price value for a certain period of time. When one calculates the moving average, one averages out the instrument price for this time period. As the price changes, its moving average either increases, or decreases.\nThere are four different types of moving averages: Simple (also referred to as Arithmetic), Exponential, Smoothed and Linear Weighted. Moving averages may be calculated for any sequential data set, including opening and closing prices, highest and lowest prices, trading volume or any other indicators. It is often the case when double moving averages are used.\nThe only thing where moving averages of different types diverge considerably from each other, is when weight coefficients, which are assigned to the latest data, are different. In case we are talking of  simple moving average, all prices of the time period in question, are equal in value. Exponential and Linear Weighted Moving Averages attach more value to the latest prices.\nThe most common way to interpreting the price moving average is to compare its dynamics to the price action. When the instrument price rises above its moving average, a buy signal appears, if theprice falls below its moving average, what we have is a sell signal.\nThis trading system, which is based on the moving average, is not designed to provide entrance into the market right in its lowest point, and its exit right on the peak. It allows to act according to the following trend: to buy soon after the prices reach the bottom, and to sell soon after the prices have reached their peak.\n\nCalculation\n\nSimple Moving Average (SMA)\n\nSimple, in other words, arithmetical moving average is calculated by summing up the prices of instrument closure over a certain number of single periods (for instance, 12 hours). This value is then divided by the number of such periods.\n\nSMA = SUM(CLOSE, N)/N\n\nWhere:\nN — is the number of calculation periods.\n\nExponential Moving Average (EMA)\n\nExponentially smoothed moving average is calculated by adding the moving average of a certain share of the current closing price to the previous value. With exponentially smoothed moving averages, the latest prices are of more value. P-percent exponential moving average will look like:\n\nEMA = (CLOSE(i)*P)+(EMA(i-1)*(100-P))\n\nWhere:\nCLOSE(i) — the price of the current period closure;\nEMA(i-1) — Exponentially Moving Average of the previous period closure;\nP — the percentage of using the price value.\n\nSmoothed Moving Average (SMMA)\n\nThe first value of this smoothed moving average is calculated as the simple moving average (SMA):\n\nSUM1 = SUM(CLOSE, N)\n\nSMMA1 = SUM1/N\n\nThe second and succeeding moving averages are calculated according to this formula:\n\nSMMA(i) = (SUM1-SMMA1+CLOSE(i))/N\n\nWhere:\nSUM1 — is the total sum of closing prices for N periods;\nSMMA1 — is the smoothed moving average of the first bar;\nSMMA(i) — is the smoothed moving average of the current bar (except for the first one);\nCLOSE(i) — is the current closing price;\nN — is the smoothing period.\n\nLinear Weighted Moving Average (LWMA)\n\nIn the case of weighted moving average, the latest data is of more value than more early data. Weighted moving average is calculated by multiplying each one of the closing prices within the considered series, by a certain weight coefficient.\n\nLWMA = SUM(Close(i)*i, N)/SUM(i, N)\n\nWhere:\nSUM(i, N) — is the total sum of weight coefficients.\n\nMoving averages may also be applied to indicators. That is where the interpretation of indicator moving averages is similar to the interpretation of price moving averages: if the indicator rises above its moving average, that means that the ascending indicator movement is likely to continue: if the indicator falls below its moving average, this means that it is likely to continue going downward.\n\nHere are the types of moving averages on the chart:\n\n• Simple Moving Average (SMA)\n\n• Exponential Moving Average (EMA)\n\n• Smoothed Moving Average (SMMA)\n\n• Linear Weighted Moving Average (LWMA)\n\nTechnical Indicator Description\n\nFull description of MA is available in the Technical analysis: Moving Averages\n\nTranslated from Russian by MetaQuotes Software Corp.\nOriginal code: https://www.mql5.com/ru/code/7534", null, "Momentum\n\nThe Momentum indicator measures the amount that a security’s price has changed over a given time span.", null, "Moving Average Convergence Divergence, MACD\n\nMoving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator.", null, "Moving Average of Oscillator, OsMA\n\nMoving Average of Oscillator is the difference between the oscillator and oscillator smoothing.", null, "Parabolic SAR, Parabolic\n\nParabolic SAR Indicator was developed for analyzing the trending markets." ]
[ null, "https://c.mql5.com/i/code/indicator.png", null, "https://c.mql5.com/i/code/indicator.png", null, "https://c.mql5.com/i/code/indicator.png", null, "https://c.mql5.com/i/code/indicator.png", null, "https://c.mql5.com/i/code/indicator.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9134308,"math_prob":0.969139,"size":4126,"snap":"2020-24-2020-29","text_gpt3_token_len":876,"char_repetition_ratio":0.1812227,"word_repetition_ratio":0.026356589,"special_character_ratio":0.20382938,"punctuation_ratio":0.109042555,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9970322,"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-07-15T12:23:12Z\",\"WARC-Record-ID\":\"<urn:uuid:48ca66b6-1d28-49e0-8d1e-cd5cdf0bda94>\",\"Content-Length\":\"37709\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ccf9d297-9b40-42d7-ba07-b818aab205f9>\",\"WARC-Concurrent-To\":\"<urn:uuid:e8fd717f-95f5-4ae7-8317-f14c5a548a94>\",\"WARC-IP-Address\":\"78.140.180.100\",\"WARC-Target-URI\":\"https://www.mql5.com/en/code/7534\",\"WARC-Payload-Digest\":\"sha1:7ASX2RF7W6NYIWX4TFHTMRCPMEZPW5GH\",\"WARC-Block-Digest\":\"sha1:CWCX3QLG2JEVEKXHVAOBIBMK2I3FSKGX\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593657167808.91_warc_CC-MAIN-20200715101742-20200715131742-00187.warc.gz\"}"}
http://opticaltweezers.org/chapter-5-electromagnetic-theory/
[ "", null, "# Chapter 5 — Electromagnetic Theory\n\nSo far we have described optical forces and torques in two extreme regimes, where their expression is greatly simplified: for particles either much larger (ray optics regime, Chapter 2) or much smaller (Rayleigh regime, Chapter 3) than the wavelength of the trapping light. It is now time to turn our attention to the intermediate regime, where, as is often the case in experiments, the particle dimensions are com- parable to the wavelength. Here, the previously used approximations break down and a complete wave-optical modelling of the particle-light interaction based on electromagnetic scattering theory is necessary in order to obtain accurate results, as shown in Fig. 5.1. In this Chapter, we set out the general equations describing optical forces and torques within the framework of electromagnetic scattering theory. We start by discussing the general scattering problem and the Maxwell stress tensor, which describes the mechanical interaction of light with matter. Then, we derive the optical force and torque exerted by a plane wave in terms of the Maxwell stress tensor. Finally, we discuss optical trapping, where the incident light is focused through an objective lens, by expanding the optical fields using the angular spec- trum representation described in Chapter 4. We will leave the detailed discussion of the numerical methods practically used to compute optical forces for complex particles to Chapter 6.\n\n5  Electromagnetic theory\n\n5.1  Conservation laws and the Maxwell stress tensor\n5.1.1  Angular momentum of light\n\n5.2  Light scattering\n5.2.1  Solution of the Helmholtz equation\n5.2.2  The scattering problem\n5.2.3  Multipole expansion\n5.2.4  Transition matrix\n5.2.5  Mie scattering\n\n5.3  Optical force and torque\n5.3.1  Optical force\n5.3.2  Optical torque\n\n5.4  Optical force from a plane wave\n\n5.5  Transfer of spin angular momentum to a sphere\n\n5.6  Optical force in an optical tweezers\n5.6.1  Orbital angular momentum\n\nProblems\n\nReferences\n\n## 6 thoughts on “Chapter 5 — Electromagnetic Theory”\n\n1.", null, "Bruno Fernando says:\n\nHey, do you have solutions to the exercises? I find it really hard to find help in other materials since different sources use different notations. It would be so nice to see a solution manual to the analytic problems.\n\n1.", null, "giovannivolpe says:\n\nHi, Thank you for your feedback. Unfortunately, at the moment we don’t have the solutions typed in a readable format, but we are planning to have them some time in the future.\n\n2.", null, "Bruno Fernando says:\n\nExercise 5.2.23, page 136: f is a vector, while the rhs is a scalar.\n\n1.", null, "giovannivolpe says:\n\nYes, you are right. f is a scalar and is wrongly indicated as a vector. I’ve posted an erratum.\n\n3.", null, "Bruno Fernando says:\n\nAlso, could someone please check the definitions of the vector spherical harmonics (5.76 page 127). I believe one of the unit vectors r should be the actual vector r.\n\n1.", null, "giovannivolpe says:\n\nYes, thank you for this comment. We’ll post an erratum." ]
[ null, "https://i0.wp.com/opticaltweezers.org/wp-content/uploads/2015/11/Fig5_4.png", null, "http://2.gravatar.com/avatar/5e12bb1a28a1880acd53c30d53d90d97", null, "http://2.gravatar.com/avatar/ee3fdd9e5da5dc5b5706391526cdeeab", null, "http://2.gravatar.com/avatar/5e12bb1a28a1880acd53c30d53d90d97", null, "http://2.gravatar.com/avatar/ee3fdd9e5da5dc5b5706391526cdeeab", null, "http://2.gravatar.com/avatar/5e12bb1a28a1880acd53c30d53d90d97", null, "http://2.gravatar.com/avatar/ee3fdd9e5da5dc5b5706391526cdeeab", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.86861485,"math_prob":0.8801842,"size":3231,"snap":"2022-27-2022-33","text_gpt3_token_len":740,"char_repetition_ratio":0.12674311,"word_repetition_ratio":0.0,"special_character_ratio":0.22067471,"punctuation_ratio":0.13084112,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9743829,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,5,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-06T21:30:08Z\",\"WARC-Record-ID\":\"<urn:uuid:19424167-a707-4685-a7b7-f3c2177fada2>\",\"Content-Length\":\"116509\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5aae4e9f-f8c7-4198-a58e-2368b095fef0>\",\"WARC-Concurrent-To\":\"<urn:uuid:b93accdd-ad67-4ccb-a149-3d0f9506fe67>\",\"WARC-IP-Address\":\"92.205.11.150\",\"WARC-Target-URI\":\"http://opticaltweezers.org/chapter-5-electromagnetic-theory/\",\"WARC-Payload-Digest\":\"sha1:NRI4WFHR3K3C33BZXMPEWDQHJ6JKA2NG\",\"WARC-Block-Digest\":\"sha1:EN4MKYEG2WOWZKZ77QEI2QK62F6P53AC\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104678225.97_warc_CC-MAIN-20220706212428-20220707002428-00594.warc.gz\"}"}
https://keio.pure.elsevier.com/ja/publications/logarithmic-solutions-of-the-fifth-painlev%C3%A9-equation-near-the-ori
[ "# Logarithmic solutions of the fifth painlevé equation near the origin\n\nShun Shimomura\n\n3 引用 (Scopus)\n\n### 抜粋\n\nFor the fifth Painlevé equation near the origin we present two kinds of logarithmic solutions, which are represented, respectively, by convergent series with multipliers admitting asymptotic expansions in descending logarithmic powers and by those with multipliers polynomial in logarithmic powers. It is conjectured that the asymptotic multipliers are also polynomials in logarithmic powers. These solutions are constructed by iteration on certain rings of exponential type series.\n\n元の言語 English 797-825 29 Tokyo Journal of Mathematics 39 3 Published - 2017 3 1\n\n### ASJC Scopus subject areas\n\n• Mathematics(all)" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.6470079,"math_prob":0.6709253,"size":924,"snap":"2020-34-2020-40","text_gpt3_token_len":287,"char_repetition_ratio":0.122826084,"word_repetition_ratio":0.08196721,"special_character_ratio":0.22619048,"punctuation_ratio":0.09090909,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97200656,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-13T18:15:39Z\",\"WARC-Record-ID\":\"<urn:uuid:8bddf967-a663-4ada-aa16-2d1419a1ed49>\",\"Content-Length\":\"39107\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:73c2a417-a8f7-43f9-8609-863f1314898d>\",\"WARC-Concurrent-To\":\"<urn:uuid:ea329a70-72a9-4044-a094-89869cde0b43>\",\"WARC-IP-Address\":\"52.220.215.79\",\"WARC-Target-URI\":\"https://keio.pure.elsevier.com/ja/publications/logarithmic-solutions-of-the-fifth-painlev%C3%A9-equation-near-the-ori\",\"WARC-Payload-Digest\":\"sha1:LJIEAZSJYLXCF6VGE2L6E2I3XBOTL5QV\",\"WARC-Block-Digest\":\"sha1:DZLM7LPA342EIOPX4KTNQ5DECBI4CUYI\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439739048.46_warc_CC-MAIN-20200813161908-20200813191908-00164.warc.gz\"}"}
https://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Drawings/Transforming
[ "# Transforming\n\nChanging the size, rotation and shearing of an object can be done by using the transformation mechanism provided by Apache OpenOffice. The matrix of our API is a standard homogenous 3x3 matrix that may be used together with the java.awt.geom.AffineTransform class from Java. The transformation received describes the actual values of the transformations as a linear combination of the single matrices. The basic object without transformation has a size of (1, 1) and a position of (0, 0), and is not rotated or sheared. Thus, to transform an object get its matrix and multiply from the left side to influence the current appearance. To set the whole transformation directly, build a combined matrix of the single values mentioned above and apply it to the object.\n\n``` XPropertySet xPropSet = (XPropertySet)UnoRuntime.queryInterface( XPropertySet.class, xShape );\n// take the current tranformation matrix\nHomogenMatrix3 aHomogenMatrix3 = (HomogenMatrix3)xPropSet.getPropertyValue(\"Transformation\");\njava.awt.geom.AffineTransform aOriginalMatrix =\nnew java.awt.geom.AffineTransform(aHomogenMatrix3.Line1.Column1,\naHomogenMatrix3.Line2.Column1,\naHomogenMatrix3.Line1.Column2,\naHomogenMatrix3.Line2.Column2,\naHomogenMatrix3.Line1.Column3,\naHomogenMatrix3.Line2.Column3 );\n// rotate the object by 15 degrees\nAffineTransform aNewMatrix1 = new AffineTransform();\naNewMatrix1.concatenate(aOriginalMatrix);\n// and translate the object by 2cm on the x-axis\nAffineTransform aNewMatrix2 = new AffineTransform();\naNewMatrix2.setToTranslation(2000, 0);\naNewMatrix2.concatenate(aNewMatrix1);\ndouble aFlatMatrix[] = new double;aNewMatrix2.getMatrix(aFlatMatrix);\n// convert the flatMatrix to our HomogenMatrix3 structure\naHomogenMatrix3.Line1.Column1 = aFlatMatrix;\naHomogenMatrix3.Line2.Column1 = aFlatMatrix;\naHomogenMatrix3.Line1.Column2 = aFlatMatrix;\naHomogenMatrix3.Line2.Column2 = aFlatMatrix;\naHomogenMatrix3.Line1.Column3 = aFlatMatrix;\naHomogenMatrix3.Line2.Column3 = aFlatMatrix;\nxPropSet.setPropertyValue(\"Transformation\", aHomogenMatrix3);```" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.5501917,"math_prob":0.9832387,"size":2193,"snap":"2023-14-2023-23","text_gpt3_token_len":535,"char_repetition_ratio":0.23115578,"word_repetition_ratio":0.0,"special_character_ratio":0.20975833,"punctuation_ratio":0.22905028,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9907875,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-05-28T16:56:58Z\",\"WARC-Record-ID\":\"<urn:uuid:c5b62e19-78d4-4a08-8f59-ef3101df4fbf>\",\"Content-Length\":\"33634\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cc6b2159-4005-43ad-9024-5a9fb72bdd21>\",\"WARC-Concurrent-To\":\"<urn:uuid:3eb18bf9-fe13-4988-a279-e55ba4053e6d>\",\"WARC-IP-Address\":\"207.244.88.139\",\"WARC-Target-URI\":\"https://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Drawings/Transforming\",\"WARC-Payload-Digest\":\"sha1:S5KKWP24REIHYVNIWB5QLKAGAVJ6VDOB\",\"WARC-Block-Digest\":\"sha1:SHSAKRBFNV5DKHKE7LG7CP2CSXVYUP4N\",\"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-00267.warc.gz\"}"}
https://buboflash.eu/bubo5/show-dao2?d=150890986
[ "#m249 #mathematics #open-university #statistics #time-series\nIf a time series Xt is described by an additive model with constant level and no seasonality, 1-step ahead forecasts may be obtained by simple exponential smoothing using the formula\n$$\\hat{x}_{n+1}$$= αxn + (1 − α)$$\\hat{x}_n$$\nwhere:\n• xn is the observed value at time n,\n• $$\\hat{x}_n$$​and $$\\hat{x}_{n+1}$$are the 1-step ahead forecasts of Xn and Xn+1,\n• and α is a smoothing parameter, 0 ≤ α ≤ 1.\nThe method requires an initial value $$\\hat{x}_1$$, which is often chosen to be x1 : $$\\hat{x}_1$$ = x1.\nIf you want to change selection, open document below and click on \"Move attachment\"\n\n#### pdf\n\ncannot see any pdfs" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.84805155,"math_prob":0.998738,"size":829,"snap":"2022-27-2022-33","text_gpt3_token_len":249,"char_repetition_ratio":0.10545454,"word_repetition_ratio":0.0,"special_character_ratio":0.29674307,"punctuation_ratio":0.064935066,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9978622,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-04T10:05:05Z\",\"WARC-Record-ID\":\"<urn:uuid:0bc7b743-7de5-4aa1-b8b9-197526976eeb>\",\"Content-Length\":\"18782\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:06a0435c-e3bf-4488-abc5-7bcd415b0329>\",\"WARC-Concurrent-To\":\"<urn:uuid:578d1644-3c19-48cb-9158-0ed4cb9e27d3>\",\"WARC-IP-Address\":\"37.187.26.159\",\"WARC-Target-URI\":\"https://buboflash.eu/bubo5/show-dao2?d=150890986\",\"WARC-Payload-Digest\":\"sha1:SVUJTIF2HOSAPGPRET3JDMSDNX22K75J\",\"WARC-Block-Digest\":\"sha1:UYBREO5HPPD47JPGRW4RVCD7ZKTTY3GD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104364750.74_warc_CC-MAIN-20220704080332-20220704110332-00001.warc.gz\"}"}
https://proofwiki.org/wiki/Definition:Geometric_Figure
[ "# Definition:Geometric Figure\n\n## Definition\n\nA geometric figure is intuitively defined as a set of points and lines in space.\n\nIn the words of Euclid:\n\nA figure is that which is contained by any boundary or boundaries.\n\nThe boundary may or may not be included in a particular figure. If this is important (and in the study of topology it usually is), then whether it is included or not needs to be specified.\n\n### Plane Figure\n\nA plane figure is a geometric figure embedded in the plane.\n\n### Three-Dimensional Figure\n\nA three-dimensional figure is a geometric figure which cannot be embedded in the plane, but which can be embedded in three-dimensional space.\n\n### Rectilineal Figure\n\nIn the words of Euclid:\n\nRectilineal figures are those which are contained by straight lines, trilateral figures being those contained by three, quadrilateral those contained by four, and multi-lateral those contained by more than four straight lines.\n\n## Diameter\n\nThe diameter of a geometric figure is the greatest length that can be formed between two opposite parallel straight lines that can be drawn tangent to its boundary.\n\n## Also known as\n\nA geometric figure is also known colloquially as a shape." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8739186,"math_prob":0.94980776,"size":2060,"snap":"2022-40-2023-06","text_gpt3_token_len":485,"char_repetition_ratio":0.1429961,"word_repetition_ratio":0.23824452,"special_character_ratio":0.25436893,"punctuation_ratio":0.23267327,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9849981,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-04T20:18:43Z\",\"WARC-Record-ID\":\"<urn:uuid:8a263811-922a-4bad-8aba-835afe03aa85>\",\"Content-Length\":\"46014\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:981f0cc5-eb85-4b27-b9fd-1e0026735f3a>\",\"WARC-Concurrent-To\":\"<urn:uuid:b87d3494-3a17-4794-9228-fdbeea736e41>\",\"WARC-IP-Address\":\"172.67.198.93\",\"WARC-Target-URI\":\"https://proofwiki.org/wiki/Definition:Geometric_Figure\",\"WARC-Payload-Digest\":\"sha1:SPF5JQQBH5ZFNPAP4G4MBF3NIEGE3NB7\",\"WARC-Block-Digest\":\"sha1:P4XUL74PLSJ6ZCXS4IF7DI3JRR35PI5J\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030337524.47_warc_CC-MAIN-20221004184523-20221004214523-00383.warc.gz\"}"}
https://www.vexforum.com/t/how-to-make-button-command-in-reverse/49715
[ "# How to make button command in reverse?\n\nI have the button command but i don’t know how to make it go backwards. I need some help. Here is the code task main()\n{\n\n``````while(1==1)\n{\nif(vexRT[Btn8D] == 1) // if Btn8D is pressed:\n{\nmotor(port1)=127;\n\n}\nelse\n{\nmotor(port1)=0;\n}\n}\n\n{\nif(vexRT[Btn8R] == 1) // if Btn8D is pressed:\n{\nmotor(port1)=-127;\n\n}\nelse\n{\nmotor(port1)=0;\n}\n}\n}``````\n\nWe need help quick we have a comp next Saturday\n\nthey’re a mess and arent grouping the right things together\n\nWhat do you mean?\n\nYou have a few extra brackets\n\nThis should fix it:\n\n``````\nwhile(1==1){\nif (vexRT[Btn8D] == 1){ // if Btn8D is pressed:\nmotor(port1)=127;\n}\nelse if (vexRT[Btn8R] == 1){ // if Btn8R is pressed:\nmotor[port1] = -127;\n}\nelse{\nmotor(port1)=0;\n}\n}\n}\n\n``````\n\neggplant fixed it for you but you closed your while loop before you got to the reverse button so you would never be able to reverse as it isn’t reading for that button" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.71011835,"math_prob":0.8194297,"size":887,"snap":"2023-14-2023-23","text_gpt3_token_len":288,"char_repetition_ratio":0.13816534,"word_repetition_ratio":0.08074534,"special_character_ratio":0.35400227,"punctuation_ratio":0.07909604,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9649323,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-05T07:43:46Z\",\"WARC-Record-ID\":\"<urn:uuid:7574d970-b60e-444c-ba3f-954fe3daeadf>\",\"Content-Length\":\"28096\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:adf11e2a-4c52-408a-a2a1-0ee525960a0c>\",\"WARC-Concurrent-To\":\"<urn:uuid:827ddd06-75b3-43ee-aa35-7fc4da2ab44f>\",\"WARC-IP-Address\":\"104.245.182.28\",\"WARC-Target-URI\":\"https://www.vexforum.com/t/how-to-make-button-command-in-reverse/49715\",\"WARC-Payload-Digest\":\"sha1:VMLGHF5Q2V4CAWJCSOWCX25H4PKTD7PW\",\"WARC-Block-Digest\":\"sha1:LL4Z3ZHWXSH7OAHIGRUUDBYYLUDKPJGV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224651325.38_warc_CC-MAIN-20230605053432-20230605083432-00348.warc.gz\"}"}
https://www.tutorialspoint.com/program-to-find-sum-of-the-2-power-sum-of-all-subarray-sums-of-a-given-array-in-python
[ "# Program to find sum of the 2 power sum of all subarray sums of a given array in Python\n\nPythonServer Side ProgrammingProgramming\n\nSuppose we have a list A. We have taken all non-empty sublists of A as we know a list l with n elements has (2n - 1) non-empty sublist. Now for each sublist, he calculates sublist_sum (the sum of elements and denotes them by S1, S2, S3, ... , S(2N-1)). There is a special sum P such that P = 2S1 + 2S2 +2S3 .... + 2S(2N-1). We have to find P. If P is too large then return P mod (10^9 + 7).\n\nSo, if the input is like A = [2,2,3], then the output will be The subsets are\n\n• {2} so 2^2 = 4\n• {2} so 2^2 = 4\n• {3} so 2^3 = 8\n• {2,2} so 2^4 = 16\n• {2,3} so 2^5 = 32\n• {2,3} so 2^5 = 32\n• {2,2,3} so 2^7 = 128\n\nSum is 4 + 4 + 8 + 16 + 32 + 32 + 128 = 224\n\nTo solve this, we will follow these steps −\n\n• ans:= 1\n• m:= 10^9+7\n• for each el in A, do\n• ans := ans *(1 + (2^el mod m))\n• ans := ans mod m\n• return (m + ans-1) mod m\n\n## Example\n\nLet us see the following implementation to get better understanding −\n\ndef solve(A):\nans=1\nm=10**9+7\n\nfor el in A:\nans *= (1+pow(2,el,m))\nans %= m\nreturn (m+ans-1) % m\n\nA = [2,2,3]\nprint(solve(A))\n\n## Input\n\n[2,2,3]\n\n\n## Output\n\n224" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.7670006,"math_prob":0.99952304,"size":2510,"snap":"2022-27-2022-33","text_gpt3_token_len":807,"char_repetition_ratio":0.18914606,"word_repetition_ratio":0.07992565,"special_character_ratio":0.34541833,"punctuation_ratio":0.07620818,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9999703,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-18T20:54:07Z\",\"WARC-Record-ID\":\"<urn:uuid:e33a267c-b22a-428c-9785-655074e40043>\",\"Content-Length\":\"31379\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2427a25f-8213-44e5-9d75-bd7e1710257d>\",\"WARC-Concurrent-To\":\"<urn:uuid:96d3c891-e1f6-4885-a715-379e5095059e>\",\"WARC-IP-Address\":\"192.229.210.176\",\"WARC-Target-URI\":\"https://www.tutorialspoint.com/program-to-find-sum-of-the-2-power-sum-of-all-subarray-sums-of-a-given-array-in-python\",\"WARC-Payload-Digest\":\"sha1:A7W5XVF3UPA4TY7JAF52T5YC2U3AR2QV\",\"WARC-Block-Digest\":\"sha1:42ZASSJM5RO6TJETEDMA4CXJCFJKHN66\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882573399.40_warc_CC-MAIN-20220818185216-20220818215216-00673.warc.gz\"}"}
https://betterlesson.com/lesson/592219/inequalities-in-the-real-world?from=breadcrumb_lesson
[ "# Inequalities in the Real-World\n\n7 teachers like this lesson\nPrint Lesson\n\n## Objective\n\nSWBAT represent real world situation using inequalities and represent those situations graphically.\n\n#### Big Idea\n\nHitting The Glass Ceiling... or Floor: Understanding that inequalities describe a type of limitation in a real world situation where you can't go any higher than a given quantity or you can't go any lower.\n\n## Curriculum Reinforcer\n\n5 minutes\n\nThe curriculum reinforcer, is a daily practice piece that is incorporated into almost every lesson to help my students to retain skills and conceptual understanding from earlier lessons. My strategy is to use Spiraled Review to help my students retain what they learned during the earlier part of the year. This will help me to keep mathematical concepts fresh in the students mind so that the knowledge of these concepts become a part of students' long term memories.\n\n## Engagement\n\n5 minutes\n\nFor our opening exercise I will have my students participate in an activity where they are given several commands. Each command will limit them in some way shape or form. They will have to carry out each command while taking into consideration that limitation. The commands will be presented on a card of some sort.\n\nBecause my classroom is set up in tables, I will give each student at each table a different card. No student at the same table should have the same card. The cards will have the following scenarios written on them:\n\n• If you jump, as high as you can, no less than 7 times, how many times would you jump?\n• If you were to walk part of the width of the classroom, and the classroom is 40 tiles wide, to what tile number would you walk?\n• Using a ruler, your teacher wants you to measure an object that is shorter than 25 centimeters but longer than 14 centimeters. How long could your object be?\n• If you were to draw a line that is longer than 10 inches, how long would that line be?\n• You are on a road and there is a sign that says, \"speed limit 45 mph\" at what speed would you drive?\n• You decide to open up a new savings account. The banking representative tells you that there is a condition to ensuring that you do not incur any fees on this account. That condition is that you have to keep your balance at a minimum of \\$500. How much money would you keep in your account?\n\nEvery student will be given a whiteboard paddle to write their answers on. When I read their scenario, they will come to the front of the classroom with their paddles and present their answers. It is my hope that I will get several different answers for most of these scenarios so that we can discuss why each scenario has more than one possible solution.\n\nAfter these students have presented their answers and we have had the discussion as to why there is more than one solution to the scenario being presented at that time, I will then ask all students what are some other possible solutions.\n\nThis activity is designed to help students to prepare for today's lesson by helping them to see how inequalities can be used in context.\n\n## Instruction & Teacher Modeling\n\n10 minutes\n\nToday, I will show my students real-world scenarios that involve inequalities. During instruction, I will ensure that my students understand that the solution will provide a range of answers. Students should be able to locate key words and phrases and understand what those key words and phrases direct them to do.\n\nTo do this, I will present my students with two problems that I will work out step by step. One problem is a word problem that involves inequalities. The other problem is one that will require me to work backwards to create an inequality word problem.\n\nThe modeling of these two problems will later serve as a reference to the successful completion of the independent practice. For this reason, all students should be taking notes during this time.\n\nThe two problems that I will present and model for my students are as follows:\n\n1. A company charges \\$0.10 for each letter engraved. Bobby plans to spend no more than \\$5.00 on the engraving on a jewelry box. Write and solve an inequality to find the maximum number of letters he can have engraved.\n2. Write a one-step inequality that has a solution greater than 8. Then write a word problem that result in the inequality that you have written with a solution greater than 8.\n\nUsing these problems, I will allow student to ask questions and address any misconceptions that they may have at this time.\n\n## Try It Out\n\n10 minutes\n\nStudents will be given 5 minutes to complete 2 inequality word problems that mirror the problems that I modeled for them during the instructional piece of this lesson. During this time, I will be traveling the room answering any questions that the students may have, ensuring that they have a good grasp of the concept and are ready to move on.\n\nThe problems that my students will try are as follows:\n\n1. Joann's parents give her \\$10 per week for lunch money. She cannot decide whether she wants to buy or pack her lunch. If a hot lunch at school costs \\$2, write a and solve an inequality to find the maximum number of times per week Joanna can buy her lunch.\n2. Write a one - step inequality that has a solution less than 7. Then write a mathematical scenario that can be solved using the one - step inequality that you have chosen.\n\nAfter the allotted time has elapsed, I will ask my students to provide the solution to the first problem. Then, I will ask three students to provide me with solutions to the second problem. The students that I choose for the second problem will be selected using a purposeful method, in that, they will be chosen to showcase the many different ways that the students could have solved this particular problem.\n\n## Independent Exploration\n\n20 minutes\n\nIn today's independent practice, my students will complete two tasks.\n\nDuring the first task, I will give my students 4 mathematical scenarios involving inequalities to solve. These mathematical scenarios will be presented to my students on a worksheet and requires my students to write a one-step inequality when given a mathematical scenario and then solve that one-step inequality.\n\nThis task is great for a quick assessment as to my students' ability to break down and solve inequality word problems.\n\nFor the second task, my students will be required to write a mathematical scenario involving inequalities in the same manner as what was presented during the instructional portion of this lesson. This is also the same as what the students practiced during the Try It Out portion of this lesson. However, I did make one adjustment. In this task, the students, while given the quantity that must be included in the solution, they will have the autonomy to choose which inequality symbol should accompany that quantity in the solution.\n\nTo complete this task, the students will be presented with four quantities in total. For which they must do the following for each of those quantities:\n\n1. Write an inequality solution using each quantity\n2. Write a one-step equation using each inequality solution that you came up with in step 1\n3. Write a mathematical scenario that is representative of your one-step inequality and its corresponding solution\n\nThe four numbers that I will give the students are as follows: 6.25, 5/8, 12, and 4\n\nHaving the students work backwards to create a mathematical scenario when given only a quantity is very informative, as it pertains to my students' level of mastery when it comes to this concept. I know that if they can create their own mathematical scenarios, then they have truly mastered one-step equations. Being able to work out a scenario demonstrates proficiency but, when you can create a problem on your own, that is exemplary.\n\n## Closing Summary\n\n20 minutes\n\nTo close out today's lesson, I will choose one student per problem to present.\n\nThe students who will present the first four problems will come to the board and write their answers on the board. Then, they will be asked the process that they used to solve their problem. They need to be ready to answer probing questions that I will ask to ensure that they are actually understanding the math behind the problem and not just mimicking my model. And, they will have to be ready to defend their work should they be challenged by me or one of their peers.\n\nThe students presenting their scenarios will have much more to articulate and explain. They will need to explain their thinking as they went through the process of completing this task. Their work will be critiqued and analyzed by me, as well as their peers. During their presentation, these students need to be prepared to answer questions and defend their thinking and their solution pathways." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.9696081,"math_prob":0.7810733,"size":6182,"snap":"2021-31-2021-39","text_gpt3_token_len":1189,"char_repetition_ratio":0.1754613,"word_repetition_ratio":0.0018867925,"special_character_ratio":0.1910385,"punctuation_ratio":0.07917384,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9589118,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-26T01:00:18Z\",\"WARC-Record-ID\":\"<urn:uuid:60a8f4db-a4f4-4856-855b-ffc2dbeb6e87>\",\"Content-Length\":\"125111\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ee3e3559-27c2-40de-8306-5f3fb39cb618>\",\"WARC-Concurrent-To\":\"<urn:uuid:f58add90-fb42-45df-bb63-927d30f416da>\",\"WARC-IP-Address\":\"52.204.68.164\",\"WARC-Target-URI\":\"https://betterlesson.com/lesson/592219/inequalities-in-the-real-world?from=breadcrumb_lesson\",\"WARC-Payload-Digest\":\"sha1:HLJQ5PYAPU4YLKLOJARDPXZZAQ2PTQRS\",\"WARC-Block-Digest\":\"sha1:B4ELN7ZARW2VHGAKTCFYX2ZQWHNG7EU3\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057787.63_warc_CC-MAIN-20210925232725-20210926022725-00377.warc.gz\"}"}
https://in.mathworks.com/help/matlab/ref/triangulation.incenter.html
[ "# incenter\n\nIncenter of triangulation elements\n\n## Syntax\n\n``C = incenter(TR)``\n``C = incenter(TR,ID)``\n``````[C,r] = incenter(___)``````\n\n## Description\n\nexample\n\n````C = incenter(TR)` returns the coordinates of the incenters of each triangle or tetrahedron in the triangulation `TR`.```\n\nexample\n\n````C = incenter(TR,ID)` returns the coordinates of the incenter of each triangle or tetrahedron specified by `ID`. The identification numbers of the triangles or tetrahedra in `TR` are the corresponding row numbers of the property `TR.ConnectivityList`.```\n\nexample\n\n``````[C,r] = incenter(___)``` also returns the radii of the inscribed circles or spheres.```\n\n## Examples\n\ncollapse all\n\nCreate a 2-D Delaunay triangulation.\n\n```x = [0 1 1 0 0.5]'; y = [0 0 1 1 0.5]'; TR = delaunayTriangulation(x,y);```\n\nCompute the incenters of the triangles.\n\n`C = incenter(TR);`\n\nPlot the triangles and incenters.\n\n```triplot(TR) axis equal axis([-0.2 1.2 -0.2 1.2]) hold on plot(C(:,1),C(:,2),'*r') ```", null, "Load a 3-D triangulation.\n\n`load tetmesh`\n\nCalculate the incenter coordinates of the first five tetrahedra in the triangulation, in addition to the radii of their inscribed spheres.\n\n```TR = triangulation(tet,X); [C,r] = incenter(TR,[1:5]')```\n```C = 5×3 -6.1083 -31.0234 8.1439 -2.1439 -31.0283 5.8742 -1.9555 -31.9463 7.4112 -4.3019 -30.8460 10.5169 -3.1596 -29.3642 6.1851 ```\n```r = 5×1 0.7528 0.9125 0.8430 0.6997 0.7558 ```\n\n## Input Arguments\n\ncollapse all\n\nTriangulation representation, specified as a scalar `triangulation` or `delaunayTriangulation` object.\n\nData Types: `triangulation` | `delaunayTriangulation`\n\nTriangle or tetrahedron IDs, specified as a scalar or a column vector whose elements each correspond to a single triangle or tetrahedron in the triangulation object. The identification number of each triangle or tetrahedron is the corresponding row number of the `ConnectivityList` property.\n\nData Types: `double`\n\n## Output Arguments\n\ncollapse all\n\nIncenters, returned as a matrix whose rows contain the coordinates of an incenter.\n\nData Types: `double`\n\nRadii of the inscribed circles or spheres, returned as a vector.\n\nData Types: `double`\n\n## Version History\n\nIntroduced in R2013a" ]
[ null, "https://in.mathworks.com/help/examples/matlab/win64/FindIncentersin2DDelaunayTriangulationExample_01.png", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.68036175,"math_prob":0.9756064,"size":1988,"snap":"2022-40-2023-06","text_gpt3_token_len":588,"char_repetition_ratio":0.16633065,"word_repetition_ratio":0.0,"special_character_ratio":0.2806841,"punctuation_ratio":0.16795866,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99612004,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-09-30T19:49:01Z\",\"WARC-Record-ID\":\"<urn:uuid:d4ca302a-b980-4f9e-b4af-d6e975f9df41>\",\"Content-Length\":\"93374\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8d3abb6b-ca9f-4815-93b0-ace509169ed2>\",\"WARC-Concurrent-To\":\"<urn:uuid:6f2a41a5-67be-454b-a7f5-82b60861226f>\",\"WARC-IP-Address\":\"23.34.160.82\",\"WARC-Target-URI\":\"https://in.mathworks.com/help/matlab/ref/triangulation.incenter.html\",\"WARC-Payload-Digest\":\"sha1:GIQK3WT7KEJU3GOPLUW2MTXS3SGGHSZL\",\"WARC-Block-Digest\":\"sha1:WCWAF5FSQ5OBAE7TDGYQGSFFMANDWMBZ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030335504.22_warc_CC-MAIN-20220930181143-20220930211143-00373.warc.gz\"}"}
https://www.shaalaa.com/question-bank-solutions/if-15-2x2-y2-7xy-find-x-y-if-x-y-both-are-positive-ratios_28487
[ "Share\n\n# If 15(2x2 – Y2) = 7xy, Find X: Y; If X and Y Both Are Positive. - Mathematics\n\nCourse\n\n#### Question\n\nIf 15(2x2 – y2) = 7xy, find x: y; if x and y both are positive.\n\n#### Solution\n\n15(2x^2 - y^2) = 7xy\n\n(2x^2 - y^2)/(xy) = 7/15\n\n(2x)/y - y/x = 7/15\n\nLet x/y = a\n\n∴ 2a - 1/a = 7/15\n\n(2a^2 - 1)/a = 715\n\n30a^2 - 15 = 7a\n\n30a^2 - 7a - 15 = 0\n\n30a^2 - 25a + 18a - 15 = 0\n\n5a(6a - 5) + 3(6a - 5) = 0\n\n(6a - 5)(5a + 3) = 0\n\na = 5/6, -3/5\n\nBut a cannot be negative\n\n∴ a = 5/6\n\n=> x/y = 5/6\n\n=> x : y = 5 : 6\n\nIs there an error in this question or solution?" ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.56137013,"math_prob":0.9999831,"size":579,"snap":"2020-34-2020-40","text_gpt3_token_len":306,"char_repetition_ratio":0.11826087,"word_repetition_ratio":0.0,"special_character_ratio":0.59240067,"punctuation_ratio":0.09929078,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99958235,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-14T13:27:45Z\",\"WARC-Record-ID\":\"<urn:uuid:2b4e8b29-f6a6-4455-b9c6-8b03cebc76b2>\",\"Content-Length\":\"35571\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:bcadd9e3-a450-4d7b-8282-b3c0a1eefa82>\",\"WARC-Concurrent-To\":\"<urn:uuid:56400af6-cbfc-4869-ad63-11b0864f7214>\",\"WARC-IP-Address\":\"172.105.37.75\",\"WARC-Target-URI\":\"https://www.shaalaa.com/question-bank-solutions/if-15-2x2-y2-7xy-find-x-y-if-x-y-both-are-positive-ratios_28487\",\"WARC-Payload-Digest\":\"sha1:4G7WWODMMCBGF3JBD3IA6HJDRY2CFJSY\",\"WARC-Block-Digest\":\"sha1:XJ2ZLXZCCHM367DSJKN2IZWEEWULTATP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439739328.66_warc_CC-MAIN-20200814130401-20200814160401-00061.warc.gz\"}"}
http://www.sciencehq.com/chemistry/cell-notation.html
[ "# Cell Notation\n\nGenerally a cell is represented as follows:", null, "$M(s)M^{n+}_{(aq.)} || M^{n+}_{(aq.)} | M_1 (s)$\n\nCertain notations have become fairly well known and are followed conventionally in connection with electrochemical cells. A half Cell such as Zn rod clipped in 0.1 M", null, "$Zn^{2+}$ ion solution is represented by", null, "$Zn / Zn^{2+}(0.1 M)$. The vertical line shows a solid phase.\n\nThus the Daniell cell may be represented as:", null, "$Zn(s) | Zn^{++} (0.1M) || Cu^{2+} (0.1M) | Cu(s)$\n\nWhere two vertical lines indicate the salt bridge.\n\nBy convention, the anode of a cell is shown on the left in the cell notation.\n\nExample.\n\nCalculate the charge in coulomb on", null, "$C_2O^{2-}_4$ ion.\n\nSolution:\n\nSince", null, "$6.02 \\times 10^{23}$ electrons correspond to 96500C\n\n2 electrons present on a", null, "$C_2 O^{2-}_4$ ion will correspond to", null, "$\\dfrac{96500 \\times 2}{6.02 \\times 10^{23}} = 3.206 \\times 10^{-19}C$\n\nRelated posts:\n\n1. Daniel cell The cells which produce electrical energy from chemical reactions are...\n2. Cubic Unit Cell Cubic unit cell There are three types of cubic unit...\n3. Density of Crystal Theoretical density of the crystal If the length of edge...\n4. Standard Electrode Potential It is potential difference developed between metal electrode and the...\n5. Space Lattice and Unit Cell Space Lattice and Unit Cell According to Hauy (1784) a..." ]
[ null, "http://s.wordpress.com/latex.php", null, "http://s.wordpress.com/latex.php", null, "http://s.wordpress.com/latex.php", null, "http://s.wordpress.com/latex.php", null, "http://s.wordpress.com/latex.php", null, "http://s.wordpress.com/latex.php", null, "http://s.wordpress.com/latex.php", null, "http://s.wordpress.com/latex.php", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.88805664,"math_prob":0.99471974,"size":1060,"snap":"2019-51-2020-05","text_gpt3_token_len":222,"char_repetition_ratio":0.11268939,"word_repetition_ratio":0.011560693,"special_character_ratio":0.21037737,"punctuation_ratio":0.14,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9977765,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-24T01:25:57Z\",\"WARC-Record-ID\":\"<urn:uuid:49a04a03-f9df-4be0-9cb3-56feba0efabd>\",\"Content-Length\":\"7959\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:06c4dc92-c0ab-4cfc-8804-4e5de001dbd7>\",\"WARC-Concurrent-To\":\"<urn:uuid:89d36cbc-f1da-4f1c-b370-cf8cc33c06c6>\",\"WARC-IP-Address\":\"72.52.184.177\",\"WARC-Target-URI\":\"http://www.sciencehq.com/chemistry/cell-notation.html\",\"WARC-Payload-Digest\":\"sha1:U6SHUFHFC5LJRNMX62L4DYGEBQHPPH7W\",\"WARC-Block-Digest\":\"sha1:O5CLT5GK6RNK2OAJOMMG44TFCVFTP3DR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250614880.58_warc_CC-MAIN-20200124011048-20200124040048-00350.warc.gz\"}"}
http://engineerjs.com/docs/fft.html
[ "## Fast Fourier transform\n\nThis library provides fft() and ifft() functions for fast Fourier transform.\n\n fft Fast Fourier transform. ifft Inverse fast Fourier transform.\n\nimport signals.fft-1;\nFourier transform of a signal\nimport signals.fft-1;\n``` s = fft( [1,2,3,4,5,6,7,8] // the signal to be transformed , 100 // optional: length of output vector ) Calculate FFT ```\nInverse Fourier transform of a signal\nimport signals.fft-1;\n``` ifft( s // the signal to be transformed , 100 // optional: length of output vector ) Calculate IFFT ```\n\nBoth fft() and ifft() functions have an optional argument \"number of points\". If it is specified and it is bigger than the signal length, the signal will be extended with zeros. This can help provide better resolution. If the argument is less than the number of points in the signal, it will be ignored.\n\nThere is no normalization factor included in the FFT. The normalization is done in IFFT.\n\nNOTE: The FFT is the fastest possible for signals of power-of-2 length." ]
[ null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.7203568,"math_prob":0.991128,"size":828,"snap":"2021-21-2021-25","text_gpt3_token_len":200,"char_repetition_ratio":0.13228156,"word_repetition_ratio":0.17518248,"special_character_ratio":0.2536232,"punctuation_ratio":0.14545454,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9914168,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-06T16:00:07Z\",\"WARC-Record-ID\":\"<urn:uuid:40b802cf-aa30-4a01-bebb-3b3bda50f490>\",\"Content-Length\":\"2017\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4d6aba25-f9cb-4f28-b092-85402a66a567>\",\"WARC-Concurrent-To\":\"<urn:uuid:b8f17008-714c-4a5b-967b-7a1861dd21d2>\",\"WARC-IP-Address\":\"178.62.157.165\",\"WARC-Target-URI\":\"http://engineerjs.com/docs/fft.html\",\"WARC-Payload-Digest\":\"sha1:KRNB52YXUMLBNB43PHIYC6466FYQDLFN\",\"WARC-Block-Digest\":\"sha1:JXZY6LKZDLYFR5U4UHJLGDOWYMIJBH2Y\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243988758.74_warc_CC-MAIN-20210506144716-20210506174716-00614.warc.gz\"}"}
http://khlbbs.info/third-grade-math-worksheets-multiplication/third-grade-math-worksheets-multiplication-math-worksheets-for-grade-multiplication-and-division-6th-grade-math-multiplication-printable-worksheets/
[ "Third Grade Math Worksheets Multiplication Math Worksheets For Grade Multiplication And Division 6th Grade Math Multiplication Printable Worksheets", null, "third grade math worksheets multiplication math worksheets for grade multiplication and division 6th grade math multiplication printable worksheets.\n\nthird grade math worksheets printable multiplication word problems 4th pdf for and division,free third grade math worksheets multiplication 4th minute cbse 3 maths worksheet 5th,5th grade common core math worksheets multiplication word problems the best 4 aids 7th multiplying fractions,4 grade math worksheets multiplication 2nd division and printable third word problems,free worksheets library download and print on grade 4 math multiplication 3rd word problems 5th pdf,grade 3 math worksheets multiplication pdf 4 word problems table arrays,4th grade math worksheets multiplication pdf with regrouping 2nd 6th multiplying fractions,multiplication worksheets grade 4 math aids 7th third sheets addition and subtraction,2nd grade math multiplication worksheets pdf 5th third free,multiplication worksheets grade 3 math drills word problems the best 5th with decimals 4." ]
[ null, "http://khlbbs.info/wp-content/uploads/2018/08/third-grade-math-worksheets-multiplication-math-worksheets-for-grade-multiplication-and-division-6th-grade-math-multiplication-printable-worksheets.jpg", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8303953,"math_prob":0.8754769,"size":1020,"snap":"2019-26-2019-30","text_gpt3_token_len":199,"char_repetition_ratio":0.27165353,"word_repetition_ratio":0.015037594,"special_character_ratio":0.16862746,"punctuation_ratio":0.070063695,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99961215,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-06-26T00:17:41Z\",\"WARC-Record-ID\":\"<urn:uuid:276fe146-def6-4daa-9c09-d95659e6e7f1>\",\"Content-Length\":\"53887\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2a4aad4a-7dba-470c-bc67-c82e2d730765>\",\"WARC-Concurrent-To\":\"<urn:uuid:d4631b50-ddbf-481e-81a4-ad8e85078d6f>\",\"WARC-IP-Address\":\"104.31.69.121\",\"WARC-Target-URI\":\"http://khlbbs.info/third-grade-math-worksheets-multiplication/third-grade-math-worksheets-multiplication-math-worksheets-for-grade-multiplication-and-division-6th-grade-math-multiplication-printable-worksheets/\",\"WARC-Payload-Digest\":\"sha1:7EYIZVEHIGY6BVSRQLCEQQTS57YEHVZG\",\"WARC-Block-Digest\":\"sha1:IOZ4MN46IKOPC7LCBOLJYPXBVSDHIWIZ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-26/CC-MAIN-2019-26_segments_1560627999964.8_warc_CC-MAIN-20190625233231-20190626015231-00531.warc.gz\"}"}
https://www.cimt.org.uk/projects/mepres/book7/bk7i21/bk7_21i7.htm
[ "# Unit 21 Section 7 : General Addition Law\n\nEvents may not always be mutually exclusive.\n\nExample 1\nA normal pack of cards contains 52 cards. Some are red, some are picture cards, and some are red picture cards.\nThis means that a card picked at random could be both a red card and a picture card.\nThe events 'red card' and 'picture card' are therefore not mutually exclusive.\n\n General Addition Law for Events which are not Mutually Exclusive If there are two events, A and B, which are not mutually exclusive, then: P(A or B) = P(A) + P(B) – P(A and B)\n\nExample 2\nOne of the numbers from 1 to 10 is selected at random. We want to find P(even OR greater than 6).\nA venn diagram can be useful in this situation:", null, "We can now see that if we simply added P(even) and P(greater than 6) we would be including 8 and 10 twice.\n\nUsing the General Addition Law above, we can see that:\nP(even OR greater than 6) = P(even) + P(greater than 6) – P(even AND greater than 6)\n\nWe can therefore work out P(even OR greater than 6) in stages:\n P(even) = 5", null, "10 P(greater than 6) = 4", null, "10 P(even AND greater than 6) = 2", null, "10\n\n P(even OR greater than 6) = P(even) + P(greater than 6) – P(even AND greater than 6) = 5 + 4 – 2 = 7", null, "", null, "", null, "", null, "10 10 10 10\n\n## Practice Question\n\nWork out the answers to this question then click on the buttons marked", null, "to see whether you are correct.\n\nA normal pack of 52 playing cards has four 'suits' which are clubs, diamonds, hearts and spades.\nClubs and spades are black cards, and diamonds and hearts are red cards.\nEach 'suit' contains 13 cards: an Ace, the numbers 2 to 10, and three picture cards which are Jack, Queen and King.\n\nA card is picked at random from the pack and we want to find P(red OR picture card)\n\n(a) What is P(red)?", null, "(b) What is P(picture card)?", null, "(c) What is P(red AND picture card)?", null, "(d) What is P(red OR picture card)?", null, "NOTE: We could have worked out the above answer by counting up the cards which are red cards or picture cards (or both) and then put the total as a fraction over 52, but the example was to illustrate the General Addition Law for events which are not mutually exclusive. It is not always possible to work the answer out by counting.\n\n## Exercises\n\nWork out the answers to the questions below and fill in the boxes. Click on the", null, "button to find out whether you have answered correctly. If you are right then", null, "will appear and you should move on to the next question. If", null, "appears then your answer is wrong. Click on", null, "to clear your original answer and have another go. If you can't work out the right answer then click on", null, "to see the answer.\n\nQuestion 1\nOne of the numbers 10 to 20 is selected at random.\n\nWork out the probability that it is:\n(a) an even number", null, "", null, "", null, "(b) a multiple of 5", null, "", null, "", null, "(c) an even number AND a multiple of 5", null, "", null, "", null, "(d) an even number OR a multiple of 5", null, "", null, "", null, "Question 2\nThe numbers 1 to 10 are sorted into sets as shown in the Venn diagram:", null, "One of these numbers is selected at random.\n\nWork out the probability that it is in:\n(a) A", null, "", null, "", null, "(b) B", null, "", null, "", null, "(c) A and B", null, "", null, "", null, "(d) A or B", null, "", null, "", null, "Question 3\nA fair dice is rolled.\n\nWhat is the probability of getting a prime number or an odd number?", null, "", null, "", null, "Question 4\nOne of the numbers 1 to 20 is selected at random.\n\nWhat is the probability that the number is a multiple of 3 or a multiple of 4?", null, "", null, "", null, "Question 5\nA bingo set contains 100 balls each marked with one of the numbers 1 to 100.\nOne of these balls is selected at random.\n\nWhat it the probability that the number on this ball is a multiple of 7 or a multiple of 10?", null, "", null, "", null, "Question 6\nA and B are two possible outcomes in an experiment.\n\n If P(A) = 3 , P(B) = 3 , and P(A and B) = 1 , find P(A or B)", null, "", null, "", null, "4 8 3", null, "", null, "", null, "Question 7\nA and B are two possible outcomes in an experiment.\n\n If P(A or B) = 3 , P(A and B) = 2 , and P(A) = 1 , find P(B)", null, "", null, "", null, "5 5 2", null, "", null, "", null, "A and B are two possible outcomes in an experiment.\n\n If P(A or B) = 1 , P(A) = 2 , and P(B) = 1 , find P(A and B)", null, "", null, "", null, "2 5 3", null, "", null, "", null, "Question 9\nThe probability that Jai is late for school is 0.1.\nThe probability that he forgets his lunch is 0.3.\nThe probability that he forgets his lunch and is late is 0.05.\n\nWhat is the probability that he forgets his lunch or is late? (give your answer as a decimal)", null, "", null, "You have now completed Unit 21 Section 7\n Your overall score for this section is Correct Answers You answered questions correctly out of the questions in this section. Incorrect Answers There were questions where you used the Tell Me button. There were questions with wrong answers. There were questions you didn't attempt.\n Since these pages are under development, we find any feedback extremely valuable. Click here to fill out a very short form which allows you make comments about the page, or simply confirm that everything works correctly." ]
[ null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/s7eg2.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/g11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/g11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/g11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/g11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/g11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/g11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/g11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/showme78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/showme217.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/showme217.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/showme217.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/showme41740.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check44.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/correct78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/wrong78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/wrong78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/tellme61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/s7q2.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/b11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/p11.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/check78.gif", null, "https://www.cimt.org.uk/projects/mepres/book7/bk7i21/blank61.gif", null ]
{"ft_lang_label":"__label__en","ft_lang_prob":0.95852983,"math_prob":0.9699086,"size":1589,"snap":"2022-27-2022-33","text_gpt3_token_len":362,"char_repetition_ratio":0.12176656,"word_repetition_ratio":0.24573378,"special_character_ratio":0.2271869,"punctuation_ratio":0.08206687,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9940941,"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,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144],"im_url_duplicate_count":[null,2,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,6,null,6,null,6,null,2,null,10,null,10,null,null,null,null,null,10,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,2,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-07-05T12:33:14Z\",\"WARC-Record-ID\":\"<urn:uuid:99fac840-8c22-4e54-ad93-e464e57f642e>\",\"Content-Length\":\"34695\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b2c5d963-1363-4ef4-934f-e175a6560848>\",\"WARC-Concurrent-To\":\"<urn:uuid:5a47a46c-efbf-4fa9-8805-3fbc68aa5d80>\",\"WARC-IP-Address\":\"176.67.160.36\",\"WARC-Target-URI\":\"https://www.cimt.org.uk/projects/mepres/book7/bk7i21/bk7_21i7.htm\",\"WARC-Payload-Digest\":\"sha1:H47OYXFGPYXIMGDGIPJ2RR6Y2CT2N4A4\",\"WARC-Block-Digest\":\"sha1:BYTUSKFZUNQAGIIXN5DH2XSZW5BETGKB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104576719.83_warc_CC-MAIN-20220705113756-20220705143756-00414.warc.gz\"}"}