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
Stells [14]
3 years ago
14

RC4 has a secret internal state which is a permutation of all the possible values of the vector S and the two indices i and j.

Engineering
1 answer:
Stolb23 [73]3 years ago
3 0

Answer:

a. Using a straight forward scheme, the RC4 algorithm stores 2064 bits in the interval state.

b. 1700 bits

Explanation:

See RC4 Algorithm attached with details

You might be interested in
Three things that i have learned about the topics in this learning activity sheet
AURORKA [14]
Where’s the sheet or the picture ?
3 0
2 years ago
An incompressible fluid flows between two infinite stationary parallel plates. The velocity profile is given by u=umaxðAy2 + By+
nexus9112 [7]

Answer:

the volume flow rate per unit depth is:

\frac{Q}{b} = \frac{2}{3} u_{max} h

the ratio is : \frac{V}{u_{max}}=\frac{2}{3}

Explanation:

From the question; the  equations of the velocities profile in the system are:

u = u_{max}(Ay^2+By+C)   ----- equation (1)

The above boundary condition can now be written as :

At y= 0; u =0           ----- (a)

At y = h; u =0            -----(b)

At y = \frac{h}{2} ; u = u_{max}     ------(c)

where ;

A,B and C are constant

h = distance between two plates

u = velocity

u_{max} = maximum velocity

y = measured distance upward from the lower plate

Replacing the boundary condition in (a) into equation (1) ; we have:

u = u_{max}(Ay^2+By+C) \\ \\ 0 = u_{max}(A*0+B*0+C) \\ \\ 0=u_{max}C \\ \\ C= 0

Replacing the boundary condition (b) in equation (1); we have:

u = u_{max}(Ay^2+By+C) \\ \\ 0 = u_{max}(A*h^2+B*h+C) \\ \\ 0 = Ah^2 +Bh + C \\ \\ 0 = Ah^2 +Bh + 0 \\ \\ Bh = - Ah^2 \\ \\ B = - Ah   \ \ \ \ \   --- (d)

Replacing the boundary condition (c) in equation (1); we have:

u = u_{max}(Ay^2+By+C) \\ \\ u_{max}= u_{max}(A*(\frac{h^2}{2})+B*\frac{h}{2}+C) \\ \\ 1 = \frac{Ah^2}{4} +B \frac{h}{2} + 0 \\ \\ 1 =  \frac{Ah^2}{4} + \frac{h}{2}(-Ah)  \\ \\ 1=  \frac{Ah^2}{4}  - \frac{Ah^2}{2}  \\ \\ 1 = \frac{Ah^2 - Ah^2}{4}  \\ \\ A = -\frac{4}{h^2}

replacing A = -\frac{4}{h^2} for A in (d); we get:

B = - ( -\frac{4}{h^2})hB = \frac{4}{h}

replacing the values of A, B and C into the velocity profile expression; we have:

u = u_{max}(Ay^2+By+C) \\ \\ u = u_{max} (-\frac{4}{h^2}y^2+\frac{4}{h}y)

To determine the volume flow rate; we have:

Q = AV \\ \\ Q= \int\limits^h_0 (u.bdy)

Replacing u_{max} (-\frac{4}{h^2}y^2+\frac{4}{h}y) \ for \ u

\frac{Q}{b} = \int\limits^h_0 u_{max}(-\frac{4}{h^2} y^2+\frac{4}{h}y)dy \\ \\  \frac{Q}{b} = u_{max}  \int\limits^h_0 (-\frac{4}{h^2} y^2+\frac{4}{h}y)dy \\ \\ \frac{Q}{b} = u_{max} (-\frac{-4}{h^2}\frac{y^3}{3} +\frac{4}{h}\frac{y^2}{y})^ ^ h}}__0  }} \\ \\ \frac{Q}{b} =u_{max} (-\frac{-4}{h^2}\frac{h^3}{3} +\frac{4}{h}\frac{h^2}{y})^ ^ h}}__0  }} \\ \\ \frac{Q}{b} = u_{max}(\frac{-4h}{3}+\frac{4h}2} ) \\ \\ \frac{Q}{b} = u_{max}(\frac{-8h+12h}{6}) \\ \\ \frac{Q}{b} =u_{max}(\frac{4h}{6})

\frac{Q}{b} = u_{max}(\frac{2h}{3}) \\ \\ \frac{Q}{b} = \frac{2}{3} u_{max} h

Thus; the volume flow rate per unit depth is:

\frac{Q}{b} = \frac{2}{3} u_{max} h

Consider the discharge ;

Q = VA

where :

A = bh

Q = Vbh

\frac{Q}{b}= Vh

Also;  \frac{Q}{b} = \frac{2}{3} u_{max} h

Then;

\frac{2}{3} u_{max} h = Vh \\ \\ \frac{V}{u_{max}}=\frac{2}{3}

Thus; the ratio is : \frac{V}{u_{max}}=\frac{2}{3}

5 0
3 years ago
Problem 2 (a) A sinusoid with a frequency of 2Hz is applied to a sampler/zero-order hold combination. The sampling rate is 10Hz.
madreJ [45]

Answer & Explanation:

