学年

質問の種類

情報:IT 高校生

マーカー部分の意味がわかりません

17〈二次元配列と関数〉 あるカレー屋では、辛さは1辛~5辛まで, ライスは普通・ 大盛・特盛の3種類から選べる。基本料金は800円で辛さを1増すごとに基本料 金の1割増となる。ライスは大盛が50円,特盛は100円加算される。 価格一覧を 作るため、料金を入れた配列 kakaku を返す関数を作成した。 なお、配列の添字は 0から始まるものとする。 また, 「整数 (a) 」 はaを整数に変換する関数, 「戻り値 (a)」はaを呼び出し元に返す関数である。 空欄に入る最も適当なものを、次の(ア) 〜(オ)から一つずつ選べ。 (1) 関数 メニュー (kihon, ① の定義: riceを0から2まで1ずつ増やしながら繰り返す: karasaを0から4まで1ずつ増やしながら繰り返す: 渡され るようにする。 この例では,rice, karasa, kakaku は関数内で値が設定 されており,kihon, rate は設定されて いないことに着目す る。 (2) (3) (4) (5) _kakaku [rice][karasa] 整数 (kihon * (1 + 戻り値 (kakaku) * rate) + 50 * = (ア) rice (イ) karasa (ウ) (rice + 1) () (karasa +1) (オ) rate 18 〈関数〉 今日の曜日 ("月","火",・・・) を戻り値とする関数「曜日()」と,問題 17 で作成した関数を使い,辛さ割増率を平日1割,土日2割とすることにした。なお, 「初期化 (a, b, c)」はb×cの二次元配列 a を初期化する関数である。 空欄に入る 最も適当なものを,右の(ア)~(カ)から一つずつ選べ。 (1) 初期化 (menulist, 5, 3) 18 関数は, 引数を変え て何度も呼び出すこ とができる。 (ア) and (2) もし曜日 () == "土" 曜日)=="日"ならば : (イ) or (3)| menulist = メニュー (800, ② エ (ウ) 0.1 (4) そうでなければ : (エ) 0.2 (5) menulist = メニュー ( 800, (オ) 1 (6) 表示する (menulist) (カ) 2

解決済み 回答数: 1
英語 中学生

この問題の答えを教えてください!

英語 ODIEZ V 英語 体験 THEME 版 長文読解テクニック WTF 予習 事前に「ライブ授業」の 〔1〕の問題文に目を通して、 [1] の第一段落を読もう。 ※問題を解く必要はありません。 葵01 >>> ライブ授業 Sクラス 次の[1] [2] の問いに答えなさい。 ('21 富山県) 〔1〕 理香 (Rika) さんは、英語の授業で友人の美咲 (Misaki) さんとのエピソードについてス ビーチをすることになりました。 次のスピーチ原稿を読んで、あとの問いに答えなさい。 Hello, everyone. I will talk about my friend Misaki. When we entered junior high school, we decided to join the track and field team together because both of us liked running. We practiced hard together every day. However, I *injured my leg during spring vacation last year. I thought I couldn't join *competitions because I couldn't practice for a long time. I was sad and lost *motivation to run. I didn't want to "continue practicing. I told Misaki about it. She said, “We are not practicing for only competitions. We are running because we like it. Do you know the *Toyama Marathon? Junior high school students can't join it yet, but they can join the *jogging section of it. It is four kilometers. I'm going to join it. Why don't you join it with me? We still have six months to practice." I said, “I don't want to practice." However, she continued talking. She said, "Usually we can't run on the Shinminato Bridge, but the people who join the Toyama Marathon and the jogging section of it can run there. Isn't it exciting?" I became interested and finally decided to join the jogging section of the Toyama Marathon with Misaki. I started practicing again after I *recovered. It was harder than before, but Misaki always *encouraged me. On the day of the Toyama Marathon, many people joined the jogging section. I was surprised because many old people were running too. I wanted to be like them. Of course, I enjoyed running with Misaki, but there was only one sad thing. It was cloudy that day, so we couldn't see Tateyama from the Shinminato Bridge. I hope we can see it 20 next time. I remembered the joy of running through this experience. Winning competitions is not the only goal of sports. Enjoying them is more important. I am happy to have a friend who practices with me and encourages me when I have a hard time. I hope I can run with Misaki in high school too and get stronger. In the future, I want to run 42.195 25 kilometers in the Toyama Marathon with Misaki. Thank you for listening. competition 大会 *motivation 意欲 *Toyama Marathon 富山マラソン 注) injure痛める * continue ~ing 〜し続ける *jogging section ジョギングの部 encourage 励ます *Shinminato Bridge 新湊大橋 *joy 喜び recover 回復する 5 予習・ライブ授業 到達度チェック (1) 下線部①~③のうち、他の2つと異なることを指しているものを1つ選んで番号で答え なさい。 (2) 理香さんが富山マラソンやそのジョギングの部に興味をもったのは、美咲さんからどの ようなことを聞いたからですか。 その内容を日本語で書きなさい。 ] (3)このスピーチを通して理香さんが伝えたかったことを,次のア~オから2つ選んで記号 で答えなさい。 ア Junior high school students should not join any competition. イ People who join the Toyama Marathon can see Tateyama from the Shinminato Bridge every year. ウIn sports, having fun is more important than winning competitions. I When you have a hard time, good friends will give you hope for the future. オ People should practice running 42.195 kilometers because it is good for their health. 〕 (4)このスピーチを聞いた後, あなた (You)はALT のスコット (Scott) 先生と話をしました。 に10語以上の英語を書き入れ, 次の会話を完成させなさい。 ただし, 英文 の数は問わないが, 複数の文になる場合はつながりのある内容にすること。 Scott: Rika wants to continue running in high school. How about you? Do you want to continue doing something, or start a new thing in high school? You: In high school, I want to Scott: Sounds good. I hope you can do it. In high school, I want to ( ]). 〔2〕智也さんは,立山に生息する特別天然記念物 (special natural monument) のライチョ ウ(ptarmigan)が富山の県鳥であることを知り、興味をもちました。 智也さんが書い た次の英文レポートを読んで,あとの問いに答えなさい。 The ptarmigans are special natural monuments of Japan, and live only in cold places like high mountains. You can't find them in their *natural habitat so often, but you can see them on Tateyama if you have good luck. People often think the ptarmigans live only on high mountains. However, some of them spend winter by the sea in countries like Russia. Did you know that they change color each season? They become dark brown in summer and white in winter. When the birds change color like that, it is hard for other animals to find them. 花火 捕緑人質塊命を! (24) (29) Ill you be Prasat 英02.

未解決 回答数: 0
数学 高校生

高一数Aです。 解説の7行目(青ペン)のところからりかいできません。 なんで1/2rに13+12+5をかけるのでしょうか? そういう公式があるのでしょうか? 解説して頂けるとありがたいです🙇‍♂️

=-2・3・4・COSA --2-(-3-(c-SA) 24. COSA rosA 例題 46 261 次のような△ABCにおいて、 内接円の半径を求めよ。 (1) a=13,b=12,c=5 1800のかんたん 12 A B 747-12 a2=h²+cが成りたつから この三角形はA=90°の三角形 △ABCの面積とうとすると 5=12:12:5:30 13 12 焼きへんから co520=1人 たして + of 三角形1つず= 0.3 2 の A 解答編 -61 B 439 (2) △ABCに余弦定理 √2 て 30° \30% を使うと C D 261 (1) 2=62+c2OATS √2 AC2=32+(√2) 2 が成り立つから 12 ~135° -2.3.√2 cos 45° A/ 45 この三角形は A=90° 1 263 △ABC = △ABD + ACD であるから AD = x とすると 3 AB --7-5sin 60° 0 =9+2-6=5 の直角三角形である。 2 08 C 13 B 30% 30 AC=√5 30°=27 2 3 ーるこ 整理すると これを解くと x=-3, 1 x>0であるから x=1 すなわち AD=1 の正 AC 0 であるから 四角形ABCD は円に内接するから ∠D=180° ∠B=180°-45°=135° AD=xとして, △ACD に余弦定理を使うと AC2=CD2+ AD2-2・CD・ADcos ∠D よって 5=(√2)2+x2-2√2xcos135° x2+2x-3=0 (2) 余弦定理により △ABCの面積をSとすると 7 2: S=11.12.5=30 700mia =1/12 : 7.xsin 30 +12.5-xsin 30° B x D C また よって, 1530 から r=2 s=12(13+12+5)=15 35√3 7 整理すると = x+ 4 35√3 35/3 よって x= すなわちAD = 12 12 72+82-62 cos A = 2-7-8 269 11 =16 8 7 B 6 C sinA>0であるから √3 228 =in 60° DA 別解 △ABCにおいて、 余弦定理により BC2=72 +52-2・7・5cos60° =49+25-3539 BC > 0 であるから BC=√39 また, BD: DC=AB: AC=7:5 であるから BD = =112BC= 7/39 12 ここで, △ABCにおいて, 余弦定理により 30° 60° 3 → 対角の和は180° うと ¥120 四角形ABCD の面積をSとすると S=△ABC+ △ACD 1 =1/2・3・√2 sin 45°+/12・1・√2 sin 135° =1/23+/1/2=2 260 (1) BD=x とする。 △ABD に余弦定理を使 2=32+42 -23.4cos A =25-24cos A Sve 11 2 sin A = 1- 16 HITA 3/15 16 △ABCの面積をSとすると A S=1.7.8.3/15-21/15 16 4 5+7+8)= S12M6+7+81-11 72+(√√39)2-52 cos B = 2.7.39 9 16 63 14/39 まだ r A 2/39 AD = x とすると, △ABD において, 余弦定 よって、2/21= 21/15 √15 から 1= 理により 2 x2=72+1 (739 -2.7- 12 7/39 12 -cos B =49+ √3 49-39 144 7/39 9 -2.7. 12 2√39 1225 D 3 四角形ABCD 国内 262 (1) S=-8-5sin 60° 数学Ⅰ A問題、B問題 SARASA たい A1

解決済み 回答数: 1
化学 高校生

問2.について [HX]÷[X-]+Ka = Ka がよく分かりません、 そして、それがpHになるのも分かりません、。 問3. について なぜNaOH が過剰とわかるのでしょうか。 また÷200+10/1000をしているのはなぜでしょうか

162021 年度化学 第二問 次の文章を読み、 問1~3に答えよ。 ただし, log102=0.30, 大 推薦 log103=0.48, log105=0.70, 10g107=0.85 とし, 水のイオン積は K=1.0×10~14molとする。 [解答番号6~8 星 第 物質Aは1価の酸で,その電離定数はK=2.00×10 mol/Lである。 (a) この物質Aの 1.00mol/L 水溶液10.0mLに、 ある量の (b) 0.100mol/Lの水酸化ナトリウム水溶液を加え、 混合したのちpHを測定した。 実験を通して物質Aの電離定数は変化しないものとする。 また, 混合したのちの水溶液 の体積は,各水溶液の体積の和と等しいものとする。 塩 かす トリ くま 水を 問1 下線部(a)の水溶液のpHとして,最も近い数値を選べ。 [解答番号 問1 6 2. 1.2 3. 1.5 1. 1.0 4. 1.8 5.2.1 6.2.4 7.2.7 8. 3.0 9. 3.3 0.3.6 2 問2 下線部(b)の水酸化ナトリウム水溶液を 50.0 mL加えたときのpHとして, 0.5 も近い数値を選べ。 [解答番号7 1.2.0 2.2.3 3.2.6 4.2.9 5.3.2 6.3.5 7.3.8 8.4.1 9. 4.4 0.4.7 問3 下線部(b)の水酸化ナトリウム水溶液を200.0mL加えたときのpHとして,最 も近い数値を選べ。 [解答番号 8 1.10.6 2.10.9 3.11.2 4. 11.5 5.11.8 6.12.1 7.12.4 8.12.7 9. 13.0 0.13.3 SARASAD 問3

解決済み 回答数: 1
1/14