A gaseous compound containing hydrogen and carbon is decomposed and found to contain 82.66 % carbon and 17.34 % hydrogen by mass. The mass of 158 mL of the gas, measured at 556 mmHg and 25 ∘C, is found to be 0.275 g. What is the molecular formula of the compound? Express your answer as a chemical formula.
In: Chemistry
You have a borrowing capacity of 5 million USD, and 500 million JPY. You observe that the bid/ask interest rate quote on USD is 1%/3%. The bid/ask interest rate quote on the JPY is 0.5%/2%. The spot exchange rate is 87.3 JPY/USD, and you expect that the USD is going to appreciate to 97.4 JPY/USD over the next 6 months (180 days). If you conduct a speculative trade on your expectations of exchange rate change, and your expectations are correct, what will be your total profit, as measured in USD?
In: Finance
In: Biology
Dorchester Company, on March 1, 2019 has a beginning Work in Process inventory of zero. All materials are added into production at the beginning of its production. There is only one production WIP inventory. On March 1, Dorchester started into production 14,500 units. At the end of the month there were 10,000 units completed and transferred into the Finished Goods Inventory. The ending WIP was 50% complete with respect to conversion. For the month of March the following costs were incurred and recorded in the WIP:
Direct Material $11,000
Direct Labor 22,000
Factory Overhead 25,000
Dorchester uses the weighted-average process costing method. Use this information to determine the cost per equivalent unit of conversion for the month of March: (Round & enter final answers to the nearest cent.)
In: Accounting
This is to be done in C++. Preferably using basic functions.
Write a loop that reads one double each time around.
Define two variables to keep track of which is the smallest and which is the largest value you have seen so far.
Each time through the loop write out the value entered. If it's the smallest so far, write the smallest so far after the number. If it is the largest so far, write the largest so far after the number.
Let the user add a unit to each double entered; that is, enter values such as 10cm, 2.5in, 5ft, or 3.33m.
Accept the four units: cm, m, in, ft.
Assume conversion factors 1m == 100cm, 1in == 2.54cm, 1ft == 12in.
Read the unit indicator into a string.
You may consider 12 m (with a space between the number and the unit) equivalent to 12m (without a space).
Reject values without units or with "illegal" representations of units, such as y, yard, meter, km, and gallons.
Keep track of the sum of values entered (as well as the smallest and the largest) and the number of values entered. When the loop ends, print the smallest, the largest, the number of values, and the sum of values. note that to keep the sum, you have to decide on a unit to use for that sum; use meters.
Keep all the values entered (converted into meters) in a vector. At the end, write out those values.
Before writing out the values from the vector, sort them (that'll make them come out in increasing order).
In: Computer Science
Enzymes:
what is a transition state complex?
In: Chemistry
John’s Specialty Store uses a periodic inventory system. The
following are some inventory transactions for the month of May
2018:
Required:
Prepare the necessary journal entries to record these transactions.
(If no entry is required for a transaction/event, select
"No journal entry required" in the first account
field.)
1. Record the merchandise purchased on account for $5,900.
2. Record the payment of freight charges for $750.
3. Record the return of merchandise costing $1,050.
4. Record the sale of merchandise for $6,100 in cash.
5. Record the cost of goods sold for $3,250.
In: Accounting
In: Physics
python- please finish the three programs, where one flips an image horizonally, then vertically, and one that rotates an image by 90 degrees. please don't use the functions .mirror() .flip() or .rotate() if possible. thanks
def horizontal(image):
"""Flip the specified image left to right and return the modified
image"""
return img
def vertical(image):
"""Flip the specified image upside down and return the modified
image"""
return image
def rotate_90(image):
"""Rotate the specified image 90 degrees to the right and return
the modified image"""
return image
In: Computer Science
A cat rides a merry go round turning with uniform circular motion. At time t1=2.00s, the cat's velocity is gives by Vx = 3.00 m/s and Vy = 4.00 m/s. At t2 = 5.00 s,the cat's velocity is give by Vx = -3.00 m/s and Vy = -4.00 m/s. Take the coordinate system of the merry go round to have its origin at the center.
(a) What is the magnitude of the cat's centripetal acceleration?
(b) What is the magnitude of the cat's average acceleration during the time interval t2-t1?
(c) Assuming uniform circular motion before t1, what would have been the x-y coordinate location of the cat at t0= 0.00 s?
(d) What angle relative to the positive y-axis does the centripetal acceleration vector point at t= 3.00 s?
In: Physics
Think about the television programs and films you have seen recently that depicted business in some way. How were businesses and business people portrayed? Is there anything business could or should do to improve its media image? Some businesses try to stay out of the limelight. Why might that be? What do you think of that strategy? Do you believe that employees are more attracted and committed to ethical organizations? Are you? Why or why not?
In: Economics
A body moves along a straight line, its distance from the origin at any instant being given by the equation x = 8t − 3t^2, where x is in centimeters and t is in seconds.
(a) Find the average velocity of the body in the interval from t = 0 to t = 1 sec, and in the interval from t = 0 to t = 4 sec.
(b) Find the expression for the average velocity in the interval from t to t + Δt.
(c) What is the limiting value of this expression as Δt approaches zero?
(d) Find the time or times at which the body is at rest. (e) Find the expression for the acceleration at any time.Type or paste question here
In: Physics
In: Economics
Create a new program, called stars.py, for (eventually) drawing a 500x500 pixel picture of the night sky. The stars.py file will define several custom functions. You should write each function and then test it to verify it is working correctly. Make sure you match each function name precisely. Once complete submit it to D2L.
getStarPixelX()
Below are some example function calls and return values. You should test them by having your program call the function and print out the return value. (You can erase your test code later.)
getStarPixelY()
Below are some example function calls and return values. You should test them by having your program call the function and print out the return value. (You can erase your test code later.)
getStarSize()
Below are some example function calls and return values. You should test them by having your program call the function and print out the return value. (You can erase your test code later.)
getStarName()
Below are some example function calls and return values. You should test them by having your program call the function and print out the return value. (You can erase your test code later.)
In: Computer Science
Sources: linkedlist.cpp
#include <iostream>
#include "linkedlist.h"
using namespace std;
LinkedList* NewLinkedList()
{
LinkedList* llp = new LinkedList;
llp->head = new node;
llp->head->next = 0;
return llp;
}
void InsertFirst(LinkedList* llp, int val)
{
node* p = new node;
p->data = val;
p->next = llp->head->next;
llp->head->next = p;
}
void Print(LinkedList* llp)
{
for (node* p = llp->head->next; p != 0; p = p->next)
{
cout << p->data << " ";
}
}
void InsertLast(LinkedList* llp, int val)
{
node* p;
for (p = llp->head; p->next != 0; p = p->next)
{
}
// p now points to the last node in the list
// For you to do: Create a new node, store val in that node, and link the new node after p.
}
Sources: hw1.cpp
#include <iostream>
#include "linkedlist.h"
using namespace std;
int main()
{
LinkedList* llp = NewLinkedList();
InsertFirst(llp, 10);
InsertFirst(llp, 20);
InsertFirst(llp, 30);
cout << endl;
Print(llp);
cout << endl;
InsertLast(llp, 50);
InsertLast(llp, 60);
InsertLast(llp, 70);
cout << endl;
Print(llp);
cout << endl;
return 0;
}
Header: linkedlist.h
#ifndef LINKEDLIST_H_INCLUDED
#define LINKEDLIST_H_INCLUDED
struct node {
int data;
node* next;
};
struct LinkedList {
node* head;
};
LinkedList* NewLinkedList();
void InsertFirst(LinkedList* llp, int val);
void Print(LinkedList* llp);
void InsertLast(LinkedList* llp, int val);
#endif // LINKEDLIST_H_INCLUDED
-----------------------------
Your assignment is to complete the function InsertLast in linkedlist.cpp, compile, and run. The correct output should be:
30 20 10
30 20 10 50 60 70
In: Computer Science