tag:blogger.com,1999:blog-74972963715790352442018-03-05T23:20:38.906-08:00metaBetametaBeta is a group consist of student,course discrete structure(TMK3110) lectured by Prof Yaziddiscrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-7497296371579035244.post-51974761223742761552008-03-12T07:08:00.001-07:002008-03-12T07:08:42.745-07:00Al-KhawarizmiMuḥammad ibn Mūsā al-Khwārizmī was a Persian[1] Islamic mathematician, astronomer, astrologer and geographer. He was born around 780 in Khwārizm[2] (now Khiva, Uzbekistan) and died around 850. He worked most of his life as a scholar in the House of Wisdom in Baghdad.<br /><br />His Algebra was the first book on the systematic solution of linear and quadratic equations. Consequently he is considered to be the father of algebra,[3] a title he shares with Diophantus. Latin translations of his Arithmetic, on the Indian numerals, introduced the decimal positional number system to the Western world in the 12th century.[4] He revised and updated Ptolemy's Geography as well as writing several works on astronomy and astrology.<br /><br />His contributions not only made a great impact on mathematics, but on language as well. The word algebra is derived from al-jabr, one of the two operations used to solve quadratic equations, as described in his book. The words algorism and algorithm stem from Algoritmi, the Latinization of his name.[5] His name is also the origin of the Spanish word guarismo[6] and of the Portuguese word algarismo, both meaning digit.discrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.com0tag:blogger.com,1999:blog-7497296371579035244.post-56699551320732052722008-03-12T07:05:00.000-07:002008-03-12T07:07:30.784-07:00meaning optimization problemIn mathematics and computer science, an optimization problem is the problem of finding the best solution from all feasible solutions.discrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.com0tag:blogger.com,1999:blog-7497296371579035244.post-25261657550279717102008-01-23T22:21:00.000-08:002008-01-26T22:54:03.859-08:00Assignment 3<span style="font-weight:bold;">LOGIC</span><br /><br />-What is proporsition<br />Sentences considered in propositional logic are not arbitrary sentences but are the ones that are either true or false, but not both.<br /><br /><br />-What is truth table<br />This relationship of the value of a proposition and those of its constituent variables can be represented by a table. It tabulates the value of a proposition for all possible values of its variables and it is called a truth table.<br /><br />-What is logical connectives<br />NOT, AND, OR, IMPLIES, IF AND ONLY IF<br /><br />-What is variable<br />A symbolic representation used to denote a quantity or expression. In mathematics, a variable often represents an "unknown" quantity that has the potential to change.discrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.com0tag:blogger.com,1999:blog-7497296371579035244.post-6990965181750232652008-01-17T00:41:00.001-08:002008-01-17T00:41:36.959-08:00coding for calculating gpaimport javax.swing.*;<br />public class Calculator{ <br />public static void main (String [] args) <br />{ String gred, ulang, input; <br />int count, kredit;<br />double points, point1, point2, totalkredits, GPA, totalPoints; <br />do <br />{ <br />gred = JOptionPane.showInputDialog( "Enter your letter grade" ); <br />points = 0.00;<br />totalPoints = 0.00;<br />totalkredits = 0.00;<br />do { <br />input = JOptionPane.showInputDialog( "Enter your number of kredits? 1-6" );<br />kredit = Integer.parseInt( input );<br />if ((kredit<1)>6)) { <br />JOptionPane.showMessageDialog( null, "-----------------------------------------------------------------\nERROR\n\n----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----\nYOU MUST ENTER A NUMBER FROM 1 TO 6"); } }<br />while ((kredit<1)>6));<br />{ if (gred.equalsIgnoreCase("A")) <br />points = 4.00 * kredit; <br />} { if (gred.equalsIgnoreCase("A-"))<br />points = 3.75 * kredit;<br />} { if (gred.equalsIgnoreCase("B+"))<br />points = 3.50* kredit;<br />}{ if (gred.equalsIgnoreCase("B"))<br />points = 3.00 * kredit; <br />}{ if (gred.equalsIgnoreCase("B-"))<br />points = 2.75 * kredit; <br />}{ if (gred.equalsIgnoreCase("C+"))<br />points = 2.50 * kredit;<br />}{ if (gred.equalsIgnoreCase("C"))<br />points = 2.00 * kredit;<br />}{ if (gred.equalsIgnoreCase("C-"))<br />points = 1.75 * kredit; <br />} { if (gred.equalsIgnoreCase("D"))<br />points = 1.00 * kredit; <br />}{ if (gred.equalsIgnoreCase("F"))<br />points = 0.00 * kredit; <br />} totalPoints += points;<br />totalkredits += kredit;<br />ulang = JOptionPane.showInputDialog("Would you like to enter another class grade? Yes or NO"); }while (ulang.equalsIgnoreCase("YES"));<br />if (ulang.equalsIgnoreCase("NO")) { <br />GPA = totalPoints/totalkredits;<br />JOptionPane.showMessageDialog( null, (" You have a GPA of " + GPA));<br />System.exit(0); }<br />} }discrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.com0tag:blogger.com,1999:blog-7497296371579035244.post-91373123829913733252008-01-16T05:32:00.000-08:002008-01-16T05:40:14.312-08:00assignment-What is Discrete?<br />Word discrete comes from the 15th Century Latin word discretus which means separate <br /><br />-What is Structures?<br />Structure is a fundamental and sometimes intangible notion covering the recognition, observation, nature, and stability of patterns and relationships of entities. <br /><br />-What is Discrete Structures (DS)?<br />Discrete Structures: “The abstract mathematical structures used to represent discrete objects and relationships between these objects<br /><br />-Why is DS important?<br />These structures form the conceptual basis for many of the data structures that we use as programmers. To use ds as abstract models for use in solving problems and developing algorithms.<br /> <br />-How do we apply DS? <br />Discrete structures include sets, permutations, relations, trees, graphs and finite-state machinesdiscrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.com0tag:blogger.com,1999:blog-7497296371579035244.post-46944565840966851922008-01-15T21:02:00.000-08:002008-01-15T21:03:56.781-08:00Assignment 2Assignment 2<br /><br />We assume :<br />-have computers = 221 = C<br />-have programming books = 159 = B<br />-have both = 87 = T<br /><br />Answers :<br /><br />c + 87 = 221<br />c = 221-87 = 134<br /><br />B + 87 = 159<br />B = 159-87 = 72<br /><br />T = C + B +87<br />T = 134 + 72 + 87<br />T = 293<br /><br />Find percentage (%) of student who :<br /><br />a) have at least one computers and programming books<br />= C + B<br />= ((C/293) * 100) + ((B/293) * 100)<br />= ((134/293) * 100) + ((72/293) * 100)<br />= 45.73% + 24.57%<br />= 70.3%<br /><br />b) have only computers<br />=((134/293) * 100)<br />=45.73%<br /><br />c) have only programming books<br />=((72/293) * 100)<br />=24.57%<br /><br />d) have both computers and programming books<br />have both we assume as T<br />T = 293<br />T/100 = 293/100<br />T = 29.3discrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.com1tag:blogger.com,1999:blog-7497296371579035244.post-43968527460139735802008-01-14T01:04:00.000-08:002008-01-15T21:05:03.272-08:00Link to Toida Web PAge<a href= "http://www.cs.odu.edu/~toida">toida web page</a>discrete personhttp://www.blogger.com/profile/10533058617607748641noreply@blogger.com0