1 A The Fibonacci Numbers Are The Numbers In The Following Integer Sequence Called T 2739217

1.(a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonaccisequence, and are characterised by the fact that every number after the first two is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 114, … etc.

By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two. We define Fib(0)=0, Fib(1)=1, Fib(2)=1, Fib(3)=2, Fib(4)=3, etc. The first 22 Fibonacci numbers given below:

Fib(0)Fib(1)Fib(2)Fib(3)Fib(4)Fib(5)Fib(6)Fib(7)Fib(8)Fib(9)Fib(10)011235813213455Fib(11)Fib(12)Fib(13)Fib(14)Fib(15)Fib(16)Fib(17)Fib(18)Fib(19)Fib(20)Fib(21)89144233377610987159725844181676510946Write a MARIE program to calculate Fib(n), where the user inputs n. For example, if the user inputs 7, the program outputs the value 13; if the user inputs 15, the program outputs the value 610; if the user inputs 20, the program outputs the value 6765 etc. You need to write and run the program using MARIE simulator. Please include appropriate comments to make your code readable.[10 marks](b) For some values of n, your program will not produce correct results. You can check this by gradually increasing the values of n and checking for the correct outputs. What is the maximum value of n for which your program produces a correct result? Why? Please comment on this [5 marks].2.You are designing an instruction set for your computer. All the instructions are of same size (11 bits long). The size of an address field is 4 bits. You have already designed six 2-address instructions and 30 1-address instructions. How many 0-address instructions still you can fit? Justify your answer. [7 marks]3. Write codes to implement the expression: A= (B + C) * (D – E) on 3-, 2-, 1- and 0-address machines. In accordance with programming language practice, computing the expression should not change the values of its operands. [8 marks]Rationale

This assessment task covers topics on CPU operation and Instruction Set Architecture, and has been designed to ensure that you are engaging with the subject content on a regular basis. More specifically it seeks to assess your ability to:

  • be able to investigate the internal operation of the Central Processing Unit (CPU) and describe how it is used to execute instructions;
  • be able to investigate and describe in detail the essential elements of computer organisation including internal bus, memory, Input/Output ( I/O) organisations and interfacing standards and discuss how these elements function;

Marking criteriaCriteriaHD (85%-100%)DI (75%-84%)CR (65%-74%)PS (50%-64%)FL (0%-49%)Simulating and investigating of internal operations of CPU and it’s instruction executionThe code meets the specification. Code is well documented with comments. The program produces correct outputs in every input situations. Code meets specification and is well documented with comments. Minor errors in explanationse.Code meets specification. Most of the time produces correct results, however does not produce correct results for special inputs. Little documentation and comments.Code meets specification but has errors in operation. Little commenting. Basic idea is expressed by the codes and explanations.Code does not meet the specification. Comprehension of internal elements of computer organisationAnswers are corrects. All steps are correctly shown.All codes are accurately written.All answers are correct with a minor error. All codes are correct except a minor error.Few minor errors in calculating the address spaces. The steps show the clear understanding of the address space calculation.All codes written correctly however the order were not maintained correctly.The final result is not correct, however the calculations show the basic understanding of the instruction set architecture.More than half of the codes are correct.No attempt or incorrect calculations showing no or minimum understanding of the topic.Codes do not meet the specification.

Presentation

File naming convention: When you upload files to the TURNITIN for this subject, please use your student ID and Assignment number to name your files. For example, 123456_Assignment2.doc or 123456_Assignment2.mas (where 123456 is your Student ID)

Please also adhere to the following formatting rules:1. For Q1(a) you need to submit a *.mas file.2. Please compose the answers of 1(b), 2 and 3 in a document file (doc or docx format). Please do not submit in pdf formats. Please upload the document in the TURNITIN within deadline.
3. You may put the mas file and document file in a folder, compress the folder and upload the compressed file to the TURNITIN. You may also upload the two files separately.4. The first page (cover page) of the document file should have the following information clearly mentioned:a. Your full name
b. Your Student ID
c. Subject Code (ITC544)
d. Assessment item number and name (Assignment 2: MARIE & ISA)4. Each page should have page numbers in “page x of y” format (including the cover page).
5. You DO NOT need to provide any references for any of the questions.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Tiltrotor Aircraft Shown In Figure 1 A Is Both An Airplane And A Helicopter It C 3209538

1. A tiltrotor aircraft shown in Figure 1-a is both an airplane and a helicopter. It can position its engine in a vertical position for takeoff and landing as a helicopter, and then rotate its engine 90 degrees to a horizontal configuration for cursing as an airplane. The altitude control system of the helicopter mode is shown in Figure 1-b. • Determine the root locus of this system as K varies between zero (0) and infinity (infinity). • Determine the range of K for a stable system • For K = 280, find the response y(t) to a unit step input r(t), and the corresponding Percentage overshoot (PO) and the settling time (T_s, with 2% criterion) • For K = 280, and r(t) = 0, find the response y(t) to a unit step disturbance 2. An arm of a space robot is shown in Figure 2-1 with its corresponding block diagram shown in Figure2-b. Perform the following tasks: • For a proportional controller Gc=Kp, determine the value of Kp such that the percentage overshoot P.O.-3%. • Plot the system response to a unit step input for the value of Kp determined in the previous task • Design a proportional -derivative controller (PD) using ITAE method with wn = 8 • Determine the required prefilter Gp(S). • Determine the system response to a step input after you add the PD and prefilter to the system. • Design a proportional-integral controller (PI) and a prefdilter using ITAE method. • Determine the system response to a step input after you add the Pi and prefilter to the system. • Design a proportional-integral-derivative controller (PID) and a prefilter using ITAE method such that the settling time T, <4 sec based on a 2% criterion. • What is your recommendation for the most appropriate controller among P, PD, PI, and PID for this system? TAs Controller Arm R- Gas) GO sEs+9 Fig 2-6 F’3 2-a Document Preview:

