[過去ログ]
高校数学の質問スレ Part434 (1002レス)
高校数学の質問スレ Part434 http://rio2016.5ch.net/test/read.cgi/math/1712376048/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
322: 132人目の素数さん [sage] 2024/04/19(金) 15:11:18.45 ID:v95awPtr b=cos(x) b^2 + ab + sqrt(1-a^2) = 0 b1=(-a + sqrt(a^2-4*sqrt(1-a^2)))/2 b2=(-a - sqrt(a^2-4*sqrt(1-a^2)))/2 a^2-4*sqrt(1-a^2) >=0 -1 <= a <= -2*sqrt( sqrt(5) -2 ) | 2*sqrt( sqrt(5) -2) <= a <=1 then -1<= b1,b2 <= 1 http://rio2016.5ch.net/test/read.cgi/math/1712376048/322
323: 132人目の素数さん [sage] 2024/04/19(金) 15:18:41.90 ID:xQljC2Pa >>321 Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit)をインストール(要登録)していれば以下のように表示される。 Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit) Copyright 1988-2023 Wolfram Research, Inc. In[1]:= Table[1+Sum[Floor[n^(1/n) (Sum[Floor[(Cos[Pi(((x-1)!+1)/x)])^2],{x,1,m}])^(-1/n)],{m,1,2^n}],{n,1,10}] Out[1]= {2, 3, 5, 7, 11, 13, 17, 19, 23, 29} 拙作の関数でも In[2]:= prime[n_] := 1 + Total[Table[Floor[(n/( Total[Table[Floor[Cos[(Factorial[k-1]+1)Pi/k]^2],{k,1,m}]]))^(1/n)],{m,1,2^n}]] In[3]:= prime[11] Out[3]= 31 と11番目の素数が表示される。 http://rio2016.5ch.net/test/read.cgi/math/1712376048/323
324: 132人目の素数さん [sage] 2024/04/19(金) 16:33:26.12 ID:SVQ+clD4 素数なら、superPCM関数の方が はるかに強力だよ ◆101から463の範囲に 素数は65個 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, ◆superPCM関数 Table[Product[(2n-1)^(C(0,3-a)) C(0,C(0,((n-a)^(2a-2)mod(2a-1)))),{a,3,30}],{n,50,232}] {0, 101, 103, 0, 107, 109, 0, 113, 0, 0, 0, 0, 0, 0, 127, 0, 131, 0, 0, 137, 139, 0, 0, 0, 0, 149, 151, 0, 0, 157, 0, 0, 163, 0, 167, 0, 0, 173, 0, 0, 179, 181, 0, 0, 0, 0, 191, 193, 0, 197, 199, 0, 0, 0, 0, 0, 211, 0, 0, 0, 0, 0, 223, 0, 227, 229, 0, 233, 0, 0, 239, 241, 0, 0, 0, 0, 251, 0, 0, 257, 0, 0, 263, 0, 0, 269, 271, 0, 0, 277, 0, 281, 283, 0, 0, 0, 0, 293, 0, 0, 0, 0, 0, 0, 307, 0, 311, 313, 0, 317, 0, 0, 0, 0, 0, 0, 331, 0, 0, 337, 0, 0, 0, 0, 347, 349, 0, 353, 0, 0, 359, 0, 0, 0, 367, 0, 0, 373, 0, 0, 379, 0, 383, 0, 0, 389, 0, 0, 0, 397, 0, 401, 0, 0, 0, 409, 0, 0, 0, 0, 419, 421, 0, 0, 0, 0, 431, 433, 0, 0, 439, 0, 443, 0, 0, 449, 0, 0, 0, 457, 0, 461, 463} ◆的中率100% http://rio2016.5ch.net/test/read.cgi/math/1712376048/324
325: 132人目の素数さん [] 2024/04/19(金) 17:42:59.61 ID:0gWkPqXI >>307 オイラー線 y = m{x−(1+a)/3} + 2/3, ここに m = {3a(1-a)/4−1}/(a−1/2), H (a, a(1-a)/2) K ((2a+1)/4, 1/2 + a(1-a)/8) G ((a+1)/3, 2/3) O (1/2, 1−a(1-a)/4) L (1−a, 2−a(1-a)) K:9点円の中心 (HOの中点) HK =KO, 軌跡:放物線 y = x(1-x)/2 + 13/32, L:de Longchamp点 HO = OL, 軌跡:放物線 y = 2−x(1-x), HK:KG:GO:OL = 3:1:2:6 http://rio2016.5ch.net/test/read.cgi/math/1712376048/325
326: 132人目の素数さん [] 2024/04/19(金) 18:09:56.02 ID:0gWkPqXI >>319 0 = sin(24θ)−sin(20θ) = 2sin(2θ)cos(22θ), かつ 0<θ<π, sin(2θ) = 0 から θ=π/2, cos(22θ) = 0 から θ=π/44, 3π/44, 5π/44, ……, 43π/44, http://rio2016.5ch.net/test/read.cgi/math/1712376048/326
327: 132人目の素数さん [sage] 2024/04/19(金) 18:33:27.43 ID:NY+3Q0Fq チンパン数学そんなに楽しいか? http://rio2016.5ch.net/test/read.cgi/math/1712376048/327
328: 132人目の素数さん [sage] 2024/04/19(金) 18:34:19.05 ID:5mt38Sq8 Mathematicaなら、下のような命令を10秒ほどでやってくれますよ In[24]:= Table[Prime[n],{n,10^12,10^12+100}] Out[24]= {29996224275833, 29996224275851, 29996224275883, 29996224275907, 29996224275917, 29996224275937, > 29996224275973, 29996224276009, 29996224276019, 29996224276021, 29996224276091, 29996224276097, > 29996224276153, 29996224276231, 29996224276309, 29996224276349, 29996224276409, 29996224276423, > 29996224276519, 29996224276523, 29996224276549, 29996224276561, 29996224276567, 29996224276591, > 29996224276633, 29996224276727, 29996224276771, 29996224276861, 29996224276883, 29996224276891, > 29996224276937, 29996224276939, 29996224276957, 29996224276987, 29996224277027, 29996224277077, > 29996224277113, 29996224277191, 29996224277209, 29996224277291, 29996224277293, 29996224277317, > 29996224277329, 29996224277413, 29996224277441, 29996224277557, 29996224277563, 29996224277599, > 29996224277627, 29996224277651, 29996224277653, 29996224277693, 29996224277699, 29996224277753, > 29996224277777, 29996224277801, 29996224277807, 29996224277839, 29996224277977, 29996224278001, > 29996224278029, 29996224278079, 29996224278091, 29996224278107, 29996224278109, 29996224278113, > 29996224278121, 29996224278131, 29996224278133, 29996224278169, 29996224278179, 29996224278197, > 29996224278211, 29996224278283, 29996224278409, 29996224278443, 29996224278457, 29996224278539, > 29996224278551, 29996224278571, 29996224278611, 29996224278653, 29996224278689, 29996224278847, > 29996224278857, 29996224278949, 29996224278967, 29996224279013, 29996224279019, 29996224279031, > 29996224279037, 29996224279039, 29996224279081, 29996224279097, 29996224279139, 29996224279157, > 29996224279249, 29996224279303, 29996224279309, 29996224279367, 29996224279379} http://rio2016.5ch.net/test/read.cgi/math/1712376048/328
329: 132人目の素数さん [sage] 2024/04/19(金) 18:43:59.91 ID:5mt38Sq8 おまけ In[29]:= PrimePi[29996224275833] Out[29]= 1000000000000 In[30]:= PrimePi[29996224279379] Out[30]= 1000000000100 In[31]:= PrimePi[463]-PrimePi[100] Out[31]= 65 http://rio2016.5ch.net/test/read.cgi/math/1712376048/329
330: 132人目の素数さん [sage] 2024/04/19(金) 19:04:13.89 ID:SVQ+clD4 計算したんじゃなくて データ保管庫にアクセスしただけだよ http://rio2016.5ch.net/test/read.cgi/math/1712376048/330
331: 132人目の素数さん [sage] 2024/04/19(金) 21:09:14.34 ID:NY+3Q0Fq 数学以前に日本語通じないアホばっかだな http://rio2016.5ch.net/test/read.cgi/math/1712376048/331
332: 132人目の素数さん [sage] 2024/04/19(金) 22:17:09.36 ID:uW4yUc1h >>326 Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit) Copyright 1988-2023 Wolfram Research, Inc. In[1]:= solve[m_,n_] := (a=(m+n+1)/2; Table[(2b-1)Pi/(m+n),{b,1,Floor[a]-Boole[IntegerQ[a]]}]) In[2]:= solve[20,24] Pi 3 Pi 5 Pi 7 Pi 9 Pi Pi 13 Pi 15 Pi 17 Pi 19 Pi 21 Pi 23 Pi 25 Pi 27 Pi 29 Pi Out[2]= {--, ----, ----, ----, ----, --, -----, -----, -----, -----, -----, -----, -----, -----, -----, 44 44 44 44 44 4 44 44 44 44 44 44 44 44 44 31 Pi 3 Pi 35 Pi 37 Pi 39 Pi 41 Pi 43 Pi > -----, ----, -----, -----, -----, -----, -----} 44 4 44 44 44 44 44 http://rio2016.5ch.net/test/read.cgi/math/1712376048/332
333: 132人目の素数さん [sage] 2024/04/19(金) 22:42:39.80 ID:VXmOPAjX >>315 をお願いしまする http://rio2016.5ch.net/test/read.cgi/math/1712376048/333
334: 132人目の素数さん [sage] 2024/04/20(土) 09:06:23.49 ID:HVdq8JLd Wolfram言語が話題になっているのに、日本語が通じないとかの罵倒しか書けないクズ人間が東大合格者だと思うひとはその旨をレスしてください。 週末の課題 Wolfram言語でPrimeやPrimeQを使用せずに n 以下の素数を列挙する関数を作れ。 解答例: R言語での prime = function(n){ pmax=floor(sqrt(n)) p=(1:pmax)[-outer(2:pmax,2:pmax)][-1] p1=p[length(p)]+1 f=function(x) all(x%%p!=0) c(p,(p1:n)[sapply(p1:n,f)]) } 実行すると > prime(2024) [1] 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 [17] 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 [33] 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 [49] 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 ... [289] 1879 1889 1901 1907 1913 1931 1933 1949 1951 1973 1979 1987 1993 1997 1999 2003 [305] 2011 2017 このRのコードを Wolfram言語に移植して prime[n_] :=( pmax=Floor[Sqrt[n]]; compo=Union[Flatten[Outer[Times,Range[2,pmax],Range[2,pmax]]]]; p=Drop[Complement[Range[pmax],compo],1]; p1=p[[-1]]+1; f[x_] := !AnyTrue[p,Function[y,Divisible[x,y]]]; Join[p,Select[Range[p1,n],f]]) prime[2024] Wolframが使える方の最適化・高速化を希望します。 http://rio2016.5ch.net/test/read.cgi/math/1712376048/334
335: 132人目の素数さん [sage] 2024/04/20(土) 10:51:03.61 ID:tXPlmRjn >>333 https://i.imgur.com/8KXvwCM.png https://www.chart.co.jp/subject/sugaku/suken_tsushin/80/80-6.pdf より引用 http://rio2016.5ch.net/test/read.cgi/math/1712376048/335
336: 132人目の素数さん [] 2024/04/20(土) 11:06:19.74 ID:+SMyJsjZ 1/(1+tanx)の0からπ/4の定積分の求め方教えてください http://rio2016.5ch.net/test/read.cgi/math/1712376048/336
337: 132人目の素数さん [sage] 2024/04/20(土) 11:10:30.94 ID:tXPlmRjn >>335 この定義に準拠すると >>335 x(t) = 1/t y(t) = t*sin(t) だが t→∞のとき x(t)^2+y(t)^2→∞を満たさない。 tが2πの倍数のときは x(t)^2+y(t)^2 = (1/t)^2 + 0 前提を満たさないから漸近線は存在しない。 東大合格者による追加説明や訂正を希望します。 http://rio2016.5ch.net/test/read.cgi/math/1712376048/337
338: 132人目の素数さん [sage] 2024/04/20(土) 11:52:25.86 ID:NF26GESG >>334 日本語もろくに使えないアホがwolframとか言ってるのが大変滑稽だという指摘なのにいちいち発狂w http://rio2016.5ch.net/test/read.cgi/math/1712376048/338
339: 132人目の素数さん [sage] 2024/04/20(土) 12:23:03.18 ID:tXPlmRjn >>338 Phimose草の不等式が発動している。 東大合格者の文字列で発作が起こるらしい。 >336 u=tan(x)とおくとdu/dx=1/cos(x)^2 sin(x)^2+ cos(x)^2=1から tan(x)^2 + 1 = 1/cos(x)^2 = du/dx 即ち、u^2+1=du/dx ∴dx=1/(u^2+1)*du ∫[0,π/4] 1/(1+tan(x)) dx =∫[0,1] 1/((1+u)(u^2+1)) du =(1/2)∫[0,1](1-u)/(u^2+1))du + (1/2)∫[0,1](1/(1+u)) du ∵ 1/(1+u)(u^2+1) = ((1-u)/(u^2+1)) + 1/(1+u)))/2 =(1/2)∫[0,1] {1/(u^2+1) - u/(u^2+1) + 1/(1+u)} du =(1/2) ( atan(1)-atan(0 ) - (1/2)∫[0,1]{(u/(u^2+1) + 1/(1+u)} du ∵ ∫1/(u^2+1)du = atan(u) = (1/2)(π/4-0) - (1/2)∫{(u/(u^2+1) + 1/(1+u)} du あとはs=u^2+1とおいて ds/du=2u ∴ du=((1/2u) ds = π/8 - ∫[1,2] 1/s dx + ∫[0,1] 1/(1+u) du = π/8 + log(2)/4 http://rio2016.5ch.net/test/read.cgi/math/1712376048/339
340: 132人目の素数さん [sage] 2024/04/20(土) 12:51:39.94 ID:lHPBWyM5 東大合格者を否定されて発狂してるのはID:tXPlmRjn尿瓶ジジイだろww 相変わらず日本語通じてないね、チンパン言語? http://rio2016.5ch.net/test/read.cgi/math/1712376048/340
341: 132人目の素数さん [] 2024/04/20(土) 12:59:04.50 ID:+SMyJsjZ 部分分数分解することは思いつきませんでした。 ありがとうございます。 http://rio2016.5ch.net/test/read.cgi/math/1712376048/341
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 661 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.017s