高校数学の質問スレ(医者・東大卒専用) Part438 (979レス)
高校数学の質問スレ(医者・東大卒専用) Part438 http://rio2016.5ch.net/test/read.cgi/math/1723152147/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
リロード規制
です。10分ほどで解除するので、
他のブラウザ
へ避難してください。
12: 132人目の素数さん [sage] 2024/08/11(日) 13:29:14.25 ID:y6yg1Hhb (* 三角形ABCで底辺BC=BC,∠A=aA,∠C=aCの時、この三角形の面積は?*) calc[BC_:4,aA_:Pi/4,aC_:Pi/8] :=( fn[x_]:=( If[x==BC,Return[0]]; pB={0,0}; pC={BC,0}; pA={x,-Tan[aC](x-BC)}; ABC=Triangle[{pA,pB,pC}]; (aA-TriangleMeasurement[ABC,{"InteriorAngle",pA}])^2 ); x0 = x /. NMinimize[fn[x],x][[2]]; pB={0,0}; pC={BC,0}; pA={x0,-Tan[aC](x0-BC)}; Area[Triangle[{pA,pB,pC}]] ) calc[] http://rio2016.5ch.net/test/read.cgi/math/1723152147/12
25: 132人目の素数さん [sage] 2024/08/12(月) 13:09:48.25 ID:OufDPFxO >>22 おいもう息してないのか http://rio2016.5ch.net/test/read.cgi/math/1723152147/25
62: 132人目の素数さん [sage] 2024/08/16(金) 15:31:11.25 ID:bNupVHmJ (1)リウヴィルの定理 p, q が自然数のとき |√2 − p/q| ≧ (6-4√2)/qq, ∴ √2 ≠ p/q (無理数) http://rio2016.5ch.net/test/read.cgi/math/1723152147/62
112: 132人目の素数さん [sage] 2024/08/21(水) 11:27:27.25 ID:trPnwZW4 (* 各回ごとの確率 *) pn={jan[n,1]}; Total@Flatten@Table[jan[n,x1]jan[x1,1],{x1,2,n}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,1],{x1,2,n},{x2,2,x1}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,x3]jan[x3,1],{x1,2,n},{x2,2,x1},{x3,2,x2}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,x3]jan[x3,x4]jan[x4,1],{x1,2,n},{x2,2,x1},{x3,2,x2},{x4,2,x3}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,x3]jan[x3,x4]jan[x4,x5]jan[x5,1],{x1,2,n},{x2,2,x1},{x3,2,x2},{x4,2,x3},{x5,2,x4}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,x3]jan[x3,x4]jan[x4,x5]jan[x5,x6]jan[x6,1],{x1,2,n},{x2,2,x1},{x3,2,x2},{x4,2,x3},{x5,2,x4},{x6,2,x5}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,x3]jan[x3,x4]jan[x4,x5]jan[x5,x6]jan[x6,x7]jan[x7,1],{x1,2,n},{x2,2,x1},{x3,2,x2},{x4,2,x3},{x5,2,x4},{x6,2,x5},{x7,2,x6}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,x3]jan[x3,x4]jan[x4,x5]jan[x5,x6]jan[x6,x7]jan[x7,x8]jan[x8,1],{x1,2,n},{x2,2,x1},{x3,2,x2},{x4,2,x3},{x5,2,x4},{x6,2,x5},{x7,2,x6},{x8,2,x7}]//AppendTo[pn,#]&; Total@Flatten@Table[jan[n,x1]jan[x1,x2]jan[x2,x3]jan[x3,x4]jan[x4,x5]jan[x5,x6]jan[x6,x7]jan[x7,x8]jan[x8,x9]jan[x9,1],{x1,2,n},{x2,2,x1},{x3,2,x2},{x4,2,x3},{x5,2,x4},{x6,2,x5},{x7,2,x6},{x8,2,x7},{x9,2,x8}]//AppendTo[pn,#]& Total@pn http://rio2016.5ch.net/test/read.cgi/math/1723152147/112
237: 132人目の素数さん [sage] 2024/10/25(金) 15:59:33.25 ID:t22ya7mF >>236 尿瓶ジジイまだ生きてたのかよ?死に損ないもいいとこだな http://rio2016.5ch.net/test/read.cgi/math/1723152147/237
404: 132人目の素数さん [sage] 2024/12/09(月) 03:01:49.25 ID:qq7wIWnX スレタイも読めないのに自称医者とか笑わせるよねw http://rio2016.5ch.net/test/read.cgi/math/1723152147/404
426: 132人目の素数さん [sage] 2024/12/17(火) 10:31:23.25 ID:FFiopr0X >>425 今度はこっちを荒らすのかよ。死ねクソ野郎 http://rio2016.5ch.net/test/read.cgi/math/1723152147/426
589: 132人目の素数さん [sage] 2025/01/20(月) 07:07:48.25 ID:VfEp74h/ >>588 結局医者板ではダンマリかよ http://rio2016.5ch.net/test/read.cgi/math/1723152147/589
590: 132人目の素数さん [sage] 2025/01/20(月) 13:32:41.25 ID:hhX1bSoJ 件のスレ荒らしは小中質問スレみたく閉鎖させるつもりなんだろう http://rio2016.5ch.net/test/read.cgi/math/1723152147/590
612: 132人目の素数さん [sage] 2025/01/23(木) 15:36:12.25 ID:SEZTC8QI >>611 スレタイ読めないアホに何言われても響かないよ 出題の日本語に違和感を持たないってことは同じ人かな http://rio2016.5ch.net/test/read.cgi/math/1723152147/612
684: 132人目の素数さん [sage] 2025/02/06(木) 16:51:32.25 ID:Kqo8KOCs >>681 医科歯科大は機械を器具って言うの? 出題も質問って言うの? http://rio2016.5ch.net/test/read.cgi/math/1723152147/684
685: 132人目の素数さん [sage] 2025/02/06(木) 16:54:47.25 ID:rViXyt0w >>682 あんたは>675の答が出せないアホでしょ。 http://rio2016.5ch.net/test/read.cgi/math/1723152147/685
817: 132人目の素数さん [sage] 2025/05/01(木) 09:14:13.25 ID:L1qIlz9/ 事後分布が出せたのであとはオッズ比などの計算も容易。 https://i.imgur.com/k0iLH6B.png http://rio2016.5ch.net/test/read.cgi/math/1723152147/817
837: 132人目の素数さん [sage] 2025/05/16(金) 16:37:03.25 ID:s89ybxV8 イベント発生が人数比で 臨床試験1で 旧薬 vs プラセボで 5/201 vs 19/202 臨床試験2で 新薬 vs 旧薬 で 9/203 vs 5/204 であったとき (1) 新薬がプラセボより劣る確率を計算せよ。 (2) 新薬はプラセボより有意差をもって有効といえるか? 計算に必要な条件は適宜設定してよい。 例:イベント発生は独立事象である library(rjags) library(coda) worth_than_placebo <- function(r0, n0, r1, n1, r2, n2, r3, n3){ model_string <- ' model { # 試験 (旧薬 vs 偽薬) r1 ~ dbin(p1, n1) p1 ~ dbeta(1, 1) r0 ~ dbin(p0, n0) p0 ~ dbeta(1, 1) # 試験 (新薬 vs 旧薬) r2 ~ dbin(p2, n2) p2 ~ dbeta(1, 1) r3 ~ dbin(p3, n3) p3 ~ dbeta(1, 1) # parameters p2_est <- p2 p0_est <- p0 p2_worse_than_p0 <- step(p2_est - p0_est) } ' data <- list(r1=r1 , n1=n1 , r0=r0 ,n0=n0, r2=r2 , n2=n2 , r3=r3 , n3=n3) jags_model <- jags.model(file=textConnection(model_string), data=data, n.chains=3, n.adapt=3000, quiet = TRUE) update(jags_model, n.iter=2000) jags_samples <- coda.samples(jags_model, variable.names=c("p2_est", "p0_est", "p2_worse_than_p0"), n.iter=10000, thin=1) summary(jags_samples) js <- as.data.frame(as.matrix(jags_samples)) names(js) source("plotpost.R") layout(matrix(c(1,2,3,3), 2, 2, byrow=TRUE)) plotpost(js$p2_est, col='lightcoral',xlab="新薬",cex.lab=1.5,main="") plotpost(js$p0_est, col='lightgray', xlab="プラセボ",cex.lab=1.5,main="") plotpost(js$p0_est - js$p2_est, compVal = 0, col=c('lightcoral', 'lightgray'), xlab="プラセボ - 新薬", main="",cex.lab=1.5) HDInterval::hdi(js$p0_est - js$p2_est) |> print() mean(js$p2_worse_than_p0) } result <- worth_than_placebo(r0=19, n0=202, r1=5, n1=201, r2=9, n2=203, r3=5, n3=204) print(paste("新薬がプラセボより劣る確率:", result)) http://rio2016.5ch.net/test/read.cgi/math/1723152147/837
911: 132人目の素数さん [sage] 2025/06/22(日) 11:13:03.25 ID:V0T0lOP1 >>909 設定ぐらいきちんとしろ 問題文すらまともに書けないのかよwww http://rio2016.5ch.net/test/read.cgi/math/1723152147/911
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.043s