four coins are tossed.Let Z be the random variable representing the number of heads that occurs.find the values of the random variable Z
Write the equation for this reaction, then balance the equation.
B. Calculate the grams of lead(II) iodide that can be produced from 5.00 moles of
potassium iodide.
C. Calculate the grams of lead (II) iodide that can be reproduced from 75.00
grams of potassium iodide
How many grams of solid calcium hydroxide, Ca (OH)2 are required to react with 350 mL of 0.40 mole HCl?
You are required to implement a shopping cart module for an online shopping mall. From the available
items a user will select the item to purchase and add this into his shopping cart. Before the checkout
customer can remove any item from the cart at any time.
A single item in the cart contains the following details:
class Item
{
private:
int itemID;
string itemName;
double price;
double purchasedQuantity;
double totalPrice;
public:
//constructors and getter setters
};
For the implementation of the required module you have to meet the following requirements:
3- Customer can also view his cart at any time. You have to provide two features for the user in order
to view his cart:
i. View cart: it will display all the items that customer selected to purchase.
ii. View cart by items: Display one item and facilitate user to navigate through next or
previous item in the cart till the user wants to quit the view.
You are required to implement a shopping cart module for an online shopping mall. From the available
items a user will select the item to purchase and add this into his shopping cart. Before the checkout
customer can remove any item from the cart at any time.
A single item in the cart contains the following details:
class Item
{
private:
int itemID;
string itemName;
double price;
double purchasedQuantity;
double totalPrice;
public:
//constructors and getter setters
};
For the implementation of the required module you have to meet the following requirements:
2- Customer can remove item or change the quantity at any time.
There are two possibilities:
i. Customer wants to remove the item form the cart
ii. Customer wants to change the quantity of item in the cart
A person throws a 755 g ball up at an angle such that it has an initial speed of 15.0 m s−1. After a short time the ball has a speed of 5.30 m s−1.
How much higher is the ball than when it was let go? (in m to 3 s.f)
Activity 2. (List and Construct)
A group of students got the following scores in an achievement test:
9,12,15,18, 21, and 24. Consider samples of size 3 that can be drawn from this
population
a. Determine and list all possible samples and the corresponding sample
means.
Random Samples
Sample Means
Probability
b. Construct a sampling distribution of the resulting sample means
Frequency
Sample Means
You are required to implement a shopping cart module for an online shopping mall. From the available
items a user will select the item to purchase and add this into his shopping cart. Before the checkout
customer can remove any item from the cart at any time.
A single item in the cart contains the following details:
class Item
{
private:
int itemID;
string itemName;
double price;
double purchasedQuantity;
double totalPrice;
public:
//constructors and getter setters
};
For the implementation of the required module you have to meet the following requirements:
1- Customer can add any item to the cart in desired quantity.
Remember if customer added the same item in the cart again, your implementation will not add
this as a new item it will check if the item already exists than it will just add the new quantity in
the previous and update other data.
Create a program that will String input. Based on the number of inputs,
the USER will decide what shape it is circle,rectangle,square and triangle.
(1 input – circle, 2 inputs – square or rectangle, 3 inputs - triangle).
The program will then display the shape type, details, perimeter and area.
USE TRY AND CATCH
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15
Type:Circle
Radius:15
Perimeter:94.2
Area:706.5
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15
Type:Rectangle
Length:24
Width:12
Perimeter:72.0
Area:288.0
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15
Type:Square
Side:12
Perimeter:48.0
Area:144.0
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar 9 15 12
Type:Triangle
Sides:9, 15, 12
Perimeter:36.0
Area:54.0
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar 9 15 12 8
Invalid input
class:
-TestShape
-Shape
-Circle
-Rectangle
-Square
T-riangle
A. If 2.8 moles of Propane reacts with excess Oxygen gas how many grams of CO2 will be formed?
B. How many grams of Oxygen gas will completely react with 3.8 moles of Propane?
C. If 25 g of C3H8 reacts with excess Oxygen, how many moles of water will be formed?
D. If 38 g of water are produced in the reaction, how many moles of CO2 were produced