Answer:
a)
, b)
, c) 
Explanation:
a) The deceleration experimented by the commuter train in the first 2.5 miles is:
![a=\frac{[(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}-[(50\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}}{2\cdot (2.5\,mi)\cdot (\frac{5280\,ft}{1\,mi} )}](https://tex.z-dn.net/?f=a%3D%5Cfrac%7B%5B%2815%5C%2C%5Cfrac%7Bmi%7D%7Bh%7D%20%29%5Ccdot%20%28%5Cfrac%7B5280%5C%2Cft%7D%7B1%5C%2Cmi%7D%20%29%5Ccdot%20%28%5Cfrac%7B1%5C%2Ch%7D%7B3600%5C%2Cs%7D%20%29%5D%5E%7B2%7D-%5B%2850%5C%2C%5Cfrac%7Bmi%7D%7Bh%7D%20%29%5Ccdot%20%28%5Cfrac%7B5280%5C%2Cft%7D%7B1%5C%2Cmi%7D%20%29%5Ccdot%20%28%5Cfrac%7B1%5C%2Ch%7D%7B3600%5C%2Cs%7D%20%29%5D%5E%7B2%7D%7D%7B2%5Ccdot%20%282.5%5C%2Cmi%29%5Ccdot%20%28%5Cfrac%7B5280%5C%2Cft%7D%7B1%5C%2Cmi%7D%20%29%7D)

The time required to travel is:


b) The commuter train must stop when it reaches the station to receive passengers. Hence, speed of train must be
.
c) The final constant deceleration is:


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