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

Finish the lyrics : “when I was 13, I found my first love...”

Engineering
1 answer:
Shkiper50 [21]3 years ago
7 0
There was nobody that compared to my baby
And nobody came between us nor could ever come above
She had me goin' crazy
Oh, I was starstruck
She woke me up daily
Don't need no Starbucks (woo)
She made my heart pound
And skip a beat when I see her in the street and
At school on the playground
But I really wanna see her on the weekend
She know she got me dazin'
'Cause she was so amazin'
And now my heart is breakin'
But I just keep on sayin'
You might be interested in
A 550 kJ of heat quantity needed to increase water temperature from 32°C to 80°C. Calculate the mass
jeyben [28]

Answer:

  2.728 kg

Explanation:

The units help you keep the calculation straight.

  \dfrac{550\text{ kJ}}{(80^\circ\text{C}-32^\circ\text{C})(4.200\text{ kJ/kg\,$^\circ$C})}=\dfrac{550}{48\cdot4.2}\text{ kg}\approx\boxed{2.728\text{ kg}}

4 0
3 years ago
What happens to the amperage draw of a condensing unit on a split AC system if the liquid line is restricted
cupoosta [38]

Answer:

The amperage draw of the condensing unit will be low.

Explanation:

A condensing unit is made up of a compressor and condenser, while an evaporating unit is made up of an evaporator coil.

A split AC system is a type of air conditioner system that has a condensing unit which is placed separately from the evaporative coil unit. Then the two units are connected to each other via a copper tube containing refrigerants.

The liquid line connects the condenser to the evaporator, and if this liquid line is restricted, the amp consumed by the condensing unit will be low.

6 0
3 years ago
Implement a quick sort algorithm that will accept an integer array of size n and in random order. Develop or research three diff
Nostrana [21]

Answer:

#include <cstdlib>  

#include <iostream>  

#include <array>  

using namespace std;  

const string APP_NAME = "Quick Sort Algorithm";  

const array<string, 3> MENU_OPTIONS = {  

"Simulate with Random data",  

"Enter data",  

"Exit program"  

};  

void printMenuOptions() {  

cout << endl << "---------------------------" << endl;  

cout << APP_NAME << endl;  

cout << "---------------------------" << endl;  

for (int i=0; i<MENU_OPTIONS.size(); i++) {  

cout << i+1 << ". " << MENU_OPTIONS[i] << endl;  

}  

cout << endl << "Select an option: ";  

}  

int getRandomInt(int min, int max) {  

return min + (static_cast<int>(rand() % (max - min + 1)));  

}  

bool inArray(int value, int* arr, int size) {  

bool found = false;  

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

if (arr[i] == value) {  

found = true;  

}  

}  

return found;  

}  

void generateRandomArrays(int size, int* arr0, int* arr1, int* arr2, int* arr3) {  

int value;  

bool ok = false;  

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

while (!ok) {  

value = getRandomInt(1, size*10);  

if (!inArray(value, arr0, size)) {  

arr0[i] = value;  

arr1[i] = value;  

arr2[i] = value;  

arr3[i] = value;  

ok = true;  

}  

}  

ok = false;  

}  

}  

void print(int* data, int size) {  

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

cout << data[i] << " ";  

}  

}  

int getPivot(int first, int last, int approach) {  

int pivot;  

switch (approach) {  

case 2:  

pivot = first;  

break;  

case 3:  

pivot = last;  

break;  

case 1:  

default:  

pivot = (first + last) / 2;  

}  

return pivot;  

}  

void swap(int* data, int i, int j) {  

int temp = data[i];  

data[i] = data[j];  

data[j] = temp;  

}  

int quickSort(int* data, int first, int last, int approach) {  

int ops = 0;  

int i = first;  

int j = last;  

int pivot = getPivot(i, j, approach);  

while (i <= j) {  

while (data[i] < data[pivot]) {  

i++;  

}  

while (data[j] > data[pivot]) {  

j--;  

}  

if (i <= j) {  

ops++;  

swap(data, i, j);  

i++;  

j--;  

}  

}  

if (j > first) {  

ops += quickSort(data, first, j, approach);  

}  

if (i < last) {  

ops += quickSort(data, i, last, approach);  

}  

return ops;  

}  

void simulate(int size, bool display) {  

int* data0 = new int[size];  

int* data1 = new int[size];  

int* data2 = new int[size];  

int* data3 = new int[size];  

int ops1, ops2, ops3;  

generateRandomArrays(size, data0, data1, data2, data3);  

ops1 = quickSort(data1, 0, size-1, 1);  

ops2 = quickSort(data2, 0, size-1, 2);  

ops3 = quickSort(data3, 0, size-1, 3);  

if (display) {  

cout << "Unsorted Array: ";  

print(data0, size);  

}  

cout << endl << endl << "> QuickSort #1: pivot is at the median" << endl;  

cout << "Swaps done: " << ops1 << endl;  

if (display) {  

cout << "Sorted Array: ";  

print(data1, size);  

}  

cout << endl << endl << "> QuickSort #2: pivot is at the start" << endl;  

cout << "Swaps done: " << ops2 << endl;  

if (display) {  

cout << "Sorted Array: ";  

print(data2, size);  

}  

cout << endl << endl << "> QuickSort #3: pivot is at the end" << endl;  

cout << "Swaps done: " << ops3 << endl;  

if (display) {  

cout << "Sorted Array: ";  

print(data3, size);  

}  

}  

