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
den301095 [7]
3 years ago
5

Logical variables: Running late? Complete the tunction RunningLate such that the logical variable on Time is true if no Traffic

is true and gasEmpty is false. Ex >> n°Traffic = true ; >> gasEmpty-false; >onTime - Runninglate(noTraffic,gasEmpty) logical Your Function B Save C Reset EE MATLAB Documentation 1 function onTime - RunningLate (noTraffic,gasEmpty) 2 % complete the logical expression to the right of . using the variables n°Traffic and gasEmpty 4 onTime - 6 end Code to call your function C Reset 1 noTraffic true; gasEmpty true; 2 onTime-Runninglate(noTraffic, gasEmpty)
Engineering
1 answer:
MrMuchimi3 years ago
8 0

Answer:

"""""""""""""""""""""""""In case of any doubt please comment""""""""""""""""""""""""

Now we need the function to return true if noTraffic= true and gasEmpty = false;

NOTE:"Rest in all cases it should return false;

Now for that to happen we use and- operator (x & y) it returns true only when both x and y are true.

but we need true when gasEmpty = false. For that we will use not function on gasEmpty.

Now the function will return true (1) only when noTraffic = true and gasEmpty = false. Rest in all case it will return false (0)

​​​​​​​

function onTime = RunningLate (noTraffic, gasEmpty)

onTime = ( (noTraffic) & not(gasEmpty) )

end

You might be interested in
Write a new ARMv8 assembly file called "lab04b.S" which is called by your main function. It should have the following specificat
Len [333]

Answer:

my_mul:

.globl my_mul

my_mul:

   //Multiply X0 and X1

   //   Does not handle negative X1!

   //   Note : This is an in efficient way to multipy!

   SUB SP, SP, 16       //make room for X19 on the stack

   STUR X19, [SP, 0]    //push X19

   ADD X19, X1, XZR     //set X19 equal to X1

   ADD X9 , XZR , XZR //set X9 to 0

mult_loop:

   CBZ X19, mult_eol

   ADD X9, X9, X0

   SUB X19, X19, 1

   B mult_loop

mult_eol:

   LDUR X19, [SP, 0]

   ADD X0, X9, XZR      // Move X9 to X0 to return

   ADD SP, SP, 16       // reset the stack

   BR X30

Explanation:

6 0
4 years ago
Why is it important to follow the engineering design process before building a prototype
Nataly [62]

Answer:

learn from their mistakes

Explanation:

and so u could do better next time

4 0
3 years ago
Which of the following refers to software designed to alter system files and utilities on a victim’s system with the intention o
Oksi-84 [34.3K]
The answer is Rootkits.
6 0
3 years ago
1). Mention any four operations that requires airlines. 2). Explain how airflow is applicable to the above mentioned operations.
vladimir2022 [97]

Answer:

Following are the answer to this question:

Explanation:

1)

Following the four operations in the airlines:

Landside operations:

In Airlines, the airports are divided into areas on the countryside and on the airside, in which landside region is available to the public, although strictly controlled access to the airside zone. Its area covers all areas of the airport across the aircraft, including parts of the buildings which can only be reached by customers and employees.

Airside Operations:

It's also committed to ensuring which air operations military exercises Ballarat airfields are safe and secure. It includes the provision of parking and flight escort services to itinerant and automates. Organizing operational response to incidents, accidents, or emergencies at the airport.

Billing and invoicing Operations:

This requires several steps, each of which must be performed with absolute accuracy to ensure that perhaps the airport operator is adequately paid for supplying passengers with all the services and infrastructure. After this, the receipts want to be produced and sent to customers on the airline.

Information management:

In this, it collects all the data about the customers and employees and it also helps in finding new routes and after collecting the data it processes on them.  

2)

It involves many activities in the airline, including dispatch, flight preparation, flight watch, weather information source, activities control, ground-to-air communications, and staff coordination, scheduling, and maintenance planning. Computing and expert programs are constantly being used to handle unpredictable activities.

4 0
3 years ago
It has a piece of 1045 steel with the following dimensions, length of 80 cm, width of 30 cm, and a height of 15 cm. In this piec
Serggg [28]

Answer:

material remove in 3 min is 16790.4 mm³/s

Explanation:

given data

length L = 80 cm = 800 mm

width W = 30 cm

height H = 15 cm

make grove length = 80 cm

width = 8 cm

depth = 10 cm

mill toll diameter = 4 mm

axial cutting depth = 20 mm

to find out

How much material removed in 3 minutes

solution

first we find time taken for length of advance that is

time = \frac{length}{advance}

here advance is given as 0.001166 mts / sec

so  time = \frac{800}}{0.001166*1000}

time = 686.106 seconds

now we find material remove rate that is

remove rate = mill toll rate × axial cutting depth × advance

remove rate = 4 × 20×0.001166 ×1000

remove rate = 93.28 mm³/s

so

material remove in 3 minute = 3 × 60 = 180 sec

so material remove in 3 min = 180 × 93.28

material remove in 3 min is 16790.4 mm³/s

7 0
3 years ago
Other questions:
  • Verify the below velocity distribution describes a fluid in a state of pure rotation. What is the angular Velocity? (a)-Vx = -1/
    7·1 answer
  • Two satellites A and B are orbiting the earth around the equator, E, at different altitudes on a circular path of 2400km and 300
    8·1 answer
  • An object is supported by a crane through a steel cable of 0.02m diameter. If the natural swinging of the equivalent pendulum is
    6·1 answer
  • WHAT IS THE MOST POWERFUL PART IN A CAR
    13·2 answers
  • A car accelerates uniformly from rest to 60 km/h in 30 s. What is its displacement during this time?
    7·1 answer
  • The Bureau of Labor and Statistics predicted that the field of biomedical engineering would increase by 62 percent over the comi
    5·1 answer
  • Which of the following describes a product concept?
    15·1 answer
  • Imagine a cantilever beam fixed at one end with a mass = m and a length = L. If this beam is subject to an inertial force and a
    6·1 answer
  • What is the primary difference between the process of lost-wax casting as practiced in ancient times and that same process today
    13·1 answer
  • Explain race condition..<br><br>don't spam..​
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!