The mechanical power output P in a contracting muscle is given by P = Tv = kvTo ( 1 น max V k+ V. max where T is the muscle tension, v is the shortening velocity (max of vmax), To is the isometric tension (i.e., tension at zero velocity), and k is a non-dimen- sional constant that ranges between 0.15 and 0.25 for most muscles. The equa- tion can be written in non-dimensional form: p = ku(1-u) k+u where p = (Tv)/(Tovmax), and u = v/vmax· A figure with k = 0.25 is shown here. (a) Create a vector u ranging from 0 to 1 with increments of 0.05. (b) Using k = 0.25, calculate the value of p for each value of u. 0.1 0.08 0.06 0.04 0.02 0 0 0.2 0.4 0.6 0.8 1 u (c) Using MATLAB built-in function max, find the maximum value of p. (d) Repeat the first three steps with increments of 0.01 and calculate the × 100. percent relative error, defined by E Pmax0.01 Pmax0.05 = P max 0.05
The mechanical power output P in a contracting muscle is given by P = Tv = kvTo ( 1 น max V k+ V. max where T is the muscle tension, v is the shortening velocity (max of vmax), To is the isometric tension (i.e., tension at zero velocity), and k is a non-dimen- sional constant that ranges between 0.15 and 0.25 for most muscles. The equa- tion can be written in non-dimensional form: p = ku(1-u) k+u where p = (Tv)/(Tovmax), and u = v/vmax· A figure with k = 0.25 is shown here. (a) Create a vector u ranging from 0 to 1 with increments of 0.05. (b) Using k = 0.25, calculate the value of p for each value of u. 0.1 0.08 0.06 0.04 0.02 0 0 0.2 0.4 0.6 0.8 1 u (c) Using MATLAB built-in function max, find the maximum value of p. (d) Repeat the first three steps with increments of 0.01 and calculate the × 100. percent relative error, defined by E Pmax0.01 Pmax0.05 = P max 0.05
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.5: Case Studies
Problem 15E
Related questions
Question
Solve the following using Matlab.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr