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
Sonja [21]
2 years ago
8

Come and look on my attachment​

Engineering
1 answer:
CaHeK987 [17]2 years ago
4 0

Crazy Guy what do uh mean ?

You might be interested in
Determine whether or not each of the following four transaction execution histories is serializable. If a history is serializabl
ludmilkaskok [199]

Answer:

Option D. w1[x] w2[u] w2[y] w1[y] w3[x] w3[u] w1[z]

Explanation:

The execution in the option D is correct. This is because there is more than one reasonable criterion.

8 0
2 years ago
Air enters the combustor of a jet engine at p1=10 atm, T1=1000°R, and M1=0.2. Fuel is injected and burned, with a fuel/air mass
snow_lady [41]

Answer:

M2 = 0.06404

P2 = 2.273

T2 = 5806.45°R

Explanation:

Given that p1 = 10atm, T1 = 1000R, M1 = 0.2.

Therefore from Steam Table, Po1 = (1.028)*(10) = 10.28 atm,

To1 = (1.008)*(1000) = 1008 ºR

R = 1716 ft-lb/slug-ºR cp= 6006 ft-lb/slug-ºR fuel-air ratio (by mass)

F/A =???? = FA slugf/slugaq = 4.5 x 108ft-lb/slugfx FA slugf/sluga = (4.5 x 108)FA ft-lb/sluga

For the air q = cp(To2– To1)

(Exit flow – inlet flow) – choked flow is assumed For M1= 0.2

Table A.3 of steam table gives P/P* = 2.273,

T/T* = 0.2066,

To/To* = 0.1736 To* = To2= To/0.1736 = 1008/0.1736 = 5806.45 ºR Gives q = cp(To* - To) = (6006 ft-lb/sluga-ºR)*(5806.45 – 1008)ºR = 28819500 ft-lb/slugaSetting equal to equation 1 above gives 28819500 ft-lb/sluga= FA*(4.5 x 108) ft-lb/slugaFA =

F/A = 0.06404 slugf/slugaor less to prevent choked flow at the exit

5 0
3 years ago
computer language C++ (Connect 4 game)( this is all the info that was givin no input or solution) I used the most recent version
Mariana [72]

Answer:

C++ code explained below

Explanation:

#include "hw6.h"

//---------------------------------------------------

// Constructor function

//---------------------------------------------------

Connect4::Connect4()

{

ClearBoard();

}

//---------------------------------------------------

// Destructor function

//---------------------------------------------------

Connect4::~Connect4()

{

// Intentionally empty

}

//---------------------------------------------------

// Clear the Connect4 board

//---------------------------------------------------

void Connect4::ClearBoard()

{

// Initialize Connect4 board

for (int c = 0; c < COLS; c++)

for (int r = 0; r < ROWS; r++)

board[r][c] = ' ';

// Initialize column counters

for (int c = 0; c < COLS; c++)

count[c] = 0;

}

//---------------------------------------------------

// Add player's piece to specified column in board

//---------------------------------------------------

bool Connect4::MakeMove(int col, char player)

{

// Error checking

if ((col < 0) || (col >= COLS) || (count[col] >= ROWS))

return false;

// Make move

int row = count[col];

board[row][col] = player;

count[col]++;

return true;

}

//---------------------------------------------------

// Check to see if player has won the game

//---------------------------------------------------

bool Connect4::CheckWin(char player)

{

// Loop over all starting positions

for (int c = 0; c < COLS; c++)

for (int r = 0; r < ROWS; r++)

if (board[r][c] == player)

{

// Check row

int count = 0;

for (int d = 0; d < WIN; d++)

if ((r+d < ROWS) &&

(board[r+d][c] == player)) count++;

if (count == WIN) return true;

 

// Check column

count = 0;

for (int d = 0; d < WIN; d++)

if ((c+d < COLS) &&

(board[r][c+d] == player)) count++;

if (count == WIN) return true;

 

// Check first diagonal

count = 0;

for (int d = 0; d < WIN; d++)

if ((r+d < ROWS) && (c+d < COLS) &&

(board[r+d][c+d] == player)) count++;

if (count == WIN) return true;

 

// Check second diagonal

count = 0;

for (int d = 0; d < WIN; d++)

if ((r-d >= 0) && (c+d < COLS) &&

(board[r-d][c+d] == player)) count++;

if (count == WIN) return true;

}

return false;

}

//---------------------------------------------------

// Print the Connect4 board

//---------------------------------------------------

void Connect4::PrintBoard()

{

// Print the Connect4 board

for (int r = ROWS-1; r >= 0; r--)

{

// Draw dashed line

cout << "+";

for (int c = 0; c < COLS; c++)

cout << "---+";

cout << "\n";

// Draw board contents

cout << "| ";

for (int c = 0; c < COLS; c++)

cout << board[r][c] << " | ";

cout << "\n";

}

// Draw dashed line

cout << "+";

for (int c = 0; c < COLS; c++)

cout << "---+";

cout << "\n";

// Draw column numbers

cout << " ";

for (int c = 0; c < COLS; c++)

cout << c << " ";

cout << "\n\n";

}

