summaryrefslogtreecommitdiff
path: root/564/CH5/EX5.12/5_12.sce
blob: daad7d644fda89a15ab4b55453a774f186fe4e00 (plain)
1
2
3
4
5
6
7
8
pathname=get_absolute_file_path('5_12.sce')
filename=pathname+filesep()+'5_12data.sci'
exec(filename)
v1= (L1/L0)*V(3);
v2= (L2/L0)*V(4);
v3= v1+v2;
theta=atan(v3/(D(9)-D(6)));
printf("\nθB: %f rad",theta);