新しい問題

答えを見る／隠す

左辺の平方根をa\sqrt{b}の形に\
書き改めましょう．

a: floor((random() * 4))
b: floor((random() * 4))
c: floor((random() * 3))
n: ((2^(a) * 3^(b)) * 5^(c))
n1: ((2^(floor(a / 2)) * 3^(floor(b / 2))) * 5^(floor(c / 2)))
n2: ((2^(Mod[a, 2]) * 3^(Mod[b, 2])) * 5^(Mod[c, 2]))
text1: "\sqrt{" + (LaTeX[n]) + "}="
text3: "\sqrt{" + (LaTeX[n2]) + "}"
text4: "" + (LaTeX[n1]) + "\sqrt{" + (LaTeX[n2]) + "}"
text2: "" + (LaTeX[n1]) + ""
mode = 0
tt = If(mode ≟ 1, If[n2 ≟ 1, text2, If[n1 ≟ 1, text3, text4]], " ")
text5 = If(n1 ≟ 1, text3, If[n2 ≟ 1, text2, text4])