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
Gnom [1K]
3 years ago
10

What is code in Arduino to turn led on and off

Engineering
1 answer:
11Alexandr11 [23.1K]3 years ago
4 0

here's your answer..

You might be interested in
How many seconds do you need to stop a car going 60 miles per hour, if the pavement is dry?
Anna71 [15]

Answer:

Roughly 4.6 seconds

Explanation:

7 0
3 years ago
30 points and brainiest if correct please help A, B, C, D
tatuchka [14]

Answer:

B. to lock the tape into place

Explanation:

the button on the front of the housing locks the tape into place when pressed, preventing the tape from being pulled out further it retracting

4 0
2 years ago
Which term defines the amount of mechanical work an engine can do per unit of heat energy it uses?
skad [1K]

Answer:

d

Explanation:

is the because that's the amount of work in making machine can do producing heat

7 0
3 years ago
(40 points) Program the following sorting algorithms: InsertionSort, MergeSort, and QuickSort. There are 9 test les uploaded for
babunello [35]

Answer:

Explanation:

MERGE SORT

#include<stdlib.h>

#include<stdio.h>

#include<string.h>

void merge(int arr[], int l, int m, int r)

{

int i, j, k;

int n1 = m - l + 1;

int n2 = r - m;

 

int L[n1], R[n2];

for (i = 0; i < n1; i++)

L[i] = arr[l + i];

for (j = 0; j < n2; j++)

R[j] = arr[m + 1+ j];

i = 0;

j = 0;

k = l;

while (i < n1 && j < n2)

{

if (L[i] <= R[j])

{

arr[k] = L[i];

i++;

}

else

{

arr[k] = R[j];

j++;

}

k++;

}

while (i < n1)

{

arr[k] = L[i];

i++;

k++;

}

while (j < n2)

{

arr[k] = R[j];

j++;

k++;

}

}

void mergeSort(int arr[], int l, int r)

{

if (l < r)

{

int m = l+(r-l)/2;

mergeSort(arr, l, m);

mergeSort(arr, m+1, r);

merge(arr, l, m, r);

}

}

void printArray(int A[], int size)

{

int i;

for (i=0; i < size; i++)

printf("%d ", A[i]);

printf("\n");

}

int main()

{

int arr[1000] = {0};

int arr_size =0;

int data;

char file1[20];

strcpy(file1,"data.txt");

FILE *fp;

fp = fopen(file1,"r+");

if (fp == NULL) // if file not opened return error

{

perror("Unable to open file");

return -1;

}

else

{

fscanf (fp, "%d", &data);    

arr[arr_size]=data;

arr_size++;

while (!feof (fp))

{  

fscanf (fp, "%d", &data);  

arr[arr_size]=data;

arr_size++;    

}

}

printf("Given array is \n");

printArray(arr, arr_size);

mergeSort(arr, 0, arr_size - 1);

printf("\nSorted array Using MERGE SORT is \n");

printArray(arr, arr_size);

return 0;

}

3 0
3 years ago
A thick-walled tube of stainless steel having a k = 21.63 W/m∙K with dimensions of 0.0254 m ID and 0.0508 m OD is covered with 0
Aneli [31]

Answer:

Q=339.5W

T2=805.3K

Explanation:

Hi!

To solve this problem follow the steps below, the procedure is attached in an image

1. Draw the complete outline of the problem.

2.to find the heat Raise the heat transfer equation for cylinders from the inside of the metal tube, to the outside of the insulation.

3. Once the heat is found, Pose the heat transfer equation for cylinders from the inner part of the metal tube to the outside of the metal tube and solve to find the temperature

4 0
3 years ago
Other questions:
  • (10 points) A single crystal in the titanium cable is oriented so that the [001] direction is parallel to the applied load. If t
    14·1 answer
  • Aerospace engineers who work for certain government agencies are often required to have security clearance. Explain two reasons
    9·1 answer
  • What must you do if hauling a load of material which could fall or blow onto the roadway?
    14·1 answer
  • An undeformed specimen of some alloy has an average grain diameter of 0.050 mm. You are asked to reduce its average grain diamet
    11·1 answer
  • How do I get my son to do his work?
    6·1 answer
  • A reversible power cycle R and an irreversible power cycle I operate between the same hot and cold thermal reservoirs. Cycle I h
    8·1 answer
  • What is the basic formula for actual mechanical advantage?
    12·1 answer
  • 26 V is measured across a 220 Ω resistance. This means that resistor current equals ________. Group of answer choices 1.2 A 57 A
    11·1 answer
  • which acpi power state allows a system to start where it left off, but all other components are turned off? sleeping mechanical
    13·1 answer
  • Which of the following is not an electronic device ?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!