How is the coronavirus pandemic affecting wildlife? With fewer cars on the roads, and with parks and wildlife areas closed to the public for several weeks, the Stay-at-Home Order (shelter in place) likely affected some animal populations in urban areas.
describe two examples of how animals have been
affected.
Make sure to include the type of animal affected, and how they are
affected. If you have directly witnessed affected wildlife, you may
use that as one example.
In: Biology
Complex numbers using overload constructor and private parameters in C++
I don't know why my code does not compile......
please DO NOT CHANGE THE MAIN....
complexDriver.cpp
#include <iostream>
#include "complex.h"
using namespace std;
int main( ) {
// Ex) complex(4.0, 3.0) means 4.0+3.0i.
complex c1, c2( 1.2, 4.9 ), c3( 2.2, 1.0 ), c4( -7.0, 9.6 ),
c5(8.1, -4.3),
c6(0.0, -7.1), c7(6.4), c8(0.0, 1.0), c9(0.0, 4.1), c10(0.0, -1.0),
c11;
cout << "c1 = " << c1 << endl;
cout << "c2 = " << c2 << endl;
cout << "c3 = " << c3 << endl;
cout << "c4 = " << c4 << endl;
cout << "c5 = " << c5 << endl;
cout << "c6 = " << c6 << endl;
cout << "c7 = " << c7 << endl;
cout << "c8 = " << c8 << endl;
cout << "c9 = " << c9 << endl;
cout << "c10 = " << c10 << endl;
cout << "c11 = " << c11 << endl;
}
complex.h
#ifndef COMPLEX_H
#define COMPLEX_H
#include <iostream>
using std::istream;
using std::ostream;
class complex{
// Stream I/O
friend ostream& operator<<(ostream &, const complex
&);
friend istream& operator>>(istream&,
complex&);
public:
double getReal() const; // getter
void setReal(double x); // setter
double getImaginary() const;
void setImaginary(double y);
// Ex) complex(4.0, 3.0) means 4.0+3.0i.
complex(double x= 0.0, double y= 0.0); // default constructor
private:
double Real;
double Imaginary;
};
#endif // COMPLEX_H
complex.cpp
#include <iostream>
#include "complex.h"
using std::cout;
using std::endl;
double complex::getReal() const{ // getter
return Real;
}
void complex::setReal(double x){ // setter
Real = x;
}
double complex::getImaginary() const{
return Imaginary;
}
void complex::setImaginary(double y){
Imaginary = y;
}
// X= real part, Y = imaginary part. real number = X+Yi
// Ex) complex(4.0, 3.0) means 4.0+3.0i.
complex::complex(double x, double y){ // default constructor
setReal(x);
setImaginary(y);
}
// Stream I/O
ostream& operator<<(ostream &out, const complex
&c){
out<< c.x<<"+"<< c.y<< "i";
return out;
}
In: Computer Science
A 25.0 mL sample of 0.100 HClO4 is titrated with a 0.100 M NaOH solution. What is the pH after the addition of 10.0 mL of NaOH? (HClO4 is a strong acid)
In: Chemistry
An electric charge on the x axis oscillates sinusoidally about the origin. A distant observer is located at a point on the +y axis.
Part A
In what direction will the electric field oscillate at the observer's location?
x,y or z?
Part B
In what direction will the magnetic field oscillate at the observer's location?
x,y or z?
Part C
In what direction will the electromagnetic wave propagate at the observer's location?
+x,-x,+y,-y,+z, or -z?
In: Physics
Assume a nation has an output level of 150 units per year, and that consumption is also 150. Suppose there is a sudden temporary drop in GDP by 16%. What does the long-run consumption path look like if this country has access to global financial markets with an interest rate of 5%?
In: Economics
1.) The speed of an electron is measured to within an uncertainty of 2.0x104 m/s. In how large a region of space is the electron likely to be found?
2.)The star nearest to Earth is Proxima Centauri, located at a distance of about 4.2 light years. (a) If one could travel there at 99% of the speed of light (0.99c), what would be the apparent distance to the star? (b) If you traveled to Proxmia Centauri at this high velocity, stayed there for 2 years, and then returned (also at 0.99c), how much time would have passed on Earth?
3.) (a) What is the wavelength of light for the least energetic photon emitted in the Balmer series of the hydrogen atom spectrum lines? (b) What is the wavelength of the series limit?
4.) How many electron states are there in the following shells: (a) n = 4, (b) n = 1, (c) n = 3, (d) n = 2?
5.) A sample of a certain metal has a volume of 4.0E-3 m3. The metal has a density of 9.0 g/cm3 and a molar mass of 60 g/mol. The atoms are bivalent. How many conduction electrons (or valance electrons) are in the sample?
In: Physics
200.0 mL of 1.5 x 10^-3 M Cu(NO3)2 is
mixed with 250.0 mL of 0.20 M NH3. The overall formation constant
for the formation of the [Cu(NH3)4]2+ complex
is 1.7·1013. (8 points)
a) What is the [Cu2+] at equilibrium?
b) Does CuS precipitate with a concentrated H2S out of this
solution at pH=6? The Ksp for CuS is 8·10-37.
In: Chemistry
Hi,
Please write a short story in around 600 words about "a number of aliens who are going to contact with the people on the Earth". Please try to make the story as interesting as possible. The story must include 10 words from the following list: Fortune, appliance, fortnight, caution, creature, literature, access and cautious, nuisance, ruin, disastrous, distribute, counterfeit, certificate, collapse, gimmick, conscious, collection, magician, tragedy.
Thank you
In: Operations Management
review the research on fan violence, citing a specific example in the sport of your choice (including the URL). Fans have become more actively involved in spectator events in recent years (passive involvement vs. active involvement).
In: Psychology
4. Compare the approaches of Fisher’s transactions and Pigou’s cash balances to the quantity theory. Are there any similarities between them? If so, in which respects? Or should they be treated as different approaches altogether?
In: Economics
Two suppliers have been contracted by a government agency to train agency employees learning to use a new computer system. The marginal cost curve of firm 1 is MC1=160+2Q1, while the marginal cost curve for Firm 2 is MC2=100+Q2, where Q is hours of training per week. Originally, each firm provides 60 hours of training services each week.
What is the total cost to firm 1 of providing 60 hours of training each week?
What is the total cost to firm 2 of providing 60 hours of training each week?
An economically-literate manager suggests it would be better to state a price that the government is willing to pay for an hour of training, and let each firm provide the number of hours they are willing to at this price.
What price should the government set to cost-effectively distribute the number of hours between the two firms while maintaining the total training provided at 120 hours per week?
How many hours of training will firm 1 provide at this price?
What is firm 1’s total cost?
How many hours will firm 2 provide at this price?
What is firm 2’s total cost?
How large is the cost savings resulting from the price rationed system relative to the original allocation of 60 training hours for each firm?
In: Economics
Instructions: Digital submission in PDF format (you can use Word
or Markdown to create these and then convert to PDF). Your
submission must include all R code.
I will be testing all of your code by copying and pasting into my R
session, so make sure it works. Your solutions should be a
narrative that incorporates R code (i.e. tell a story). R code by
itself is not sufficient. This must be entirely an original work
done by you. Copying someone else’s work (possibly found online) is
not acceptable.
Assignment:
1) In homework 2, you gave the name of a site you would like to scrape. Follow through with this (you may change the site if you wish). The point of this exercise will be to ultimately provide an interesting visualization of the data which needs to be included in your solution. For this problem, the data must be scraped. Provide why you chose this site, and how someone would find your visualization useful (in other words, justify why anyone would care about this).
In: Computer Science
Given the information below, create the fully labeled Crow's Foot ERD using a specialization hierarchy where appropriate (use Visio). The ERD must contain all primary keys, foreign keys, and main attributes. Business rules are defined as follows: A small company sells products on-line. Each product is supplied by one supplier. Each supplier delivers only one product. Each product belongs to one of the following categories: Books, Movies, or CDs. All products have common attributes - a product code, a title and a price- and attributes that are unique for each group of products. The list of such attributes includes but is not limited to the following: the publisher name (books), the format (movies), and the rating (CDs). In addition, customers may purchase a book (hardcover or paperback) or its' electronic version. For regular books, the company wants to record the number of pages per book. For electronic books, the format and the size of the file must be recorded.
In: Computer Science
1, If we want to display output from a command, such as DIR or TYPE, one screen at a time, we can use what kind of command?
> MORE
| PAGE
| MORE
>> PAGE
2, To delete a directory that contains subdirectories and/or files, we will use what command:
DEL directory name /S
MD directory name /S
RD directory name /S
RMDIR directory name
3, When we are using certain tools (e.g. WMIC, DISKPART, and NETSH) in the Interactive Mode, most of the internal Command Prompt commands, such as CLS and CD, would not work. However, which command will work?
BYE
EXIT
| MORE
START
4, When we use this command in a batch file, the user must pick from the available options because Command Prompt won't let s/he pick anything else:
CHOICE
IF ELSE
FOR
SET
In: Computer Science
Thalassines Kataskeves, S.A., of Greece makes marine equipment.
The company has been experiencing losses on its bilge pump product
line for several years. The most recent quarterly contribution
format income statement for the bilge pump product line
follows:
| Thalassines Kataskeves, S.A. Income Statement—Bilge Pump For the Quarter Ended March 31 |
||||||
| Sales | $ | 420,000 | ||||
| Variable expenses: | ||||||
| Variable manufacturing expenses | $ | 131,000 | ||||
| Sales commissions | 53,000 | |||||
| Shipping | 24,000 | |||||
| Total variable expenses | 208,000 | |||||
| Contribution margin | 212,000 | |||||
| Fixed expenses: | ||||||
| Advertising | 27,000 | |||||
| Depreciation of equipment (no resale value) | 104,000 | |||||
| General factory overhead | 46,000 | * | ||||
| Salary of product-line manager | 129,000 | |||||
| Insurance on inventories | 13,000 | |||||
| Purchasing department | 53,000 | † | ||||
| Total fixed expenses | 372,000 | |||||
| Net operating loss | $ | (160,000 | ) | |||
*Common costs allocated on the basis of machine-hours.
†Common costs allocated on the basis of sales dollars.
Discontinuing the bilge pump product line would not affect sales of other product lines and would have no effect on the company’s total general factory overhead or total Purchasing Department expenses.
Required:
a. Compute the increase or decrease of net operating income if the product line is continued or discontinued. (Decreases should be indicated by a minus sign.)
b. Would you recommend that the bilge pump product line be discontinued?
| Yes | |
| No |
In: Accounting