summaryrefslogtreecommitdiff
path: root/3808/CH1/EX1.5/Ex1_5.sce
blob: 60342f59f7ed2ec2c30aa30539bd77a8abd1193e (plain)
1
2
3
4
5
6
7
8
9
10
//Chapter 01: The Foundations: Logic and Proofs

clc;
clear;

p="Rebecca s PC has more than 16GB free hard disk space"
q="The processor in Rebecca s PC runs faster than 1GHz"
mprintf("Let p,q be two propositions")
mprintf("\nLet p=%s \n Let q=%s",p,q)
mprintf("\nConjunction of p^q is : %s and %s",p,q) //conjunction combines two propositons with "and"