Contents

Script File for Ch3 problem #7

% Created on October 1, 2007.
% File Belt_Forces.m: Evaluates the belt force exerted on one side of
% a cyclinder in relation to the other side.

% Imput variables:
% F_2 = force of belt on one side of cylinder, in (N)
% u = friction coefficient, unitless
% b = angle of wrap of the belt, in (degrees)

% Output variables:
% F_1 = force of the belt on the other side of cylinder

Imput section

F_2 = input('Value of force on one side of cylinder: ')
u = input('Value of friction coeficient: ')
b = input('The angle that the belt is wrapped around the cylinder: ')
Error using ==> input
Cannot call INPUT from EVALC.

Calculation section

b = b*(pi/180)
F_1 = F_2*exp(u*b)

Output section

disp('Force on the other side of the belt is ')
disp(F_1)