Answer:
a)
, b)
, c) 
Explanation:
a) The deceleration experimented by the commuter train in the first 2.5 miles is:
![a=\frac{[(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}-[(50\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}}{2\cdot (2.5\,mi)\cdot (\frac{5280\,ft}{1\,mi} )}](https://tex.z-dn.net/?f=a%3D%5Cfrac%7B%5B%2815%5C%2C%5Cfrac%7Bmi%7D%7Bh%7D%20%29%5Ccdot%20%28%5Cfrac%7B5280%5C%2Cft%7D%7B1%5C%2Cmi%7D%20%29%5Ccdot%20%28%5Cfrac%7B1%5C%2Ch%7D%7B3600%5C%2Cs%7D%20%29%5D%5E%7B2%7D-%5B%2850%5C%2C%5Cfrac%7Bmi%7D%7Bh%7D%20%29%5Ccdot%20%28%5Cfrac%7B5280%5C%2Cft%7D%7B1%5C%2Cmi%7D%20%29%5Ccdot%20%28%5Cfrac%7B1%5C%2Ch%7D%7B3600%5C%2Cs%7D%20%29%5D%5E%7B2%7D%7D%7B2%5Ccdot%20%282.5%5C%2Cmi%29%5Ccdot%20%28%5Cfrac%7B5280%5C%2Cft%7D%7B1%5C%2Cmi%7D%20%29%7D)

The time required to travel is:


b) The commuter train must stop when it reaches the station to receive passengers. Hence, speed of train must be
.
c) The final constant deceleration is:


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).
Answer:
Explained below
Explanation:
The isohyetal method is one used in estimating Rainfall whereby the mean precipitation across an area is gotten by drawing lines that have equal precipitation. This is done by the use of topographic and other data to yield reliable estimates.
Whereas, the arithmetic method is used to calculate true precipitation by the way of getting the arithmetic mean of all the points or arial measurements that will be considered in the analysis.
Answer:
The statement can be written as
int result = cube(4);
Explanation:
A function is a block of reusable codes to perform some tasks. For example, the function in the question is to calculate the cube of a number.
A function can also operate on one or more input value (argument) and return a result. The <em>cube </em>function in the question accept one input value through its parameter <em>number </em>and the <em>number</em> will be multiplied by itself twice and return the result.
To call a function, just simply write the function name followed with parenthesis (e.g. <em>cube()</em>). Within the parenthesis, we can include zero or one or more than one values as argument(s) (e.g. <em>cube(4)</em>).
We can then use the "=" operator to assign the return output of the function to a variable (e.g. <em>int result = cube(4)</em>)
Snap rings, and bearings can be used to keep a gear on a shaft, hope this helps!!