void enterArray(int size, bool display) {  

// declare some variables  

int* data0 = new int[size];  

int* data1 = new int[size];  

int* data2 = new int[size];  

int* data3 = new int[size];  

int ops1, ops2, ops3;  

int value;  

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

cout << "Enter value " << i+1 << " of " << size << ": ";  

cin >> value;  

data0[i] = value;  

data1[i] = value;  

data2[i] = value;  

data3[i] = value;  

}  

ops1 = quickSort(data1, 0, size-1, 1);  

ops2 = quickSort(data2, 0, size-1, 2);  

ops3 = quickSort(data3, 0, size-1, 3);  

if (display) {  

cout << "Unsorted Array: ";  

print(data0, size);  

}  

cout << endl << endl << "> QuickSort #1: pivot is at the median" << endl;  

cout << "Swaps done: " << ops1 << endl;  

if (display) {  

cout << "Sorted Array: ";  

print(data1, size);  

}  

cout << endl << endl << "> QuickSort #2: pivot is at the start" << endl;  

cout << "Swaps done: " << ops2 << endl;  

if (display) {  

cout << "Sorted Array: ";  

print(data2, size);  

}  

cout << endl << endl << "> QuickSort #3: pivot is at the end" << endl;  

cout << "Swaps done: " << ops3 << endl;  

if (display) {  

cout << "Sorted Array: ";  

print(data3, size);  

}  

}  

int main(int argc, char** argv) {  

int choice;  

char option;  

int num;  

bool end = false;  

bool display = false;  

while (!end) {  

printMenuOptions();  

cin >> choice;  

switch (choice) {  

case 1:  

cout << endl << "Enter size of array (elements will be integers randomly generated): ";  

cin >> num;  

if (num > 0) {  

cout << "Values will be randomly generated from 1 to " << num*10 << endl;  

cout << "Do you want to display the sorted arrays? <y/N>: ";  

cin >> option;  

display = (option == 'y') ? true : false;  

simulate(num, display);  

} else {  

cout << endl << "Incorrect size." << endl;  

}  

break;  

case 2:  

cout << endl << "Enter size of array (you will enter the numbers): ";  

cin >> num;  

if (num > 0) {  

cout << "Do you want to display the sorted arrays? <y/N>: ";  

cin >> option;  

display = (option == 'y') ? true : false;  

enterArray(num, display);  

} else {  

cout << endl << "Incorrect size." << endl;  

}  

break;  

case 3:  

end = true;  

break;  

default:  

cout << endl << "Incorrect option. Try again." << endl;  

}  

}  

return 0;  

}

8 0
4 years ago
A fluidis flowing through a capillary
Illusion [34]

Answer:

The velocity of the fluid is 1.1012 m/s

Solution:

As per the question, for the fluid:

Diameter of the capillary tube, d = 1.0 mm = 1.0\times 10^{- 3} m

Reynolds No., R  = 1000

Kinematic viscosity,  \mu_{k} = 1.1012\times 10^{- 6} m^{2}/s

Now, for the fluid velocity, we use the relation:

R = \frac{v_{f}\times d}{\mu_{k}}

where

v_{f} = velocity of fluid

v_{f} = \frac{R\times \mu_{k}}{d}

v_{f} = \frac{1000\times 1.1012\times 10^{- 6}}{1.0\times 10^{- 3}} = 1.1012 m/s

6 0
3 years ago
g . 3. For each of the following statements Write the statement as an English sentence that does not use the symbols for quan 2.
lubasha [3.4K]

Answer:

(a)

( ∃x ∈ Q) ( x > √2)

There exists a rational number x such that x > √2.

( ∀x ∈ Q) ( ( x ≤ √2)

For each rational number x,  x ≤ √2.

(b)

(∀x ∈ Q)(x² -  2 ≠ 0).

For all rational numbers x, x² -  2 ≠ 0

( ∃x ∈ Q ) ( x² - 2 = 0 )

There exists a rational number x such that  x² -  2 = 0

(c)

(∀x ∈ Z)(x is even or x is odd).

For each integer x, x is even or x is odd.

( ∃x ∈ Z ) (x is odd and x is even)

There exists an integer x such that x is odd and x is even.

(d)

( ∃x ∈ Q) ( √2 < x < √3 )

There exists a rational number x such that √2 < x < √3

(∀x ∈ Q) ( x ≤ √2 or x ≥ √3 )

For all rational numbers x,  x ≤ √2 or x ≥ √3.

3 0
3 years ago
Other questions:
  • Liquid methyl ethyl ketone (MEK) is introduced into a vessel containing air. The system temperature is increased to 55°C, and th
    12·1 answer
  • 7. With the instruments located on the high-voltage side and with the low-voltage side short-circuited, the short-circuit test r
    13·2 answers
  • After the 2015 AFC Championship football game between the New England Patriots and the Indianapolis Colts, it was alleged that t
    10·1 answer
  • Timken rates its bearings for 3000 hours at 500 rev/min. Determine the catalog rating for a ball bearing running for 10000 hours
    7·1 answer
  • An oil pump is drawing 44 kW of electric power while pumping oil with rho = 860 kg/m^3 at a rate of 0.07 m^3/s. The inlet and ou
    8·1 answer
  • Which of the following is NOT true about hydraulic systems?
    12·1 answer
  • A 20 mm diameter cylindrical rod fabricated from a 2014-T6 alloy is subjected to repeated tension-compression load cycling along
    12·1 answer
  • 1. A six lane freeway (three lanes in each direction) currently operates at maximum LOS C conditions. The lanes are 11 ft wide,
    7·1 answer
  • A correctly designed and installed air curtain can be used to prevent what
    12·1 answer
  • The uniform beam has a mass of 50 kg determine the reaction at the support​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!