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
Anit [1.1K]
3 years ago
9

What are nonexecuting statements that you can use to document or add notes to assist in the use of the program?

Engineering
1 answer:
Marysya12 [62]3 years ago
7 0

Answer:

Program comments

You might be interested in
A car accelerates from rest with an acceleration of 5 m/s^2. The acceleration decreases linearly with time to zero in 15 s, afte
Tpy6a [65]

Answer: At time 18.33 seconds it will have moved 500 meters.

Explanation:

Since the acceleration of the car is a linear function of time it can be written as a function of time as

a(t)=5(1-\frac{t}{15})

a=\frac{d^{2}x}{dt^{2}}\\\\\therefore \frac{d^{2}x}{dt^{2}}=5(1-\frac{t}{15})

Integrating both sides we get

\int \frac{d^{2}x}{dt^{2}}dt=\int 5(1-\frac{t}{15})dt\\\\\frac{dx}{dt}=v=5t-\frac{5t^{2}}{30}+c

Now since car starts from rest thus at time t = 0 ; v=0 thus c=0

again integrating with respect to time we get

\int \frac{dx}{dt}dt=\int (5t-\frac{5t^{2}}{30})dt\\\\x(t)=\frac{5t^{2}}{2}-\frac{5t^{3}}{90}+D

Now let us assume that car starts from origin thus D=0

thus in the first 15 seconds it covers a distance of

x(15)=2.5\times 15^{2}-\farc{15^{3}}{18}=375m

Thus the remaining 125 meters will be covered with a constant speed of

v(15)=5\times 15-\frac{15^{2}}{6}=37.5m/s

in time equalling t_{2}=\frac{125}{37.5}=3.33seconds

Thus the total time it requires equals 15+3.33 seconds

t=18.33 seconds

3 0
3 years ago
When a variable is stored in memory, it is associated with an address. To obtain the address of a variable, the & operator c
liubo4ka [24]

Answer:

Explanation:

1) C program file addressOfScalar.c

#include <stdio.h>

int main()

{

//intialize a char variable, print its address and the next address

char charvar = 'a';

printf("address of charvar = %p\n", (void *)(&charvar));

printf("address of charvar - 1 = %p\n", (void *)(&charvar - 1));

printf("address of charvar + 1 = %p\n", (void *)(&charvar + 1));

//intialize a int variable, print its address and the next address

int intvar = 1;

printf("address of intvar = %p\n", (void *)(&intvar));

printf("address of intvar - 1 = %p\n", (void *)(&intvar - 1));

printf("address of intvar + 1 = %p\n", (void *)(&intvar + 1));

}

In C programming language, an int variable takes 4 bytes of memory. So any arithmetic on integer address, always considers it as 4 bytes of data. So intvar-1 refers to a location 4 bytes before intvar's address and intvar+1 refers to 4 bytes after intvar's address.

3 0
3 years ago
A walrus loses heat by conduction through its blubber at the rate of 220 W when immersed in −1.00°C water. Its internal core tem
Llana [10]

Answer:

The average thickness of the blubber is<u> 0.077 m</u>

Explanation:

Here, we want to calculate the average thickness of the Walrus blubber.

We employ a mathematical formula to calculate this;

The rate of heat transfer(H) through the Walrus blubber = dQ/dT = KA(T2-T1)/L

Where dQ is the change in amount of heat transferred

dT is the temperature gradient(change in temperature) i.e T2-T1

dQ/dT = 220 W

K is the conductivity of fatty tissue without blood = 0.20 (J/s · m · °C)

A is the surface area which is 2.23 m^2

T2 = 37.0 °C

T1 = -1.0 °C

L is ?

We can rewrite the equation in terms of L as follows;

L × dQ/dT = KA(T2-T1)

L = KA(T2-T1) ÷ dQ/dT

Imputing the values listed above;

L = (0.2 * 2.23)(37-(-1))/220

L = (0.2 * 2.23 * 38)/220 = 16.948/220 = 0.077 m

7 0
4 years ago
A consulting firm submitted a bid for a large research project. The firm's management initially felt there was a 50/50 chance of
klemol [59]

Answer:

1. 0.50

2. 0.75

3. 0.65

Explanation:

1. For the bid being successful with a 50-50 chance, we have the probability:

50/(50 + 50) = 50 / 100 = 0.50

2. Given the request for additional info:

Probability = probability of request and successful / probability of successful

= 75 / 100 = 0.75

3. We will evaluate the probability of being successful given its request

We will use the Bayesian theorem

= [P(request | successful) * P(successful)] / [P(request | successful) * P(successful) + P(request | unsuccessful) * P(unsuccessful)]

= ( 0.75 * 0.5) / (0.75 * 0.5 + 0.4 * 0.5)

= 0.65

6 0
3 years ago
The east-west row planting orientation is preferred to maximize light absorption of
Katyanochek1 [597]

Answer: True

Explanation:

The east-west row planting orientation helps in the maximize the light absorption by plants which then brings about an efficient photosynthesis activity.

Also, it helps in the shading of weeds that can be found in the inter-row space. Also, it brings about an improvement on drop yield crop yield.

Therefore, the answer to the above is true.

8 0
3 years ago
Other questions:
  • A tire-pressure monitoring system warns you with a dashboard alert when one of your car tires is significantly under-inflated.
    6·1 answer
  • Go online and search for information about companies that have been harmed or bankrupted by a disaster. Choose one such company
    11·1 answer
  • 2.4: Add a method called setValue(), and the description of setValue is: public int setValue(long searchKey) In this method, the
    13·1 answer
  • "The office personnel at Garden Glory use a database application to record services and related data changes in this database. F
    9·1 answer
  • Assess the capabilities of a hydroelectric power plant from the following field data: Estimated water flow rate, 40 m3/s River i
    9·1 answer
  • What does Enter key do?
    10·1 answer
  • Technologies that allow for instant worldwide communication include
    11·2 answers
  • Tires can be recycled instead of thrown out.<br> True<br> False
    13·1 answer
  • 12. What procedure should you follow when taking measurements?
    11·1 answer
  • What is voltage drop?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!