Skip to main content
1 vote
1 answer
79 views

I'm using this: (ma:ident(3),ma[1,1]:%i/2,ma[1,3]:sqrt(3)/2,ma[3,1]:sqrt(3)/2,ma[3,3]:-%i/2,ma); It gives a 3x3 matrix which I expect to be unitary. But when trying to test it by using is(ma,(unitary)...
user158293's user avatar
0 votes
1 answer
234 views

There are many examples of how to do anbm: m>=0 but not this. Right now I get that for every a there must be at least two b's marked off on the tape. What is stumping me even more is that m is ...
maya282's user avatar
-4 votes
1 answer
3k views

Also is regular expression possible for it? If yes, can someone show me both RE and NFA for this question? This is the NFA that I designed, but I am not really confident about my answer. NFA - ...
Yash's user avatar
  • 1
1 vote
1 answer
208 views

I've been dealing with problem 10 on Leetcode (Regular expression matching), where you are supposed to write a program that matches strings to a given regex.I wrote a solution in C that had passed 308 ...
madmaddmax's user avatar
-3 votes
1 answer
162 views

For my exercise I'm supposed to create two DFA's. The task specifically is: Construct a DFA over the alphabet Σ={1,0} accepting the following regular languages. a) An arbitrary long sequence of zeros ...
Auxelia's user avatar
  • 11
0 votes
1 answer
454 views

I'm trying to construct a DFA (binary only) that contains "11" or ends with "10". I tried to do the following: $q2$ and $q3$ are accepting states State 0 1 $q0$ $q0$ $q1$ $q1$ $q3$ ...
Salty Champ's user avatar
0 votes
1 answer
161 views

Hello I am learnign about finite automata and I want to see if these diagrams and my explanation make sense. {w ∈ Σ∗ | w contains the substring 1010} using five states There is the substring of 1010 ...
cool cat's user avatar
-1 votes
0 answers
97 views

I'm trying to concatenate the FAs for even-even and the language of words that contains at least one double a (aa). The transition table for the concatenation seems to be getting very long. I've ...
MUHAMMAD AWAIS's user avatar
3 votes
1 answer
1k views

Consider the language L = {w|w doesn't contain the substring 110} over the alphabet Σ = {0,1} Write the regular expression Currently I have the regular expression as 0*(10*10)*1* But the autograder ...
DaneShuler's user avatar
0 votes
1 answer
522 views

Find a finite automata that for the language L={0,1,2} with the following criteria: The word must contain "1002". The number of occurrences of 1 must be odd The number of occurrences of 2 ...
asaf meizner's user avatar
1 vote
1 answer
234 views

I have this finite automata (FA) and want to write its language. I think its L={x E {0,1} | {x with subset of 00 and ends in 1} and it would help to know what the type of FA it is. I think it's a DFA ...
cool cat's user avatar
2 votes
2 answers
231 views

So I am a newbie computer science person and would like some help from the community in helping me understand this subject. I have this regular language I am trying to determine is 3 things from this ...
cool cat's user avatar
0 votes
1 answer
230 views

Just learned about DPDA's on my Theory of computation class. Professor gave us a semester task to create a deterministic pushdown automaton state diagram that is able to accept all strings multiples ...
Santiago Lemus Vallejo's user avatar
0 votes
1 answer
619 views

The DFA for even numbers of and b is this DFA for even numbers of a and b but the DFA of even and equal number of a and b is not available L={\epsilon,aabb,abab,baba,bbaa,aaaabbbb,aabbaabb,bbaabbaa,...
SOURAV's user avatar
  • 1
1 vote
1 answer
195 views

Convert the given Moore Machine into Mealy machine I'm currently working on converting a Moore Machine into a Mealy machine, and I'm uncertain about the correctness of my solution. I would greatly ...
Muhammad Hamad's user avatar

15 30 50 per page
1
2 3 4 5
40