Answer:
Explanation gives the answer
Explanation:
% Using MATLAB,
% Matlab file : fieldtovar.m
function varargout = fieldtovar(S)
% function that accepts single structure as input, assigning each
% of the field values to user-defined variables
fields = fieldnames(S); % get the field names of the input structure
% check if number of user-defined variables and number of fields in
% structure are equal
if nargout == length(fields)
% if equal assign each value of structure to user-defined varable
for i=1:nargout
varargout{i} = getfield(S,fields{i});
end
else
% if not equal display an error message
error('The number of output variables does not equal the number of fields');
end
end
%This brings an end to the program
Answer:
a) 23.551 hp
b) 516.89 hp
Explanation:
<u>given:</u>

<u>required:</u>
the power in hp
<u>solution:</u>
.............(1)
by substituting in the equation (1)
=353.27 lbf
..........(2)
by substituting in the equation (2)
= 2769.29 lbf
power is defined by
P=F.V
353.27*36.67
=12954.411 lbf.ft/s
=12954.411*.001818
=23.551 hp
2769.29*102.67
= 284323 lbf.ft/s
= 284323*.001818
= 516.89 hp
Scuze , am incercat , dat chiar nu stiu. Prefer sa nu raspund si sa scriu asta decat sa raspund gresit.❤️