using c++ classes
write program in which CString is used, and give simple and easy
examples in the form of program, to show how to use different
CString function, use comments to explain what happened at that
function.
In: Computer Science
Three protons occupy the vertex of an equilateral triangle with each side of 1 cm. Mp= 1.67E-27 kg, qp= 1.6E-19 C.
a) release all three protons from rest, what is the max speed of each proton?
b) Only one proton is released while the other two are fixed. Find the speed of the moving proton after a long time.
In: Physics
As a recently hired MBA intern, you are working in a consulting capacity to provide an analysis for Al Dente's Italian Restaurant. A financial income Statement is presented below: Sales $2,698,000 Cost of sales (all variable) $1,557,563 Gross Margin $1,140,438 Operating expenses: Variable $277,975 Fixed $213,675 Total operating expenses: $491,650 Administative expenses (all fixed) $564,375 Net operating income $84,413 This income statement presents the sales, expenses and pre-tax operating income for a local eating facility. At Al Dente, the average meal cost for lunches and dinners are $20 and $40 respectively. Al Dente serves both lunch and dinner 300 days per year and serves twice as many lunches as dinners.
5. In order to increase NOI, the owner of the restaurant is considering adjustments to the quality of food ingredients currently used. Rather than using premium ingredients, use of average quality ingredients would reduce the cost of food by 15%. The owner proposes to not change the current meal pricing. As the consultant, prepare a memo to the owner that presents the pros and cons of this change in operations. What are the potential impacts on revenue, costs, and net operating income may result from this change? The owner does not want to see a decrease in net operating income. Could the owner make this change and absorb a decrease in customers, and how would you demonstrate numerically to support your analysis? What other factors or consequences of this decision should the owner consider besides the financial impact of the change?
In: Accounting
In 500 words analyzing ASSAULTIVE crimes, explain how Assault-Battery Crimes increase in severity, as the weapon used, or the fear imposed, or the damage inflicted, increase in danger and severity
In: Psychology
True of False
The concept of power uses the psychological principle of compliance to persuade the consumer, based on perceived awards or punishments.
A good positioning statement will both reflect a brand’s competitive advantage and motivate consumers to action.
Behavioral segmentation is based on attitudes, values and motivations, while Psychographic segmentation is based on previous purchasing or online search activity.
When a consumer views a persuasive message for a product they are very interested in (therefore elaboration likelihood is high), that person is most likely to focus on peripheral cues in the persuasion process.
A celebrity’s credibility is an important practical issue to be considered in determining whether a brand/company wishes to enter into a celebrity endorsement contract.
The marketing definition of elaboration is the mental activity that takes place in response to a marketing communications message.
Motivation, as it relates to elaboration likelihood, describes whether a person is familiar with the message claim and has the necessary skills to help comprehend them.
In: Operations Management
An article describing the fresco School of Athens by the Renaissance painter Raphael is shown in Figure 2–56. Much of the HTML and CSS code has been created for you. Complete the web page design by adding the missing CSS styles.
Do the Following:
1.Go to the code2-3.html file and within the head section insert link elements linking the page to the code2-3_layout.css and code2-3.css files. Review the contents the files.
2.Open the code2-3.css file. For the html element, set the left padding space to 30 pixels and set the background color to the value hsla(40, 80%, 75%, 0.5).
3. Display all h1 and h2 headings in a Helvetica, Arial, or sans-serif font.
4. For all h1 headings:
5. For all h2 headings:
6. For all inline images, set the top and right margins to 0, the bottom margin to 10px, and the left margin to 20px.
7. For all paragraphs, set the font size to 1.4em and set the text indent to 1em. For the first paragraph, using the first-of-type pseudo-class, set the text indent to 0. For the first line of the first paragraph, set the font variant to small-caps.
***Use the p:first-of-type::first-line pseudo-class and pseudo-element as the selector.***
Pages to be edited
Code2-3.css
@charset "utf-8";
/*
New Perspectives on HTML5 and CSS3, 8th Edition
Tutorial 2
Coding Challenge 3
Author:
Date:
Filename: code2-3.css
*/
Code2-3.html
<!doctype html>
<html lang="en">
<head>
<!--
New Perspectives on HTML5 and CSS3, 8th Edition
Tutorial 2
Coding Challenge 3
Author:
Date:
Filename: code2-3.html
-->
<link href="code2-3_txt.css" rel="stylesheet" />
<meta charset="utf-8">
<title>Coding Challenge 2-3</title>
</head>
<body>
<article>
<h1>The School of Athens</h1>
<h2>By Raphael</h2>
<img src="code2-3_img.png" alt="School of Athens" />
<p>The <em>School of Athens</em>, considered by many to be Raphael's
masterwork, is a fresco representing the greatest minds of
classical antiquity, gathered together to share their
thoughts and beliefs. The fresco was painted between 1509 and 1511
as a part of a commission to decorate the rooms of the
Stanze di Raffaello in the Apostolic Palace in the Vatican.</p>
<p>The two center figures, Aristotle and Plato, are key philosophers
in the development of Western thought. Plato, with his belief in a
higher realty, points skyward. Within his hands, Plato holds
the <cite>Timaeus</cite> — one of Plato's famous dialogs on
the nature of reality and time. In contrast, Aristotle points
downward, indicating that he is grounded in a reality that can be
experienced by sight and touch. In his hands, he holds his
book <cite>Ethics</cite>, a tome that emphasizes the need for
justice, friendship, and ethical government.
</p>
<p>Other famous philosophers fill the pseudo-architecture. In many cases,
when Raphael did not have classical images to draw upon, he used
images of contemporary figures to stand in for their classical
counterparts. Look for a portrait of Michelangelo on the left-forward
steps, his thoughts concerned with sketching and art.</p>
</article>
</body>
</html>
In: Computer Science
Troy Engines, Ltd., manufactures a variety of engines for use in heavy equipment. The company has always produced all of the necessary parts for its engines, including all of the carburetors. An outside supplier has offered to sell one type of carburetor to Troy Engines, Ltd., for a cost of $35 per unit. To evaluate this offer, Troy Engines, Ltd., has gathered the following information relating to its own cost of producing the carburetor internally:
Per Unit | 15,000 Units Per Year |
|||||
Direct materials | $ | 14 | $ | 210,000 | ||
Direct labor | 10 | 150,000 | ||||
Variable manufacturing overhead | 3 | 45,000 | ||||
Fixed manufacturing overhead, traceable | 6 | * | 90,000 | |||
Fixed manufacturing overhead, allocated | 9 | 135,000 | ||||
Total cost | $ | 42 | $ | 630,000 | ||
*One-third supervisory salaries; two-thirds depreciation of special equipment (no resale value).
Required:
1. Assuming the company has no alternative use for the facilities that are now being used to produce the carburetors, what would be the financial advantage (disadvantage) of buying 15,000 carburetors from the outside supplier?
2. Should the outside supplier’s offer be accepted?
3. Suppose that if the carburetors were purchased, Troy Engines, Ltd., could use the freed capacity to launch a new product. The segment margin of the new product would be $150,000 per year. Given this new assumption, what would be financial advantage (disadvantage) of buying 15,000 carburetors from the outside supplier?
4. Given the new assumption in requirement 3, should the outside supplier’s offer be accepted?
In: Accounting
***Need 200 words in total for the 3 question about LINUX below***
In: Computer Science
You are a researcher interested in measuring self-esteem. You give your participants a 10-item questionnaire with items, such as “I feel that I have a number of good qualities” or “I take a positive attitude toward myself.” Participants indicate agreement to these questions on the same 5-point scales, ranging from 1 (not at all agree) to 5 (completely agree). On which scale level do you measure self-esteem? Nominal, ordinal, interval, or ratio? Why?
In: Psychology
You would be most likely to use operant conditioning to teach a dog to ____.
fear cars in the street |
||
dislike the taste of dead birds |
||
wag its tail whenever it is excited |
||
retrieve sticks and balls |
In: Psychology
An economist wonders if corporate productivity in some countries
is more volatile than in other countries. One measure of a
company's productivity is annual percentage yield based on total
company assets.
A random sample of leading companies in France gave the following
percentage yields based on assets.
4.5 | 5.6 | 3.7 | 3.8 | 2.9 | 3.5 | 2.8 | 4.4 | 5.7 | 3.4 | 4.1 |
6.8 | 2.9 | 3.2 | 7.2 | 6.5 | 5.0 | 3.3 | 2.8 | 2.5 | 4.5 |
Use a calculator to verify that the sample variance is
s2 ≈ 1.982 for this sample of French
companies.
Another random sample of leading companies in Germany gave the
following percentage yields based on assets.
2.6 | 3.8 | 3.7 | 4.1 | 5.4 | 5.5 | 5.0 | 5.4 | 3.2 |
3.5 | 3.7 | 2.6 | 2.8 | 3.0 | 3.0 | 2.2 | 4.7 | 3.2 |
Use a calculator to verify that s2 ≈ 1.108
for this sample of German companies.
Test the claim that there is a difference (either way) in the
population variance of percentage yields for leading companies in
France and Germany. Use a 5% level of significance. How could your
test conclusion relate to the economist's question regarding
volatility (data spread) of corporate productivity of
large companies in France compared with companies in Germany?
(a) What is the level of significance?
State the null and alternate hypotheses.
Ho: σ12 = σ22; H1: σ12 > σ22Ho: σ12 > σ22; H1: σ12 = σ22 Ho: σ22 = σ12; H1: σ22 > σ12Ho: σ12 = σ22; H1: σ12 ≠ σ22
(b) Find the value of the sample F statistic. (Use 2
decimal places.)
What are the degrees of freedom?
dfN | |
dfD |
What assumptions are you making about the original distribution?
The populations follow dependent normal distributions. We have random samples from each population.The populations follow independent normal distributions. The populations follow independent normal distributions. We have random samples from each population.The populations follow independent chi-square distributions. We have random samples from each population.
(c) Find or estimate the P-value of the sample test
statistic. (Use 4 decimal places.)
p-value > 0.2000.100 < p-value < 0.200 0.050 < p-value < 0.1000.020 < p-value < 0.0500.002 < p-value < 0.020p-value < 0.002
(d) Based on your answers in parts (a) to (c), will you reject or
fail to reject the null hypothesis?
At the α = 0.05 level, we reject the null hypothesis and conclude the data are not statistically significant.At the α = 0.05 level, we reject the null hypothesis and conclude the data are statistically significant. At the α = 0.05 level, we fail to reject the null hypothesis and conclude the data are not statistically significant.At the α = 0.05 level, we fail to reject the null hypothesis and conclude the data are statistically significant.
(e) Interpret your conclusion in the context of the
application.
Fail to reject the null hypothesis, there is sufficient evidence that the variance in percentage yields on assets is greater in the French companies.Reject the null hypothesis, there is insufficient evidence that the variance in percentage yields on assets is greater in the French companies. Reject the null hypothesis, there is sufficient evidence that the variance in percentage yields on assets is different in both companies.Fail to reject the null hypothesis, there is insufficient evidence that the variance in percentage yields on assets is different in both companies.
In: Math
The basic elements of modern portfolio theory were proposed by Dr. Harry M.Markowitz in 1952. He provided the theoretical framework for the systematic composition of optimum portfolio.
Inlight of the above , discuss Markowitzs Model and the Efficient Frontier as a finance theory
In: Finance
do the following in r studio Perform the Analysis of Variance of the grade point average of the Design of Experiments subject . According to the following information. trat <- c (1,1,1,2,2,2,3,3,3,4,4,4) y <- c (7.66,6.98,7.80,5.26,5.44,5.80,7.41,7.33,7.04,3.51,2.91,3.66) trat <- as. factor (trat) data <- cbind (trat, y) y "is the dependent variable (grade point average) and the treatment is the variable" trat "is the type of test applied. Perform the following analyzes on the provided data:
1. Define the proposed experiment and identify the response variables, the factor, and the factor levels.
2. Perform exploratory data analysis
3. Indicate if there are outliers and if these would have an effect on the proposed experiment
4. Show graphically whether or not there is a difference of means for the treatment
5. Perform the ANOVA and write the null and alternative hypotheses, indicate the value of the statistic Contrast F and the critical value of F under the null hypothesis
6. Indicate the value of the mean square of the treatment, mean square of the error and square half total
7. Compare paired means and indicate whether there is a relationship between treatment and answer (Tukey's test)
8. Represent graphically the differences found and interpret the results 9. Based on your experiment, what would your conclusions be?
In: Computer Science
what is the cloud delivery models and cloud deployment models of
Huawei Cloud
Eucalyptus
Salesforce Cloud
VMware Cloud
AWS
Google Cloud Platform
Microsoft Azure
Oracle Cloud
SAP Cloud
Rackspace
IBM Cloud
also what should you consider in order virtualising data centre? what services support this process from above providers
In: Computer Science
Problems that are best suited for the various methods of paternalistic, informative and shared decision making in leadership and management nursing
In: Nursing