ICMP time expired error messages have two meaning? 1.) TTL expired is one reason 2.) what is the other time expired reason? explain fully with an example if possible.
In: Computer Science
The trick of the balancing fork is mentioned on many web sites. A good one is the one from Harvard University.
Explain the physics behind the balancing Forks in your own words.
Use the words torque, net torque, distance, and pivot in your explanation.
In: Physics
Describe how a pendulum and a mass on a horizontal spring satisfy those conditions (ignore any friction forces); also, include another example of a system that undergoes simple harmonic motion and discuss how it satisfies the conditions mentioned above.
In: Physics
Why is ratio analysis so important when analyzing a company's financial? Please discuss in 150 words or more.
Thank you
In: Finance
1a. Graph the long run position of a firm in monopolistic competition.
1b. Graph the typical monopolistic long run situation.
1c. Compare the two graphs and explain how they are similar.
In: Economics
Federal welfare programs expanded dramatically during President Johnson’s War on Poverty, continuing a prominent government role in welfare since Franklin D. Roosevelt’s New Deal. In 1997, the Aid to Families with Dependent Children (AFDC) was replaced by Temporary Assistance for Needy Families (TANF). Identify the major changes from AFDC to TANF. How does the implementation of block grants introduce considerable variation among the states? Explain the relative advantages and disadvantages of the transition from AFDC to TANF.
In: Economics
3. Suppose that a closed economy could be described by the following set of equations: Production Function: Y = 120K1/3 L2/3
̅̅ Factors of production: K=125; L=1000
̅̅ Government Behavior: G= 3000; T = 2500
Consumption Behavior: C = 400 + 0.8(Y –T)
Investment Behavior: I = 16500 – 1000r
a. Calculate the equilibrium level of output (Y)
b. Prove that the production function has the property of constant
returns to scale.
c. Calculate the marginal product of labor (MPL)
d) Calculate the equilibrium levels of the following variables
(i) Consumption (C)
(ii) Private Savings
(iii) Public Savings
(iv) National Savings (S)
(v) real interest rate (r)
In: Economics
Let's assume that there was some mechanism by which we could remain suspended in air. By this I mean that our feet is not in contact with the ground. One possible way of doing this would be by means of a jetpack. If we could remain suspended in air for a while in this manner, will we be in a different place when we come down, due to the Earth's rotation? When I thought of this problem in the micro scale using a ball (which rotates), it appears like I'll be in a different place when I come down from my suspended state. Am I overlooking something here?
In: Physics
C Programming: Write a program that will guess an integer that the user has picked. Imagine that the user will write down a positive integer x on a piece of paper and your program will repeatedly ask questions in order to guess what x is, and the user replies honestly. Your program will start by asking for an int n, and you must have 1 ≤ x ≤ n. After that, the program will successively guess what x is, and the user must tell the computer if x is equal to the guess (entering ’e’), larger than the guess (entering ’l’), or smaller than the guess (entering ’s’). Your program will guess by maintaining a lower bound (initially 1) and upper bound (initially n) and pick the largest integer equal to or smaller than1 the midpoint of the lower bound and upper bound. If the user responds with ’l’ indicating that x is larger, the guess becomes the new lower bound plus one. If the user responds with ’s’ indicating that x is smaller, the guess becomes the new upper bound minus one. If the user responds with ’e’ indicating that x is the guess, your program will report the number of guesses made and terminate execution:
Example 1)
Enter n: 50
Is your number 25? l
Is your number 38? l
Is your number 44? s
Is your number 41? e
Your number must be 41. I used 4 guesses.
Example 2) Enter n: 9
Is your number 5? s
Is your number 2? l
Is your number 3? s
Error: that’s not possible.
Example 3)
Enter n: -2
Error: n must be positive.
Example 4)
Enter n: 9
Is your number 5? m
Error: invalid input.
Example 5) Enter n: a
Error: invalid input.
In: Computer Science
The freezing point of water is 0.00°C at 1 atmosphere. If 13.93 grams of manganese(II) bromide, (214.7 g/mol), are dissolved in 280.9 grams of water ...
The molality of the solution is _______ m.
The freezing point of the solution is ______ °C.
In: Chemistry
-IF YOU DO NOT HAVE COMPUTER SUBMIT YOUR ASSIGNMENT WITH 700 WORDS HERE
- RESEARCH Direct marketing
- RESEARCH Global direct marketing
- TOPIC : WHAT IS GLOBAL MARKETING? WHAT IS THEIR VISION...AND EXPLAING ABOUT "REGIONAL FREE TRADE ZONE?
In: Operations Management
Enough of a monoprotic acid is dissolved in water to produce a 0.0103 M solution. The pH of the resulting solution is 2.53. Calculate the Ka for the acid.
I got 8.45x10^-4 but it says its wrong.
In: Chemistry
explain how the Central Bank of Venezuela could adjust its foreign exchange reserves to try to push the black-market bolivar-dollar exchange rate closer to the official fixed exchange rate?
In: Economics
If one were to use a different battery, would the capacitance of a capacitor change?
In: Physics
uestion 2
Transform the following “C” program into assembly for
the 6808 Microcontroller.
Remember when converting this “C” code to
follow
best practices
covered in DEF in terms of implementing subroutines in
assembly
o
This means that parameters are passed on the stack to
subroutines
o
Return values are passed back on the stack
o
You clean up the stack after every use (every
subroutine call) to prepare it for the next call
Keep in mind that once your translated this program
into assembly – you can step through it to ensure that it behaves
correctly and calculates the
expected results.
/*
-------------------------------------------------------------
PURPOSE: This program will take 2 operand values
and
calculate the sum and difference of the
values
-------------------------------------------------------------
*/
// This function calculates the sum of 2 operands
called "A" and "B"
Int
calculateSum(
int
A,
int
B)
{
return
(A + B);
}
// This function calculates the difference between 2
operands by negating B and adding it to A
int
calculateDifference(
int
A,
int
B)
{
return
(calculateSum(A, -B));
// reuse the calculateSum function
}
void
main(
void
)
{
int
firstOperand = 18;
// to be stored at address $80 within the
6808
int
secondOperand = 8;
// to be stored at address $81 within the
6808
int
sum = 0;
// to be stored at address $84 within the
6808
int
difference = 0;
// to be stored at address $86 within the
6808
// call the calculateSum function in order to
calculate the total and store it in the "sum" variable
sum = calculateSum(firstOperand,
secondOperand);
// call the calculateDifference function in order to
calculate the difference and store it in the "difference"
}
please help I need the code in assembly
In: Computer Science