I need the matlab codes for following question
(1) (a). Solve the following second-order differential equations by a pair of first-order equations, xyʹʹ − yʹ − 8x3y3 = 0; with initial conditions y = 0.5 and yʹ = −0.5 at x = 1.
(b). Solve the problem in part (a) above using MATLAB built-in functions ode23 and ode45, within the range of 1 to 4, and compare with the exact solution of y = 1/(1 + x2)
[Hint: ode23 à 0.0456, ode45 à 0.0588]
(c). How can we improve the accuracy for the solutions obtained in parts (a) and (b) above?
In: Advanced Math
1. Consider the following transactions involving the nation of Foxystan. For each of the following, determine which transaction would be added to the current GDP of Foxystan. Explain why or why not.
a. A consumer in Foxystan pays the rent to the owner of his apartment complex.
b. A firm in Foxystan pays wages to a consultant located in the neighboring country of Franklandia.
c. The government of Foxystan has built a new national museum.
d. A consumer in Foxystan sells his used car to a consumer who lives in neighboring Franklandia.
e. A firm in Foxystan pays interest on repayment of a loan from the First Bank of Foxystan.
In: Economics
Q. The unethical use of accounting information ABC Learning was Australia’s – and one of the world’s largest – providers of early childhood education services until it collapsed spectacularly in the late 2000s., when it came to light that its reported financial success was built on a number of questionable accounting practices. Required:
1. Search the internet for information about the ABC Learning corporate collapse and summarise the unethical accounting practices utilised by ABC Learning’s accountants.
2. Which of the principles set out in the Accounting Professional and Ethical Standards Board (APESB)’s Code of Ethics for Professional Accountants did these actions contravene?
In: Accounting
The textbook states that the cash budget is one of the most important parts of the master budget. There are several reasons listed as to why a cash budget is considered to be this important; I would like your thoughts as to why you consider the cash budget to be this important. How does the granting of credit to customers (and to your company from suppliers) affect your answer? What happens when you face a cash shortage? Is there something that can be "built in" the budget that considers such a situation and incorporates it into the master budget? What happens to the cash budget when you face an unforeseen emergency requiring cash?
In: Accounting
Java question - How can the code below be modified to accept multi digit input.
String e = "1+9+8";
int r = e.charAt(0)-'0';
for (int i = 1; i < e.length(); i+=2){
if (e.charAt(i) == '+'){
r += e.charAt(i+1)-'0';
}
else{
r -= e.charAt(i+1)-'0';
}
The only built in String methods that can be used are lowercase(), length(), and charAt(). Arrays and parseInt() cannot be used.
So we want to know how we can get an answer if a string such as "123+45+678-...." is entered.
In: Computer Science
What did you learn about this structure that was a surprise to you or resonated with you about building relationships in the workplace? Did the people who built this wall have to work together? Are there any lessons to be learned about building relationships across philosophical divides (differing world views) in the workplace?
Note: Please avoid comments or references to the southern border between Mexico and the USA. This is a highly controversial subject and your comments may be taken out of context and appear as harassment. Any comments about the southern border or Mexico will be immediately removed and points deducted from your score
In: Psychology
Write a program that takes a string from the user, identifies and counts all unique characters in that given string. You are bound to use only built-in string functions where necessary. For identification of unique characters and for counting of the characters make separate functions.
For character identification
Develop a program that takes a string argument, and returns an array containing all unique characters.
For character counting
Develop a program that takes an array returned from above function as an argument along with the given string and return an array containing the total count of each uniquely identified character present in the argument array.
In: Computer Science
Kindly summarize this Literature Review Section 3.2 Efficient Techniques and Performance Measurement Recently, developed techniques compare the efficiency of similar service organizations by explicitly considering their use of multiple inputs to produce multiple outputs. These new efficiency techniques are often divided into two categories. One broad category consists of the linear programming procedures used in this paper (DEA). The second category is a set of regression-based techniques that derive inefficiency estimates from two-part error terms, and has been called the econometric or stochastic frontier approach. Both techniques use sample firms to construct an efficient production frontier. The frontier is efficient in the sense that a firm operating on the frontier could not increase output without increasing its input utilization, or it could not reduce its input utilization without decreasing output. Deviations from the frontier represent inefficiencies, and are termed X-inefficiencies in the finance and economics literature. Efficient frontier techniques avoid the need to develop a standard cost for each service provided and are more comprehensive and reliable that using a set of operating ratios and profit measures. These techniques permit managers and researchers to service organizations and identify units that are relatively inefficient, determine the magnitude of the inefficiency, suggest alternative strategies to reduce the inefficiencies, all in a composite measure. Moreover, these techniques provide an estimate of the overall efficiency level of the market that is under consideration. We know of only two studies that use efficient frontier techniques in the hotel industry. The first is that of Morey and Ditman (1995) who measure the relative performance of hotel general managers using DEA. The authors gathered input-output data for 54 hotels from a geographically dispersed area. They found that managers were operating 89 percent efficiency. In other words, given their output, managers on average could reduce their inputs by 11 percent. The study reported that the least efficient hotel was 64 percent efficient. These results are relatively high compared to those found in other industry studies that utilize DEA. Large efficiency scores are indicators of High performance and competition (Leibenstein 1966). Thus in an economic context, the market for lodging services appears to be operating efficiently. Anderson et al. (1998) argue for the benefits of using a stochastic frontier methodology in addition to DEA in order to accurately assess performance. Using a classical stochastic frontier model, they also find the hotel industry to be performing relatively efficiently, with efficiency measures above 90 percent. While both of these studies are informative, neither provides any information on the source of the inefficiencies. The source of the inefficiencies, whether technical or allocative in nature, is important information that managers need in order to take proactive positions to increase performance. We re-examine hotel efficiency using a method of DEA that provides significantly more detailed results and we further analyze the inefficiency sources. The following section describes our procedure.
SECTION 4 EFFICIENCY DETERMINATION
Section 4.1 The DEA Technique
Within the DEA framework, performance of an individual firm is evaluated with respect to an efficient frontier, which is constructed by taking linear combinations of existing firms. While there are several DEA approaches, wee use an unput-base approach, assuming that inputs are contracted proportionally with exogenous outputs. The procedure relies on sophisticated mathematics; however, the following simplified graphical example deomstates how th eefficiency measures are computed.
Figure 1 displays tha overall (OE) and (TE), and allocativ (AE) efficiency measures. In this example, we assume two inputs (X1 and X2), one output (Y), and constant returns to scale. Additionally, we assume that technology is fixed and that input prices are represented as PP. Firm A is X-efficient since it produces along output isoquant Y by utilizing the least inputs. Suppose thee is a firm operating at point C and producing an output equivalent of that produced along Y. C is uses more inputs than A to produce the output Y and is classified as inefficient with an overall efficiency score of 0D/0C )or equivalenly and inefficiency score of DC/0C).
Overall inefficiency can be decomposed into its techhnical and allocattive components. Without being able to alter input allocations, the bestt that firmC could have done was to operate at point B. The "extra" input usage that was incurred by firm C as a percentage of total input usage is the technical inefficiency measure and can be dpressed as BC/0C The technical efficiency of firm C is ecpresses as 0B/0C. Allocative inefficiency representts managerial failurd to use the optimal input mix. Here, allocative inefficiencies for firm C can be represented by DB/0B, and allocatvie effficiency is expressed as 0D/0B.
Technical efficiency can be further decomposed into technical (PTE) and scale (SE) efficiency measures. Pure technical inefficiency simply refers to deviations from the efficient frontier that result rom failure to utilize the employed resoures efficiently. Hence, this measure assumes that firms are operating at constant return to scale. Scale ineficiencies, on the other hand are losses due tofailure to operate at constant returns to scale. Figure 2 illustrates these two efficiency measures. In this figure, the Y-axis represents output and the X-axis represents input conbinations that contain an equal amount of both input 1 an dinput 2. The graph shows three observations denoted A, B, and C, respectively. Two frontiers are illustrated, a fronier assuming constant returns to scale instead of decreasing or increasing returns toscale.
After completing this analysis, we examine the SE measure to determine if it equals one. If the SE measure equals one, firms are operating at constant returns to scale. If SE does not equal one, we then determine whether the firms are oeprating at increasing or decreasing returns to scale (see Appendix A for a mathematical treatment of DEA).
In: Economics
using matlab
Write a script that simulates a card game that works as follows: A dealer places 5 cards face down on the table and flips the first card. The player goes down the line, one at a time, and guesses if the next card is higher or lower than the card displayed, and then the next card is revealed. In the end, the player is awarded a point for each correct guess.
In terms of coding, your script should follow this basic outline (with deviations as you decide how to code it):
1) Your script should "shuffle" and randomly order 5 cards, listed from 1-5. Note: there should be only one of each card (this is a permutation, not a combination). You should NOT display the cards (though you may want to look at them while starting to test if your code is right).
2) "Flip" the first card and display it to the user.
3) Prompt the user to guess if the next card is higher or lower. You can do this a number of ways, but I'd suggest using the "input" built-in function and certain numbers to indicate lower or higher (e.g. 'input pi for lower and tau for higher' but maybe not pi and tau).
4) Flip the next card. Assign one point to the user if they are correct, and no points if they are incorrect.
5) Repeat steps 3 & 4 until all 4 cards have been displayed and the 5th card has been revealed to be lower or higher.
6) Display the number of points the user has received, either by unsuppressing a variable name or using the "disp", "sprintf" or "fprintf" MATLAB built-in functions.
In: Statistics and Probability
CASE 9‐4 Self‐Constructed Assets
Jay Manufacturing, Inc., began operations five years ago producing the probo, a new type of instrument it hoped to sell to doctors, dentists, and hospitals. The demand forprobos far exceeded initial expectations, and the company was unable to produce enough probos to meet that demand. Jay was manufacturing probos on equipment it built at the start of its operations, but it needed more efficient equipment to meet demand. Company management decided to design and build the equipment because no equipment currently available on the market was suitable for producing probos.
In 2017, a section of the plant was devoted to development of the new equipment and a special staff of personnel was hired. Within six months, a machine was developed at a cost of $170,000 that increased production and reduced labor cost substantially. Sparked by the success of the new machine, the company built three more machines of the same type at a cost of $80,000 each.
Required:
In: Accounting