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
katrin2010 [14]
2 years ago
14

Pay attention to the following questions!

Engineering
1 answer:
kupik [55]2 years ago
3 0

Answer: the correct answer is D

You might be interested in
You are designing a 200mm long x 100mm wide x 50mm deep rectangular housing, with a wall width of 1.5 mm, and 1 degree draft. Yo
Nimfa-mama [501]
365gpa I don’t even know what it is but this is with 10 point and I need it
6 0
2 years ago
Pie charts should have no more than eight segments. True or False?
Pepsi [2]

Answer:

Explanation:

Pie charts generally should have no more than eight segments.

6 0
3 years ago
Read 2 more answers
An inductor is energized as in the circuit of Fig. 2-4a. The circuit has L 10 mH and VCC 14 V. (a) Determine the required on tim
Savatey [412]

Answer:

A) 11.1 ms

B) 5.62 Ω

Explanation:

L ( inductance ) = 10 mH

Vcc = 14V

<u>A) determine the required on time of the switch such that the peak energy stored in the inductor is 1.2J </u>

first calculate for the current  ( i )  using the equation for energy stored in an inductor hence

i = \sqrt{\frac{2W}{L} }   ----- ( 1 )

where : W = 1.2j ,  L = 10 mH

Input values into equation 1  

i = 15.49 A

Now determine the time required  with expression below

i( t ) = 15.49 A

L = 10 mH, Vcc = 14

hence the time required ( T-on ) = 11.1 ms

attached below is detailed solution

B) <u>select the value of R such that switching cycle can be repeated every 20 ms </u>

using the expression below

τ = \frac{L}{R}  ---- ( 2 )

but first we will determine the value of τ

τ = t-off / 5 time constants

  = (20 - 11.1 ) / 5  = 1.78 ms

Back to equation 2

R = L / τ

  = (10 * 10^-3) / (1.78 * 10^-3)

  = 5.62 Ω

3 0
3 years ago
Listed below are snippets from a prgram to perform input validation for
leva [86]

Answer:

#include <iostream>

#include <string>

#include "user.h"

#include "password.h"

using namespace Authenticate;

using namespace std;

int main()

{

inputUserName();

inputPassword();

cout << "Your username is " << getUserName() <<

" and your password is: " <<

getPassword() << endl;

return 0;

}

user.h:

#ifndef USER_H

#define USER_H

#include <string>

using namespace std;

namespace Authenticate

{

namespace

{

bool isvalid();

}

void inputUserName();

string getUserName();

}

#endif

user.cpp:

#include <iostream>

#include "user.h"

namespace Authenticate

{

string username="";

namespace

{

bool isvalid()

{

if(username.length() == 8)

return true;

else

return false;

}

}

void inputUserName(){

do

{

cout << "Enter your username (8 letters only)" << endl;

cin >> username;

}

while(!isvalid());

}

string getUserName()

{

return username;

}

}

password.h:

#ifndef PASSWORD_h

#define PASSWORD_h

#include <string>

using namespace std;

namespace Authenticate

{

namespace

{

bool isValid();

}

void inputPassword();

string getPassword();

}

#endif

password.cpp:

#include <iostream>

#include <string>

using namespace std;

namespace Authenticate

{

string password="";

namespace

{

bool isValid()

{

if(password.length() >= 8)

{

for(int i=0; i<password.length(); i++)

if(password[i] >= '0' && password[i] <= '9')

return true;

return false;

}

else

return false;

}

}

void inputPassword(){

do

{

cout << "Enter your password (at least 8 characters " <<

"and at leat one non-letter)" << endl;

cin >> password;

}

while(!isValid());

}

string getPassword()

{

return password;

}

}

3 0
3 years ago
g For this project you are required to perform Matrix operations (Addition, Subtraction and Multiplication). For each of the ope
Kruka [31]

Answer:

C++ code is explained below

Explanation:

#include<iostream>

using namespace std;

//Function Declarations

void add();

void sub();

void mul();

//Main Code Displays Menu And Take User Input

int main()

{

  int choice;

  cout << "\nMenu";

  cout << "\nChoice 1:addition";

  cout << "\nChoice 2:subtraction";

  cout << "\nChoice 3:multiplication";

  cout << "\nChoice 0:exit";

 

  cout << "\n\nEnter your choice: ";

 

  cin >> choice;

 

  cout << "\n";

 

  switch(choice)

  {

      case 1: add();

              break;

             

      case 2: sub();

              break;

             

      case 3: mul();

              break;

     

      case 0: cout << "Exited";

              exit(1);

     

      default: cout << "Invalid";      

  }

  main();  

}

//Addition Of Matrix

void add()

