ENGR 3300: Fluid Mechanics, Fall 2015 Assignment 3 Due: Friday, Oct. 2, 2015 Topics: Chapter 3 & 4 Solutions must be neatly written and must include the following steps (if applicable) to receive full credit. 1. Given: List all known parameters in the problem. 2. Find: List what parameters the problem is asking you to find. 3. Solution: List all equations needed to solve the problem, and show all your work. Draw any necessary sketches or free body diagrams. Circle or box your final answer, and make sure to include appropriate units in your final answer. Grading: 15 total points (10 points for completeness + 5 points for one randomly chosen problem graded for correctness) 1. Water flows at a steady rate up a vertical pipe and out a nozzle into open air. The pipe diameter is 1 inch and the nozzle diameter is 0.5 inches. (a) Determine the minimum pressure that would be required at section 1 (shown in the figure below) to produce a fluid velocity of 30 ft/s at the nozzle (section 2). (b) If the pipe was inverted, determine the minimum pressure that would be required at section 1 to maintain the 30 ft/s velocity at the nozzle. 2. Water flows from a large tank through a small pipe with a diameter of 5 cm. A mercury manometer is placed along the pipe. Assuming the flow is frictionless, (a) estimate the velocity of the water in the pipe and (b) determine the rate of discharge (i.e. volumetric flow rate) from the tank. 3. An engineer is designing a suit for a race car driver and wants to supply cooling air to the suit from an air inlet on the body of the race car. The air speed at the inlet location must be 65 mph when the race car is traveling at 230 mph. Under these conditions, what would be the static pressure at the proposed inlet location? 4. Air flows downward toward a horizontal flat plate. The velocity field is given by ? = (??! − ??!)(2 + cos ??) where a = 5 s-1, ω = 2π s-1, and x and y (measured in meters) are horizontal and vertically upward, respectively, and t is in seconds. (a) Obtain an algebraic equation for a streamline at t = 0. (b) Plot the streamline that passes through point (x,y) = (3,3) at this instant.

ENGR 3300: Fluid Mechanics, Fall 2015 Assignment 3 Due: Friday, Oct. 2, 2015 Topics: Chapter 3 & 4 Solutions must be neatly written and must include the following steps (if applicable) to receive full credit. 1. Given: List all known parameters in the problem. 2. Find: List what parameters the problem is asking you to find. 3. Solution: List all equations needed to solve the problem, and show all your work. Draw any necessary sketches or free body diagrams. Circle or box your final answer, and make sure to include appropriate units in your final answer. Grading: 15 total points (10 points for completeness + 5 points for one randomly chosen problem graded for correctness) 1. Water flows at a steady rate up a vertical pipe and out a nozzle into open air. The pipe diameter is 1 inch and the nozzle diameter is 0.5 inches. (a) Determine the minimum pressure that would be required at section 1 (shown in the figure below) to produce a fluid velocity of 30 ft/s at the nozzle (section 2). (b) If the pipe was inverted, determine the minimum pressure that would be required at section 1 to maintain the 30 ft/s velocity at the nozzle. 2. Water flows from a large tank through a small pipe with a diameter of 5 cm. A mercury manometer is placed along the pipe. Assuming the flow is frictionless, (a) estimate the velocity of the water in the pipe and (b) determine the rate of discharge (i.e. volumetric flow rate) from the tank. 3. An engineer is designing a suit for a race car driver and wants to supply cooling air to the suit from an air inlet on the body of the race car. The air speed at the inlet location must be 65 mph when the race car is traveling at 230 mph. Under these conditions, what would be the static pressure at the proposed inlet location? 4. Air flows downward toward a horizontal flat plate. The velocity field is given by ? = (??! − ??!)(2 + cos ??) where a = 5 s-1, ω = 2π s-1, and x and y (measured in meters) are horizontal and vertically upward, respectively, and t is in seconds. (a) Obtain an algebraic equation for a streamline at t = 0. (b) Plot the streamline that passes through point (x,y) = (3,3) at this instant.

