Grade

Type of questions

IT Undergraduate

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プログラムの中で明示的にフ ァイルに出力することもできるので すがここでは安直な方法を取ります

Unresolved Answers: 1
English Senior High

109番〜120番の答えないため確認できないのでみなさんの回答をよろしくお願いします🙇‍♀️

109. The hotel's ------- shuttle bus will take st guests to Hong Kong's major landmarks. months of work to sell the Apton Building, the realtor finally succeeded last cm week, al bas 110. (A) compliments (B) complimentary (C) compliment (D) complimenting (A) Besides (B) After (C) Still (D) For 111. We will review all four custodial-service bids ains and choose ------- that suits our needs. reauozib ybisenie Azoril (A) some (B) one (C) others (D) either olde 27 112. The client asked for the advertising text. (A) standards (B) drawings (C) revisions (D) duplications 113. Please be advised Juoriquant (A) phols is (0) dourn co! (0) entste wob (0) (A) that (B) of (C) whether (D) between (A) obtains (B) competes (C) inquires (D) claims brojed (A) etion ------- we have had to cancel your order because of a difficulty with our shipping agent. polisem to the images in ont est ------- (9 114. Tin Creek Corporation towels are the most absorbent on the market. .OET that its paper 115. KCLN Associates will enter into a business with the contractor as soon as some of the terms are renegotiated. (A) agreed (B) agreement (C) agreeable (D) agreeing 116. ------- ---- registering for online banking is not required, we strongly recommend it to all of our customers. (A) Although (B) Instead (C) Regardless (D) Despite 117. Viewers can easily ------- to the main character in the popular television series Autumn Mystery. (A) related (B) relatable (C) relating (D) relate of 118. Fairlawn Medical Clinic offers a full ------- services as part of its community wellness programs. (A) center (B) surplus (C) range (D) type ROT 119. The rear entrance to RC Bank will be closed for repairs and not next Monday. (A) accessible (B) accessing (C) access (D) accesses (A) decidedly (B) furthermore (C) rather (D) everywhere allory (5) vetele (0) balio (0) 120. Mr. Carson wants to see Carson audio products -------, even in remote regions of the world. TEST

Unresolved Answers: 1
Mathematics Senior High

⑵ですが、僕の解き方ではダメですかね ベクトルです。解説お願いします

例題 352 交点の位置ベクトル(3) △ABCにおいて, BC=5, CA=6,AB=7 とする. この三角形の内接 円と辺BC, CA, AB の接点をそれぞれ D, E, F とする. また, 線分BE と線分 AD の交点をGとする. AB=p, AC=gとして、 (1) 線分BD の長さを求め, ADを,g を用いて表せ. (2) AGをgを用いて表せ. (3) 3点C,G, F は一直線上にあることを示せ . 考え方 (3) CG CF をb,g を用いて表す。 解答 (1) BD=BF=x, CD = CE=y, AE = AF = z とおくと, C, G,F が一直線上にあるということは, CG = kCF となる実数んが存在すると いうことである. x+y=5 TOATCHIGAN y+z=6より、x=3, y=2, z=4 |z+x=7 よって, Focus AD 2514 5 5 (2) 点Gは線分 AD上にあるので, AG=kAD (kは実数) と表されるから, AG=12/3+1/23kg AĞ= ka BD = 3, BD:DC =32 なので, 2AB+3AC_2D+3g = また, 点Gは線分BE 上にあるので, BG: GE=t:(1-t) とおくと, AG=(1-t)AB+tAE = (1-t)p+ta ....2 = 0, 0, I g は平行ではないから, ①,②より, B k=1-12/23k=212/31 つまり,k=10, t=0 -t 13 13 2012/3=1-1.12/31k = 2/3/31 つまり、 6 AG=1/3+139 よって, AG= (3) CF=AF-AC-476-à 4→ CG-AG-AC (13 P 503010 したがって CG=13CF よって, 3点C, G, F は一直線上にある. ( 広島市立大 ) →> x B 50²-8* 3 C-(137+139)-9=136-139=13 (4-9) 7 FL 3点A,B,Cが一直線上 ⇔AC=kAB (kは実数) F *** -3 A Z Dyc 1G /E EV2/C D 2 C

Resolved Answers: 1