1

Attachments:

work–3-.pdf

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Tower And A Monument Stand On A Level Plane The Angles Of Depression Of The Top 3599211

1. a tower and a monument stand on a level plane . the angles of depression of the top and bottom of the monument viewed from the top of the tower are 13 degrees and 31 degrees respectively. the height of the tower is 145ft. find the height of the monument.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Rise In The Expected Future Exchange Rate Shifts The Demand For Domestic Assets 3305370

#1 A rise in the expected future exchange rate shifts the demand for domestic assets to the ____and causes the domestic currency to____. A) left; depreciate B) right; appreciate C) left; appreciate D) right; depreciate #2 A rise in the expected import demand shifts the demand for domestic assets to the ___ and causes the domestic currency to ___. A) left; appreciate B) right; depreciate C) right; appreciate D) left; depreciate

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Survey Of 64 Of Your Fellow Classmates Determines That 19 Of Them Are Bullish On 1189456

1.) A survey of 64 of your fellow classmates determines that 19of them are bullish on the market while the remainder is bearish.What is the market sentiment index for this group ofindividuals?

2.)Last year, Kathy purchased 3 shares of stock A at $50 ashare. At the same time, she purchased 5 shares of stock B at $35 ashare. Today, stock A is valued at $65 a share and stock B is worth$42 a share. What is the relative strength of stock A as comparedto stock B?

3.)The series of Fibonacci numbers contains the sequentialvalues of 610 and 987. What is the next number in this series?

4.)The price of a stock increased from $32 to $38. Using phi,what are the primary and secondary support areas for the stock?

5.)Altoona Train stock increased from $18 a share to $25 ashare. Based on phi, what are the primary and secondary supportareas for this stock?

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Payment Schedule Requires 20 Payments Of 10 000 The First Payment To Be Made 15 2808367

1. A payment schedule requires 20 payments of $10,000, the first payment to be made 15 years from today. Assuming a discount rate of 10%, what is the present value of this series of payments? (2 marks)

2. Assume the payment schedule in problem 1 changes as follows:

. the payment 17 years from today is waived, and

. a payment of $20,000 is made 18 years from today.

Assuming a discount rate of 10%, what is the present value of this series of payments? (2 marks)

3. Your friend is celebrating his 35th birthday today and wants to start saving for his anticipated retirement at age 65. He wants to be able to withdraw $10,000 from his savings account on each birthday for 10 years following his retirement; the first withdrawal will be on his 66th birthday. Your friend intends to invest his money in the local savings bank, which offers 8 per cent interest per year. He wants to make equal, annual payments on each birthday in a new savings account he will establish for his retirement fund. If he starts making these deposits on his 36th birthday and continues to make deposits until he is 65 (the last deposit will be on his 65th birthday), what amount must he deposit annually to be able to make the desired withdrawals on retirement? (3 marks)

4. Calculate an equivalent annual income for 20 years on the following income stream received over 30 years if the interest rate is 10% per annum compounded annually:

Years 1-15 $15,000pa

Years 16-20 $20,000pa

Years 21-30 $30,000pa (3 marks)

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Researcher Suspected That The Number Of Between Meals Snacks Eaten By Students I 3775634

1. A researcher suspected that the number of between meals snacks eaten by students in a day during final examinations might depend on the number of tests a students had to take on that day. The accompanying table shows joint probabilities, estimated from a survey

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Researcher Suspected That The Number Of Between Meals Snacks Eaten By Students I 3775923

1. A researcher suspected that the number of between meals snacks eaten by students in a day during final examinations might depend on the number of tests a students had to take on that day. The accompanying table shows joint probabilities, estimated from a survey

Number of tests (X)

Number of snacks(Y)

0

1

2

3

0

0.07

0.09

0.06

0.01

1

0.07

0.06

0.07

0.01

2

0.06

0.07

0.14

0.03

3

0.02

0.04

0.16

0.04

a. Find the probability distribution of X and compute the mean number of test taken by students on that day

b. Find the probability distribution of Y and compute the mean number of snacks by students on that day

c. Find and interpret the conditional probability distribution of Y given that X=3.

d. Find the covariance between X and Y

e. Are number of snacks and number of tests independent?

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Market Can Be Described By The Equations Qd 100 A 1 P And Qs P What Are The Equi 1189436

1.A market can be described by the equations Qd = 100 A????1 P and Qs= P. What are the equilibrium price and quantity in thismarket?

A. The equilibrium price is $50 and the equilibrium quantity is50 units.

B. The equilibrium price is $100 and the equilibrium quantity is100 units.

C. The equilibrium price is $0 and the equilibrium quantity is 0units.

D. The equilibrium price is $0 and the equilibrium quantity is100 units.

2. In free markets, shortages lead to:

A. lower prices.

B. higher prices.

C. surpluses.

D. unexploited gains from trade

3 The demand curve for Froot Loops breakfast cereal is veryelastic because:

A. most breakfast cereals are considered a luxury good.

B. there are many good substitutes for Froot Loops.

C. the demand curve is negatively sloped.

D. it is one of the most advertised cereals in the world.

4.Which good below might be expected to have the most inelasticdemand curve?

A. salt

B. women’s blouses from Walmart

C. potato chips

D. Tylenol

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

1 A Patient Lives For Two Periods 1 And 2 Her Well Being In Period 2 Depends On Her 3832042

