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

Waiting Answers: 1
English Senior High

一応自分で解いてみたんですけど、④がよくわからなかったので教えて下さい😭😭🙇‍♀️🙏

長文を読む 1. 甲南大学 目標解答時間20分 Is In the 1920s American movies filled the cinema* screens of the world. Most were made in 郊外 Hollywood, a suburb of Los Angeles, in California. Hollywood's big attraction for film-makers was its clean air and sunshine. The movies made there were bright and clear. By the 1920s it had become the film-making capital of the world. HOT ning sibisbaste Maomhsnob vildung, Hollywood movies were made by large companies called studios. The men who ran these boowellpH ei obam eşivom NSROMA FOR STOWW studios were businessmen and their main aim was to make as much money as possible. They eslognA zo.llo eduduz si mixt boot semool 69 adı ni come do enim mobbe i soon found that one way to do this was to (1) standardize* their films. When audiences had 185s d is si BAT-silyte sii seino blowodi 16 lasins anim-mlit od zew boow lig shown that they liked a certain kind of film, the studios made many more of exactly the same kind. Solit tiedi svibnsbasız(1) 21 aninsom ni 122colo da bistars were Another sure way for a studio to make money was to (2) turn its actors into "stars." stil vlieb wone-thr 291700 Tosun sis 29 il ngibus ob es esiyor to bridomy, M vonom to jol som si zivom SAM actors who were so popular that people went in crowds* to see any film they appeared in, no matter bisbristes amosad redivom sole MD A famous star could make any movie a sure success. So the studios how good or bad it was. 21612 00 210106 21 went to great lengths* to make their actors into stars. (S) 01 ob 20ibure du bib jew They encouraged fan magazines. They ob 9 16 2016 2 e sivom vas sisMS 2012 196snt bas esnissgsm nisl noqqu set up special publicity departments* to get stories about their actors into the newspapers. The movies of the 1920s were silent. They bisbasse mod, om to spoke through expressions and movements, not in f H THE LOYAT 1500 words, and so their language was international. All over the world, from Berlin to Tokyo, from night of the week to see the ople lined up every London to Buenos Aires, tens of millions of people lined √ SU OJANE JA AJANSAZETHO A USA (X TO favorite Hollywood stars and, without realizing it, to be Americanized. AANSE AJR

Solved Answers: 1
English Senior High

英語和訳です! toの用法の単元なんですが、このピンクでマーカー引いたところがどんな用法でどうしてこう訳されるのかがわからないです! よろしくお願いします!

<英文構造> Thomas Alva Edison is said to have led the world into the age of technology. He invented 完了不定詞 lead ~ into... 「~を・・・へ導く」 many of the technologies vital to the modern world. Although he patented over 1,100 technologies を修飾 inventions, many were improvements / to the inventions of others. A lot of invention ↑ many of his inventions nowadays improves existing products and processes to make them a little bit more effective. V 0 to 不定詞の副詞用法 And Edison started all that off. 3 不定詞 (2) ↑前文の 「既存の製品と製法を改良すること」を指す FOCUS 不定詞(2) Thomas Alva Edison is said to have led the world into the age of technology. : A is said to do 〜 「A は〜すると言われている」 のto不定詞が, to have+過去分詞の完了不定 詞の形になっている。 to 不定詞の内容が、 主節の動詞 (ここではis) よりも前のことを表してい るので, is said to have led the world into 〜を 「世界を~へと導いたと言われている」と訳す。 voltraph (→ 重要構文9 ) ◆l.2 the technologies vital to ~ : vital は前の technologies を修飾。 形容詞が後ろから前の名詞を修飾 するのは, 形容詞が修飾語句を伴う (ここでは vital は to the modern world を伴っている)場合 lineである。 l.4 make them a little bit more effective: make +0 +C「~を… にする」 の表現。 them は前述の existing products and processes を指す→ 「既存の製品や (製造) 過程をもう少し効果的なものに する」。 Vocabulary Check □ technology 「(科学技術」 □ invent 「~を発明する」 □ vital 「きわめて重要な」 □ improvement 「改良 (したもの)」 process (S) PET 20001. [訳] トーマス・アルバ・エジソンは、世界を科学技術の時代へと導いたと言われている。 彼は現代世界にとっ てきわめて重要な技術の多くを発明した。 彼は 1,100を超える発明品の特許権をとったが、 多くは他人の 発明品を改良したものだった。 今日では多くの発明は、もう少し効果的なものにするために既存の製品と(製 造) 過程を改良している。 そして, エジソンがそういったことをすべて始めたのである。 af yoludsoov ortner 「物を作り出すための) 過程」 Vocabulary Plust □ existing product □ effective □ start off / start off ~ 「既存の 現存する」 「製品」agene 「効果的な」 「~を始める」 font istnatoa 13

Waiting for Answers Answers: 0
English Junior High

この9問の答えを教えてください! 至急デス!

ニ ◇臨海セミナー小中学部 中3・英語科 カリキュラムテスト (夏期①) [関係代名詞(主格①] 氏名: 内から適する語を選び、[ BARE 1 ]に記号で答えなさい。 (1) I have a bag(ア who イ which) was made in Japan. (2) Mr. Takahashi is a teacher (アwho イ which) teaches us English.idesdalTMA (3) Do you know those children who (ア is イ are) playing soccer in the park? [ (4) He has a chair which ア was イ were) broken by Ken. 2 次の日本文の意味を表す英文になるように、(1) に適する語を書きなさい。 ただし、that 以外の関係代名詞を使うこと。ne. tallcing with Ken (1) これはトムによって書かれた手紙です。 This is a ( and modif) (asw ( 中ホーゼ TAK ) was written by Tom. (2) 先生と話しているその生徒は私の兄です。 The (mai orase yr) (Diw gaillat ei ( The l (3) 机の上にある何冊かのノートはメアリーのものです。 Some (Mens lesbaru) 16 ( (4) 佐藤先生は私たちに英語を教える先生です。 Mr. Sato is a (araitand au arol) ( ONLINE ) is talking with my teacher is ) sai aidT (5) 丘の上に建っているあの建物は私たちの学校です。 That (fonde 100 ai llid) (it no abusta ( JUSER C ・brother. 1-\<HOR ) are on the desk are Mary's.mo? 3 次の日本語を英語に直しなさい。 (81~100)18) my ) teaches us English.) s si ots2 M ) stands on the hill is our school. すでに、もう alrfody.t

Solved Answers: 1