summaryrefslogtreecommitdiff
path: root/52/CH7/EX7.2/Example7_2.sce
blob: 642fa9faaa5d0eb49df008127f6894faa19302f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 7.2
//To Compute Subtraction
//(a) 0.25 from 0.5
clear;
clc ;
close ;
a=0.5;
b=0.25;
c=a-b;
disp(c,'=',b,'-',a,'PART 1');
//(a) 0.5 from 0.25
d=b-a;
disp(d,'=',a,'-',b,'PART 2');