//---------------------------------------------------

// Main program to play Connect4 game

//---------------------------------------------------

int main()

{

  int choice;

  int counter = 0;

  srand (time(NULL));

  Connect4 board;

  cout << "Welcome to Connect 4!" << endl << "Your Pieces will be labeled 'H' for human. While the computer's will be labeled 'C'" << endl;

  board.PrintBoard();

  cout << "Where would you like to make your first move? (0-6)";

  cin >> choice;

  while (board.MakeMove(choice,'H') == false){

  cin >> choice;

  }

  counter++;

  while (board.CheckWin('C') == false && board.CheckWin('H') == false && counter != 21){

  while (board.MakeMove(rand() % 7, 'C') == false){}

  board.PrintBoard();

  cout << "Where would you like to make your next move?" << endl;

  cin >> choice;

  board.MakeMove(choice,'H');

  while (board.MakeMove(choice,'H') == false){

  cin >> choice;

  }

  counter++;

  }

 

  if (board.CheckWin('C')){

  cout << "Computer Wins!" << endl;}

  else if (counter == 21){cout << "Tie Game!" << endl;}

  else {cout << "Human Wins!" << endl;}

  board.PrintBoard();

}

4 0
2 years ago
A single fixed pulley is used to lift a load of 400N by the application of an effort of 480N in 10s through a vertical height of
Allushta [10]

Answer:

(a) the velocity ratio of the machine (V.R) = 1

(b) The mechanical advantage of the machine (M.A) = 0.833

(c) The efficiency of the machine (E) = 83.3 %

Explanation:

Given;

load lifted by the pulley, L = 400 N

effort applied in lifting the, E = 480 N

distance moved by the effort, d = 5 m

(a) the velocity ratio of the machine (V.R);

since the effort applied moved downwards through a distance of d, the load will also move upwards through an equal distance 'd'.

V.R = distance moved by effort / distance moved by the load

V.R = 5/5 = 1

(b) The mechanical advantage of the machine (M.A);

M.A = L/E

M.A = 400 / 480

M.A = 0.833

(c) The efficiency of the machine (E);

E = \frac{M.A}{V.R} \times 100\%\\\\E = 0.833 \ \times \ 100\%\\\\ E = 83.3 \ \%

4 0
2 years ago
Based on experimental observations, the acceleration of a particle is defined by the relationa = -( 0.1 + sin(x/b) ),where a and
yKpoI14uk [10]

Answer:

a) v = +/- 0.323 m/s

b) x = -0.080134 m

c) v = +/- 1.004 m/s

Explanation:

Given:

                             a = - (0.1 + sin(x/b))

b = 0.8

v = 1 m/s @ x = 0

Find:

(a) the velocity of the particle when x = -1 m

(b) the position where the velocity is maximum

(c) the maximum velocity.

Solution:

- We will compute the velocity by integrating a by dt.

                           a = v*dv / dx =  - (0.1 + sin(x/0.8))

- Separate variables:

                           v*dv = - (0.1 + sin(x/0.8)) . dx

-Integrate from v = 1 m/s @ x = 0:

                          0.5(v^2) = - (0.1x - 0.8cos(x/0.8)) - 0.8 + 0.5

                          0.5v^2 =  0.8cos(x/0.8) - 0.1x - 0.3

- Evaluate @ x = -1

                          0.5v^2 = 0.8 cos(-1/0.8) + 0.1 -0.3

                          v = sqrt (0.104516)

                          v = +/- 0.323 m/s

- v = v_max when a = 0:

                           -0.1 = sin(x/0.8)

                             x = -0.8*0.1002

                             x = -0.080134 m

- Hence,

                            v^2 = 1.6 cos(-0.080134/0.8) -0.6 -0.2*-0.080134

                            v = sqrt (0.504)

                            v = +/- 1.004 m/s

4 0
3 years ago
Other questions:
  • Type a statement using srand() to seed random number generation using variable seedVal. Then type two statements using rand() to
    5·1 answer
  • A sludge pump pumps at a rate of 40 GPM. The raw sludge density is 4.5 percent solids. How many minutes per hour should the pump
    11·1 answer
  • Rolling and Shearing are the types of a)-Bulk Deformation Process b)- Sheet Metal Process c)- Machining Process d)- Both a &amp;
    7·1 answer
  • A large truck drives down the highway at 10 m/s hauling a rectangular trailer that is 6 m long, 2 m wide, and 2 m tall. The trai
    14·1 answer
  • The benefit of using the generalized enthalpy departure chart prepared by using PR and TR as the parameters instead of P and T i
    6·1 answer
  • 3 MAOP stands for which of the following?
    9·1 answer
  • What is the t max for a carbon steel heater tube?
    8·1 answer
  • What do you do if building doesn't have enough water pressure for sprinklers? a. Increase pipe size b. Adjust budget to accommod
    15·1 answer
  • All of the following are examples of capital intensive industries EXCEPT: *
    15·2 answers
  • What are the best collages for architectural learning?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!