Answer:
The given grammar is :
S = T V ;
V = C X
X = , V | ε
T = float | double
C = z | w
1.
Nullable variables are the variables which generate ε ( epsilon ) after one or more steps.
From the given grammar,
Nullable variable is X as it generates ε ( epsilon ) in the production rule : X -> ε.
No other variables generate variable X or ε.
So, only variable X is nullable.
2.
First of nullable variable X is First (X ) = , and ε (epsilon).
L.H.S.
The first of other varibles are :
First (S) = {float, double }
First (T) = {float, double }
First (V) = {z, w}
First (C) = {z, w}
R.H.S.
First (T V ; ) = {float, double }
First ( C X ) = {z, w}
First (, V) = ,
First ( ε ) = ε
First (float) = float
First (double) = double
First (z) = z
First (w) = w
3.
Follow of nullable variable X is Follow (V).
Follow (S) = $
Follow (T) = {z, w}
Follow (V) = ;
Follow (X) = Follow (V) = ;
Follow (C) = , and ;
Explanation:
Answer:
a)
b)
Explanation:
Given that:
diameter d = 12 in
thickness t = 0.25 in
the radius = d/2 = 12 / 2 = 6 in
r/t = 6/0.25 = 24
24 > 10
Using the thin wall cylinder formula;
The valve A is opened and the flowing water has a pressure P of 200 psi.
So;
b)The valve A is closed and the water pressure P is 250 psi.
where P = 250 psi
The free flow body diagram showing the state of stress on a volume element located on the wall at point B is attached in the diagram below
Answer:
a) the power consumption of the LEDs is 0.25 watt
b) the LEDs drew 0.0555 Amp current
Explanation:
Given the data in the question;
Three AAA Batteries;
<---- 1000mAh [ + -] 1.5 v ------1000mAh [ + -] 1.5 v --------1000mAh [ + -] 1.5 v------
so V_total = 3 × 1.5 = 4.5V
a) the power consumption of the LEDs
I_battery = 1000 mAh / 18hrs { for 18 hrs}
I_battery = 1/18 Amp { delivery by battery}
so consumption by led = I × V_total
we substitute
⇒ 1/18 × 4.5
P = 0.25 watt
Therefore the power consumption of the LEDs is 0.25 watt
b) How much current do the LEDs draw
I_Draw = I_battery = 1/18 Amp = 0.0555 Amp
Therefore the LEDs drew 0.0555 Amp current
Answer:
A charge q1=7.0mc is located at the origin and a second charge q2=-5.0mc is located on the x axis, 0.3m the origin find the electric field at the point p which he's coordinates (0,0.40)m
Answer:
The correct answer is option 'a': Black
Explanation:
As we know that for an object which is black in color it absorbs all the electromagnetic radiation's that are incident on it. Thus if we need to transfer energy to an object by radiation the most suitable color for the process is black.
In contrast to black color white color is an excellent reflector, reflecting all the incident radiation that may be incident on it hence is the least suitable material for radiative heat transfer.