Suppose some FSM has 3 inputs, internal Ready, external
bus-grant Grant, and external bus-free Free signals, as well as 2
outputs, bus-request Req and bus-lock Lock signals. Show its
Moore-type state diagram, assuming that the FSM implements the
following bus protocol: (1) initially, the FSM outputs Req = 0 and
Lock = 0 and waits for both Ready and Free to be asserted; (2)
After receiving Ready = 1 and Free = 1, the FSM outputs Req = 1 and
Lock = 0 and waits for Grant to be asserted; (3) After receiving
Grant = 1, provided that both Ready and Free still equal 1, the FSM
outputs Req = 0 and Lock = 1 and waits for Ready to become 0; once
Ready = 0, the FSM returns to step (1).
NOTE: Should Ready and/or Free become 0 while waiting for Grant =
1, the FSM returns to step (1). The FSM ignores the Grant input in
steps (1) and (3), and it ignores the Free input in step (3).
In: Computer Science
c#
Create a class named TelpaMotion.
The inMotion field must not be accseible outside of the class. This fields can be initialized 3 different ways.
Default 67 mulltiplied by the value of 9.80665
A value being passed to it
A starting value and an acceleration rate can also be passed, the value should be multiplied by the acceleration rate to set the initial value.
Create a static field called tractionValue with a default value of 0.33.
In the same class create a public method called OverCompensate which allows your team to increase and return a result by multiplying the inMotion value by 1.5 and adding the tractionValue to the result (i.e. (inMotion *1.5)+tractionValue)
In your main method:
Call your class:
TelpaMotion optionA= new TelpaMotion();
TelpaMotion optionB= new TelpaMotion(100.45);
TelpaMotion optionC= new TelpaMotion(27.9, 0.321);
Using the object created for option c, call the OverCompensate method to assign the calculated value to a variable called emergencyStop and display the results. Option created Display to the console the results of each call to the class
In: Computer Science
What is the significance of the concept of a reservation price in the supply and demand model?
In: Economics
Create a PDA accepting the following languages:
(a) {v$w$v R | w, v ∈ {0, 1} ∗}
(b) {w | in w, the number of 0’s is the same as the number of 1’s}.
In: Computer Science
A duty of Directors
1) Tasty Treats Ltd (a Restaurant) is negotiating with Renovations center Ltd. (a construction company) for the renovation of Tasty Treats Ltd's Premises. Sash the owner of Renovations Center Ltd is also one of the five members of the board of directors of Tasty treats Ltd. The contract terms for the Construction are Standard, and the Price set for the renovations contract is fair. Sash has previously informed two of the price set for the other directors of Tasty Treats Ltd. of her ownership in Renovations contract on a three-to-two vote, with Sash voting with the majority.
Discuss the following
a) explain fully the law governing this matter (choose the appropriate duty)
b) explain whether correct procedure was followed
c) explain whether this contract is binding on the two companies
D) give a full conclusion and analysis of the matter
In: Operations Management
An accounting firm noticed that of the companies it audits, 85% show no inventory shortages, 10% show small inventory shortages, and 5% show large inventory shortages. The firm has devised a new accounting test for which it believes the following probabilities hold: P(company will pass test | no shortage) = .90 P(company will pass test | small shortage) = .50 P(company will pass test | large shortage) = .20
a. If a company being audited fails this test, what is the probability of a large or small inventory shortage?
b. If a company being audited passes this test, what is the probability of no inventory shortage?
In: Math
(a) Find the size of the smallest detail observable in human tissue with 22.5 MHz ultrasound. Incorrect: Your answer is incorrect. mm (b) Is its effective penetration depth great enough to examine the entire eye (about 3.00 cm is needed)? Yes No What is the effective penetration depth? cm (c) What is the wavelength of such ultrasound in 0°C air? µm
In: Physics
1)
A process control block
|
determines which process is to be executed next |
||
|
is an example of a process queue. |
||
|
Stores the address of the next instruction to be processed by a different process |
||
|
Includes information on the process's state |
2)
Consider a disk queue holding requests to the following cylinders in the list order: 98, 183, 57, 122, 200, 124, 65, 67. Using the SSTF scheduling algorithm, what is the order that the requests are serviced assuming the disk head is at cylinder 65?
|
65, 57, 98, 67, 122, 124, 183, 200 |
||
|
65, 67, 57, 98, 122, 124, 200, 183 |
||
|
65, 67, 57, 98,122, 124, 183, 200 |
||
|
65, 200, 183, 124, 122, 67, 98, 57 |
3)
Which of the following dynamic storage-allocation algorithm in use if selecting 50KB hole in meeting the sequence of 50KB, 100KB, 270KB, and 40KB for a 20KB process?
|
First fit |
||
|
Best fit |
||
|
Worst fit |
||
|
None of the above |
In: Computer Science
A bucket of water of mass 15.1 kg is suspended by a rope wrapped around a windlass, that is a solid cylinder with diameter 0.330 m with mass 13.0 kg . The cylinder pivots on a frictionless axle through its center. The bucket is released from rest at the top of a well and falls a distance 11.0 m to the water. You can ignore the weight of the rope.
a-What is the tension in the rope while the bucket is falling?
Take the free fall acceleration to be g = 9.80 m/s2 .
b-With what speed does the bucket strike the water?
Take the free fall acceleration to be g = 9.80 m/s2 .
c-What is the time of fall?
Take the free fall acceleration to be g = 9.80 m/s2 .
d-While the bucket is falling, what is the force exerted on the cylinder by the axle?
Take the free fall acceleration to be g = 9.80 m/s2 .
In: Physics
In: Chemistry
MATLAB PROBLEM
You are given an array, weights, that contains the weights of some cargo items in pounds. You want to load a truck with items from the list, up to its capacity. The truck has a maximum capacity of 1,000 pounds. For this problem use a "greedy" algorithm. That is, always load the heaviest item that will still fit on the truck. Keep loading until the remaining capcity of the truck is less than any of the remaining cargo items. For example, if the weights were {700, 400, 250, 100, 60}, you would load the 700-pound item, then the 250-pound item. The remaining items would be too heavy to fit on the truck. The weights will be generated randomly, so you cannot hard-code the answer - you must write a general algorithm to do it. Once the loading is complete, print a message indicating how many pounds of cargo were loaded onto the truck. NOTE: To satisfy the auto-grader, update the variable capacity so that it contains the remaining capacity of the truck. For example, if 943 pounds of cargo are loaded, capacity should be 57.
CODE PROVIDED BELOW
%The weights of the cargo items are generated at random
%They are sorted in descending order
weights = sort(randi(500, 1, randi(10)), 'descend')
capacity = 1000; %cargo capacity of the truck
In: Computer Science
In: Accounting
A local college newsletter reported that the average American college student spends one hour (60 minutes) on a social media website daily. But you wonder if there is a difference between males and females. Attached below is a sample of 60 users of the website (30 males and 30 females) and their recorded daily time spent on the website. Complete (a) and (b) below.
| Daily_time_for_males | Daily_time_for_females |
| 150 | 45 |
| 930 | 75 |
| 30 | 30 |
| 30 | 45 |
| 10 | 15 |
| 5 | 120 |
| 720 | 90 |
| 300 | 180 |
| 60 | 210 |
| 180 | 10 |
| 180 | 100 |
| 180 | 60 |
| 270 | 60 |
| 270 | 90 |
| 210 | 150 |
| 45 | 75 |
| 90 | 60 |
| 270 | 60 |
| 40 | 270 |
| 150 | 120 |
| 20 | 30 |
| 45 | 30 |
| 60 | 60 |
| 150 | 150 |
| 60 | 60 |
| 15 | 15 |
| 45 | 120 |
| 20 | 20 |
| 120 | 90 |
| 100 | 35 |
a. Assuming that the variances in the population of times spent on the website per day are equal, is there evidence of a difference in the mean time spent on the website per day between males and females? (Use a 0.05 level of significance.)
Let m1 be the mean daily time spent on the website for male college students and m2 be the mean daily time spent on the website for female college students. Determine the hypotheses. Choose the correct answer below.
Determine the test statistic.
Find the p-value.
Choose the correct conclusion below.
b. In addition to equal variances, what other assumption is necessary in (a)?
A. In addition to equal variances, it must be assumed that the samples are specifically chosen and not independently sampled.
B. In addition to equal variances, it must be assumed that the sample means are equal.
C.In addition to equal variances, no other assumptions must be made because the sample sizes are large enough (greater than or equals≥30 for each sample).Your answer is correct.
D. In addition to equal variances, it must be assumed that the population sizes are equal.
In: Math
You are a professional robber planning to rob houses along a street. Each house has
a certain amount of money stashed, the only constraint stopping you from robbing
each of them is that adjacent houses have security system connected and it will
automatically contact the police if two adjacent houses were broken into on the same night.
Given a list of non-negative integers representing the amount of money of each house,
determine the maximum amount of money you can rob tonight without alerting the
police.
In: Computer Science