(a) Frequency of 2Hz is applied to a sampler/zero-order hold combination

The sampling rate is 10Hz

List of all the frequencies present in the output that are less than 50Hz.

Adding:

fs + fm = 10 + 2

= 12 Hz

2fs + fm = 2 * 10 + 2

= 22 Hz

3fs + fm = 3 * 10 + 2

= 32 Hz

4fs + fm = 4 * 10 + 2

= 42 Hz

Subtracting:

fs - fm = 10 - 2

= 8 Hz

2fs - fm = 2 * 10 - 2

= 18 Hz

3fs - fm = 3 * 10 - 2

= 28 Hz

4fs - fm = 4 * 10 - 2

= 38 Hz

5fs - fm = 5 * 10 - 2

= 48 Hz

(b) Frequency of 8Hz is applied to a sampler/zero-order hold combination

The sampling rate is 10Hz

List of all the frequencies present in the output that are less than 50Hz.

Adding:

fs + fm = 10 + 8

= 18 Hz

2fs + fm = 2 * 10 + 8

= 28 Hz

3fs + fm = 3 * 10 + 8

= 38 Hz

Subtracting:

fs - fm = 10 - 8

= 2 Hz

2fs - fm = 2 * 10 - 8

= 12 Hz

3fs - fm = 3 * 10 - 8

= 22 Hz

4fs - fm = 4 * 10 - 8

= 32 Hz

5fs - fm = 5 * 10 - 8

= 42 Hz

3 0
3 years ago
Write a program that will produce a report showing the current and max-imum enrollments for a number of classes. Your applicatio
Andru [333]

Answer:

Check the explanation

Explanation:

CODE

using System;

using System.Collections.Generic;

using System.Text;

using System.Runtime.InteropServices;

namespace listofcourses

{

   class Course1

   {

       public string coursename;

       public int courseenrol;

       public int maximum;

   }

   class Courses1

   {

       public List<Course1> colist = new List<Course1>();

       public int coursemaximum;

       public int addRecord(string num, int err,int maximum)

       {

           Course1 c1 = new Course1();

           c1.coursename = num;

           c1.courseenrol = err;

           c1.maximum=maximum;

           colist.Add(c1);

           coursemaximum = colist.Count;

           return 1;

       }

   }

class Implement

{  

static public Courses1 cos = new Courses1();

static public void printrecord()

{

           Console.WriteLine("_______________________________________________________________");

Console.WriteLine("SNo Class Name       currentEnroll MaximumEnroll");

           Console.WriteLine("_______________________________________________________________");

for (int i = 0; i < cos.coursemaximum; i++)

{

     Console.Write("{0, -5}", i + 1);

     Console.Write("{0, -19}", cos.colist[i].coursename);

     Console.Write("{0, -7}", cos.colist[i].courseenrol);

     Console.Write("{0, -7}", cos.colist[i].maximum);

     Console.WriteLine();

}

          Console.WriteLine("_______________________________________________________________");

}

static public void getRecords()

{

     Console.Write("please enter Course Name: ");

     string num;

     int c1,m1;

     num = Console.ReadLine();

            Console.Write("Enter current enrollment");

           c1= Convert.ToInt32(Console.ReadLine());

           Console.Write("Enter maximum enrollment");

           m1= Convert.ToInt32(Console.ReadLine());

     cos.addRecord(num,c1,m1);

}      

static void Main(string[] args)

{

     Console.WriteLine("Course Enrollment");

     Console.Write("please Enter the number of courses: ");

     int ncval = -1;

     string xval = Console.ReadLine();

     ncval= Convert.ToInt32(xval);

      for (int i = 1; i <= ncval; i++)

     {

           Console.WriteLine("\nEnter " + i.ToString() + " course enrollment\n");

           getRecords();

     }

    printrecord();

     char k1 = Console.ReadKey().KeyChar;

}

}

Kindly check the code output below.

3 0
4 years ago
Macrohard have conducted a multiple linear regression analysis to predict the loading time (y) in milliseconds (thousandths of s
Contact [7]

Answer:

Hook's law holds good up to. A elastic limit. B. plastic limit. C.yield point. D.Breaking point

7 0
3 years ago
Other questions:
  • What is chemical engineering​
    11·1 answer
  • Design a plan for ""your yard"" (no matter where you live) that will capture and utilize rainwater. You can prepare the plan in
    13·1 answer
  • How much force is required if the ramp is 15 ft long
    9·1 answer
  • Steam enters an adiabatic turbine at 10 MPa and 500°C and leaves at 10 kPa with a quality of 90 percent. Neglecting the changes
    12·1 answer
  • A civil engineer is analyzing the compressive strength of concrete. The compressive strength is approximately normal distributed
    7·1 answer
  • The importance of reading a circuit diagram to interpret a wiring diagram?
    5·1 answer
  • Which of the following animals can be found in the locality​
    12·1 answer
  • Freeee Poinntssss 100!!!!!!<br> Hi how you doin?
    11·2 answers
  • Nanotechnology is a scientific area that deals with making or changing things that are incredibly _______________. *
    6·2 answers
  • Discuss the difference between a dual split and a diagonal split master cylinder.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!