A research chemist adds a measured amount of HBr gas to pure water at 25oC and obtains a solution with [H3O+] = 8.3x10-4 M. Calculate [OH-]. Is the solution acidic, basic, or neutral?
Enter two numbers then using user-defined functions, compute its sum, difference, product and quotient.
What is the magnitude of the electric force of attraction between an iron nucleus
(q = −26e) and its innermost electron if the distance between them is 1.5 × 10−12m?
Given a directed graph, write a program to print all the strongly connected components of the graph. The runtime of your algorithm should be linear. Input Format: The input is a text file which describes an directed graph. The first line of the file specifies n & m, the number of vertices and number of edges in the graph respectively. The next m lines specify the m edges of the graph, one line per edge. An edge is described by its end points. If the number of vertices is n, assume that the vertices of the graph are numbered (0,1,..n-1). Output Format: Print the list of vertices in each strongly connected component, one line per component. (The order in which the SCCs are printed, and the relative order of the vertices within a given SCC does not matter.) Sample Input (for the graph shown on the right): 11 15 0 1 1 2 2 0 1 3 3 5 5 4 4 3 5 7 7 6 6 7 5 8 7 8 8 9 9 10 10 8 Sample Output : SCC 1: 8, 9, 10 SCC 2: 6, 7 SCC 3: 3, 4, 5 SCC 4: 0, 1, 2
Describe what one would see at pressures and temperatures above 2.0 atm and 450 K.
Make classes to manage a cinema.
The two most important protocols in the Transport Layer are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). TCP provides a reliable data delivery service with end-to-end error detection and correction. UDP provides a low-overhead, connectionless datagram delivery service. Suppose as a network administrator, you are required to select the most suitable transport layer protocol for a video streaming website then which protocol you will choose from UDP and TCP. Discuss your choice with 2 proper reasons.
The content of each file follow below format:
username1;[username2];[username3];
Input
1. data
Output
Enter·username:·prettyME
Enter·password:·1234
Welcome,·Rhea·Tortor!
1·-·View·Friend
2·-·Add·friend
3·-·Delete·Friend
X·-·Exit
Enter·your·choice:·X
Successfully·LogOut.
Enter·username:·X95 ppm concentration is found in a solution with a total volume of 1500 mL, calculate the unknown volume of solute.
Pyramids Frequency
These are N pyramids in a line.You are given their heights as space-separated integers.Write a program to print the heights of the pyramids in increasing order along with their frequency.
Input
The first line of input contains space-separated integers.
Output
Each line of output should contain the height of the pyramid and its frequency in the ascending order of the pyramid's height.
Explanation
In the example, The given pyramid heights are 1,5,1,2,5,6.
The frequency of each unique pyramid height is
1 2
2 1
5 2
6 1
Sample Input1
1 5 1 2 5 6
Sample Output1
1 2
2 1
5 2
6 1