Answer:
1000 Mega Ohms.
Explanation:
One mega Ohm is equal to 1,000,000 ohms, which is the resistance between two points of a conductor with one ampere of current at one volt. The mega Ohm is a multiple of the Ohm, which is the SI derived unit for electrical resistance. In the metric system, "mega" is the prefix for 10 raised to the power of 6.
Answer:
The solution code is written in Java.
- public class Movie {
- private double [][] seats = new double[5][5];
- private double totalSales;
-
- public Movie(){
-
- for(int i= 0; i < this.seats.length; i++){
- for(int j = 0; j < this.seats[i].length; j++){
- this.seats[i][j] = 12;
- }
- }
-
- this.totalSales = 0;
- }
-
- public boolean bookSeat(int i, int j)
- {
- if(this.seats[i][j] != 0){
- this.totalSales += this.seats[i][j];
- this.seats[i][j] = 0;
- return true;
- }else{
- return false;
- }
-
- }
- }
Explanation:
The method, bookSeat(), as required by the question is presented from Line 16 - 26 as part of the public method in a class <em>Movie</em>. This method take row,<em> i</em>, and column,<em> j</em>, as input.
By presuming the seats is an two-dimensional array with all its elements are initialized 12 (Line 7 - 10). This means we presume the movie ticket price for all the seats are $12, for simplicity.
When the<em> bookSeat() </em>method is invoked, it will check if the current price of seats at row-i and column-i is 0. If not, the current price, will be added to the <em>totalSales </em>(Line 19)<em> </em>and then set the price to 0 (Line 20) and return <em>true</em> since the ticket is successfully sold (Line 21). If it has already been sold, return <em>false</em> (Line 23).
Answer:
Green Marketing
Explanation:
Green marketing is defined as marketing efforts designed to produce, promote, and reclaim environmentally sensitive products. It is one of the the different concepts of social responsibility.
Answer:
The solution is written in Python
- binary = ""
- decimal = 13
- quotient = int(decimal / 2)
- remainder = decimal % 2
- binary = str(remainder) + binary
-
- while(quotient >0):
- decimal = int(decimal / 2)
- quotient = int(decimal / 2)
- remainder = decimal % 2
- binary = str(remainder) + binary
-
- print(binary)
Explanation:
Firstly, we declare a variable <em>binary</em> and initialize it with an empty string (Line 1). This <em>binary </em>is to hold the binary string.
Next, we declare variable <em>decimal, quotient </em>and<em> remainder </em>(Line 2-4). We assign a test value 13 to decimal variable and then get the first quotient by dividing decimal with 2 (Line 3). Then we get the remainder by using modulus operator, % (Line 4). The first remainder will be the first digit joined with the binary string (Line 5).
We need to repeat the process from Line 3-5 to get the following binary digits. Therefore create a while loop (Line 7) and set a condition that if quotient is bigger than 0 we keep dividing decimal by 2 and calculate the quotient and remainder and use the remainder as a binary digit and join it with binary string from the front (Line 9-11).
At last, we print the binary to terminal (Line 13).
we can see that the correct person here will be Technician B who says that a diesel engine is designed to operate at near or maximum speed for long periods without damage.
<h3>What is a diesel engine?</h3>
A diesel engine is actually known to be an engine that makes use of diesel as its fuel. In other words, diesel engines run on diesel.
We see here that a diesel engine is actually designed to work for a very time on near or maximum speed without damage. This is true because the diesel fuel has that strength.
Also, diesel engines may be designed as two or four stroke cycles.
Learn more about diesel engine on brainly.com/question/13146091
#SPJ1