1. Four coins are tossed. Let Z be the random variable representing the number of heads that occur. Find the values of the random variable Z. (you may extend the table or add column or row if needed)
let a and b are two linked list.write a c++ function to create a new linked list c that contains alternately from a and b beginning with first element of A.if you run out of element in one element of the list,then append the remaining elements of the other elements of c.
Given quantity demanded t
And supplied as q=36-1/3p and q=- 9+1/2p. If the government decide to impose a tax of 't" per unit supplied determine the value of tax
Product of the String
You are given an alphanumeric string S.Write a program to multiply all the charcters(except trailing zeroes) in S and print the output.
Rules for multiplication:
Input
The first line contains a string S.
Output
The output should be a integer denoting the product of characters.
Explanation
For N = 123a4
ASCII value of a is 97.
Product of digits of ASCII value of a is 9 *7 = 63.
Therefore the product of characters is 1*2*3*4*63*4 = 1512.
Sample Input1
123a4
Sample Output1
1512
Product of the String
You are given an alphanumeric string S.Write a program to multiply all the charcters(except trailing zeroes) in S and print the output.
Rules for multiplication:
Input
The first line contains a string S.
Output
The output should be a integer denoting the product of characters.
Explanation
For N = 123a4
ASCII value of a is 97.
Product of digits of ASCII value of a is 9 *7 = 63.
Therefore the product of characters is 1*2*3*4*63*4 = 1512.
Sample Input1
123a4
Sample Output1
1512
Two cats A and B, jump from the top of a vertical cliff. Cat A just drops and reaches the ground in 3.50secs, while cat B jumps horizontally with an initial speed of 95cm/secs. How far from the base of the cliff will cat B hit the ground?
Product of the String
You are given an alphanumeric string S.Write a program to multiply all the charcters(except trailing zeroes) in S and print the output.
Rules for multiplication:
Input
The first line contains a string S.
Output
The output should be a integer denoting the product of characters.
Explanation
For N = 123a4
ASCII value of a is 97.
Product of digits of ASCII value of a is 9 *7 = 63.
Therefore the product of characters is 1*2*3*4*63*4 = 1512.
Sample Input1
123a4
Sample Output1
1512
2. Calculate the AH for the reaction:
CS2 (1) + 2 O2 (g) CO2 (g) + 2 SO2 (g)
Given:
AHCO2 (g) = -393.5 kJ/
mol;
AHSO2 = -296.8 kJ/mol;
AHCS2 (1) = 87.9kJ/mol
2. Calculate the AH for the reaction:
CS2 (1) + 2 O2 (g) CO2 (g) + 2 SO2 (g)
Given:
AHCO2 (g) = -393.5 kJ/
mol;
AHSO2 = -296.8 kJ/mol;
AHCS2 (1) = 87.9kJ/mol
Name the type of force that acts on a structure when a moving object
strikes it.