1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Airida [17]
2 years ago
5

Consider a system with two tasks, Task1 and Task2. Task1 has a period of 200 ms, and Task2 has a period of 300 ms. All tasks ini

tially tick at time 0. 1. How many times will Task1 have ticked after 1000 ms? 2. How many times will Task2 have ticked after 1000 ms? 3. After time 0, when do both Task1 and Task2 next tick at the same time? 4. What is the largest value for timerPeriod that allows both
Engineering
1 answer:
Murrr4er [49]2 years ago
4 0

<u>Explanation:</u>

Task 1 time period = 200ms, Task 2 time period = 300ms

Task ticked = \frac{1000ms}{200ms}= 5  →  5 times

Task 2 ticked =\frac{1000ms}{300ms} = 3.33 → 3 times

At 600 ms → 200ms 200ms 200ms

                     300ms → \frac{30ms}{60ms}

Largest time period = H.C.M of (200ms, 300ms)

                                 = 600ms

You might be interested in
How can input from multiple individuals improve design solutions for problems that occur because of a natural disaster, such as
Alla [95]

Answer:

Map and avoid high-risk zones.

Build hazard-resistant structures and houses.

Protect and develop hazard buffers (forests, reefs, etc.)

Develop culture of prevention and resilience.

Improve early warning and response systems.

Build institutions, and development policies and plans.

Explanation:

5 0
2 years ago
A compound machine contains three simple machines with IMAs of 2, 4 and 5, respectively. What is the overall ideal mechanical ad
anygoal [31]

Answer:

Overall ideal mechanical advantage of the machine = 40

Explanation:

Given:

Ideal mechanical advantage of three machine = 2, 4, 5

Find:

Overall ideal mechanical advantage of the machine

Computation:

Overall ideal mechanical advantage of the machine = 2 × 4× 5

Overall ideal mechanical advantage of the machine = 40

3 0
2 years ago
Fix the code so the program will run correctly for MAXCHEESE values of 0 to 20 (inclusive). Note that the value of MAXCHEESE is
GarryVolchara [31]

Answer:

Code fixed below using Java

Explanation:

<u>Error.java </u>

import java.util.Random;

public class Error {

   public static void main(String[] args) {

       final int MAXCHEESE = 10;

       String[] names = new String[MAXCHEESE];

       double[] prices = new double[MAXCHEESE];

       double[] amounts = new double[MAXCHEESE];

       // Three Special Cheeses

       names[0] = "Humboldt Fog";

       prices[0] = 25.00;

       names[1] = "Red Hawk";

       prices[1] = 40.50;

       names[2] = "Teleme";

       prices[2] = 17.25;

       System.out.println("We sell " + MAXCHEESE + " kind of Cheese:");

       System.out.println(names[0] + ": $" + prices[0] + " per pound");

       System.out.println(names[1] + ": $" + prices[1] + " per pound");

       System.out.println(names[2] + ": $" + prices[2] + " per pound");

       Random ranGen = new Random(100);

       // error at initialising i

       // i should be from 0 to MAXCHEESE value

       for (int i = 0; i < MAXCHEESE; i++) {

           names[i] = "Cheese Type " + (char) ('A' + i);

           prices[i] = ranGen.nextInt(1000) / 100.0;

           amounts[i] = 0;

           System.out.println(names[i] + ": $" + prices[i] + " per pound");

       }        

   }

}

7 0
3 years ago
An object whose mass is 251 kg is located at an elevation of 24 m above the surface of the earth. For g-9.78 ms, determine the g
Harlamova29_29 [7]

Answer:

Gravitational Potential =58.914 KJ

Explanation:

We know that

Gravitational Potential Energy = mass\times g\times Height

Given mass = 251 kg

Height= 24 m

g is acceleration due to gravity = 9.78m/s^{2}

Applying values in the equation we get

Gravitational Potential Energy=251X9.78X24 Joules

Gravitational Potential Energy=58914.72 Joules

Gravitational Potential Energy =\frac{58914.72}{1000}KJ= 58.914KJ

4 0
3 years ago
When an electron in a valence band is raised to a conduction band by sufficient light energy, semiconductors start conducting __
garri49 [273]

Answer:

This band gap also allows semiconductors to convert light into electricity in photovoltaic cells and to emit light as LEDs when made into certain types of diodes. Both these processes rely on the energy absorbed or released by electrons moving between the conduction and valence bands.

Explanation:

On the internet

4 0
2 years ago
Other questions:
  • Three return steam lines in a chemical processing plan enter a collection tank operating at a steady state at 1 bar. Steam enter
    11·1 answer
  • Argon is compressed in a polytropic process with n=1.2 from 120 kPa and 10 °C to 800 kPa in a piston cylinder device. Determine:
    11·1 answer
  • A slight breeze is blowing over the hot tub above and yields a heat transfer coefficient h of 20 W/m2 -K. The air temperature is
    15·1 answer
  • An equilibrium mixture of 3 kmol of CO, 2.5 kmol of O2, and 8 kmol of N2 is heated to 2600 K at a pressure of 5 atm. Determine t
    7·1 answer
  • Jen is developing the positioning statement for a new line of sunglasses. In a meeting, the marketing team tells Jen that she ha
    9·1 answer
  • Help me! Phone Phoebe on 07375410044.
    7·2 answers
  • Plot the absorbance, A, versus the FeSCN2 concentration of the standard solutions (the values from your Pre-lab assignment). Fro
    7·1 answer
  • A heat pump designer claims to have an air-source heat pump whose coefficient of performance is 1.8 when heating a building whos
    10·1 answer
  • Question 10 of 25
    6·2 answers
  • Cold forging makes metal more workable than hot forging.<br> True<br> False
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!