From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3831/CH17/EX17.7/Ex17_7.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 3831/CH17/EX17.7/Ex17_7.sce (limited to '3831/CH17/EX17.7/Ex17_7.sce') diff --git a/3831/CH17/EX17.7/Ex17_7.sce b/3831/CH17/EX17.7/Ex17_7.sce new file mode 100644 index 000000000..ffe32aff4 --- /dev/null +++ b/3831/CH17/EX17.7/Ex17_7.sce @@ -0,0 +1,15 @@ +// Example 17_7 +clc;funcprot(0); +// Given data +m_m=0.0300;// kg +m_h=70.0;// kg +m_e=4000;// kg + +// Calculation +Hr_m=241*(m_m^(-0.25));// Beats/min +Hr_h=241*(m_h^(-0.25));// Beats/min +Hr_e=241*(m_e^(-0.25));// Beats/min +Br_m=54*(m_m^(-0.25));// Beats/min +Br_h=54*(m_h^(-0.25));// Beats/min +Br_e=54*(m_e^(-0.25));// Beats/min +printf("\nThe heartbeat rates of the mouse, human, and elephant are\n(Heartbeat rate)_mouse=%3.0f Beats/min \n(Heartbeat rate)_house=%2.1f Beats/min \n(Heartbeat rate)_elephant=%2.1f Beats/min \nThe breathing rates of the mouse, human, and elephant are \n(Breathing rate)_mouse=%3.0f Breaths/min \n(Breathing rate)_human=%2.1f Breaths/min \n(Breathing rate)_elephant=%1.2f Breaths/min",Hr_m,Hr_h,Hr_e,Br_m,Br_h,Br_e); -- cgit