Questions
A linear quadrupole consists of charges q at z = a , z=-a and 2q at...

A linear quadrupole consists of charges q at z = a , z=-a and 2q at z = 0.

a) Show that the system is equivalent to two dipoles with dipole moment qa and -qa in the positions a/2 and -a/2.

b) Find the potential V(r, θ)

c) Draw the equipotential surfaces.

In: Physics

Two capacitors, C1=7500pF and C2=2900pF, are connected in series to a 15.0 V battery. The capacitors...

Two capacitors, C1=7500pF and C2=2900pF, are connected in series to a 15.0 V battery. The capacitors are later disconnected from the battery and connected directly to each other, positive plate to positive plate, and negative plate to negative plate.

What then will be the charge on each capacitor?

In: Physics

1. 2017 business tax cuts 2. Budgeting and types of budgets (financial, line-item, cash flow, master,...

1. 2017 business tax cuts

2. Budgeting and types of budgets (financial, line-item, cash flow, master, sales, etc.)

3. Business plans and their components

4. Internal and external data

5. Short-term v. Long term planning

In: Finance

Calculate the cell potential for the following reaction as written at 25.00 °C, given that [Mg2...

Calculate the cell potential for the following reaction as written at 25.00 °C, given that [Mg2 ] = 0.799 M and [Sn2 ] = 0.0160 M. Standard reduction potentials can be found here.

Mg(s)+ Sn^2+ ---> Mg^2+ +Sn(s)

E= V units

In: Chemistry

Assume solution A-B and their mean molar volume Vm, under constant temperature T and pressure P,...

Assume solution A-B and their mean molar volume Vm, under constant temperature T and pressure P, is given by: Vm = 100xA + 80xB + 2.5xAxB
Evaluate relative integral volume of mixing ∆V M with respect to composition and draw schematic sketch with respect to xA.

In: Other

For the reaction 2Co3+(aq)+2Cl−(aq)→2Co2+(aq)+Cl2(g).  E∘=0.71 V what is the cell potential at 25 ∘C if the concentrations...

For the reaction

2Co3+(aq)+2Cl−(aq)→2Co2+(aq)+Cl2(g).  E=0.71 V

what is the cell potential at 25 ∘C if the concentrations are [Co3+]= 0.634 M , [Co2+]= 0.385 M , and [Cl−]= 0.491 M and the pressure of Cl2 is PCl2= 6.10 atm ?

In: Chemistry

For the reaction 2Co3+(aq)+2Cl−(aq)→2Co2+(aq)+Cl2(g). E∘=0.483 V what is the cell potential at 25 ∘C if the...

For the reaction 2Co3+(aq)+2Cl−(aq)→2Co2+(aq)+Cl2(g). E∘=0.483 V what is the cell potential at 25 ∘C if the concentrations are [Co3+]= 0.222 M , [Co2+]= 0.275 M , and [Cl−]= 0.309 M and the pressure of Cl2 is PCl2= 3.80 atm ?

In: Chemistry

(a) Compute the derivative of the speed of sound in air with respect to the absolute...

(a) Compute the derivative of the speed of sound in air with respect to the absolute temperature, and show that the differentials dv and dT obey dv/v=1/2 dT/T. (b) Use this result to estimate the percentage change in the speed of sound when the temperature changes from 0

In: Physics

Data Structures Homework – Singly Linked Lists Create a singly linked that represents a school. The...

Data Structures Homework – Singly Linked Lists

Create a singly linked that represents a school. The school has multiple classes. Each class has a different number of students.

class student

{

Long ID;

string Name;

string Address;

float grades[3];

student *below;

};

class Node // the node represents a class in school

{

int ID;

int NoOfStudents;

int NoOfQuizes;

student *t;// a linked list of students is allocated dynamically

Node *Next;

};

class school {

string Name;

Node *Head;

int n;//number of classes in school

};

First, you need to implement the following constructors and destructors:

1- School constructor: Creates an empty school. It takes the school name as a parameter and sets the number of classes to zero.

2- Class (Node) constructor: Sets the class ID, sets the number of students to zero, the NoOfQuizes to zero and the pointers to NULL.

3- Student constructor: Sets the student’s ID, Name and address which are passed as parameters once a student is created.

4- Student destructor: contains the cout statement: ”student destructor is called”

5- Class (Node) destructor: deletes all students in class.

6- School destructor: deletes all the classes in the school.

In your main function create an empty school by entering the name of the school from keyboard (this calls the school constructor), then display the following menu to the user and perform tasks accordingly.

In addition to constructors and destructors, you need to define a function to perform each of the following tasks.

Your program must keep on displaying this list until the user chooses Exit (12).

1. Create a class: This function creates a new class in the school by reading the class information from a text file that has the following format. The class is added to the end of the school linked list. Note that this will call the Node constructor (once)+ the student constructor (multiple times).

Class ID

NoOfStudents

Student ID Student Name Student Address

Student ID Student Name Student Address

Student ID Student Name Student Address

……..

2. Read quiz grades: This function takes the class ID and the number of the quiz (first:0, second:1, Final:2) from keyboard and reads the grades for all students in the class in a certain quiz. Sort the students alphabetically then read their grades (this calls the function sort students (8)).

3. Compute student’s average: Take a student’s ID and return his average

4. Add student: Enter class ID, read a student’s information (ID & name & address from keyboard), add a student to the beginning of the class list. Note that this calls the student’s constructor. Also, read (NoOfQuizes) grades for this student.

5. Delete student: Enter student’s ID, search for the student in the school and delete the student from his class (if found).

6. Delete class: Enter class ID, find the class, delete the list of students in the class (this uses class destructor) then delete the class node from the list (the rest of the school list should remain intact).

7. Sort students: Enter class ID and sort the students of that class based on their names in alphabetical order.

8. Find the student with maximum average in a certain class: Enter class ID, find student with maximum average, then display the student (name + ID).

9. Display student given his name: enter student’s name, find the student and display his ID, grades and average.

10. Display a class given its ID: enter a class ID, find the class and neatly display the information of all the students in that class.

11. Display school: Display all classes in a school. Display each class ID together with its students (ID, name and address of each student).

12. Exit .

In your main function, create a school and test all your work above.

make it clearly thanks..!!

In: Computer Science

Problem 2: Consider a representative consumer whose preferences over consumption and leisure are given by the...

Problem 2: Consider a representative consumer whose preferences over consumption and leisure are given by the following utility function: U˜(C, l) = U(C) + V (l) (2) where U(.) and V (.) are twice differentiable functions (that is, their first and second derivatives exist). Suppose that this consumer faces lump-sum taxes, T, and receives dividend income, Π, from the 100% ownership of shares of the representative firm.

A) Write down the consumer’s optimization problem and the first-order conditions determining optimal consumption and leisure. B) Carefully explain the effect of a sudden boom in the stock market, which increases dividend income, on the optimal choice of consumption and leisure? Use the ABCDEF of Cramer’s rule to answer this question. Clearly state any assumptions you make. C) Using a carefully labeled diagram, describe the effects of this positive stock market shock characterized in (b).

In: Economics