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
Mila [183]
3 years ago
10

This question allows you to practice proving a language is non-regular via the Pumping Lemma. Using the Pumping Lemma (Theorem 1

.70), give formal proofs that the following languages are not regular: (a) L = {www | W € {0,1}* }. (b) L = {1"01" m, n >0}.
Engineering
1 answer:
Ulleksa [173]3 years ago
6 0

Answer:

<em>L is not a regular language with formal proofs  </em>

Explanation:

<em>(a) To prove that L is not a regular language, we will use a proof by contradiction. the assumption entails  that L is a regular language. Then by the Pumping Lemma for Regular Languages, </em>

<em>there exists a pumping length p for L such that for any string s ∈ L where |s| ≥ p, </em>

<em>s = xyz subject to the following conditions: </em>

<em>(a) |y| > 0 </em>

<em>(b) |xy| ≤ p, and </em>

<em>(c) ∀i > 0, xyi </em>

<em>z ∈ L</em>

<em />

<em>(b) To determine that L is not a regular language, we mke use of proof by contradiction.  lets assume, that L is regular. Then by the Pumping Lemma for Regular Languages, it states also,</em>

<em>The pumping length, p for L such that for any string s ∈ L where |s| ≥ p, s = xyz subject  to the condtions as follows : </em>

<em>(a) |y| > 0 </em>

<em>(b) |xy| ≤ p, and </em>

<em>(c) ∀i > 0, xyi </em>

<em>z ∈ L. </em>

<em>Choose s = 0p10p </em>

<em>. Clearly, |s| ≥ p and s ∈ L. By condition (b) above, it follows is shown. by the first condition x and y are zeros.</em>

<em>for some  k > 0. Per (c), we can take i = 0 and the resulting string will still be in L. Thus,  xy0 </em>

<em>z should be in L. xy0 </em>

<em>z = xz = 0(p−k)10p </em>

<em>It is shown that is is  not in L. This is a  contraption with the pumping lemma.  our assumption that L is regular is  incorrect, and L is not a regular language</em>

You might be interested in
Find the diameter of the test cylinder in which 6660 N force is acting on it with a modulus of elasticity 110 x 103 Pa. The init
Shtirlitz [24]

Answer:

The diameter of the test cylinder should be 7.65 meters.

Explanation:

The Hooke's law relation between stress and strain is mathematically represented as

Stress=E\times strain\\\\\sigma =e\times \epsilon

Where 'E' is modulus of elasticity of the material

Now by definition of strain we have

\epsilon =\frac{\Delta L}{L_{o}}

Applying values to obtain strain we get

\epsilon =\frac{0.5}{380}=0.001316

Thus the stress developed in the material equals

\sigma = 110\times 10^{3}\times 0.001316=144.76N/m^{2}

Now by definition of stress we have

\sigma =\frac{Force}{Area}\\\\\therefore Area=\frac{Force}{\sigma }\\\\\frac{\pi D^{2}}{4}=\frac{6660N}{144.76}=46m^{2}

Solving for 'D' we get

D=\sqrt{\frac{4\times 46}{\pi }}=7.653meters

6 0
3 years ago
Determine the depreciation expense for 2018 and 2019 using the following​ methods: (a)​ Straight-line (SL),​ (b) Units of produc
prohojiy [21]

Answer:

Check Explanation.

Explanation:

(1). The straight-line method: the general clue with this method is that in the two years, depreciation is the same. The formula for Calculating depreciation is given below;

straight-line method = (cost - Residual value)/ useful life in years.

From the question we know that the cost of acquisition is $30,000,000, the residual value of the asset is $4,000,000 and useful life is 7 years. Therefore;

straight-line method = ($30,000,000 - $4,000,000)/ 7.

= $3, 714,285.71 Per year.

That is $3, 714,285.71 for 2018 and 2019.

(2).Units of production​ (UOP) = (cost - Residual value)/ useful life in units.

= ($30,000,000 - $4,000,000)/ 4,375, 000.

Units of production​ (UOP) = $6 per mile.

Hence, the depreciation in 2018 = Depreciation per unit × 2018 year usage.

= 6 × 1,100,000 mile.

= $6,600,000.

depreciation in 2019 = Depreciation per unit × 2019 year usage.

= 6 × 1,200,000.

= $7,200,000.

Double-declining-balance​ (DDB)= (cost - accumulated depreciation) × 2 × 1/(useful life years).

Double-declining-balance​ (DDB) = (30,000,000 - 0)× 2 × (1/7).

