summaryrefslogtreecommitdiff
path: root/620/CH25/EX25.3/example25_3.sce
blob: 7fc57c686154a64bac5a040053290912456c13e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
a=7.5;
deg_a=53;
b=3;
deg_b=12;
c=5;
deg_c=-60;
disp("Part a");
disp("in polar form A X B has a magnitude of "); disp(a*b);
disp("with a phase angle (in degrees) of"); disp(deg_a+deg_b);
disp("Part b");
disp("in polar form A ÷ B has a magnitude of"); disp(a/b);
disp("with a phase angle (in degrees) of"); disp(deg_a-deg_b);
disp("Part c");
disp("in polar form A X C has a magnitude of"); disp(a*c);
disp("with a phase angle (in degrees) of"); disp(deg_a+deg_c);
disp("Part d");
disp("in polar form A ÷ C has a magnitude of"); disp(a/c);
disp("with a phase angle (in degrees) of"); disp(deg_a-deg_c);
disp("Part e");
disp("in polar form C ÷ B has a magnitude of"); disp(c/b);
disp("with a phase angle (in degrees) of"); disp(deg_c-deg_b);