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
Nitella [24]
3 years ago
12

How does the start function make your programs easier to understand?

Engineering
1 answer:
ad-work [718]3 years ago
7 0

Explanation:

All of the commands you wish to execute must go inside of the start function, between the curly braces.

You might be interested in
Naomi needs to test an application that will be accessed by multiple users simultaneously. She is planning to use LoadRunner to
EastWind [94]
D bc i did the test and king
8 0
3 years ago
Your new mobile phone business is now approaching its first anniversary and you are able to step back and finally take a deep br
Leya [2.2K]

Answer

The answer and procedures of the exercise are attached in the following archives.

Step-by-step explanation:

You will find the procedures, formulas or necessary explanations in the archive attached below. If you have any question ask and I will aclare your doubts kindly.  

7 0
3 years ago
Consider a system having p processes, where each process needs a maximum of m instances of resource type R1. Given that there ar
Genrish500 [490]

Answer:

Consider a system consisting of 4 resources of same type that are share by 3 processes each of which needs at most two resources.Now we will show that the system is deadlock free.

If the system is deadlocked, it implies that each process is holding one resource and is waiting for one more. Since there are 3 processes and 4 resources, one process must be able to obtain two resources. This process requires no more resources and therefore it will return its resources when done.

Consider a system with m resources of same type being shared by n processes. Resources can be requested and released by processes only on at a time. The system is deadlock free if and only if The sum of all max needs is < m+n .

We can understand the notion of a deadlock from the following simple real-life example.To be able to write a letter one needs a letter pad and a pen. Suppose there in one letterpad and one pen on a table with two persons seated around the table. We shall identify these two persons as Mr. A and Ms. B. Both Mr. A and Ms. B are desirous of writing a letter. So both try to acquire the resources they need. Suppose Mr. A was able to get the letter pad. In the meantime, Ms. B was able to grab the pen. Note that each of them has one of the two resources they need to proceed to write a letter. If they hold on to the resource they possess and await the release of the resource by the other, then neither of them can proceed. They are deadlocked. We can transcribe this example for processes seeking resources to proceed with their execution. Consider an example in which process P1 needs three resources r1 ; r2, and r3 before it can make any further progress. Similarly, process P2 needs two resources r2 and r3 Also, let us assume that these resources are such that once granted, the permission to use is not withdrawn till the processes release these resources. The processes proceed to acquire these resources. Suppose process P1 gets resources r1 and r3 and process P2 is able to get resource r2 only. Now we have a situation in which process P1 is waiting for process P2 to release r2 before it can proceed. Similarly, process P2is waiting for process P1 to release resource r3 before it can proceed. Clearly, this situation can be recognized as a deadlock condition as neither process P1 nor process P2 can make progress. Formally, a deadlock is a condition that may involve two or more processes in a state such that each is waiting for release of a resource which is currently held by some other process.

5 0
3 years ago
1.0•10^-10 standard form
Drupady [299]

Answer:

1.0 * 10^{-10} = 0.0000000001

Explanation:

Given

1.0 * 10^{-10}

Required

Convert to standard form

1.0 * 10^{-10}

From laws of indices

a^{-x} = \frac{1}{a^x}

So, 1.0 * 10^{-10} is equivalent to

1.0 * 10^{-10} = 1.0 * \frac{1}{10^{10}}

1.0 * 10^{-10} = 1.0 * \frac{1}{10}* \frac{1}{10}* \frac{1}{10}* \frac{1}{10}* \frac{1}{10}* \frac{1}{10}* \frac{1}{10}* \frac{1}{10}* \frac{1}{10}* \frac{1}{10}

1.0 * 10^{-10} = 1.0 * \frac{1}{10000000000}

1.0 * 10^{-10} = 1.0 * 0.0000000001

1.0 * 10^{-10} = 0.0000000001

Hence, the standard form of 1.0 * 10^{-10} is 0.0000000001

3 0
3 years ago
3. Given the Taylor series expansion for sin x = x − x3/ 3! + x5/5! − x7/7! . Write a program that takes in an arbitrary integer
katen-ka-za [31]

Answer:

clc

clear

x = input('type value of angle in degrees:\n');

x = x*pi/180; %convverting fron degree to radian

sin_x = x; %as first term of taylor series is x

E = 1; %just giving a value of error greater than desired error

n = 0;

while E > 0.000001

previous = sin_x;

n = n+1;

sin_x = sin_x + ((-1)^n)*(x^(2*n+1))/factorial(2*n+1);

E = abs(sin_x - previous); %calculating error

end

a = sprintf('sin(x) = %1.6f',sin_x);

disp(a)

Explanation:

8 0
4 years ago
Other questions:
  • In manufacturing a particular set of motor shafts, only shaft diameters of between 38.00 and 37.50 mm are usable. If the process
    12·1 answer
  • . In order to prevent injury from inflating air bags, it is recommended that vehicle occupants sit at least __________ inches aw
    6·2 answers
  • Assuming the SELECT statement below is a proper query, which is true regarding the following statement?
    8·1 answer
  • 5.3-16 A professor recently received an unexpected $10 (a futile bribe attached to a test). Being the savvy investor that she is
    14·1 answer
  • Determine size of a standard square key made of 1045 hot rolled steel for a 2 inch DIA shaft transmitting 100 HP at 500 rpm with
    12·1 answer
  • A phase angle in the frequency domain corresponds to
    12·1 answer
  • When CO2 rises, temperature rises. Why do you think this is?
    15·1 answer
  • A 280 km long pipeline connects two pumping stations. It is desired to pump 0.56 m3/s of oil through a 0.62 m diameter line, the
    14·1 answer
  • What is the dimensionless heat conduction rate for a sphere at surface temperature T1 buried in an infinite medium of temperatur
    15·1 answer
  • On some engines after torquing cylinder head fasteners you must
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!