Ann earns 8 50h and she is paid an additional 50 for any tim
     Ann earns $8 50/h and she is paid an additional 50% for any time exceeding the first 35 hours weekly. Write a program of how much she would earn if she worked 43 h/week.  In a given organization, four out of seven workers are men. How many women work for the organization if it employs 580 men? 
  
  Solution
V) MATLAB CODE
clc
 clear
 s=tf(\'s\');
 % V
 % Earning per hour
 Ann = 8.50;
 % No.of hours need to work in week
 N = 35;
 % Extra incomed earned for extra hours
 Ex = 0.5*8.50;
 % Extra hours per week
 ExT = 43-35;
 % Income earned per week by Ann
 disp(\'Income earned per week by Ann in $\')
 IN = Ann*N + (Ann+Ex)*ExT
VI) MATLAB CODE
OUTPUT :-
Income earned per week by Ann in $
IN =
399.5000
% VI
 % Total worker is X
 % No.of men workers
 M = 580;
 % Ratio of men to Total
 % X = 4M + 3W; M/X = 4/7
 MT = 4/7;
 % Total workers
 X = 7*M/4;
 % No.of women workers
 disp(\'No.of women workers\')
 W = (3/7)*X
OUTPUT :-
No.of women workers
W =
435

