blob: a5ad309e47d942d6128f45e88d8755552a14c1f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Example 4.1, Page 72
clc;
p1=poly([1, -3, 1], 'x', 'c')//Polynomial equation
disp('Part a')
disp('roots of the equation when slip at max torque')
x=roots(p1)
disp(x)
p2=poly([0.146, -1.719, 1], 'x', 'c')//polynomial equation in scilab function
y=roots(p2)
disp('Part b')
disp('roots of the equation when slip at max load')
disp(y)
|