{

  int rows1,cols1,i,j,rows2,cols2;

 

  cout << "\nmatrix1 # of rows: ";

  cin >> rows1;

 

  cout << "\nmatrix1 # of columns: ";

  cin >> cols1;

 

   int m1[rows1][cols1];

 

  //Taking First Matrix

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

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

      {

          cout << "\nEnter element (" << i << "," << j << "): ";

          cin >> m1[i][j];

          cout << "\n";

      }

  //Printing 1st Matrix

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

  {

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

          cout << m1[i][j] << " ";

      cout << "\n";

  }

     

  cout << "\nmatrix2 # of rows: ";

  cin >> rows2;

 

  cout << "\nmatrix2 # of columns: ";

  cin >> cols2;

 

  int m2[rows2][cols2];

  //Taking Second Matrix

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

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

      {

          cout << "\nEnter element (" << i << "," << j << "): ";

          cin >> m2[i][j];

          cout << "\n";

      }

  //Displaying second Matrix

  cout << "\n";

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

  {

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

          cout << m2[i][j] << " ";

      cout << "\n";

  }

  //Displaying Sum of m1 & m2

  if(rows1 == rows2 && cols1 == cols2)

  {

      cout << "\n";

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

      {

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

              cout << m1[i][j]+m2[i][j] << " ";

          cout << "\n";  

      }

  }

  else

      cout << "operation is not supported";

     

  main();

 

}

void sub()

{

  int rows1,cols1,i,j,k,rows2,cols2;

  cout << "\nmatrix1 # of rows: ";

  cin >> rows1;

 

  cout << "\nmatrix1 # of columns: ";

  cin >> cols1;

 

   int m1[rows1][cols1];

 

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

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

      {

          cout << "\nEnter element (" << i << "," << j << "): ";

          cin >> m1[i][j];

          cout << "\n";

      }

 

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

  {

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

          cout << m1[i][j] << " ";

      cout << "\n";

  }

     

  cout << "\nmatrix2 # of rows: ";

  cin >> rows2;

 

  cout << "\nmatrix2 # of columns: ";

  cin >> cols2;

 

  int m2[rows2][cols2];

 

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

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

      {

          cout << "\nEnter element (" << i << "," << j << "): ";

          cin >> m2[i][j];

          cout << "\n";

      }

 

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

  {

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

          cout << m1[i][j] << " ";

      cout << "\n";

  }

  cout << "\n";

  //Displaying Subtraction of m1 & m2

  if(rows1 == rows2 && cols1 == cols2)

  {

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

      {

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

              cout << m1[i][j]-m2[i][j] << " ";

          cout << "\n";  

      }

  }

  else

      cout << "operation is not supported";

     

  main();

 

}

void mul()

{

  int rows1,cols1,i,j,k,rows2,cols2,mul[10][10];

  cout << "\nmatrix1 # of rows: ";

  cin >> rows1;

 

  cout << "\nmatrix1 # of columns: ";

  cin >> cols1;

 

   int m1[rows1][cols1];

 

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

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

      {

          cout << "\nEnter element (" << i << "," << j << "): ";

          cin >> m1[i][j];

          cout << "\n";

      }

  cout << "\n";

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

  {

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

          cout << m1[i][j] << " ";

      cout << "\n";

  }

     

  cout << "\nmatrix2 # of rows: ";

  cin >> rows2;

 

  cout << "\nmatrix2 # of columns: ";

  cin >> cols2;

 

  int m2[rows2][cols2];

 

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

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

      {

          cout << "\nEnter element (" << i << "," << j << "): ";

          cin >> m2[i][j];

          cout << "\n";

      }

  cout << "\n";

  //Displaying Matrix 2

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

  {

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

          cout << m2[i][j] << " ";

      cout << "\n";

  }

     

  if(cols1!=rows2)

      cout << "operation is not supported";

  else

  {

      //Initializing results as 0

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

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

  mul[i][j]=0;

// Multiplying matrix m1 and m2 and storing in array mul.

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

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

  for(k = 0; k < cols1; k++)

  mul[i][j] += m1[i][k] * m2[k][j];

// Displaying the result.

  cout << "\n";

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

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

      {

      cout << " " << mul[i][j];

      if(j == cols2-1)

      cout << endl;

      }

      }  

  main();

 }

5 0
3 years ago
Other questions:
  • The power supply converts the wall outlet AC power into DC power. T or F
    15·1 answer
  • 1) Pareto charts are used to: A) identify inspection points in a process. B) outline production schedules. C) organize errors, p
    6·1 answer
  • Sea water with a density of 1025 kg/m3 flows steadily through a pump at 0.21 m3 /s. The pump inlet is 0.25 m in diameter. At the
    8·1 answer
  • Assume all surface are smooth Draw the FBD for each body
    15·1 answer
  • A solid shaft is subjected to an axial load P = 200 kN and a torque T = 1.5 kN.m. a) Determine the diameter of the shaft if the
    8·1 answer
  • Problem 4 You are designing a circuit to drive LED1, using the following circuit. The datasheet for the LED specifies that VF =
    9·1 answer
  • Determine the combined moment about O due to the weight of the mailbox and the cross member AB. The mailbox weighs 3.2 lb and th
    14·1 answer
  • A three-phase transformer connection has a delta-connected secondary, and one of the transformers has been center-tapped to form
    10·1 answer
  • TWO SENTENCES!!! What is something that you have used today that was designed by an engineer? What parts were designed by an eng
    11·2 answers
  • Where has the process of nuclear fusion been occurring for over four billion years
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!