Comp Sci Is the DFA Solution for Regular Expressions Accurate?

shivajikobardan
Messages
637
Reaction score
54
Homework Statement
NDFA for (ba)* U (bab)*. Convert this to DFA.
Relevant Equations
none
1650118147393.png


but the solution site says otherwise-:
https://cyberzhg.github.io/toolbox/nfa2dfa

1650118207232.png

I feel correct mine also, but not sure. Check it please.
 
Physics news on Phys.org
Your DFA accepts is babba. But should it?
 
Thread 'Have I solved this structural engineering equation correctly?'
Hi all, I have a structural engineering book from 1979. I am trying to follow it as best as I can. I have come to a formula that calculates the rotations in radians at the rigid joint that requires an iterative procedure. This equation comes in the form of: $$ x_i = \frac {Q_ih_i + Q_{i+1}h_{i+1}}{4K} + \frac {C}{K}x_{i-1} + \frac {C}{K}x_{i+1} $$ Where: ## Q ## is the horizontal storey shear ## h ## is the storey height ## K = (6G_i + C_i + C_{i+1}) ## ## G = \frac {I_g}{h} ## ## C...

Similar threads

Replies
1
Views
6K
Replies
5
Views
2K
Replies
17
Views
3K
Replies
4
Views
2K
Replies
10
Views
2K
Back
Top