Nyatakan fungsi bagi pisau-pisau yang ditunjukkan dalam rajah di atas: good.
Anything else: bad.
Answer:
8.419 million (2019) at 2019
Answer:
The solution code is given below
- using System;
- using System.Linq;
-
- public class Program
- {
- public static void Main()
- {
- string[] letters = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T","U", "V", "W", "X", "Y", "Z"};
-
- Console.WriteLine("Please input a letter: ");
- string input_letter = Console.ReadLine();
-
- if(letters.Contains(input_letter)){
- Console.WriteLine("OK");
- }else{
- Console.WriteLine("Error. Not uppercase letter.");
- }
- }
- }
Explanation:
Firstly we import the necessary libraries, System and Linq (Line 1-2).
Next we create a string array to hold all uppercase letters (Line 8).
Next, we prompt user to input a letter using the ReadLine() method (Line 10 - 11)
At last, we define if and else conditions to check if the letters contains the input letter. If so, print ok else print an error message. (Line 13-17)
Answer:
a) 4.1 kw
b) 4.68 tons
c) 4.02
Explanation:
Saturated vapor enters compressor at ( p1 ) = 2.6 bar
Saturated liquid exits the condenser at ( p2 ) = 12 bar
Isentropic compressor efficiency = 80%
Mass flow rate = 7 kg/min
A) Determine compressor power in KW
compressor power = m ( h2 - h1 )
= 7 / 60 ( 283.71 - 248.545 )
= 4.1 kw
B) Determine refrigeration capacity in tons = m ( h1 - h4 )
= 7/60 ( 248.545 - 107.34 )
= 16.47 kw = 4.68 tons
C) coefficient of performance ( COP )
= Refrigeration capacity / compressor power
= 16.47 / 4.1 = 4.02
Attached below is the beginning part of the solution