The inertia of a prosthetic leg needs to be measured Data an

The inertia of a prosthetic leg needs to be measured. [Data and photo from Smith, J. D. prosthesis inertia on the mechanics and energetics of amputee locomotion Ph.D. thesis. Pennsylvania State University.] Find the equivalent stiffness of the frame-plus-leg. The set-up consists of a swinging fame of mass 1.85 kg connected to a prosthetic leg of mass 4.00 kg. The distance from the oscillation axis to the frame-plus-leg center of mass is 0.31 m. Find the mass moment of inertia of the frame-plus-leg about the oscillation axis. When the leg plus frame is gently swung, its period of oscillation is 1.22 sec. Find the mass moment of inertia of the leg about the leg\'s center of mass. The inertia of the leg about the oscillation axis is I_l, o = I_t, o - I_f, o where I_t, o is the inertia of the frame-plus-leg about fro I_f, o = 0.40 kg.m^2 is the inertia of the frame about the oscillation axis. The oscillation axis and I distance from the oscillation axis to the leg center of mass is 0.19 m.

Solution

Console.ReadLine() will give the input in string form. In order to convert it into integer form, we need to use Convert.ToInt32(). Therefore, answer of Q1 and Q2 will be like:

Q1.) int x = Convert.ToInt32(Console.ReadLine());

Q2.) int numBoxes = Convert.ToInt32(Console.ReadLine());

To output, we need to use Console.WriteLine(). Therefore answer to Q3. will be

Q3.) Console.WriteLine(\"A:{0}, B:{1}\",A,B);

So, if values of A and B are 1 and 2, respectively. Then output will be like:

A:1, B:2

Q4.) string mySchool = Console.ReadLine();

Q5.)

Code:

using System;

public class Test
{
   public static void Main()
   {
       // your code goes here
       double X = Convert.ToDouble(Console.ReadLine());
       double Y = Convert.ToDouble(Console.ReadLine());
       Console.WriteLine(X*Y*2.5);
   }
}

Input:

1

3

Output:

7.5

Link of code:

http://ideone.com/dCRijj

Hope it helps, do give your response.

 The inertia of a prosthetic leg needs to be measured. [Data and photo from Smith, J. D. prosthesis inertia on the mechanics and energetics of amputee locomotio

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site