Q1. The crankshaft in a race car goes from rest to 3100rpm in 2.8s.What is the crankshaft's angular acceleration?
Q2. A frictionless pulley, which can be modeled as a 0.83kg solid cylinder with a 0.30m radius, has a rope going over it, The tensions in the rope are 12N and 10N . What is the angular acceleration of the pulley?
Q3. A 1.2g pebble is stuck in a tread of a 0.73m -diameter automobile tire, held in place by static friction that can be at most 3.3N . The car starts from rest and gradually accelerates on a straight road. How fast is the car moving when the pebble flies out of the tire tread?
In: Physics
An unknown pollutant gas has contaminated one of your samples of Ne(g). You test your Ne sample, at constant T and P and find that it effuses through a balloon 3.87 times more rapidly than a pollutant. What is the molar mass of the pollutant gas?
In: Chemistry
Consider two individuals with the same income and probability of experiencing an accident that would cost them $15,000 in medical expenses. The first individual has the utility function U=ln(Y) and the second has the utility function U=ln(Y)+10. How would their willingness to pay for an insurance policy to cover all of their medical expenses differ between the two individuals?
In: Economics
Question 1) What affect would switching from a lipophilic to a hydrophilic solvent have on the overall rate of an SN1 reaction mechanism? Explain your answer.
Question 2) What affect would switching from a hydrophilic to a lipophilic solvent have on the overall rate of an SN2 reaction mechanism? Explain your answer.
3 MARK QUESTIONS EACH
In: Chemistry
Write a shoppingcartmanager.java that contains a main method for this code in java
Itemtopurchase.java
public class ItemToPurchase {
// instance variables
private String itemName;
private String itemDescription;
private int itemPrice;
private int itemQuantity;
// default constructor
public ItemToPurchase() {
this.itemName = "none";
this.itemDescription =
"none";
this.itemPrice = 0;
this.itemQuantity = 0;
}
public ItemToPurchase(String itemName, int itemPrice,
int itemQuantity,String itemDescription) {
this.itemName = itemName;
this.itemDescription =
itemDescription;
this.itemPrice = itemPrice;
this.itemQuantity =
itemQuantity;
}
// method to set name of the item
public void setName(String name) {
itemName = name;
}
// method to set price of the item
public void setPrice(int price) {
itemPrice = price;
}
// method to set quantity of the item
public void setQuantity(int quantity) {
itemQuantity = quantity;
}
public void setDescription(String description) {
itemDescription =
description;
}
// method to get name of the item
public String getName() {
return itemName;
}
// method to get price of the item
public int getPrice() {
return itemPrice;
}
// method to get quantity of the item
public int getQuantity() {
return itemQuantity;
}
public String getDescription() {
return itemDescription;
}
public void printItemPurchase() {
System.out.println(itemName + " " +
itemQuantity + " @ $" + itemPrice + " = $" + (itemPrice *
itemQuantity));
}
public void printItemDescription() {
System.out.println(itemName+":
"+itemDescription);
}
}
*******************
shoppingcart.java
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class ShoppingCart {
private String customerName;
private String currentDate;
private List<ItemToPurchase> cartItems=new
ArrayList<>();
ShoppingCart() {
customerName = "none";
currentDate = "January 1,
2016";
}
ShoppingCart(String customerName, String currentDate)
{
super();
this.customerName =
customerName;
this.currentDate =
currentDate;
}
public String getCustomerName() {
return customerName;
}
public String getDate() {
return currentDate;
}
public void addItem(ItemToPurchase item) {
cartItems.add(item);
}
public void removeItem(String itemName) {
boolean check = false;
for (ItemToPurchase item :
cartItems) {
if(item.getName().equalsIgnoreCase(itemName)) {
cartItems.remove(item);
check=true;
}
}
if(!check)
System.out.println("Item not found in cart. Nothing
removed.");
}
public void modifyItem(ItemToPurchase item) {
boolean check = false;
for (ItemToPurchase itemToPurchase
: cartItems) {
if(itemToPurchase.getName().equalsIgnoreCase(item.getName()))
{
cartItems.remove(itemToPurchase);
cartItems.add(item);
check=true;
}
}
if(!check)
System.out.println("Item not found in cart. Nothing
modified.");
}
public int getNumItemsInCart() {
int total=0;
for (ItemToPurchase item :
cartItems) {
total+=item.getQuantity();
}
return total;
}
public int getCostOfCart() {
int cost=0;
for (ItemToPurchase item :
cartItems) {
cost+=item.getPrice()*item.getQuantity();
}
return cost;
}
public void printTotal() {
System.out.println(customerName+"'s
Shopping Cart - "+currentDate);
System.out.println("Number of
Items: "+getNumItemsInCart());
System.out.println();
for (ItemToPurchase item :
cartItems) {
System.out.println(item.getName()+" "+item.getQuantity()+" @
$"+item.getPrice()+" =
$"+(item.getQuantity()*item.getPrice()));
}
System.out.println();
System.out.println("Total:
$"+getCostOfCart());
}
public void printDesciptions() {
System.out.println(customerName+"'s
Shopping Cart - "+currentDate);
System.out.println();
System.out.println("Item
Descriptions");
for (ItemToPurchase item :
cartItems)
System.out.println(item.getName()+":
"+item.getDescription());
}
public static void main(String[] args) {
Scanner sc=new
Scanner(System.in);
System.out.println("Enter
Customer's Name:");
String name=sc.nextLine();
System.out.println("Enter Today's
Date:");
String date=sc.nextLine();
ShoppingCart cart=new
ShoppingCart(name,date);
System.out.println();
System.out.println();
}
}
In: Computer Science
You are given an unlabelled water sample with the below MPN tube results presented as volume of raw sample followed by number of positive tubes out of 5 total tubes incubated. 1 mL : 2/5 positive, 0.1 mL : 1/5 positive, 0.01 mL : 0/5 positive
Report the estimated titre and 95% confidence interval.
Indicate a potential source based on the magnitude of coliform contamination and
provide your reasoning.
In: Biology
Write the instruction of combined topic of Ligand Exchange in Cobalt Complexes,Quantitative Characterisation of Complexes And Visible Spectroscopy - The Spectrochemical Series
In: Chemistry
Assume that a sample {Xj : 1 ≤ j ≤ 5} of size 5 is drawn from Unif(0, 2). Consider the maximal value, W = X(5).
1. Derive density function of X(5)
2. Find expected value of X(5)
3. Determine variance of X(5)
In: Math
A burger establishment such as whataburger sells a burger for $10 but two burgers for $15. Could this reflect difference in costs? Discuss the conditions under which this could be a type of price discrimination. Why might the restaurant require that each person purchase a meal?
In: Economics
I'm trying to work with this code that I have. i want to kick the user back if they don't enter a number in the specified range but I haven't been able to get a while loop working right.
public class Blackjack_Jr
{
public static void main(String[] args)
{
int card1;
int card2;
int player1;
int dealer;
Random rand = new Random();
int card3 = rand.nextInt(11);
int card4 = rand.nextInt(11);
Scanner in = new
Scanner(System.in);
System.out.println("Blackjack
Jr!");
System.out.println();
System.out.print("Pick Your First
Card from 1-10: ");
card1 = in.nextInt();
System.out.print("Pick Your Second
Card from 1-10: ");
card2 = in.nextInt();
System.out.println();
player1 = card1 + card2;
dealer = card3 + card4;
System.out.print("You have entered
" +card1);
System.out.println(" and "
+card2);
System.out.println("Your total is:
" +player1);
System.out.println();
System.out.print("The dealer has
drawn " +card3);
System.out.println(" and "
+card4);
System.out.println("The dealer's
total is: " +dealer);
if(player1 >
dealer)
{
System.out.println("Congratulations! You
Won!");
}else
{
System.out.println("Sorry you have lost.
:-(");
}
}
}
In: Computer Science
Summary Balance sheet of Kishore Food Products Private Limited is given.
You are required to prepare the cash flow statement using the indirect method after considering the additional information given below.
Depreciation provided for the year was land and building 60000, Machinery 50000 and furniture 1200.
Previous year tax provision was paid during the year and current year tax provision 40500 was yet to be paid at the year end.
Proposed dividend of previous year was paid during the year and
fresh provision was made at this year end.
Summary Balance sheet |
||
Particulars |
31-03-2019 |
31-03-2020 |
Liabilities |
||
Equity Share capital |
300000 |
350000 |
Share premium |
0 |
30000 |
General Reserve |
45000 |
65000 |
Profit and Loss |
30000 |
80800 |
6% Debentures |
0 |
70000 |
Sundry Creditors |
85000 |
90700 |
Tax provision |
22500 |
40500 |
Proposed Dividend |
30000 |
35000 |
512500 |
762000 |
|
Assets |
||
Land and Building |
230000 |
390000 |
Machinery |
85400 |
140000 |
Furniture |
5500 |
6500 |
Stock |
82400 |
95700 |
Debtors |
75000 |
85500 |
Bank balance |
34200 |
44300 |
512500 |
762000 |
In: Accounting
in your own words:
In: Biology
Acceptance sampling is an important quality control technique, where a batch of data is tested to determine if the proportion of units having a particular attribute exceeds a given percentage. Suppose that 8% of produced items are known to be nonconforming. Every week a batch of items is evaluated and the production machines are adjusted if the proportion of nonconforming items exceeds 10%. [You may find it useful to reference the z table.]
a. What is the probability that the production machines will be adjusted if the batch consists of 65 items? (Round “z” value to 2 decimal places, and final answer to 4 decimal places.)
Probability _________
b. What is the probability that the production machines will be adjusted if the batch consists of 77 items? (Round “z” value to 2 decimal places, and final answer to 4 decimal places.)
probability ________
In: Math
What do peak BP’s during isometric actions depend on?
Also- What is llustrate about exercise prescription in hyperyensive clients? SBP and DBP effects?
In: Biology
Create a class Person with two instance variables of type String called firstName and
LastName, an instance variable of type int called age, an instance variables of type int
called height (measured in inches), and an instance variable of type double called weight.
Define an appropriate constructor that takes initial values for all instance variables and
calls the corresponding set methods. Define get and set methods for all instance variables.
All set (mutator) methods should validate that reasonable data is being passed to the
object.
Then create a test application that queries the user for information and uses that
information to create two objects of type Person. The application should display all
information about both objects.
language : java
In: Computer Science