Create a Packet Tracer file that completes the required steps below.
After you have added the switches, add the following devices and wire accordingly.
|
Device |
Interface |
To |
|
|
PC1-A |
F0 |
Switch 1 |
F0/1 |
|
PC1-B |
F0 |
Switch 1 |
F0/5 |
Configure the following information on the computers:
|
Device |
IP |
Subnet |
|
PC1-A |
172.16.30.3 |
255.255.255.0 |
|
PC1-B |
172.16.30.4 |
255.255.255.0 |
Configure the following items:
In: Computer Science
Write a C program that reads a file and reports how many lines, words, and characters appear in it. For the purpose of this program, a word consists of a consecutive sequence of any characters except white space characters. For example, if the file lear.txt contains the following passage from King Lear,
Poor naked wretches, wheresoeāer you are,
That bide the pelting of this pitiless storm,
How shall your houseless haeds and unfed sides,
Your loopād and windowād raggedness, defend you
From seasons such as these? O, I have taāen
Too little care of this!
Your program should be able to generate the following sample run:
File: lear.txt
Lines: 6
Words: 43
Chars: 210
In: Computer Science
Use Google to search for online storage services or cloud backup. Look for an article or post that describes available services for remote backups. List two services and locate additional information about each, including how to enroll, costs to use, known security risks or breaches and customer reviews. Find articles that describe how companies are adopting online storage services and locate statistics about how many currently are doing so as well as predictions. Have you ever used an online storage service for backup or data recovery? If so, describe the experience. Submit your findings in a brief 250 word essay. Identify at least one URL used as a research source.
In: Computer Science
Just wondering about the definitions and usage of these three terms.
To my understanding so far, "covariant" and "form-invariant" are used when referring to physical laws, and these words are synonyms?
"Invariant" on the other hand refers to physical quantities?
Would you ever use "invariant" when talking about a law? I ask as I'm slightly confused over a sentence in my undergrad modern physics textbook:
"In general, Newton's laws must be replaced by Einstein's relativistic laws...which hold for all speeds and are invariant, as are all physical laws, under the Lorentz transformations." [emphasis added]
~ Serway, Moses & Moyer. Modern Physics, 3rd ed.
Did they just use the wrong word?
In: Physics
Question 5
(a)
(b)
TLT company has $720 million in common stock outstanding. Its cost
of equity is 12%. Moreover, TLT has $360 million in 6% coupon rate
bonds outstanding. The bond is currently sold at par. There are no
taxes in the country in which TLT company operates.
i. Calculate the weighted average cost of capital (WACC) of
TLT.
ii. TLT has decided to issue $180 million in common stock and use
the proceeds to buy back its bonds. According to the Modigliani
& Miller (M&M) propositions, what are the TLTās new WACC
and new cost of equity?
Critically discuss the importance of dividend clientele effect to
the firm value. (word limit: 150 words)
In: Finance
(a)
(b)
TLT company has $720 million in common stock outstanding. Its cost
of
equity is 12%. Moreover, TLT has $360 million in 6% coupon rate
bonds
outstanding. The bond is currently sold at par. There are no taxes
in the
country in which TLT company operates.
i. Calculate the weighted average cost of capital (WACC) of
TLT.
ii. TLT has decided to issue $180 million in common stock and use
the
proceeds to buy back its bonds. According to the Modigliani &
Miller
(M&M) propositions, what are the TLTās new WACC and new cost
of
equity?
Critically discuss the importance of dividend clientele effect to
the firm
value. (word limit: 150 words)
In: Finance
Assume that you are working for the Ministry of Health in the geriatric department. The department is planning to create a specific geriatric care model for older adults to meet their needs and enable them to be healthy while they are aging. Your supervisor asks you to address one of the common geriatric syndromes to be used in that model.
1. What is the geriatric syndrome that you are going to address?
2. Explain your approach/policy that you will use to help prevent/reduce the health issue? Explain it thoroughly.
3. Why do you think your approach is appropriate for that issue?
In: Nursing
Question 1
Required:
Forecasting is an important business process to enable planning and preparation.
Describe THREE (3) techniques that could be used to forecast costs. Illustrate your answer with the use of simple numerical examples.
Evaluate the usefulness of these three techniques. (maximum word count 500 words)
Question 2
The Feathered Friends Company is a small business manufacturing products for domestic and wild birds. Its best-selling product is the āfat ballā that can be hung or placed in a garden to provide healthy nourishment for wild birds during cold winters.
The standard material cost per āfat ballā is as follows:
|
Ā£ |
||
|
Fat |
50g @ £6.80/kg |
0.34 |
|
Nuts |
30g @ £13.00/kg |
0.39 |
|
Seeds |
100g @ £2.50/kg |
0.25 |
|
Total standard material cost per āfat ballā |
0.98 |
|
[1 kg = 1,000g]
5,000 āfat ballsā were produced and sold in the second quarter of the year (April ā June), incurring the following material costs:
|
Ā£ |
||
|
Fat |
150kg |
1,083 |
|
Nuts |
220kg |
2,552 |
|
Seeds |
650kg |
1,300 |
|
Total material cost incurred |
4,935 |
|
The management accountant met with the production manager to review the variances that had been calculated. The production manager observed that some of the original information on the standard cost card was out of date. He specifically noted the following points:
Required:
Question 3
Julieās Cleaning Services is considering expanding its domestic cleaning operations to include the provision of carpet cleaning. This will require the purchase of 20 specialised carpet cleaning machines, at a cost of Ā£400 each, to be used by the team of cleaners. The company will treat this expenditure as a fixed cost.
This is a large additional cost for the business, but Julie expects that the demand for this service is sufficient to warrant charging a fee of £75 per room carpet. The variable costs incurred per clean are £21 which include all labour and materials costs.
Required:
(maximum word count 300 words)
Julie is considering refining the pricing model for the carpet cleaning to allow for different sized room carpets (lower prices for smaller rooms). Describe, using a numerical example, how the calculations in part (a) will be amended to allow for this pricing model. (maximum word count 120 words)
Question 4
Fancy Flowers Ltd is considering how many bouquets of flowers it will need at its stall at a local arts festival that is running for a few weeks. Due to supplier issues, it must choose in advance whether to prepare 200, 300 or 400 bouquets per day. Demand for bouquets can be 200, 300 or 400 per day at the festival. Any flowers not sold on the day will have to be thrown away.
The price charged per bouquet is £20, and the variable cost is £8 per bouquet. If the demand for bouquets exceeds the number of bouquets taken to the festival, then customers will have to be turned away. Fancy Flowers Ltd estimates that if this situation arises, it would cost the company £200 in loss of goodwill, irrespective of the number of customers turned away (i.e. the loss would be £200 if 100 customers were disappointed or if 300 were disappointed).
Required:
(maximum word count 140 words)
In: Accounting
Lab 08: Finding Nemo
Youshouldturnin:1.A file named Lab08.m, and a screenshot of you running findingNemo() from thecommand line.
Instructionsā:1.On Canvas you will find a file named findingNemo.m and another named nemo.txt. Thefirst contains code which will read in strings from nemo.txt, then call Lab08(string) oneach line of nemo.txt. Your job is to write Lab08.m.
2.The Lab08 function will take in a string as input and will return an integer n as output.
3.The value of n will be the nth word in the input string, where n is the location of thesubstring 'Nemo'.a.Please note that you will need to match whole words only, so 'aNemone' and'Leonard Nemoy' should not be countedb.All strings will end with punctuation, so you do not need to work out the edgecase of a string like 'I found Nemo', which could cause significant problems
4.Once the value of n has been determined (hint: count the number of spaces before theindex at which you found Nemo), use the statement fprintf('I found Nemo at word%d!\n',n); to print the results.
5.If Nemo is not in the string, instead use the statement fprintf('I couldn''t find Nemo,sorry.\n'); and set n equal to negative one.
6.If Nemo is in the string multiple times, return the location of its first appearance.
7.Please be aware that if your file and function names are not the same as those expectedin findingNemo(), or if all three files are not in the same folder, your code will not workcorrectly.
function [] = findingNemo()
fileID = fopen('nemo.txt','r');
while true
line = fgets(fileID);
if line == -1
break;
end
n = Lab08(line);
fprintf('n = %d\n',n);
end
end
The author of this assignment swears she has never seen the movie Finding Nemo.No, for real, this is totally a joke about Captain Nemo from 20,000 Leagues Under the Sea.Okay, fine, I've never read 20,000 Leagues. But I did see Nadia: The Secret of Blue Water, which has a character named Captain Nemo.Or maybe it's NEMO: Never Eat More Oreos.I'll ask Leonard Nemoy. Or is it Nimoy?Wait, those don't match Nemo.At this point, Nemo doesn't even sound like a word anymore.I guess it's not, Nemo is a name.Buffalo buffalo buffalo buffalo. Nemo Nemo Nemo?Is it spelled Nemotode or Nemotoad? Oh well, let's study anemone instead.I'm thinking about making a cryptocurrency for Nebraska. What do you think of the name NEMoney?Nemo is also a town in South Dakota, evidently.Apparently NVIDIA has a toolkit for creating AI called NeMo, so that's weird.I'm running out of jokes about the name Nemo, to be honest.Let's just go watch Finding Nemo.
In: Computer Science
BSTree.java:99: error: reached end of file while parsing
}
I get this error when i run this code. can someone help me out?
I can't figure out how to make this work.
public class BSTree<T extends Comparable<T>> {
private BSTreeNode<T> root = null;
// TODO: Write an addElement method that inserts
generic Nodes into
// the generic tree. You will need to use a Comparable Object
public boolean isEmpty(){
return root == null;
}
public int size(){
return node;}
public void addElement(T data){
if(isEmpty()){
root = new BSTreeNode(data);
}
else{
BSTreeNode pos = root;
while(pos != null){
if(value < pos.getElement()){
if(pos.getLeft() == null){
pos.setLeft(new BSTreeNode(data));
pos = null;
}
else{
pos = pos.getLeft();
}
}
else{
if(pos.getRight() == null){
pos.setRight(new BSTreeNode(data));
pos = null;
}
else{
pos = pos.getRight();
}
}
}
}
}
// TODO: write the method printElements
// It should check that the tree isn't empty
// and prints "The Tree is empty" if it is
// otherwise prints "The Elements Inorder: "
// and calls the inorder method
public void printElements(){
if(root == null) {
System.out.println("Tree is empty");
}
else
inorder(root);
}
// TODO: write the inorder method that traverses
// the generic tree and prints the data inorder
public void inorder(BSTreeNode element){
if(element != null){
inorder(element.getLeft());
System.out.print(element.getElemnt()+ " - ");
inorder(element.getRight());
}
}
// TODO: write the findMin method that returns
the
// minimum value element in the tree
public BSTreeNode findMin(){
BSTreeNode node = root;
while(node.getLeft != null){
node = node.getLeft;
}
return node;
}
// TODO: write the findMin method that returns
the
// maximum value element in the tree
public BSTreeNode findMax(){
BSTreeNode node = root;
while(node.getRight != null){
node=node.getRight;}
return node;
}
public class BSTreeNode<T> {
private T element;
private BSTreeNode<T> left, right;
public BSTreeNode(T element) {
this.element = element;
this.left = null;
this.right = null;
}
public T getElement() {
return element;
}
public void setElement(T element) {
this.element = element;
}
public BSTreeNode<T> getLeft() {
return left;
}
public void setLeft(BSTreeNode<T> left) {
this.left = left;
}
public BSTreeNode<T> getRight() {
return right;
}
public void setRight(BSTreeNode<T> right)
{
this.right = right;
}
}import java.util.Scanner;
public class Main {
public static void main(String[] args) {
BSTree<String> tree = new BSTree<String>();
Scanner scrn = new Scanner(System.in);
System.out.println("Enter the words on separate lines to insert
into the tree, enter -1 to stop");
String word = scrn.nextLine();
while(!word.equals("-1")) {
tree.addElement(word);
word = scrn.nextLine();
}
System.out.println();
tree.printElements();
System.out.println("\nThe minimum element in the tree
is " + tree.findMin());
System.out.println("\nThe maximum element in the tree is " +
tree.findMax());
}
}
In: Computer Science