20 m3 of air per second at 1bar and 15 oC is compressed in a centrifugal compressor through a
pressure ratio 1.5: 1. The compression follows the law PV1.5 = constant. The velocity of flow at inlet
and outlet remains constant and is equal to 60 m/sec. If the inlet and outlet impeller diameters are
respectively 0.6 m and 1.2 m and speed of rotation is 5000rpm. Find
i. The blade angles at inlet and outlet of the impeller, and the angles at which the air from the
impeller enters the casing
ii. Breadth of the impeller blade at inlet and outlet. It may be assumed no diffuser blade at inlet
and outlet. It may be assumed no diffuser is fitted and the whole pressure increase occurs in
the impeller and that the blades have a negligible thickness
Answers
Answer:
To understand this example, you should have the knowledge of the following C programming topics:
C Programming Operators
C while and do...while Loop
Reverse an Integer
#include <stdio.h>
int main() {
int n, rev = 0, remainder;
printf("Enter an integer: ");
scanf("%d", &n);
while (n != 0) {
remainder = n % 10;
rev = rev * 10 + remainder;
n /= 10;
}
printf("Reversed number = %d", rev);
return 0;
}
Output
Enter an integer: 2345
Reversed number = 5432
This program takes an integer input from the user. Then the while loop is used until n != 0 is false (0).
In each iteration of the loop, the remainder when n is divided by 10 is calculated and the value of n is reduced by 10 times.
Inside the loop, the reversed number is computed using:
rev = rev*10 + remainder;
Share on:
Was this article helpful?
Related Examples
C Example
Compute Quotient and Remainder
C Example
Check Whether a Number is Palindrome or Not
C Example
Check Armstrong Number
C Example
Count Number of Digits in an Integer
Join our newsletter for the latest updates.
Enter Email Address*
Join
Tutorials
Python 3 Tutorial
JavaScript Tutorial
C Tutorial
Java Tutorial
Kotlin Tutorial
C++ Tutorial
Swift Tutorial
C# Tutorial
DSA Tutorial
Examples
Python Examples
JavaScript Examples
C Examples
Java Examples
Kotlin Examples
C++ Examples
Company
About
Advertising
Privacy Policy
Terms & Conditions
Contact
Blog
Youtube
Apps
Learn Python
Learn C Programming
© Parewa Labs Pvt. Ltd. All rights reserved.
Explanation:
I hope it will help you
Mark me a brain list please
vbkvgbhbbjbbj kbbk kbhh knby hnbkbjbn nnnnnnnhhhhhjbhjhjiijj