Programming Assignment 7: Poker (5-Card Draw) II. Prerequisites: Before starting this programming assignment, participants should be able to: Apply and implement pointers in C Pass output parameters to functions Analyze a basic set of requirements and apply top-down design principles for a problem Apply repetition structures within an algorithm Construct while (), for (), or do-while () loops in C Compose C programs consisting of sequential, conditional, and iterative statements Eliminate redundancy within a program by applying loops and functions Create structure charts for a given problem Open and close files Read, write to, and update files Manipulate file handles Apply standard library functions: fopen (), fclose (), fscanf (), and fprintf () Apply and implement pointers 2-dimenional arrays Define and apply structs in C Compose decision statements (“if” conditional statements) Create and utilize compound conditions Summarize topics from Hanly & Koffman Chapter 8 including: What is an array? Distinguishing between single dimensional and 2-dimentional arrays What is an index? III. Overview & Requirements: Write a program that allows a user to play 5-Card-Draw Poker against the computer. Start with the following example code supplied by Deitel & Deitel (example code). This will help you get started with the game of Poker. Please read this site to learn the rules of Poker http://en.wikipedia.org/wiki/5_card_draw. Complete the following step and you will have a working Poker game!!! Adapted from Deitel & Deitel’s C How to Program (6th Edition): (1) In order to complete the game of 5-card-draw poker, you should complete the following functions: (a) (5 pts) Modify the card dealing function provided in the example code so that a five-card poker hand is dealt. (b) (5 pts) Write a function to determine if the hand contains a pair. (c) (5 pts) Write a function to determine if the hand contains two pairs. (d) (5 pts) Write a function to determine if the hand contains three of a kind (e.g. three jacks). (e) (5 pts) Write a function to determine if the hand contains four of a kind (e.g. four aces). (f) (5 pts) Write a function to determine if the hand contains a flush (i.e. all five cards of the same suit). (g) (5 pts) Write a function to determine if the hand contains a straight (i.e. five cards of consecutive face values). (2) (20 pts) Use the functions developed in (1) to deal two five-card poker hands, evaluate each hand, and determine which is the better hand. (3) (25 pts) Simulate the dealer. The dealer’s five-card hand is dealt “face down” so the player cannot see it. The program should then evaluate the dealer’s hand, and based on the quality of the hand, the dealer should draw one, two, or three more cards to replace the corresponding number of unneeded cards in the original hand. The program should then re-evaluate the dealer’s hand. (4) (10 pts) Make the program handle the dealer’s five-card hand automatically. The player should be allowed to decide which cards of the player’s hand to replace. The program should then evaluate both hands and determine who wins. Now use the program to play 10 games against the computer. You should be able to test and modify or refine your Poker game based on these results!

Programming Assignment 7: Poker (5-Card Draw) II. Prerequisites: Before starting this programming assignment, participants should be able to: Apply and implement pointers in C Pass output parameters to functions Analyze a basic set of requirements and apply top-down design principles for a problem Apply repetition structures within an algorithm Construct while (), for (), or do-while () loops in C Compose C programs consisting of sequential, conditional, and iterative statements Eliminate redundancy within a program by applying loops and functions Create structure charts for a given problem Open and close files Read, write to, and update files Manipulate file handles Apply standard library functions: fopen (), fclose (), fscanf (), and fprintf () Apply and implement pointers 2-dimenional arrays Define and apply structs in C Compose decision statements (“if” conditional statements) Create and utilize compound conditions Summarize topics from Hanly & Koffman Chapter 8 including: What is an array? Distinguishing between single dimensional and 2-dimentional arrays What is an index? III. Overview & Requirements: Write a program that allows a user to play 5-Card-Draw Poker against the computer. Start with the following example code supplied by Deitel & Deitel (example code). This will help you get started with the game of Poker. Please read this site to learn the rules of Poker http://en.wikipedia.org/wiki/5_card_draw. Complete the following step and you will have a working Poker game!!! Adapted from Deitel & Deitel’s C How to Program (6th Edition): (1) In order to complete the game of 5-card-draw poker, you should complete the following functions: (a) (5 pts) Modify the card dealing function provided in the example code so that a five-card poker hand is dealt. (b) (5 pts) Write a function to determine if the hand contains a pair. (c) (5 pts) Write a function to determine if the hand contains two pairs. (d) (5 pts) Write a function to determine if the hand contains three of a kind (e.g. three jacks). (e) (5 pts) Write a function to determine if the hand contains four of a kind (e.g. four aces). (f) (5 pts) Write a function to determine if the hand contains a flush (i.e. all five cards of the same suit). (g) (5 pts) Write a function to determine if the hand contains a straight (i.e. five cards of consecutive face values). (2) (20 pts) Use the functions developed in (1) to deal two five-card poker hands, evaluate each hand, and determine which is the better hand. (3) (25 pts) Simulate the dealer. The dealer’s five-card hand is dealt “face down” so the player cannot see it. The program should then evaluate the dealer’s hand, and based on the quality of the hand, the dealer should draw one, two, or three more cards to replace the corresponding number of unneeded cards in the original hand. The program should then re-evaluate the dealer’s hand. (4) (10 pts) Make the program handle the dealer’s five-card hand automatically. The player should be allowed to decide which cards of the player’s hand to replace. The program should then evaluate both hands and determine who wins. Now use the program to play 10 games against the computer. You should be able to test and modify or refine your Poker game based on these results!

checkyourstudy.com Whatsapp +919911743277
1-Two notions serve as the basis for all torts: wrongs and compensation. True False 2-The goal of tort law is to put a defendant in the position that he or she would have been in had the tort occurred to the defendant. True False 3-Hayley is injured in an accident precipitated by Isolde. Hayley files a tort action against Isolde, seeking to recover for the damage suffered. Damages that are intended to compensate or reimburse a plaintiff for actual losses are: compensatory damages. reimbursement damages. actual damages. punitive damages. 4-Ladd throws a rock intending to hit Minh but misses and hits Nasir instead. On the basis of the tort of battery, Nasir can sue: Ladd. Minh. the rightful owner of the rock. no one. 4-Luella trespasses on Merchandise Mart’s property. Through the use of reasonable force, Merchandise Mart’s security guard detains Luella until the police arrive. Merchandise Mart is liable for: assault. battery. false imprisonment. none of the choice 6-The extreme risk of an activity is a defense against imposing strict liability. True False 7-Misrepresentation in an ad is enough to show an intent to induce the reliance of anyone who may use the product. True False 8-Luke is playing a video game on a defective disk that melts in his game player, starting a fire that injures his hands. Luke files a suit against Mystic Maze, Inc., the game’s maker under the doctrine of strict liability. A significant application of this doctrine is in the area of: cyber torts. intentional torts. product liability. unintentional torts 9-More than two hundred years ago, the Declaration of Independence recognized the importance of protecting creative works. True False 10-n 2014, Cloud Computing Corporation registers its trademark as provided by federal law. After the first renewal, this registration: is renewable every ten years. is renewable every twenty years. runs for life of the corporation plus seventy years. runs forever. 11-Wendy works as a weather announcer for a TV station under the character name Weather Wendy. Wendy can register her character’s name as: a certification mark. a trade name. a service mark. none of the choices 12-Much of the material on the Internet, including software and database information, is not copyrighted. True False 13-In a criminal case, the state must prove its case by a preponderance of the evidence. True False 14-Under the Fourth Amendmentt, general searches through a person’s belongings are permissible. True False 15-Maura enters a gas station and points a gun at the clerk Nate. She then forces Nate to open the cash register and give her all the money. Maura can be charged with: burglary. robbery. larceny. receiving stolen property. 16-Reno, driving while intoxicated, causes a car accident that results in the death of Santo. Reno is arrested and charged with a felony. A felony is a crime punishable by death or imprisonment for: any period of time. more than one year. more than six months. more than ten days. 17-Corporate officers and directors may be held criminally liable for the actions of employees under their supervision. True False 18-Sal assures Tom that she will deliver a truckload of hay to his cattle ranch. A person’s declaration to do a certain act is part of the definition of: an expectation. a moral obligation. a prediction. a promise. 19-Lark promises to buy Mac’s used textbook for \$60. Lark is: an offeror. an offeree a promisee. a promisor. 20-Casey offers to sell a certain used forklift to DIY Lumber Outlet, but Casey dies before DIY accepts. Most likely, Casey’s death: did not affect the offer. shortened the time of the offer but did not terminated it. extended the time of the offer. terminated the offer.

1-Two notions serve as the basis for all torts: wrongs and compensation. True False 2-The goal of tort law is to put a defendant in the position that he or she would have been in had the tort occurred to the defendant. True False 3-Hayley is injured in an accident precipitated by Isolde. Hayley files a tort action against Isolde, seeking to recover for the damage suffered. Damages that are intended to compensate or reimburse a plaintiff for actual losses are: compensatory damages. reimbursement damages. actual damages. punitive damages. 4-Ladd throws a rock intending to hit Minh but misses and hits Nasir instead. On the basis of the tort of battery, Nasir can sue: Ladd. Minh. the rightful owner of the rock. no one. 4-Luella trespasses on Merchandise Mart’s property. Through the use of reasonable force, Merchandise Mart’s security guard detains Luella until the police arrive. Merchandise Mart is liable for: assault. battery. false imprisonment. none of the choice 6-The extreme risk of an activity is a defense against imposing strict liability. True False 7-Misrepresentation in an ad is enough to show an intent to induce the reliance of anyone who may use the product. True False 8-Luke is playing a video game on a defective disk that melts in his game player, starting a fire that injures his hands. Luke files a suit against Mystic Maze, Inc., the game’s maker under the doctrine of strict liability. A significant application of this doctrine is in the area of: cyber torts. intentional torts. product liability. unintentional torts 9-More than two hundred years ago, the Declaration of Independence recognized the importance of protecting creative works. True False 10-n 2014, Cloud Computing Corporation registers its trademark as provided by federal law. After the first renewal, this registration: is renewable every ten years. is renewable every twenty years. runs for life of the corporation plus seventy years. runs forever. 11-Wendy works as a weather announcer for a TV station under the character name Weather Wendy. Wendy can register her character’s name as: a certification mark. a trade name. a service mark. none of the choices 12-Much of the material on the Internet, including software and database information, is not copyrighted. True False 13-In a criminal case, the state must prove its case by a preponderance of the evidence. True False 14-Under the Fourth Amendmentt, general searches through a person’s belongings are permissible. True False 15-Maura enters a gas station and points a gun at the clerk Nate. She then forces Nate to open the cash register and give her all the money. Maura can be charged with: burglary. robbery. larceny. receiving stolen property. 16-Reno, driving while intoxicated, causes a car accident that results in the death of Santo. Reno is arrested and charged with a felony. A felony is a crime punishable by death or imprisonment for: any period of time. more than one year. more than six months. more than ten days. 17-Corporate officers and directors may be held criminally liable for the actions of employees under their supervision. True False 18-Sal assures Tom that she will deliver a truckload of hay to his cattle ranch. A person’s declaration to do a certain act is part of the definition of: an expectation. a moral obligation. a prediction. a promise. 19-Lark promises to buy Mac’s used textbook for \$60. Lark is: an offeror. an offeree a promisee. a promisor. 20-Casey offers to sell a certain used forklift to DIY Lumber Outlet, but Casey dies before DIY accepts. Most likely, Casey’s death: did not affect the offer. shortened the time of the offer but did not terminated it. extended the time of the offer. terminated the offer.

1-Two notions serve as the basis for all torts: wrongs … Read More...