#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
float p,n,t;
cout<<Enter the Power transmitting by the shaft in kilowatt : ";
cin>>p;
cout<<Enter the speed of the shaft in revolutions per minute : ";
cin>>n;
t=(p*60)/(2*3.14*n);
cout<<"The Torque developed in shaft is : "<<t<<"\t"<<"KNm";
getch();
}
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
float p,n,t;
cout<<Enter the Power transmitting by the shaft in kilowatt : ";
cin>>p;
cout<<Enter the speed of the shaft in revolutions per minute : ";
cin>>n;
t=(p*60)/(2*3.14*n);
cout<<"The Torque developed in shaft is : "<<t<<"\t"<<"KNm";
getch();
}
Good
ReplyDelete