学年

質問の種類

数学 高校生

(2)なのですがなぜa≠0なのでしょうか

数学Ⅰ 数学A [2] 2次関数のグラフ K をコンピュータのグラフ表示ソフトを用いて表示させる。 このソフトでは、画面上のA(, ),B(,), C, に,それぞれ 異なる点の座標を入力すると, その3点を通るKが表示される。 ただし, 同じ点 の座標を二つ以上入力する, または,入力した3点を通る K が存在しないときは 画面に 「ERROR」 と表示される。 図1は,3点の座標をA(-3,0), B (-1,0),C(0, 6) と入力したときの画面 である。 2(x²+4x) +6 =2{(x+2) 44 =2(x+2)28-6 恩の母き、 = 2(x+2) y = である。 ク サシ (x,y) - A(-3,0) B(-1, 0) C(0, 6) Kの方程式は 1x2+ であり, K の頂点の座標は 21816 セ x+ 図1 $la+ ( x = 0 x+x=0 y=ax+bx+c=0 O (x+3)=0 +3x=0 コ -40- y qa-36+c=0 a-b+c=0 C = 6 -6 9a3b = -139-36=-18 6a = h=2 a-b=-6 30-36=-18 (数学Ⅰ・数学A 第2問は次ページに続く。) 18-36=-6 -3b=-24 (1)3点の座標を A(-3,0),B(-1,0), C(X,Y)と入力したところ、 「ERROR」が表示された。 次の(a)~(d) のうち, (X,Y) として考えられるもの は全部で ソー個ある。 2.94-24 +6=0 18 (a) (-3,2) 965 (-2,-4) である。 ただし, (2)3点の座標をA(-4,0), B(0,2), C (6,Z) と入力したところ、 「ERROR」 が表示された。 このとき, Zの値は タ である。 テ (c) (1, 0) (3)3点の座標を A(-4,0),B(0, 2),C(p, 4) と入力する。このとき,図2の ように画面の左下に表示されるを左に動かすとかの値が減少し, 右に動かす とかの値が増加するようになっており, 値の変化に応じてKが画面上で変化す る。 かの値を-5から5まで変化させるとき, 「ERROR」が表示されるかの値は -1 2 3 チツ テ ト RX/ MA+ (x, y) = A(-4, 0) B(0, 2) C(p, 4) p < ト とする。 数学Ⅰ・数学A 図2 ERROR (d) (5,√2) -41- y=2 z T

解決済み 回答数: 1
情報 大学生・専門学校生・社会人

vsコードを使ってJava言語の勉強をしてたんですけど初心者すぎて何が原因で上手くコードの実行ができてないのかわかりません… 勉強の資料として使ってるのは京都大学のJavaによるプログラミング入門 です。

17:43 7月27日 (木) 1.7 使用するサンプルプログラム (TankCalculator.java) 1: public class Tank Calculator { 2: public static void main (String args[]){ final double FLOW_RATE = 1.0; final double TANK_AREA = 20.0; final double INITIAL_LEVEL = 10.0; double time; //s double tankLevel; //m ... ocw.kyoto-u.ac.jp 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: time = 30; 14: tankLevel = INITIAL_LEVEL + FLOW_RATE*time/TANK_AREA; 15: System.out.println("Tank Level at time "+ time + "s = " + tankLevel + "m"); 16: 17: 18: 19: } 20:} 11 System.out.println("Flow Rate = + FLOW_RATE + "m** 3/s"); System.out.println("Tank Area=" + TANK_AREA + "m**2"); System.out.println("Initial Level = " + INITIAL_LEVEL + "m"); time = 60; tankLevel = INITIAL_LEVEL + FLOW_RATE*time/TANK_AREA; System.out.println("Tank Level at time "+ time + "s=" + tankLevel + "m"); 【補足】 // の後ろは,プログラムを後で読解しやすくするための注釈です. Flow Rate = 1.0m**3/s Tank Area = 20.0mm**2 Initial Level = 10.0m 8 Tank Level time 30.0s = 11.5m Tank Level at time 60.0s = 13.0m 1.7.1 サンプルプログラムの入力と実行 先ほどと同じように, 秀丸エディタを開き, 20行のプログラムを書き込んで, Tank Calculator.java と名付け, 保存して, コンパイル, 実行してください. 成功すれば,以下の実行結果が示されます。(失敗してもめげないで, 2.5.1 節を参 考に、原因を考え,再トライしてください) ちなみに, 実行結果をファイルに書き出すにはコマンドプロンプトの「リダイレク ト」 という機能を使います 11. java TankCalculator > result.txt これにより result.txt というファイルが出来ているはずです。 中身は数値や文字列 だけのテキストファイルですのでエディタなどで内容を確認できます。 @91% 11javaプログラムの中で明示的にフ ァイルに出力することもできるので すがここでは安直な方法を取ります

未解決 回答数: 1
英語 高校生

この誤り箇所指摘の問題が分からないのでよろしくお願いします。

【4】 次の1~10について, 誤った英語表現を含んだ部分がある場合には(a)~(d)から誤り を一つ選び,誤りがない場合には (e) を選んでマーク解答用紙にマークせよ。 1. In (a) classical Islamic history there could be no clash between since the caliph, the titular head of the Islamic state and community, (b) combined in pope and emperor, himself both (c) political or religious-though (a) not spiritual-authority. NO ERROR 2. The years (a) immediately following the end of the Cold War offered (ú) a tantalizing glimpse of a new kind of international order, with nation-states growing together or disappearing, ideological conflicts (c) melting away, cultures intermingling, and free commerce and communications (a) increasing. NO ERROR 3. Despite the growth of the economy, or perhaps (a) in part because of it, and because, as well, (b) the vast rural exodus owing to both (c) population growth and increasing agricultural productivity, workers (a) crowded into urban slums. NO ERR 4. Malthus, Ricardo, Marx, and (a) many others had been talking about inequalities for decades without citing any sources (b) whatsoever or any methods for (c) comparison NO ERROR one era with (a) another. 5. The religious differences between Europe and the United States are (a) typically described in terms of (b) beliefs and practices: Europeans are (c) far less likely than Americans (a) join and attend houses of worship or to believe in heaven and hell. NO ERROR

未解決 回答数: 0
英語 高校生

この誤り箇所指摘の問題が分からないのでよろしくお願いします。

【4】 次の1~10について, 誤った英語表現を含んだ部分がある場合には(a)~(d)から誤り を一つ選び,誤りがない場合には (e) を選んでマーク解答用紙にマークせよ。 1. In (a) classical Islamic history there could be no clash between since the caliph, the titular head of the Islamic state and community, (b) combined in pope and emperor, himself both (c) political or religious-though (a) not spiritual-authority. NO ERROR 2. The years (a) immediately following the end of the Cold War offered (ú) a tantalizing glimpse of a new kind of international order, with nation-states growing together or disappearing, ideological conflicts (c) melting away, cultures intermingling, and free commerce and communications (a) increasing. NO ERROR 3. Despite the growth of the economy, or perhaps (a) in part because of it, and because, as well, (b) the vast rural exodus owing to both (c) population growth and increasing agricultural productivity, workers (a) crowded into urban slums. NO ERR 4. Malthus, Ricardo, Marx, and (a) many others had been talking about inequalities for decades without citing any sources (b) whatsoever or any methods for (c) comparison NO ERROR one era with (a) another. 5. The religious differences between Europe and the United States are (a) typically described in terms of (b) beliefs and practices: Europeans are (c) far less likely than Americans (a) join and attend houses of worship or to believe in heaven and hell. NO ERROR

未解決 回答数: 0
英語 高校生

1️⃣3 2️⃣2 3️⃣2.4 を教えてください。 あと解いた問題が合ってるか見てください。 答えがついてないので協力よろしくお願いします。

ー くれてありがとう。) Practice 1 日本語に合うように,( 1. 嘘をつくということはほかの人の信頼を失うということだ。 ( is / to / a lie / to / tell / lose) the trust of others. 内の語句を並べかえて英文を完成させなさい。 2. イタリア人がスペイン語を理解することはそれほど難しくない。 fam- (Italians / so difficult / to / for / is / not/it) understand Spanish. 3. 彼が金メダルを取るのは確実です。 ( it / that / will win / certain / he / is ) the gol す。 このような形容詞には,ほかに careless (不注意な), clever (賢明な ) stupid(愚かな ) などがある。 2 日本語に合うように,( 1. 本を読むことであなたはより賢くなる。 ) ( ) ( 4. 今日は雨になると新聞では報じている。 Suoda The paper (it's/that / to / says/ going/rain) today. the gold medal. ebrow (D 3. 人が何と言うかは問題ではない。 ) ( ) ( に適切な語を入れなさい。 bled tneve artt intert S ) you smarter. 2. ドアに鍵をかけないままにしておくなんて, あなたは不注意だった。 ) ( It was careless ( unlocked. sono veWalliM orts 220tos team avevol ov 2. 何で彼女はそんなに怒ったのだろう。 ) ( 3 日本語に合うように, 下線部に適切な語句を補いなさい。 1. 机の上の辞書は私のものです。 3. 私がその本を読み終えるのに3日間かかった。 is mine. *B SCOR her so angry? 4. ささいなミスによって重大な問題が引き起こされることがある。 A minor error can erit nislaxa ) leave the door ) people say. to finish reading the book. 主語を決める Part1 Lesson | 11

未解決 回答数: 0