%% Function name % densitycomposite %% Revised: % 28 January 2014 %% Author % Willie Valentin, Trey Moore, & Autar Kaw % Section: All % Semester: Fall 2013 %% Purpose % Given the density of a fiber and matrix, as well as the fiber % volume fraction, output the density of the composite %% Usage % function [rhoc] = densitycomposite(rhof,rhom,Vf) % Input variables % rhof=density of fiber % rhom=density of matrix % Vf=fiber volume fraction % Output variables % rohc=density of composite % Keywords % density %% License Agreement % http://www.eng.usf.edu/~kaw/OCW/composites/license/limiteduse.pdf %% Code function [rhoc]=densitycomposite(rhof,rhom,Vf) % Density of composite rhoc=rhof*Vf+rhom*(1-Vf); end