cardiac_output - % co = cardiac output, the blood flow rate...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function co = cardiac_output(array) % CARDIAC_OUTPUT calculates blood flow rate from the heart. The function % depends on the maximum value of cardiac output, a scaling factor, the % minimum pressure at the right atrium, and the the actual pressure at the % right atrium. % % BEE 1510: Introduction to Computer Programming % Laboratory Exercise Number 05 % Timothy Lin % TA: Celina % % Record of Revisions: % Original Code: October 02, 2008 % Last Revision: % % Variable Dictionary: % array = array of [co_max, k, Prao, Pra]
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % co = cardiac output, the blood flow rate from the heart, liters/minute % co_max = maximum cardiac output, liters/minute % k = scaling parameter, mm Hg % Prao = minimum pressure at the right atrium resulting in flow, mm Hg % Pra = actual pressure at the right atrium, mm Hg % % Array values co_max = array(1); k = array(2); Prao = array(3); Pra = array(4); P %Calculate cardiac output co = co_max/(1 + ((k/(Pra - Prao))^2)); c end % function cardiac_output...
View Full Document

Ask a homework question - tutors are online