The answer is windmill it was used for electricity
Answer:
The solution code is written in Java.
- public class Main {
-
- public static void main(String[] args) {
-
- Scanner inNum = new Scanner(System.in);
- System.out.print("Enter number of toss: ");
- int num = inNum.nextInt();
-
- for(int i=0; i < num; i++){
- System.out.println(toss());
- }
- }
-
- public static String toss(){
- String option[] = {"heads", "tails"};
- Random rand = new Random();
- return option[rand.nextInt(2)];
- }
- }
Explanation:
Firstly, we create a function <em>toss()</em> with no parameter but will return a string (Line 14). Within the function body, create an option array with two elements, "heads" and "tails" (Line 15). Next create a Random object (Line 16) and use <em>nextInt()</em> method to get random value either 0 or 1. Please note we need to pass the value of 2 into <em>nextInx() </em>method to ensure the random value generated is either 0 or 1. We use this generate random value as an index of <em>option </em>array and return either "heads" or "tails" as output (Line 17).
In the main program, we create Scanner object and use it to prompt user to input an number for how many times to toss the coin (Line 6 - 7). Next, we use the input num to control how many times a for loop should run (Line 9). In each round of the loop, call the function <em>toss() </em>and print the output to terminal (Line 10).
Efficiency is the minimum use of energy to accomplish the task. The wasted energy will be 375 J when 750 J of energy is given.
<h3>What is wasted energy?</h3>
Wasted energy is energy that is not useful when the transformation in the system occurs.
Total energy = 750 J
The efficiency of the system = 50 %
Output work (OW) is calculated as:
Efficiency = output work ÷ input work × 100%
750 × 50 = 100 OW
OW = 375 J
Wasted energy = Total energy - output work
= 750 - 375
= 375 J
Therefore, the machine is 50 % inefficient and has wasted energy of 375 J.
Learn more about wasted energy here:
brainly.com/question/16177264
#SPJ4
Answer:
(1). False, (2). True, (3). False, (4). False, (5). True.
Explanation:
The term ''contouring'' in this question does not have to do with makeup but it has to deal with the measurement of all surfaces in planes. It is a measurement in which the rough and the contours are being measured. So, let us check each questions again.
(1). In contouring, it is necessary to measure position and not velocity for feedback.
ANSWER : b =>False. IT IS NECESSARY TO MEASURE BOTH FOR FEEDBACK.
(2). In contouring during 2-axis NC machining, the two axes are moved at the same speed to achieve the desired contour.
ANSWER: a=> True.
(3). Job shop is another term for process layout.
ANSWER: b => False
JOB SHOP IS A FLEXIBLE PROCESS THAT IS BEING USED during manufacturing process and are meant for job Production. PROCESS LAYOUT is used in increasing Efficiency.
(4). Airplanes are normally produced using group technology or cellular layout.
ANSWER: b => False.
(5). In manufacturing, value-creating time is greater than takt time.
ANSWER: a => True.