



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Prof. Uddhar Negi gave this assignment for Advanced Unified Engineering course at Allahabad University. It includes: Fluid, Problem, Linked, Lists, Algorithm, Insert, Node, Implement, Data, Field, Path, Sequence, Operations
Typology: Exercises
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Unified Engineering Spring 2004 Fluids Problems F
F20. A small jet engine is to operate in a test facility which consists of a large air reservoir, exhausting through a duct of area A holding the engine. A throat of area At is behind the engine.
a) The engine is to be tested at M = 0.6. What must be the ratio At/A so that this test Mach number is achieved even if pe is near vacuum? Will this test Mach number change as the tank gradually empties?
b) If pr = 5 × 105 Pa and Tr = 300K�, what is the minimum pe needed to ensure proper operation at M = 0. 6 in a) above?
c) The throat is now set at At = 0. 9 A, and we still have pr = 5 × 105 Pa and Tr = 300K�^. What must pe be set to so that a normal shock appears in the straight section downstream of the throat? What is the static temperature just behind the shock?
large reservoir
The problems in this problem set cover lectures C2, C3, and C4.
Part a. Write an algorithm to check if a user entered string is a palindrome.
Assume: i. Maximum string length is 80 characters ii. The actual string length is input dependent
Part b. Implement your algorithm as an Ada95 program.
Turn in a hard copy of your algorithm and code listing; and an electronic copy of your code.
a. If the line of text is a palindrome, store it in the output file. b. If it is not a palindrome, reverse the line of text and store the reversed line of text in the output file. c. Repeat the above steps until there are no more inputs to be processed from the input file.
Assume: i. Input file name is my_program_input.txt ii. Output file name is my_program_output.txt
Turn in a hard copy of your algorithm and code listing and an electronic copy of your code.
a. Compare and contrast stacks and queues.
Hint: Summarize the operations on stacks and queues using a table and use a diagram to show the difference between basic operations.
b. Modify the expression conversion algorithm shown in class to include unary operators.
Hint: i. Unary operators operate on only one argument. -5, +9 etc ii. How do you distinguish between a unary and binary operator? (Think about the number of arguments)
Unified Engineering II Spring 2004
Problem S1 (Signals and Systems)