= $8,571,428.57 depreciation in 2018.

= $8,571,428.6 depreciation in 2018

Double-declining-balance​ (DDB) = (30,000,000 - 8,571,428.57) × 2 × 1/7.

= $6,122,449.00 depreciation in 2019.

====================================================================

Total depreciation for straight-line method(2018 and 2019) = $7,428,571.42.

Total depreciation for Units of production​ (UOP)(2018 and 2019) = $13,800,000.

Total depreciation for Double-declining-balance (DDB)= $ 14,693,877.6.

5 0
3 years ago
A rod of aluminum has a square 4.5 mm × 4.5 mm cross section and length of 2.0 m. (A) What is the resistance of the rod along it
zimovet [89]

Answer:

The solution is attached below:

Explanation:

8 0
3 years ago
Water flows through a pipe of 100 mm at the rate of 0.9 m3 per minute at section A. It tapers to 50mm diameter at B, A being 1.5
pochemuha

Answer:

The velocities in points A and B are 1.9 and 7.63 m/s respectively. The Pressure at point B is 28 Kpa.

Explanation:

Assuming the fluid to be incompressible we can apply for the continuity equation for fluids:

Aa.Va=Ab.Vb=Q

Where A, V and Q are the areas, velocities and volume rate respectively. For section A and B the areas are:

Aa=\frac{pi.Da^2}{4}= \frac{\pi.(0.1m)^2}{4}=7.85*10^{-3}\ m^3

Ab=\frac{pi.Db^2}{4}= \frac{\pi.(0.05m)^2}{4}=1.95*10^{-3}\ m^3

Using the volume rate:

Va=\frac{Q}{Aa}=\frac{0.9m^3}{7.85*10^{-3}\ m^3} = 1.9\ m/s

Vb = \frac{Q}{Ab}= \frac{0.9m^3}{1.96*10^{-3}\ m^3} = 7.63\ m/s

Assuming no losses, the energy equation for fluids can be written as:

Pa+\frac{1}{2}pa.Va^2+pa.g.za=Pb+\frac{1}{2}pb.Vb^2+pb.g.zb

Here P, V, p, z and g represent the pressure, velocities, height and gravity acceleration. Considering the zero height level at point A and solving for Pb:

Pb=Pa+\frac{1}{2}pa(Va^2-Vb^2)-pa.g.za

Knowing the manometric pressure in point A of 70kPa, the height at point B of 1.5 meters, the density of water of 1000 kg/m^3 and the velocities calculated, the pressure at B results:

Pb = 70000Pa+ \frac{1}{2}*1000\ \frac{kg}{m^3}*((1.9m/s)^2 - (7.63m/s)^2) - 1000\frac{kg}{m^3}*9,81\frac{m}{s^2}*1.5m

Pb = 70000\ Pa-27303\ Pa - 14715\ Pa

Pb = 27,996\ Pa = 28\ kPa

6 0
3 years ago
Blocks A and B each have a mass m. Determine the largest horizontal force P which can be applied to B so that A will not move re
slava [35]

Answer:

The answer is "15 N".

Explanation:

Please find the complete question in the attached file.

In frame B:

For just slipping:

\to \frac{P}{2} \cos \theta =mg \sin \theta\\\\\to P=2 mg \tan \theta \\\\

        =2 \times 1 \times  g \times \tan 37^{\circ}\\\\ =2 \times 10 \times  \frac{3}{4}\\\\ =15 \ N

4 0
3 years ago
Other questions:
  • Some of the wiring under the hood of a hybrid electric vehicle is encased in bright orange covering. That indicates a
    11·1 answer
  • A tensile test on a 10 mm diameter specimen registered failure under a load of 32.6 kN. What force would be sufficient to break
    13·1 answer
  • Select all of the true statements.
    14·1 answer
  • You are asked by your college crew to estimate the skin friction drag in their eight-seat racing shell. The hull of the shell ma
    5·1 answer
  • A mixture of two gases has a total mass of 80 kg. One gas has a specific volume of 0.8 m^3/kg and occupies a volume of 40 m^3. T
    7·1 answer
  • Which substance(s) have no fixed shape and no fixed volume?
    5·2 answers
  • 3 mA are flowing through an 18 V circuit, how much resistance (in kΩ) is in that circuit?
    13·1 answer
  • What is shown in the above figure
    11·1 answer
  • Why are manhole covers round in most of the cases?
    7·1 answer
  • 1. a major reason for the projected shortage of trained craft professionals is
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!