User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 426,351 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,391 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2376 | Replies: 2
Reply
Join Date: Feb 2006
Posts: 1
Reputation: rajeshbv is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rajeshbv rajeshbv is offline Offline
Newbie Poster

Demorgans law problem in HTML AND JAVA SCRIPT

  #1  
Feb 14th, 2006
My question is:


** (De Morgans law) , De Morgans law can sometimes make it more convinient for us to express a logical ex-pression. These laws state that the ex-pression ! (condition 1 && condition 2) is logically equivalent to the ex-pression (!condition 1 || ! condition 2). Also the ex-pression !(condition 1 && condition 2) is equivalent to the ex-pression (!condition1 && !condition 2).Use De Morgans law to write equivalent ex-pressions for each of the following , and then write a program to show that the orginal ex-pression and the new ex-pression are equivalent in each case:


a) !(x<5) && !(y>=7)
b) !(a==b) || ! (g!=5)
c) !((x<=8) && (y>4))
d) !((i>4)|| (j<=6))


Can anyone post me the answer for this.

it will be real help for me .
thanks.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Demorgans law problem in HTML AND JAVA SCRIPT

  #2  
Feb 14th, 2006
Would it be correct to say that you are asking us to answer your homework?
Reply With Quote  
Join Date: Feb 2006
Posts: 49
Reputation: Esopo is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
Esopo Esopo is offline Offline
Light Poster

Re: Demorgans law problem in HTML AND JAVA SCRIPT

  #3  
Feb 14th, 2006
>>Would it be correct to say that you are asking us to answer your homework? <<
I think tha would be a fair assumption. Seems to me like the kind of request that gets students spelled very often.

That looks like a fun assignment though. It also looks like a full day of work.

Good luck.
Site admin at NetBulge.com, a place set out to improve the web 1 good article at a time :)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 12:03 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC