Questions
1 kg of saturated steam at 1000 kPa is in a piston-cylinder and the massless cylinder...

1 kg of saturated steam at 1000 kPa is in a piston-cylinder and the massless cylinder is held in place by pins. The pins are removed and the system suddenly and adiabatically expands to 5x its original volume before the piston hits a pair of upper pins. The expansion takes place against an atmosphere is 60 kPa. What is the final specific internal energy of the system? The answer will be in kJ/kg.

In: Mechanical Engineering

A hydraulic lift in a garage has two pistons: a small one of cross-sectional area 3.60cm2...

A hydraulic lift in a garage has two pistons: a small one of cross-sectional area 3.60cm2 and a large one of cross-sectional area 250cm2 .

a) If this lift is designed to raise a 3300-kg car, what minimum force must be applied to the small piston?

b)If the force is applied through compressed air, what must be the minimum air pressure applied to the small piston?

In: Physics

The piston cylinder contains 4 kg of saturated water vapor with 200 kPa. The heat is...

The piston cylinder contains 4 kg of saturated water vapor with 200 kPa. The heat is rejected from the water, and the piston moves from the stops when the pressure reaches 100 kPa. Then the heat is rejected until the total volume decrease to 30% from the initial volume. Determine the work done and heat transfer during this process, show the process on a P-V diagram.

In: Mechanical Engineering

Define DNS poisoning, DNS Spoofing and DNS hijacking. Enable/Install webserver in your computer (such as IIS)...

  1. Define DNS poisoning, DNS Spoofing and DNS hijacking.

  2. Enable/Install webserver in your computer (such as IIS)

  3. Choose a website name (such as www.cnn.com, etc.) and ping the website using command line

    tool. Note down the responses.

  4. Change/poison the DNS configuration using hosts file for your recently installed web server to

    redirect the chosen website (you could do the same that we did in the class) and ping the website

    (such as cnn.com as noted in step 3 above) that is being redirected. Note down the responses.

  5. What are the differences in responses of step 3 and step 4.

  6. What advantages can be achieved by the attacks using this type of cyber-attacks (DNS poisoning)?

    Explain.

I need help with #4 for a Mac computer. Posted all the other questions for context.

In: Computer Science

using xsd, Create a number guessing game You would need an input box and buttons Ask...

using xsd, Create a number guessing game
You would need an input box and buttons
Ask the user for a number
Produce a random number from 1-50
Do the comparison
​a. Make sure to provide hints back to the user if the number enter is low or high
​​-this element should be automatically added
​b. Clear the value enter in the text
​c. Give them 3 tries
Whether the user wins or loses, display all the guesses along with the actual number with
congrats or try again message
​-after the message, allow them to play again

In: Computer Science

using xml, Create a number guessing game You would need an input box and buttons Ask...

using xml, Create a number guessing game

You would need an input box and buttons

Ask the user for a number

Produce a random number from 1-50

Do the comparison

            a. Make sure to provide hints back to the user if the number enter is low or high

                        -this element should be automatically added

            b. Clear the value enter in the text

            c. Give them 3 tries

Whether the user wins or loses, display all the guesses along with the actual number with

congrats or try again message

            -after the message, allow them to play again

In: Computer Science

Implement Hot Potato game A group of people, numbered 1 to N, are sitting in a...

Implement Hot Potato game

A group of people, numbered 1 to N, are sitting in a circle. Starting at person 1, a hot potato is passed. After X passes, the person holding the hot potato is eliminated, the circle closes ranks, and the game continues with the person who was sitting after the eliminated person picking up the hot potato. The last remaining person wins.

For example:

  • if X = 0 and N = 5, players are eliminated in order, and player 5 wins
  • If X = 1 and N = 5, the order of elimination is 2, 4, 1, 5.   

Write a program for general values of X and N.

  • Ask a user for number of people and number of passes
  • To speed up input, debugging, store names of the people in a file. Make sure no two names start the same letter ( Alex and Ana are not OK)
  • Output number and/or the name of a person being eliminated
  • Output number and the name of the winner
  • Allow user to play the game as many times as user wants
  • Node and List should be classes
  • use try/catch to check dynamic memory allocation
  • Make sure each function has a description, post and pre-conditions

In: Computer Science

Java language Exercise #2: Design a Lotto class with one array instance variable to hold three...

Java language

Exercise #2:
Design a Lotto class with one array instance variable to hold three random integer values (from 1 to 9). Include a constructor that randomly populates the array for a lotto object. Also, include a method in the class to return the array.
Use this class in the driver class (LottoTest.java) to simulate a simple lotto game in which the user chooses a number between 3 and 27. The user runs the lotto up to 5 times ( by creating an object of Lotto class each time and with that three random integer values will be stored in objects’s array instance variable) and each time the sum of lotto numbers (sum of three random integers values) is calculated. If the number chosen by the user matches the sum, the user wins and the game ends. If the number does not match the sum within five rolls, the computer wins.


Exercise #3:
Write a Java class that implements a static method – SortNumbers(int… numbers) with variable number of arguments. The method should be called with different numbers of parameters and does arrange the numbers in descending order. Call the method within main method of the driver classand display the results.

In: Computer Science

Consider a container with a frictionless piston that contains a given amount of an ideal gas....

Consider a container with a frictionless piston that contains a given amount of an ideal gas.

Let’s assume that initially the external pressure is 2.20 bar, which is the sum of a 1 bar atmospheric pressure and the pressure created by a very large number of very small pebbles that rest on top of the piston. The initial volume of gas is   0.300 L   and the initial temperature is 25°C.

Now, you will increase the volume of the gas by changing the external pressure slowly in a way that guarantees that the temperature of the system remains constant throughout the process. To do this, imagine you remove the pebbles one by one slowly to increase the volume by an infinitesimal amount. Every time you remove a weight you allow the system to equilibrate. Your cylinder is immersed in a water bath at 25°C, which keeps your gas at the same temperature throughout the whole process.

Calculate the work (wideal) performed during this reversible, isothermal expansion of the ideal gas.

please show the steps on how to determine work ideal

In: Chemistry

Write an elevator pitch for a person you has been a manager in human services and...

Write an elevator pitch for a person you has been a manager in human services and administration for ten years?

In: Finance