An AC generator supplies an rms voltage of 115 V at 60.0 Hz. It is connected in series with a 0.550 H inductor, a 3.90 μF capacitor and a 311 Ω resistor. What is the impedance of the circuit?
What is the rms current through the resistor?
What is the average power dissipated in the circuit?
What is the peak current through the resistor?
What is the peak voltage across the inductor?
What is the peak voltage across the capacitor?
The generator frequency is now changed so that the circuit is in resonance. What is that new (resonance) frequency?
In: Physics
Describe the status of the N, Z, C, and V flags of the CPSR
after each of the following:
(a) ldr r1, =0xffffffff
ldr r2, =0x00000001
add r0, r1, r2
(b) ldr r1, =0xffffffff
ldr r2, =0x00000001
cmn r1, r2
(c) ldr r1, =0xffffffff
ldr r2, =0x00000001
adds r0, r1, r2
(d) ldr r1, =0xffffffff
ldr r2, =0x00000001
addeq r0, r1, r2
(e) ldr r1, =0x7fffffff
ldr r2, =0x7fffffff
adds r0, r1, r2
In: Computer Science
Issue # 2 - A V-belt from a 10 in. Diameter spindle pulley that rotates at 1800 rpm, to a 36 in. Diameter flat pulley. The wheelbase is 40 "and the throat angle is 40o. The friction coefficient between the belt and the grooved pulley is 0.2 and with the flat pulley it is also 0.2. The cross section of the straps is a trapezoid with parallel sides of 1.5 "and 0.75", with a height between them of 1 ". The weight of this belt is 0.04 lbf / in3, and the maximum allowable tension on each belt is 200 lbf. Determine: a) How many straps are needed. b) The Torque applied in the transmission, c) The Transmitted power. Note: Consider locating the center of gravity of the belt cross section in order to correct the actual pulley diameter as the band on the splined pulley is slightly outward.)
In: Mechanical Engineering
I have posted this earlier, but it seems that the code part was cutoff, therefore, this is re post with full code.
In the program the "case: 'C'" doesn't seem to function correctly,
We were told to write a book tracking program, and it takes inputs and once all the book info such as ISBN, date, author, course number, etc are put in then input, then we can print them out, by using the print functions that are defined in the program. Example:
the formats are as follows, when defining the book: "B-ISBN-TITLE"
So then in the terminal once the code compiles I can input: "B 1234567890123 Title of book"
and thus that book is defined, and I needed to make the code print the books info out and it's format were "GB-ISBN"
So then in the terminal after the book is defined I can type "GB 1234567890123" and the isbn and books title will be printed out that were define above.
NOW my problem is with the C which defines a course and it's format is "C-Department Code-Course Number-Name"
So if type "C CSEC 215 Name of the course" it should store it, until I use the print function "PC" which will print out the course that are defined. BUT I am getting an "abort message, out of range", and it points the error at the "case: C" switch statement in the code.
Can someone take a look at the code and help me figure out the solution,
Here is the code:
else if(code == "PY")
{
int pmonth, pyear, checkMonth, checkYear;
int ch;
iss>>checkMonth>>ch>>checkYear;
for(int i=0; i<bookCounter; i++)
{
istringstream isstreamer(books[i]->publicationDate);
isstreamer>>pmonth>>ch>>pyear;
if((pyear==checkYear &&
pmonth>checkMonth)||(pyear>checkYear))
{
cout<<books[i]->isbn<<"
"<<books[i]->title<<"\n";
}
}
}
else if(code=="PM")
{
double average = 0, max = 0, min = 100000;
int count = 0;
int deptCode;
iss>>deptCode;
for(int i=0; i<classCounter; i++)
{
if(classes[i]->course->deptCode==deptCode)
{
average +=classes[i]->book->usedRate ==
-1?0:classes[i]->book->usedRate;
average +=classes[i]->book->newRate ==
-1?0:classes[i]->book->newRate;
average +=classes[i]->book->rentedRate ==
-1?0:classes[i]->book->rentedRate;
average +=classes[i]->book->eRate ==
-1?0:classes[i]->book->eRate;
if(classes[i]->book->usedRate != -1)
{
if(classes[i]->book->usedRate > max) max =
classes[i]->book->usedRate;
if(classes[i]->book->usedRate < min &&
classes[i]->required) min =
classes[i]->book->usedRate;
count++;
}
if(classes[i]->book->newRate != -1)
{
if(classes[i]->book->newRate > max) max =
classes[i]->book->newRate;
if(classes[i]->book->newRate < min &&
classes[i]->required) min =
classes[i]->book->newRate;
count++;
}
if(classes[i]->book->rentedRate != -1)
{
if(classes[i]->book->rentedRate > max) max =
classes[i]->book->rentedRate;
if(classes[i]->book->rentedRate < min &&
classes[i]->required) min =
classes[i]->book->rentedRate;
count++;
}
if(classes[i]->book->eRate != -1)
{
if(classes[i]->book->eRate > max) max =
classes[i]->book->eRate;
if(classes[i]->book->eRate < min &&
classes[i]->required) min = classes[i]->book->eRate;
count++;
}
}
}
cout<<"Average: "<<average/count<<" Min Cost:
"<<min<<" Max Cost: "<<max<<endl;
}
}
int main()
{
cout<<"Enter 'quit' to quit the program\n\n";
for (string line; getline(std::cin, line);) {
if(line == "quit")
exit(0);
else
{
string code;
istringstream iss(line);
iss>>code;
long newISBN = 0;
int bookIndex = 0;
char updateCode;
switch(code.at(0))
{
case 'B': books[bookCounter] = new Book;
iss>>books[bookCounter]->isbn;
books[bookCounter]->title = iss.str().substr(iss.tellg());
bookCounter++;
break;
case 'D': iss>>newISBN;
bookIndex = getBook( newISBN);
iss>>updateCode;
if(updateCode=='A')
books[bookIndex]->author = iss.str().substr(iss.tellg());
else if(updateCode=='E')
iss>>books[bookIndex]->edition;
else iss>>books[bookIndex]->publicationDate;
break;
case 'M': iss>>newISBN;
double cost;
bookIndex = getBook( newISBN);
iss>>cost>>updateCode;
if(updateCode=='N') books[bookIndex]->newRate = cost;
else if(updateCode=='U') books[bookIndex]->usedRate =
cost;
else if(updateCode=='R') books[bookIndex]->rentedRate =
cost;
else if(updateCode=='E') books[bookIndex]->eRate = cost;
break;
case 'C': course[courseCounter] = new Course; //Help with
this case, error thrown here.
iss>>course[courseCounter]->deptCode>>course[courseCounter]->courseNumber;
course[courseCounter]->name =
iss.str().substr(iss.tellg());
courseCounter++;
break;
case 'A': iss>>newISBN;
int deptCode, courseNum, courseIndex;
iss>>deptCode>>courseNum;
courseIndex = getCourse( courseNum, deptCode);
bookIndex = getBook( newISBN);
classes[classCounter] = new Class;
classes[classCounter]->book = books[bookIndex];
classes[classCounter]->course = course[courseIndex];
iss>>classes[classCounter]->sectionNumber;
iss>>classes[classCounter]->required;
classCounter++;
break;
case 'G': printBooks(code, iss); break;
case 'P': printAllInfo(code, iss); break;
}
}
}
}
In: Computer Science
Returns earned over a given time period are called realized returns. Historical data on realized returns is often used to estimate future results. Analysts across companies use realized stock returns to estimate the risk of a stock.
Consider the case of Celestial Crane Cosmetics Inc. (CCC):
Five years of realized returns for CCC are given in the following table. Remember:
| 1. | While CCC was started 40 years ago, its common stock has been publicly traded for the past 25 years. |
| 2. | The returns on its equity are calculated as arithmetic returns. |
| 3. | The historical returns for CCC for 2012 to 2016 are: |
|
2012 |
2013 |
2014 |
2015 |
2016 |
|
|---|---|---|---|---|---|
| Stock return | 22.50% | 15.30% | 27.00% | 37.80% | 11.70% |
Given the preceding data, the average realized return on CCC’s stock is ___ .
The preceding data series represents of CCC’s historical returns. Based on this conclusion, the standard deviation of CCC’s historical returns is___ .
If investors expect the average realized return from 2012 to 2016 on CCC’s stock to continue into the future, its coefficient of variation (CV) will be ___ .
In: Finance
Concord Inc. reported the following pretax income (loss) and related tax rates during the years 2013–2019.
| Pretax Income (Loss) | Tax Rate | |
| 2013 | $37,000 | 30% |
| 2014 | $24,700 | 30% |
| 2015 | $50,100 | 30% |
| 2016 | $81,000 | 40% |
| 2017 | ($176,500) | 45% |
| 2018 | $72,800 | 40% |
| 2019 | $109,800 | 35% |
Pretax financial income (loss) and taxable income (loss) were the same for all years since Concord began business. The tax rates from 2016–2019 were enacted in 2016.
Prepare the journal entries for the years 2017–2019 to record income taxes payable (refundable), income tax expense (benefit), and the tax effects of the loss carryback and carryforward. Assume that Concord elects the carryback provision where possible and expects to realize the benefits of any loss carryforward in the year that immediately follows the loss year.
Prepare the portion of the income statement, starting with “Operating loss before income taxes,” for 2017.
Prepare the portion of the income statement, starting with “Income before income taxes,” for 2018.
In: Accounting
On January 1, 2015, Charmin Manufacturing Company purchased a machine for $220,000. The company expects to use the machine a total of 80,000 hours over the next 10 years. The estimated sales price of the machine at the end of 10 years is $10,000. The company used the machine 8,000 hours in 2015 and 12,000 in 2016.
Requirements:
1. Compute and show workings for the deprecation expense to be charged using the straight line, units of production and double-declining methods of deprecation for 2015 and 2016. (Round off answers to the nearest dollar where applicable)
2. Compute the net book value for 2015 and 2016 if the company adopted the double declining method of deprecation.
Question B
Based on the above information, assume that Charmin Manufacturing company adopted the straight-line method and sold the machine for $180,000 on July 1st, 2017.
Requirements:
1. Prepare a statement showing the computation of the gain or loss on the disposal of the machine.
2. Prepare a compound journal entry to record the disposal of the fixed asset as at July 1st, 2017. (Round off answer to the nearest dollar).
In: Accounting
In: Accounting
Use the following information for the Exercises below.
The following selected account balances are provided for Delray
Mfg.
| Sales | $ | 1,295,000 |
| Raw materials inventory, Dec. 31, 2016 | 38,000 | |
| Work in process inventory, Dec. 31, 2016 | 55,800 | |
| Finished goods inventory, Dec. 31, 2016 | 62,900 | |
| Raw materials purchases | 186,200 | |
| Direct labor | 228,000 | |
| Factory computer supplies used | 22,200 | |
| Indirect labor | 49,000 | |
| Repairs—Factory equipment | 5,250 | |
| Rent cost of factory building | 59,000 | |
| Advertising expense | 106,000 | |
| General and administrative expenses | 134,000 | |
| Raw materials inventory, Dec. 31, 2017 | 41,400 | |
| Work in process inventory, Dec. 31, 2017 | 39,500 | |
| Finished goods inventory, Dec. 31, 2017 | 69,800 | |
Exercise 14-13 Preparation of schedule of cost of goods manufactured LO P2
Prepare its schedule of cost of goods manufactured for the year ended December 31, 2017.
Exercise 14-14 Income statement preparation LO P2
Prepare an income statement for Delray Mfg. (a manufacturer).
In: Accounting
RGDP per Person Growth Rate The following table summarizes Bureau of Economic Analysis data on NGDP and RGDP from 2010 – 2016. Data are in billions of dollars. Year NGDP RGDP 2010 14,964.40 14,783.80 2011 15,517.90 15,020.60 2012 16,155.30 15,354.60 2013 16,663.20 15,583.30 2014 17,348.10 15,961.70 2015 17,942.90 16,345.00 The following table summarizes U.S. Census Bureau data on population estimates from 2010 – 2016. 2010 2011 2012 2013 2014 2015 2016 309,348,193 311,663,358 313,998,379 316,204,908 318,563,456 320,896,618 323,127,513 What was the RGDP per person in 2010 and 2011? Round up your answer to a full number (no decimals). On the "short scale," one billion is 1,000 million, or 1 and 9 zeroes (1,000,000,000).
RGDP per person in 2010 was $ ________.
RGDP per person in 2011 was $ ________.
Using the exact formula calculate the annual growth rate of RGDP per person in 2011. Round up your answer to the second decimal. The annual growth rate of RGDP per person in 2011 was ________ percent.
In: Economics