upc eetac_1

Project P1 tutorial on using WolframAlpha to analyse simple circuits

P1


Computer simulation based in SPICE algorithms 

1. Specifications

The aim is to obtain a circuit's truth table directly from the Boolean algebraic equation

1) The circuit and its algebraic equivalent equation

circuit

 

equation

block circuit
f = g(A, B, C, D)= ( (A + B)·C’·(A·D)’ )’

2. Solution

1)  WolframAlpha. A new and powerful computing tool available in the Internet from Wolfram Research.

2) Write the equations into WolframAlpha and run the software to obtain the truth table:

WolframAlpha

3) Computer's result:

truth talbe

4) Sometimes, depending on the variables order and names, you have to reinterpret the table to extract the minterms and maxterms (Circuit 1A and Circuit 1B class notes. The set of equations to be used with WolframAlpha: Circuit 1A  and the Circuit 1B)

 

5) Additionally, you may obtain the circuit representation:

circuit

Circuit

Other similar projects

- Another example on how to use WolframAlpha to solve a truth table.

Other applications

- And sure, you can use WolframAlpha to calculate anything you like, for instance, y(x) = 5sin2(x4) ; The first derivative y'(x) = dy/dx = >  

Formula

Function

- And for instance:  integrate ( sqr (4-x^2) (x^3 cos(x/2) + 1/2 ) )dx from -2 to 2

  Password

result