Question. Name the law given and verify it using a truth table. X+ X’.Y=X+Y My Answewr give below X | Y | X’ | X’.Y | X+X’.Y | X+Y 0 | 0 | 1 | 0 | 0 | 0 0 | 1 | 1 | 1 | 1 | 1 1 | 0 | 0 | 0 | 1 | 1 1 | 1 | 0 | 0 | 1 | 1 Prove algebraically that X + X’Y = X + Y. L.H.S. = X + X’Y = X.1 + X’Y (X . 1 = X property of 0 … |
+0 forum
1 | ||

Hello everyone, I'm an amateur programmer, and I am working on a program to help me practice my mental math. The essence of this program is that the user inputs an expression which will be the form of each question. Their goal is to solve those expressions as fast as they can. For example, let's say I input a quadratic formula of (ax^2 + bx + c). My program will then read each variable in the equation, and allow the user to specify minimum and maximum values for each variable, as well as the increments. From this, it will randomly … |
+0 forum
2 | ||

I have introduced an algebra for a new memory model. Now I need to implement this using Java. Basic step of my program is: Once we need to execute an application program (exe file), My program should accept that and classify it according to its functioning. do you have any suggetions for this in java code? |
+0 forum
10 | ||

Here is a small--complete--program that includes a sub-routine that inputs two matrices and then multiplies them. Notes: * 1) I happen to like taking input from a text file. It eliminates the need to type input from the console, especially when debugging, it prevents the possibility of making typos. * 2) The sub-routine includes several checks to make sure the array sizes are correct. These checks are not necessary for this particular program, but the checks were added in case the sub-routine is ever copied and used somewhere other than this program. * 3) To make the code more concise, … |
+3 forum
4 | ||

Here is my first Code Snippet contribution: a C++ sub-routine that computes the roots of a quadratic equation. Notes: * This sub-routine checks if a = 0. * IF a = 0, then the equation is actually not a quadratic equation; it is a linear equation with one--if any--root. * IF the user misses the output statement alerting the user to this fact, the second root has been explicitly assigend a NaN value so that the result is not mistaken for a number. |
+1 forum
10 | ||

Hi. Can you help me how to balance a chemical equation using linear algebra. I know how to do it on a piece of paper using the usual method of balancing. I just don't get the principle how to do it on the other method. Please give me a step by step procedure on how to do it, the basic ones. This is how far I have gone. Ex: Fe + Cl2 = FeCl3 Set a variable for each [A]Fe + [B] Cl2 = [C] FeCl3 Count the number of coefficients Fe: A = C Cl: 2B = 3C And … |
+0 forum
2 | ||

Hi, working on a project at the moment and the question is "List the full name and age of all directors. For those who are still alive, list their current age (as of 2011), otherwise list how old they were when they died". We are required to translate this to Tutorial D. Through trial and error, we have learnt that we are required to use the EXTEND function and the following code is all we can get to work: ((Extend a2.Director ADD (2011-Year_Born AS Age) WHERE Year_Died <>0 OR Year_Died=0)) { Firstnames, Surname, Age) The above statement returns the first … |
+0 forum
1 | ||

3. Consider the Boolean expression F(A,B,C) = ABC + A'C' + A'B'. (a) Using the laws of Boolean algebra, derive an expression that uses only AND and NOT operators. (b) Using the laws of Boolean algebra, derive an expression that uses only OR and NOT operators. First, I am sorry for my poor grammar. :'( I have tried every laws I could find and still couldn't solve it, heres 1 example of what I have done: ABC + A'C' + A'B' = ABC + A'C'(B + B') + A'B'(C+C') = ABC + A'C'B + A'B'C' + A'B'C + A'B'C' = … |
+0 forum
10 | ||

Alright, so I've spent countless hours on this code and I need a fresh pair of eyes to give it a glance... This is my third assignment for my datastructures class, where I am to write code that turns a fully parenthesized expression (such as "((3+2)/(3-8))") into aan "arithemtic expression tree", where the internal nodes are operators and the external nodes are operands. The following function that I have written contains a logic error somewhere I suppose, because it simply crashes when I call it. My approach uses recursion, and the function contains parameters to pass the expression (in string … |
+0 forum
3 | ||

I'm looking for C++ libraries to manipulate real and/or rational polynomials. Does someone know such a library ? |
+0 forum
0 |

The End.