In today’s economy, it’s harder for workers to get promoted. In 2006, it took an average
of 2 ½ years to get a promotion; today it takes 4 ½ years. As a result, fewer workers are willing
to boost their productivity in an effort to impress the boss and get the promotion. In 2006, 25
percent of employees said they were willing to give “an extra oomph” at work (boost their
productivity); today about 15 percent are willing to do so. Explain the connection to the Phillips
curve.
for example sample input= 4 , print right angle trangle in numbers like ,reverse order
1
121
12321
1234321
like this can solve this for mee ?
WRAV101: Practical 4
Submit in Moodle before Tuesday 22 March, 14:00
Objectives
Using loops
Using decision statements
Using build-in methods
NB: Check out the steps below regarding getting started, saving the program (after
Task 3
Write a program to display the squares of all the numbers 1 to 100 in a
table format similar to the output displayed.
You have to make use of a loop.
1. What is the relationship between the Ksp expressions for a chemical reaction and its reverse chemical reaction?
1. Under what conditions is Keq = KP?
Let p and q be the propositions “You can take the flight” and “You buy a ticket,” respectively.
Express each of these compound propositions as an English sentence.
a) ¬p b) p∨q
c) ¬p∧q d) q → p e) ¬q →¬p
f) ¬p →¬ q g) p ↔ q h) ¬q ∨(¬p∧ q)
a. Cisplatin or Platinol has a chemical PtCl2(NH3)2 that is used in the treatment of certain cancers. Calculate (a) the amount (mol) of compound in 285.3 g of cisplatin; (b) the number of hydrogen atoms in 0.98 mol of cisplatin.
Isoflavones are weaker antioxidants than anthocyanidins. What could be the reason?
Area of Square
Given an MxN matrix filled with
The first line of input will be containing two space-separated integers, denoting M and N.
The next M lines will contain N space-separated integers, denoting the elements of the matrix.
The output should be a single line containing the area of the maximum square.
For example, if the given M, N and elements of matrix are as the following
4 5
X O X O O
X O X X X
X X O X X
X O O X O
The matrix from indices (1, 3) to (2, 4) has the maximum square with
X. So the output should be the area of the maximum rectangle with X, which is 4.
Sample Input 1
4 5
X O X O O
X O X X X
X X O X X
X O O X O
Sample Output 1
4
Sample Input 2
3 3
O X X
O X X
O O O
Sample Output 2
4
Let x be a binomial random variable with n=20 and p = 0.1.
a. Find the formula for the probability distribution of x.
b. Calculate P(X≤4)
c. Calculate the mean and standard deviation of X.