Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 : Write the regular expression for fractional numbers in the scientific notation. In the scientific notation for fractional numbers: You can have only

Question 1: Write the regular expression for fractional numbers in the scientific notation. In the scientific notation for fractional numbers:
You can have only one or two digits before the decimal point and an optional minus sign before it.
You must have one or more digits after the decimal point
Then you will have the caret (??) character to indicate the starting of the exponent (that is power of 10) of the fraction.
The exponent that follows is an integer, that is, a sequence of one or more digits led by an optional minus sign.
For example: -1.02345???102 and 50.345???-23 are both valid fractional numbers in the scientific notation.
Question 2: convert the regular expression (d|) into an NFA then convert that NFA into a DFA.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions