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
joja [24]
3 years ago
6

4 Error-Correcting Polynomials (a) Alice has a length 8 message to Bob. There are 2 communication channels available. When n pac

kets are fed through channel A, the channel will only deliver 5 packets (picked at random). Similarity, channel B will only deliver 5 packets (picked at random), but it will also corrupt (change the value) of one of the delivered packets. All channels can only work if at least 10 packets are sent through it. Using the 2 channels, how can Alice send the message to Bob? (b) Alice wishes to send a message to Bob as the coefficients of a degree 2 polynomial P. For a message [mi,m2,m3], she creates polynomial P- mix^ m2x +m3 and sends 5 packets: (0,P(0)), (1,P(1)), (2,P(2)), (3, P(3)), (4, P(4). However, Eve interferes and changes one of the values of a packet before it reaches Bob. If Bob receives and knows Alice's encoding scheme and that Eve changed one of the packets, can he still figure out what the original message was? If so find it as well as the x-value of the packet that Eve changed, if not, explain why he can not. (Work in mod 1 l.) (c) Alice decides that putting the message as the coefficients of a polynomial is too inefficient for long messages because the degree of the polvnomial grows quite large. Instead, she
Engineering
1 answer:
yKpoI14uk [10]3 years ago
7 0

(m_{1}, m_{2}, m_{3}) = (3, -6, 3)

<u>Explanation:</u>

Given data,

p=m_{1} x^{2}+m_{2} x+m_{3}

5 packets are delivered by channel, which was randomly taken.

0(P(0)), 1(P(1)), 2(P(2)), 3(P(3)), 4(P(4))

Bob receives are

(0,3) (1,0) (2,3) (3,0) (4,3)

P(0) = 3

P(1) = 0

P(2) = 3

P(3) = 0

P(4) = 3

The given equation is

p=m_{1} x^{2}+m_{2} x+m_{3}

Solution:

p(0)=m_{1}(0)+m_{2}(0)+m_{3} = 3

m_{3} = 3

p(1)=m_{1}+m_{2}+m_{3}=0

m_{1} + m_{2} = - 3

m_{2} = -3 -m_{1}

p(2)=4 m_{1}+2 m_{2}+m_{3} = 3

4 m_{1}+2 m_{2} = 0

2 m_{1}+m_{2}=0

P(3)=9 m_{1}+3 m_{2}+m_{3}  = 0

3 m_{1}+m_{2}+3=0

P(4)=16 m_{1}+4 m_{2}+m_{3} = 3

4 m_{1}+m_{2} = 0

From P(1) and P(2)

m_{2} = -3 -m_{1}

2 m_{1}+m_{2}=0

2 m_{1}-3-m_{1}=0

-3 + m_{1}  = 0

m_{1} = 3

m_{2} = -6

(m_{1}, m_{2}, m_{3}) = (3, -6, 3)

You might be interested in
Which of the following is NOT a line used on blueprints?
jonny [76]

Answer: Photo lines

Explanation: made more sense

4 0
2 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
technician a says an out-of-round drum can cause a pulsating brake pedal. technician b says an out-of-round drum can cause the b
denis-greek [22]

According to the question of the pulsating brake pedal, both A and B are correct.

What causes brake pulsation?

Brake pulsation is mainly caused by warped rotors/brake discs. Excessive hard braking or quick stops, which can significantly overheat the discs, are the primary causes of deformed rotors. When the discs overheat, the composition of the metal disc material changes, resulting in imperfections in the metal's surface. Hotspots are noticeable irregularities. They appear as discoloured areas of the disc material, which are often bluish or blackish in appearance. The brake pedal is the pedal which you press with your foot to slow or stop a vehicle. When the driver presses the brake pedal, the system automatically delivers the appropriate pressure required to prevent colliding with the vehicle in front.

To learn more about brake pulsation
brainly.com/question/28779956

#SPj4

8 0
1 year ago
An insulated piston-cylinder device contains 0.15 of saturated refrigerant-134a vapor at 0.8 MPa pressure. The refrigerant is no
Stells [14]

Answer:

Assumption:

1. The kinetic and potential energy changes are negligible

2. The cylinder is well insulated and thus heat transfer is negligible.

3. The thermal energy stored in the cylinder itself is negligible.

4. The process is stated to be reversible

Analysis:

a. This is reversible adiabatic(i.e isentropic) process and thus s_{1} =s_{2}

From the refrigerant table A11-A13

P_{1} =0.8MPa   \left \{ {{ {{v_{1}=v_{g}  @0.8MPa =0.025645 m^{3/}/kg } } \atop { {{u_{1}=u_{g}  @0.8MPa =246.82 kJ/kg } -   also  {{s_{1}=s_{g}  @0.8MPa =0.91853 kJ/kgK } } \right.

sat vapor

m=\frac{V}{v_{1} } =\frac{0.15}{0.025645} =5.8491 kg\\and \\\\P_{2} =0.2MPa  \left \{ {{x_{2} =\frac{s_{2} -s_{f} }{s_{fg }}=\frac{0.91853-0.15449}{0.78339}   = 0.9753 \atop {u_{2} =u_{f} +x_{2} }(u_{fg}) =  38.26+0.9753(186.25)= 38.26+181.65 =219.9kJ/kg \right. \\s_{1} = s_{2}

T_{2} =T_{sat @ 0.2MPa} = -10.09^{o}  C

b.) We take the content of the cylinder as the sysytem.

This is a closed system since no mass leaves or enters.

Hence, the energy balance for adiabatic closed system can be expressed as:

E_{in} - E_{out}  =ΔE

w_{b, out}  =ΔU

w_{b, out} =m([tex]u_{1} -u_{2)

w_{b, out}  = workdone during the isentropic process

=5.8491(246.82-219.9)

=5.8491(26.91)

=157.3993

=157.4kJ

4 0
2 years ago
Typically each development platform consists of the following components, except:Select one:a.Operating systemb.System softwarec
damaskus [11]

Typically each development platform consists of the following components except compilers and assemblers

  • The platform development simply means the development of the fundamental software which is vital in making hardware work.

  • Operating system: This refers to the low-level software that communicates with the hardware so that other programs can be able to run.

  • System software: This is the software that's designed in order to provide a platform for the other software. Examples include search engines, Microsoft Windows, etc.

  • Compilers and assemblers: Compliers are sued in converting source code to a machine-level language. Assembler is used in converting assembly code to machine code.

  • Hardware platform: This is a set of hardware where the software applications are run.

In conclusion, the correct option is Compilers and assemblers.

Read related link on:

brainly.com/question/21650058

4 0
2 years ago
Other questions:
  • The following C program asks the user for two input null-terminated strings, each stored in uninitialized 100-byte buffer, and c
    6·1 answer
  • Simplify the following expressions, then implement them using digital logic gates. (a) f = A + AB + AC (b) f = AB + AC + BC (c)
    5·1 answer
  • All welding processes that take place without melting of the work pieces. a)- True b)-False
    15·1 answer
  • Can someone help plz?!?
    5·2 answers
  • Consider a 400 mm × 400 mm window in an aircraft. For a temperature difference of 90°C from the inner to the outer surface of th
    10·1 answer
  • A heating system must maintain the interior of a building at TH = 20 °C when the outside temperature is TC = 2 °C. If the rate o
    10·1 answer
  • Calculate the resistance of a circuit with 1.5 A and 120 V. Use the appropriate formula from the list of formulas on the
    9·1 answer
  • I just wanted to say thanks you to Brainly. This website is a huge help!
    12·1 answer
  • 10.) A solid circular titanium control rod at 7,000 lb axial tension force where stress must not
    15·1 answer
  • The most important reason to wear your seat belt is to protect you from:
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!