学年

質問の種類

情報:IT 高校生

どうすればいいですか? 少ししか理解しておらず応用が出来ません。 お助け下さい 言語はPythonです。

よって、最終的に returnccの値を user_pow(x,y) に返し、 それがz に代入される。 の値が代入される。 最後に は2.0を5回かけた、2.0*2.0*2.0*2.0*2.0 問題.2 List.4 は、 y が自然数のときだけ、 べき乗が計算できるプログラムである。 これを、yが整 数(負の数も扱えるよう) のときにも計算できるよう変更してみること。 ファイル名は no3-a2.py とすること。 ヒント: def user_pow(a, b) のおいて b が0以上とそれ以外 (負の場合) のときで場合分けを すること。 b0以上であれば、 List.4 の user_pow(a, b) の通りでよく、 それ以外のとき は、 bが負の整数になるので例えばa=3、b=-2 と与えられたとき、 (1/3)*(1/3) と の逆数を、 -b 回かけるようにすること。 2. ファイルの入出力 コンピュータでは、 データのまとまりをファイルという単位で管理するが、 ファイルを管理 するための仕組みのことをファイルシステムと呼ぶ。 このファイルシステムにおいて、 ファイ ルを整理するための入れ物に相当するのがディレクトリである。 OS によってはフォルダとも 呼ばれる。 ファイルシステムは階層構造をしており、 ファイルは、どこかのディレクトリに属 し、 ディレクトリは、ルートディレクトリ以外は親ディレクトリを持つ。 2-1. ファイルやディレクトリの操作 YOURS 前の変 属性の変更な

回答募集中 回答数: 0
英語 高校生

英語 高校生 長文問題 自分で解きましたが自信がありません。 お直しお願いしますm(_ _)m

25 20 1 5 15 The two men quit their jobs and decided to create a trash bin for the ocean, which they called a "seabin." They made the first model of the seabin and raised money to start the Seabin Project. The project's aim was to distribute a lot of seabins around the world. The seabins were designed to automatically collect trash 6972 自動で 10 from the surface of the ocean by using a bump powered by electricity. By へを源動力と した 電気 collecting trash near marinas and harbors, they hoped to stop the trash from Wastebasket in the Sea The increasing amount of trash in the ocean is a big global issue nowadays. It is 海のゴミの difficult to collect plastic bottles, plastic bags, cans and oil drifting on the waves. It would take a lot of time and effort. However, in Australia, two surfers named Pete Ceglinski and Andrew Turton never gave up hope. They had always loved the 昔からすきだった。 ocean and wanted to keep it clean. flowing further into the ocean. 流れる さらに良く インストール Re97-H1L F Seabins are very simple to use. A seabin is installed several centimeters below the surface of the water. When the pump is turned on, water flows into the seabin with trash on the surface. Then the water passes through a catch bag inside the 通り抜ける bin. The water is pumped back into the sea, leaving the trash inside the catch bag. Seabins are able to collect plastic that is as small as two millimeters. The catch bag can hold up to 20 kilograms. The amount of trash collected varies depending on 2MKI chŢint gk 6.10 the weather, but the estimated average amount per day is about 1.5 kilograms. THEAU 平均 A pad to absorb oil, detergent and microfibers can also be attached to the M とりつけてる seabin. Improvements like this continue to be made. The project team is also trying to educate people. For example, the team is teaching children what they can do to reduce the amount of trash in the ocean so that they can influence other members of their family and their friends. The goal of the Seabin Project is to make the ocean clean so that these seabins will no longer be needed. Ceglinski and Turton hope to pass on a clean ocean to future generations.

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

この文の緑のマーカー引いてるところの、訳と構造を教えて欲しいです!特にcrimes for which のところがなぜそうなるかわからないです

and have 2 R not Advances in technology/over the past 200 years have been remarkable ght us many benefits/However, the integration of technology Into society has always been smooth/ The first industrial revolution began in Britain in the late 18th century/Machines developed at the time/could make clothes much more efficiently (1) 14 easily and cheaply than before. Even so not everyone felt happy about this at first. Groups of skilled weavers and textile machine operators known as Luddites feared 労働運動 that their jobs would be taken away/They began/a labor movem ement in order to protest and resist the widespread use of the new technology by factory owners. Their protest actions included destroying machines crimes for which some Luddites were killed by authorities. ようたい CO ↑ To Cut 27. 減速する we now know these technological advances did not/slow down. Over time, they became widely accepted and appreciated. Before long, other innovations like the steam engine were powering heavy machinery across Europe and beyond. The second industrial revolution, toward the end of the 1800s, brought the gasoline engine and the s use of electricity. The third industrial revolution, in the late 20th century, produced computers as well as digital technologies and communications. And, recently, experts have declared that developments in artificial intelligence (AI) and advanced robotics have led us into the fourth industrial revolution. Even today, however, we hear warnings about the potentially harmful effects of (2) contemporary technologies. Some observers claim that the latest AI inventions could have negative impacts on workers, businesses, and society as a whole. The main concern, as in past eras, is that machines will replace humans in the workplace. Thes- observers suggest that a large number of occupations might be lost to AI and robot in the next few years. Taxi and truck drivers, cleaners, and factory workers are amon those considered to be at risk. The fear is even expressed that the AI revolution might lead to mass unemploymen According to some experts, up to 800 million jobs could be lost globally by 203 Moreover, the workers who will lose their jobs to machines are likely to be those wit ewer skills and less education, increasing the gap between rich and poor. Some peop believe that this will create social conflict and instability. do not necessarily need to take such a negative outl

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

WORLDTALK2のLesson8Part3とPart4の右側のページGet the GistとPracticeを、教えてくれませんか??

***** Get the Gist ①英文を聞いて文を完成しなさい。 ② その文が本文に一致していればTを, 誤っていればFを○で囲みなさい。 1070 1. The graduate students thought developing humanoid robots would ad to be useful for (01) (153 1) 1.6 ofu 2. The humanoid robot Takayuki's team created ( T/F ) (iv) in all other countries. 2015 enw 3. Halluc II is an innovative robot that can () ( T/F direction. LUSTASSUJUNEDASSH 「◆「~した後」 「~したので」 などの意味を表します。 Having finished his work, he went out for dinner. moitemtolai gaibranibabanoona ont of The is how she beglad glassny i Grammar 完了形の分詞構文 10W duidzi oflift wol ●「(以前に,それまで) ~したので,…..」=having + 過去分詞,S+V 23 Having worked with them for a while, he realized they each had しばらくの間彼らとともに働いたので recent wire their own specialty. of in Never having been there before, I couldn't find the building. 10 400 alid toqpd bloyaleT Lesson8 1109 Halluc IIの最新版 Halluc ) any 00 Ilx(ハルクツー・カイ) 主節の時制よりも 以前のことや、完了形の 意味合いを表すよ。 bumotà es teulasvil id ai olgong Practice [ ]内の語句を並べかえて、英文を完成しなさい。 (文頭にくる語も小文字で示してある。) 1.[read/the book / having ] I knew the story of the movie. 2. [ my wallet / lost / having ] in the train, I had to borrow some money to return home. 3. [ failed / in the exam harder. Mk.5は人工知能を搭載した小型 の二足歩行ロボット。 世界で初め て人間のようにスムーズで安定し た歩行を実現した T/F 1.8 having ] before, she decided she would study 00 111

回答募集中 回答数: 0