Question: 3.10 For floating point numbers in scientific notation, give: (a) a right regular grammar; (b) a regular expression; (c) a DFSA. Give examples of numbers
3.10
For floating point numbers in scientific notation, give:
(a) a right regular grammar;
(b) a regular expression;
(c) a DFSA. Give examples of numbers that are legal and illegal.
scientific notation: 3.15e22 is 3.15 * 10^22 1.234e-15 is 1.234*10^-15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
