情報:IT 高校生 4年以上前 なぜ間違っているのか分かりません。 教えてください。 シーザー暗号をブルートフォース攻撃する プログラミングです。(python) よろしくお願いします。 def decrypt(cipher.text): for shift_num in range (26): answer=" for char in cipher_text: if not(65 <= ord(char) <=D 90 or 97 <%3ord(char)<3D 122): answer+= char elif ord(char)-shift_num<65: answer+=chr(ord(char)-shift_num+26) elif ord(char)-shift_num<97 and ord(char)>%397: answer+=chr (ord(char)-shift_num+26) else: answer+=chr (ord(char)-shift_num) wernt stshift_nnlで複会tanswer). Angou="Au1aYauná0a x á6x1aVxUaèaUUY1×7a1axTaa0a × io0xaua ×TédiiYa×1ayxfaá1Yeay!" decrypt(Angou) Traceback (most recent call last) TypeError <ipython-input-38-c1dd64f6df7f>in <nodule>() 23. 24 Angou="A01aYa0ia0gxaる×1ayxUaeaU0Y) ×Táia×Tàá0à×.i¢0×aU8xréál1Yax1ay×I@áYeay;' > 25 decrypt(Angou) <ipython-input-38-c1dd64f6df7f> in decrypt (cipher_text) 20 else: answer+=chr(ord(char)-shift_num) print("鍵"+ str(shift_num) +"で複合→"+answer)'" 21 22 23. 24 Angou="AU1aYaUra08 xa6×1ayxUeaUUYI× Tálà× Tàa0a × &c0×aue× Téál1 Ya×1aYxfadi Veay!* TypeError:'くtr' object is not, callable 解決済み 回答数: 1
英語 中学生 4年以上前 分からん無いのでおして下さい 69 >p.23 2絵を見て例にならい。 に適する語を書きなさい。 読間 書話 例 「12歳 14歳 13歳 India Japan a24 数学 |理科 |英語 Emi Kumi d」 Ayal Australia large big easy 1. Aya is older than Emi. 例 2. Kumi is the oldest of the three. 古いです。 ここがポイント 1. India is ●比較級の文 「…よりも~」 〈比較級(-er) + than Japan. 2. Australia is 使い, of the three. (2) 1. The cat is the bird. ●最上級の文 「…(の中)でいちばん or 2. The tiger of the three. くthe +最上級(-est) + of[in]…) (3) 1. Mathis English for me. 2. Science all the subjects for me. こん古い 3次の日本文に合うように に適する語を書きなさい。 出る ことばメモ (1) トムは今週, リサよりも忙しいです。 前の名詞のかわりのone one は前に出てきた名詞 のくり返しを避けるため に使われる。 Tom is Lisa this week. 司の最 た形。 (2) このバッグはあのバッグよりも小さいです。 This bag is that one. (3) ケンは私たちみんなの中でいちばん背が高いです。 う。 「…(の中)で」 *複数を表す語句が続く us all. Ken is the (4) この神社は日本でいちばん古いです。 → of 場所·範囲を表す語句 が続く→ in This shrine is Japan. 4[ ]内の語句や符号を並べかえて,日本文に合う英文を書きなさい。 出る (1) この自転車とあの自転車ではどちらのほうが軽いですか。 ここがポイント ●(Which[Who] is + 比較級,A or B?) 「AとBではどちらが より~ですか」 ●(Which[Who] is the +最上級+of[in] …?〉 「…(の中)でどれだ れ]がいちばん~です か」 [or / lighter /which/this bike /is/,] that one? that one? 作り方 「, -st 三音字) て (2) あなたの家族の中でだれがいちばん若いですか。 [is/ your family/the youngest /who/in]? y) [sister / is / my]. -er, (3) [(2)に答えて] 私の妹です。 S。 Unit 6 未解決 回答数: 1
数学 高校生 4年以上前 高校1年生です。 なぜ、ACを求めるのに(√13)の2乗−2の2乗ではなく、(√13)の2乗−2の2乗になるのですか? 2 (4) C T 0 A B 13 解決済み 回答数: 1
物理 大学生・専門学校生・社会人 5年弱前 問2の(3)(4)を教えてください 問2. ばね定数 k [N /m] (k > 0) の軽いばねがある。なめらかな水平面上でこ 自然長 のばねの左端を固定し、右端に質量 m kg] の物体を取り付けた。次に、 手で mm 物体を引っ張ってばねを自然長より cm 伸ばしてから静かに手を放した。図 0 に定義された座標軸に基づいて、その後の物体の運動について、以下の間に答 えよ。ただし,時刻 ts]での物体の位置を (t) [m] とし、ばねが自然長のときの物体の位置を原点とする。 (1) Find the restoring force F, [N] that the spring tries to return when the object is displaced by z m from its natural length. (2 points) d'z as its acceleration. dt? (2 points) (2) Find the equation of motion of the object, using the notation of (3) Find the general solution of the equation of motion of the object. (3 points) (4) Find the solution that meets the initial conditions described in the problem. Here, the moment when the hand is released is set as time t==0s. (3 points) 問3.問2では摩擦などの抵抗力がない理想的な単振動を扱ったが、実際には抵抗力が存在する。 抵抗力は速度 dt に比例することが多く、この比例定数をc[N.s/m] (c> 0) とおくと、 運動方程式は教科書 P.66 の(2.40)式として表 される。この方程式の一般解は、 教科書 P.52に示す「定数係数の2階線形同次微分方程式の一般解」として表され、 教科書 P.66 の下段3行に示すような解 a) c)となる。これらの解の導出課程を、 以下の手順に従って示せ。 d。 da. (1)(2.40)式 m = ーkc - c dt? の右辺において、c dt の項の符号がマイナスである理由を考察せよ。 dt (2点) 回答募集中 回答数: 0
物理 大学生・専門学校生・社会人 5年弱前 問2の(3)(4)を教えてください 問2. ばね定数 k [N /m] (k > 0) の軽いばねがある。なめらかな水平面上でこ 自然長 のばねの左端を固定し、右端に質量 m kg] の物体を取り付けた。次に、 手で mm 物体を引っ張ってばねを自然長より cm 伸ばしてから静かに手を放した。図 0 に定義された座標軸に基づいて、その後の物体の運動について、以下の間に答 えよ。ただし,時刻 ts]での物体の位置を (t) [m] とし、ばねが自然長のときの物体の位置を原点とする。 (1) Find the restoring force F, [N] that the spring tries to return when the object is displaced by z m from its natural length. (2 points) d'z as its acceleration. dt? (2 points) (2) Find the equation of motion of the object, using the notation of (3) Find the general solution of the equation of motion of the object. (3 points) (4) Find the solution that meets the initial conditions described in the problem. Here, the moment when the hand is released is set as time t==0s. (3 points) 問3.問2では摩擦などの抵抗力がない理想的な単振動を扱ったが、実際には抵抗力が存在する。 抵抗力は速度 dt に比例することが多く、この比例定数をc[N.s/m] (c> 0) とおくと、 運動方程式は教科書 P.66 の(2.40)式として表 される。この方程式の一般解は、 教科書 P.52に示す「定数係数の2階線形同次微分方程式の一般解」として表され、 教科書 P.66 の下段3行に示すような解 a) c)となる。これらの解の導出課程を、 以下の手順に従って示せ。 d。 da. (1)(2.40)式 m = ーkc - c dt? の右辺において、c dt の項の符号がマイナスである理由を考察せよ。 dt (2点) 回答募集中 回答数: 0
英語 高校生 5年弱前 分詞構文です。この文で議論するのは主節よりも前の話なのでhaving finishedとしたいのですがなぜダメなのですか? CWA そのテーマについて議論し終えて, 彼らは握手した。 未解決 回答数: 1
英語 高校生 5年弱前 翻訳お願いします…(>_<;) won bre es (erit orlvw Homework jeal leloos bns isoltilog auohey ed of mese ve vert beteolteirdgge no vevela * Choose a controversial topic. slaneyotn0o no anoinigo pnieoggo ylsioaqpsjanorigo enonev tuo lea2 Do some research. Find two different sources of information that have looa opposing views on the topic. eoltelfste bnes .Write a brief summary of both sources of information.st sisb 1o 2oitaitsta ent eveiled on boop io blor te0 ot yil * Write your opinion on both sources ofinformation. Explain why you think the sources of information are good, bad, or other. vd bns bninu misa s ritiw Write an explanation of how the sources of information changed, or did not change, your opinion on the subject. W erinelssirt bnB V1pns Vay.emooed mert eaoggo jsrit eaort of m100g10d ent 解決済み 回答数: 2
数学 中学生 5年弱前 教えてください。 右の図の四角形 ABCD は,A の台形で, 7 AD = 2cm, BC= 8cm です。 A 辺 ABの中点をEとし,Eから辺BCに平行な F G 直線をひき,BD, CA, CD との交点をそれぞれ H G, H, Fとします。 また, IはACと DBの B 交点です。△IGH の面積が9cm° のとき, 次の問に答えなさい。 (1) GHの長さを求めなさい。 (2) AIBC の面積を求めなさい。 (3) △ABCの面積を求めなさい。 (4) 台形 ABCD の面積を求めなさい。 解決済み 回答数: 1
英語 中学生 5年弱前 英語です!(第5弾) 1問でもいいので教えてくれると嬉しいです! 誰か助けてくれる方募集 1部書いてるところあるんですが、間違えてたら教えてくれると嬉しいです! (急ぎすぎて字が荒ぶってるんですけど許して、、) よろしくお願いしますm(_ _)m ). He's my teacher. B: Yes, I ( 日 5) A :( ) Meg speak English? ). And she speaks Japanese a little. B: Yes, she ( abneint bns mat ) your father have bread for breakfast? 6) A :( B: Yes, he ( asgew ). He usually has bread and coffee ) your name? 7) A : What ( ) Kumi Tanaka. Nice to meet you. B: My name ( ) Takeshi study in his roomevery day? 8) A:What ( B: He( ) math and science. He likes the two subjects. コーヒー 8) subject 教科, 科目 ) 9W *語句 5) bread パン coffee nebute loodbe dpin ( 6. 次の文を,[ J内の指示にしたがって書きかえなさい。 law yay Hed2sd avsla ousT 1) I am from Canada. [IをMeg にかえて) 2) They have breakfast every day. [They を My brother にかえて) 3) Tadashi lives in Japan.(否定文に) sin1k 4) That's a new bike. (疑問文にして、No で答える) 疑問文 答え方 5m 1s wami coy 解決済み 回答数: 1