Gyroscopic Couple

Embed Size (px)

DESCRIPTION

Gyroscopic Couple Program

Citation preview

Program to find the gyroscopic couple acting on an aeroplane and its effect on it.#include#include#includevoid main(){float m,v,k,K,N,C,I,W,Wp,R;float pi=3.14;clrscr();printf(Enter Mass of the Plane in kg\n);scanf(%f,&m);printf(Enter linear velocity of the plane in km/hr\n );scanf(%f,&v);printf(Enter Radius of Gyration in metre \n);scanf(%f,&k);printf(Enter Radius of Curvature in metre \n);scanf(%f,&R);printf(Enter the number of revolutions made by the propeller \n);scanf(%f,&N);printf(Considering propeller rotates in anticlockwise direction, select the following and enter \n 1 if aeroplane takes a right turn\n 2 if aeroplane takes a left turn);scanf(%f,&K);I=m*sqr(k);printf(Moment of Inertia of Aeroplane=%fkg-sq.m \n:,I);W=(2*pi*N)/60;printf(Angular Velocity of Aeroplane=%frad/sec \n,W);v=(v*5)/18;Wp=v/R;printf(Angular Velocity of Precession=%frad/sec \n,Wp);C=(I*W*Wp)/1000;printf(The Gyroscopic Couple acting on the aeroplane=%f kNm\n,C);{If K==1printf(Effect of gyroscopic couple is to dip the nose and raise the tip of the aeroplane);else printf(Effect of the gyroscopic couple is to dip the tip and raise the nose of the aeroplane);}getch();}OUTPUT:Enter Mass of the Plane in kg500Enter linear velocity of the plane in km/hr400Enter Radius of Gyration in metre0.3Enter Radius of Curvature in metre100Enter the number of revolutions made by the propeller3000Considering propeller rotates in anticlockwise direction, select the following and enter1 if aeroplane takes a right turn2 if aeroplane takes a left turn2Moment of Inertia of Aeroplane=45 kg-sq.mAngular Velocity of Aeroplane=314.16rad/secAngular Velocity of Precession=1.11rad/secThe Gyroscopic Couple acting on the aeroplane=15.707 kNmEffect of the gyroscopic couple is to dip the tip and raise the nose of the aeroplaneEnter Mass of the Plane in kg400Enter linear velocity of the plane in km/hr200Enter Radius of Gyration in metre.4Enter Radius of Curvature in metre50Enter the number of revolutions made by the propeller2400Considering propeller rotates in anticlockwise direction, select the following and enter1 if aeroplane takes a right turn2 if aeroplane takes a left turn1Moment of Inertia of Aeroplane=64kg-sq.mAngular Velocity of Aeroplane=251.3216rad/secAngular Velocity of Precession=1.11rad/secThe Gyroscopic Couple acting on the aeroplane=17.87kNmEffect of gyroscopic couple is to dip the nose and raise the tip of the aeroplane