1. A patient lives for two periods, 1 and 2. Her well-being in period 2 depends on her state of health, s = 0, in which larger numbers imply better health status, as well as some healthrelated action t = 0 which is taken in period 1, but has a health impact in period 2. The patient derives utility from two sources. First, she gets instantaneous instrumental utility in period 2 from having her health behaviour match her health state. Formally, her instrumental utility is (-|s-t|). This means that in terms of instrumental utility, it is always optimal to align the action with the state, that is to set t = s. As an example, lower values of t could represent taking health concerns more seriously, for instance by doing x-rays. Then, instrumental utility implies that a more concerning health condition calls for more serious intervention. Notice that in this specific model, the variable t does not affect the health state s (the two are independent) but the well-being. Secondly, the patients derives anticipatory utility in period 1 from her beliefs about her health condition in period 2. The patient’s initial belief is that with probability p = 0.3 her health state will be s1 = 36 and with probability 1 – p = 0.7, it will be s2 = 49. Her anticipatory utility, which depends on her expected health state given her beliefs is 22· v p · s1 + (1 – p)s2. The patient’s expected total utility in period 1, which combines expected instrumental utility in period 2, plus anticipatory utility in period 1, is thus: 22 · v p · s1 + (1 – p)s2 – p|s1 – t| – (1 – p)|s2 – t| In period 1, the patient has the option of visiting a doctor to get diagnosed. The visit is free, and will remove any doubt about her future value of s. (In other words, her beliefs 1 about p will go either to p = 0 or to p = 1). If she does not visit the doctor, she will not learn any information about s, and will keep believing that the two states are equally likely. After deciding whether to go to the doctor, and after getting the diagnosis if she does go, the patient then chooses what health action t to take. (a) Write the patient’s expected total utility in period 1 as a function of t, if she decides NOT to visit the doctor. What level of intervention t (e.g. a diet) she selects? What is her expected total utility given the optimal t? (Hint: the EU function has components with absolute value. It is advisable to draw pen and paper the EU first in order to understand the problem… ) (b) Write the patient’s expected total utility as a function of t if she visits the doctor and gets a bad diagnosis, that is p = 1, so that her future health status is s1 = 36 for sure. What level of intervention t does she choose? What is her utility given the optimal t? (c) Repeat the exercise in part (b) for the case in which the patient visits the doctor and gets a good diagnosis, i.e. p = 0, so that her future health condition is s2 = 49 for sure. (d) Write the patient’s expected total utility from deciding to visit the doctor, not knowing which diagnosis she will get. This is the weighted sum of the utilities in (b) and (c), with the weights equal to the probabilities of the two possible diagnoses. Will the patient decide to visit the doctor? (e) Now suppose that the patient’s possible negative diagnosis is extreme sickness, that is s1 = 10. The other possibility is still s2 = 49, with the two health states still being determined by p and 1 – p. Using the same steps as in parts (a) through (d), solve for whether the patient goes to the doctor. (f) Conventional wisdom says that when information is more important for making choices, a person is more likely to seek out that information. Thus, availability of information about health risks and the effect of health behaviours is an optimal policy. How does the consideration of anticipatory utility alter this conventional paradigm? Is that true in the above case? 2. Consider the model we used to explain the representativeness heuristics in class (i.e. the Freddy model) and imagine Freddy’s psychology is such that the ”urn” size is N = 10. Suppose Freddy observes quarters of performance by fund manager Helga. Helga may be a skilled, mediocre or unskilled manager. A skilled fund manager has a 3/4 chance of beating the market each quarter, a mediocre manager has a 1/2 chance of beating the market each quarter and an unskilled manager has a 1/5 chance of beating the market each quarter. Because Freddy is an avid Bloomberg subscriber, he knows these odds. Importantly, in reality the performance of managers are independent from quarter to quarter. (a) Suppose first that Freddy thinks Helga is mediocre. What does Freddy think is the probability that Helga beats the market in the first quarter? Suppose that she actually beats the market on the first quarter. What does Freddy think is the probability she does it again? Suppose that she beats the market again. What does Freddy think is the probability that she will do so a third time? (b) How do the three probabilities in part (a) relate to each other? What sort of psychological bias does this reflect? (c) Now suppose that Freddy does not know whether Helga is skilled, mediocre or unskilled. He has just observed two consecutive quarters of under performance by Helga. Can he conclude which type of manager Helga is? Can he rule out any of the three type? If not, how many additional rounds he needs to conclude something? Explain your intuition… 2 (d) How many more quarters of under performance does Freddy need to observe in order to be sure of Helga’s type? (e) Now, let assume that Freddy observes the performance of a large sample of hedge-fund managers over two quarters. The sense of the next part of the exercise is to derive what Freddy concludes about the proportion of skilled, mediocre, and unskilled managers in the population. In reality, all managers in the market are mediocre. i. Let’s compute the proportions that Freddy (and any other trader) observes. What proportion of managers will beat the market twice? What proportion will have two under-performances? What proportion will have mixed performances? . ii. Suppose Freddy though that the proportion of skilled, mediocre, and unskilled managers in the population was q˜, 1-2˜q, and q˜, respectively. What does Freddy expect should be the proportion of managers who show two above-market performances in a row? iii. Given your answers to the previous two parts, what does Freddy infer is the proportion q˜ of skilled managers in the population? Provide an intuition for your answer 3. Explain, in your own words, what is the fallacy exemplified in the below excerpt. ”Correlations between the USD price of cryptoassets are constantly fluctuating due to a variety of factors – one of the most important factors is market irrationality <…> which has an effect similar to co-movement phenomenon. The below chart displays the average correlation, in USD prices, amongst all crypto currencies. The data shows that whenever correlations between these coins reach a specific positive upper bound between 0.8 and 1.0, the trend of Bitcoin against USD tends to reverse, or at least halts the previous price action. The cumulative duration of these periods totaled 513 days, or more than one-quarter of the entire sample range, indicating that the crypto market is prone to show extreme correlations. On average, these “0.8+ correlation periods” lasted for durations of about 39 days, with an average maximum correlation of 0.901. The most recent “peak correlation period” lasted 90 days until March 14, the longest such period in crypto-history. That coincided with Bitcoin’s fall from the 6, 000 range to the 3, 000 range. This high correlation suggests that market sentiment has already found a local maximum during that period, and a trend reversal may possibly ensue. Such a price movement pattern, to some extent, may reflect both the irrational behavior of market participants and some inherent traits of a young market.”. (Binance Research – Investigating Cryptoassets Cycles )

Attachments:

BE-PS3.pdf

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW