Saturday, October 12, 2019
Global Warming and its Causes and Solutions :: essays research papers
Global warming has been one of the leading environmental issues for the past several years. Global warming is when an excess of certain gasses are produced and trap the sunââ¬â¢s heat in the atmosphere. One of the most abundant of these gasses is carbon dioxide. It is released when fossil fuels and other things are burned for their energy. The average American family of 2 will produce 41,500 pounds of carbon dioxide per year. The Earth is able to cope with a certain amount of these gasses otherwise known as greenhouse gasses. With all of this the earth is heating up faster than most of it inhabitants can adapt. Some just canââ¬â¢t cope with the new conditions and some are having their habitat destroyed by it. Other gasses are destroying the ozone and letting in harmful UV rays and heating the earth even more. The earth has been doing fine but now many countries are in the industrial age and are manufacturing things and releasing more greenhouse gasses. The earth is essentially being thrown out of its natural balance. We started doing harmful things and only now do we realize what we have done and what we are doing. At this current rate by the middle of next century the earthââ¬â¢s temperature may rise a predicted 10 degrees Fahrenheit. This may not seem as much but with the earths delicate balance we will have lost several species and habitats. We all say that we are working to help the earth and yet we have only done a very small percent of what we need to do. Scientists are worried that soon the effects of what we have done may be irreversible. We have the technology to do it, but countries are concerned they will lose too much money. They are already wasting it on other unnecessary things and if they were to reduce funding to them we could have enough money to do these changes and probably still have some left to help fund other countries efforts. We are cutting down thousands of earthââ¬â¢s natural air filters as we speak. Trees and plants take some of the carbon dioxide and turn it into oxygen helping us and the environment.
Friday, October 11, 2019
Ppi and the Big Mac Index
Estimating the Purchasing Power Parity (PPP) of currencies using the Big Mac Indexâ⠢ Table of Contents 1. Introduction 2. Purchasing Power Parity and Theory of one Price 3. Over/Under Valuation of currencies against the Dollar 5. Comparative analysis of the most overvalued to the most undervalued 6. Observation and Alternative indexes 7. Limitations 8. Appendix INTRODUCTION Purchasing power parity (PPP) is an important and critical topic in international economics. It arises when the purchasing power of an amount of money is the same in different countries. This is when prices of two different countries are converted to a common currency. The idea is based on the law of one price, where in the absence of official trade restrictions, similar goods will have the same price in different markets, with the prices being expressed in the same (common) currency. Deviations from parity infer differences in purchasing power of goods across countries, which means that for the purposes of many international comparisons, countries' GDPs or other national income statistics need to be ââ¬Å"PPP adjustedâ⬠and converted into common units. There can be a huge difference when adjusted by purchasing power and when converted via market exchange rates. For ex:- If calculated at nominal exchange rates, India has the tenth largest economy while adjusting by PPP, India has the fourth largest economy. Thus, to remove this discrepancy, a common currency of measurement is highly essential. The Big Mac Index is an example of a measure of law of one price. It refers to the prices of a Big Mac burger in McDonald's restaurants in different countries. It helps in determining whether a currency is undervalued or overvalued and thus accordingly gives an idea about the direction in which currencies should move. The Big Mac was selected because it is available for a common purpose in many countries around the world as local McDonald's franchisees have significant responsibility for converting input prices(at least in theory). The Big Mac Index is useful because it is based on a very well-known food item whose final price can be easily tracked in many countries. PPP and the Theory of One Price The One-Price Theory The theory of PPP and One price go hand in hand. It is imperative to understand the implication of ââ¬Å"One Priceâ⬠to understand the Purchase Power Parity as it is based on that. The Law of One Price proposes that if a gadget costs $2 in USA and the same gadget costs Rs 5 in India , then the exchange rate should be 2/5 = 0. 40 for the real prices to be same in both the countries. Let us denote it empirically as Price of a good in one country A be X and Price of the same good in some other country B is X* , then equalization of both the prices can be done using exchange rate denoted by the formula Exchange Rate = X/X* Suppose in the above example where the exchange rate is calculated to be 0. 4, increases to 0. 6, and then the same gadget would cost Rs 8. 33 in India. This would result in the inflow of gadgets to India from USA causing increase in the demand of dollars and increase in supply of Rupees. Law of One Price (LoOP) It states that identical goods should sell at same price in two different markets when there are no transportation costs and no differential taxes applied in two markets One Price Theory and PPP While this concept of one ââ¬âprice here in the example is being applied to one commodity, it can be applied universally to all other commodities in market as well. The Big Mac burger is one of the brightest examples of the application of One-Price to a commodity. It looks at the price of a big Mac burger across different countries. This way Purchase Power Parity applies not just to a single commodity but on general price level. This way we can universally derive a relation of One-Price theory and Purchase Power Parity. The Big Mac was created by Jim Delligatti in the year 1967 and introduced throughout the US in 1968. The Big Mac is now available in around 120 countries around the world and its composition is generally the same throughout ââ¬â two all beef patties, special sauce, lettuce, cheese, pickles, onions on a sesame seed bun. Since beef is not consumed in India, a special Mac known as the ââ¬Å"Maharaja Macâ⬠can be found with chicken patties replacing beef patties. In Islamic countries the Big Mac is made with Halal beef and in Israel it is made with Kosher beef. The price of a Big Mac in US is calculated by the average of 4 cities ââ¬â Atlanta, New York, Chicago and San Francisco. The price of Big Mac in Euro area is calculated by the weighted average of prices in Euro area. The Big Mac considered in India is the Maharaja Mac. Country| Big Mac Price| Implied PPP rate +| Today's| Over(+) / Under(-) Valuation against the USD, % ++| | | | Exchange Rate| | in Local Currency| in US dollars| | 1 USD =| | US| $ 4. 07| 4. 07| ââ¬â| 1| ââ¬â| Argentina| Peso 20. 0| 4. 4153463| 4. 92| 4. 530| 8. 6175| Australia| A$ 4. 56| 4. 6373416| 1. 12| 0. 983| 13. 8996| Brazil| Real 9. 50| 5. 2511951| 2. 34| 1. 809| 29. 3452| Britain| ? 2. 39| 3. 7447139| 0. 59| 0. 638| -7. 5573| Canada| C$ 4. 73| 4. 6363004 | 1. 16| 1. 020| 13. 7021| Chile| Peso 1850| 3. 6281104| 455| 509. 907| -10. 7681| China| Yuan 14. 7| 2. 3129209| 3. 6| 6. 356| -43. 3570| Colombia| Peso 8400| 4. 326| 2066| 1941. 748| 6. 3990| Czech Republic| Koruna 69. 3| 3. 6412205| 17. 1| 19. 32| -10. 1517| Denmark| DK 28. 5| 5. 1401734| 7. 01| 5. 545| 26. 4302| Egypt| Pound 14. 1| 2. 3477628| 3. 47| 6. 006| -42. 2217| Euro area| Euro 3. 44| 4. 6013727| 1. 18| 0. 748| 57. 8378| Hong Kong| HK$ 15. 1| 1. 9404672| 3. 71| 7. 782| -52. 3236| Hungary| Forint 760| 3. 3439474| 187| 227. 276| -17. 7213| India| Rupee 84. 0| 1. 6163756| 20. 7| 51. 968| -60. 1679| Indonesia| Rupiah 22534| 2. 501274| 5543| 9009. 009| -38. 4727| Israel| Shekel 15. 9| 4. 2277811| 3. 91| 3. 761| 3. 9662| Japan| ? 320| 4. 1212269| 78. 7| 77. 647| 1. 3564| Malaysia| Ringgit 7. 20| 2. 2981176| 1. 7| 3. 133| -43. 5046| Mexico| Peso 32. 0| 2. 3459637| 7. 87| 13. 640| -42. 3040| New Zealand| NZ$ 5. 10| 3. 9382574| 1. 25| 1. 295| -3. 4741| Norway| Kroner 45. 0| 7. 832 1279| 11. 1| 5. 746| 93. 1925| Pakistan| Rupee 205| 2. 3019159| 50. 5| 89. 056| -43. 2943| Peru| New Sol 10| 3. 7022146| 2. 46| 2. 701| -8. 9255| Philippines| Peso 118| 2. 7064108| 29| 43. 600| -33. 4865| Poland| Zloty 8. 63| 2. 5572242| 2. 12| 3. 375| -37. 1806| Russia| Rouble 75. 0| 2. 3810975| 18. 5| 31. 498| -41. 2663| Saudi Arabia| Riyal 10. 0| 2. 6661761| 2. 46| 3. 751| -34. 4121| Singapore| S$ 4. 1| 3. 4060498| 1. 08| 1. 295| -16. 5865| South Africa| Rand 19. 45| 2. 3850647| 4. 78| 8. 155| -41. 3850| South Korea| Won 3700| 3. 2782| 910| 1128. 668| -19. 3740| Sweden| SKr 48. 4| 7. 1816695| 11. 9| 6. 739| 76. 5741| Switzerland| SFr 6. 5| 7. 036772| 1. 6| 0. 924| 73. 2128| Taiwan| NT$ 75. 0| 2. 4825847| 18. 5| 30. 210| -38. 7629| Thailand| Baht 70. 0| 2. 2628537| 17. 2| 30. 934| -44. 3985| Turkey| Lire 6. 5| 3. 5532705| 1. 6| 1. 829| -12. 5349| + The Purchasing Power Parity or the PPP rate is the price of Big Mac in local currency divided by the price in the US. Price of Big Mac (and corresponding implied PPP rates from The Economist and is the latest). ++ The Over/Under valuation against the dollar is calculated using Exchangerateââ¬â¢s latest rates ( i. e as of 09/12/2011): 100 x ( P P P ââ¬â Exchange Rate) / Exchange Rate (Source http://www. exchangerate. com/) OBSERVATION The most overvalued of currencies is the European Nordic countriesââ¬â¢ currencies and most undervalued is the Indian Rupee. At market exchange rates, the Burger is 60% cheaper in India than in US. In other words, the Indian rupee is 60% undervalued against the dollar. However it should be noted that cheap burgers in India donââ¬â¢t mean that the Indian rupee is highly undervalued. Average prices should be lower in poor countries than in rich ones because labor costs are lower. The chart in the Appendix A shows a strong positive relationship between the dollar price of a Big Mac and GDP per person. Purchasing Power Parity is actually an indicator where exchange rates should move in the long run. For estimating the current fair value of a currency, a best fit line is drawn between Big Mac prices and GDP per person. The price thus predicted after the best fit line is drawn is compared with the actual price and this provides a better estimation of the currency over and under valuation than the above index. The ââ¬Å"beefed upâ⬠index shows that the Brazilian Real is the most overvalued in the world; the Euro is also slightly overvalued. However the two major developing countries ââ¬â India and China appear to be almost equal to its fair values. ALTERNATIVE INDICES An index similar to the Big Mac index has also been developed by the financial company UBS as part of general compilation of differences in prices and incomes around the globe. The Economistà also comes out with variants of the same. For example in the month of January in 2004, it proposed aà Tall Latte indexà by replacing the Big Mac with a Starbucks Tall Latte. Refer Appendix B for the same. Commonwealth Securities, an Australian bank's subsidiary, proposed to create the iPod index by using the concepts behind the Big Mac index. The banks contention that since the Big Mac index can be distorted by taxes, transport costs, labour laws and trade barriers in each country and the iPod was made in a single country ââ¬â China, it made more sense to use the iPod as a measuring index. Since the iPod was made in a single country, the price should be broadly be the same all over the world and if the price difference were substantial, customers would switch their purchases to other countries (thanks to internet). However it was found to be ineffective since freight charges vary from country to country and countries such as US may get volume discounts. Bloomberg LP also introduced an alternative index known as Billy index after the iconic Ikeaââ¬â¢s bookshelf. The index was calculated after converting the bookshelfââ¬â¢s price to US dollars. LIMITATIONS aapendix a APPENDIX B APPENDIX C (Exchange Rates as Of 9th December 2011) | | Country| Currency| ISO| 12-08-2011| 12-09-2011| % Change| | | ARGENTINA| Peso| ARS| 4. 52995| 4. 529656| -0. 01%| à | | | AUSTRALIA| Dollar| AUD| 0. 975877| 0. 983322| 0. 76%| | à | | AUSTRIA| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| à | | | BELGIUM| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| | | BRAZIL| Real| BRL| 1. 804477| 1. 809112| 0. 26%| à | | CANADA| Dollar| CAD| 1. 014437| 1. 02021| 0. 57%| | | | CHILE| Peso| CLP| 508. 4706| 509. 9073| 0. 28%| à | | | CHINA| Yuan| CNY| 6. 362878| 6. 3556| -0. 11%| | | CZECH REP. | Koruna| CZK| 18. 90629| 19. 3208| 0. 67%| à | | DENMARK| Krone| DKK| 5. 542461| 5. 54456| 0. 04%| | | | EUROPEAN UNION| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| à | | | FINLAND| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| | | FRANCE| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| à | | | GERMANY| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| | | | | GREECE| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| à | | HONG KONG| Dollar| HKD| 7. 776135| 7. 781631| 0. 07%| | à | HUNGARY| Forint| HUF| 227. 0945| 227. 2763| 0. 08%| à | | | ICELAND| Krona| ISK| 119. 1911| 118. 9654| -0. 19%| | | | INDIA| Rupee| INR| 51. 73987| 51. 96812| 0. 44%| à | | INTNL MON. FUND| SDR| XDR| 0. 642256| 0. 642147| -0. 02%| | à | | IRELAND| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| à | | | ISRAEL| Sheqel| ILS| 3. 775473| 3. 760838| -0. 39%| | à | ITALY| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| à | | JAPAN| Yen| JPY| 77. 60051| 77. 64678| 0. 06%| | | | KOREA (SOUTH)| Won| KRW| 1132. 612| 1146. 365| 1. 21%| | | KUWAIT| Dinar| KWD| 0. 277164| 0. 277164| 0. 00%| -| | | MEXICO| Peso| MXN| 13. 62357| 13. 64045| 0. 12%| à | | | NETHERLANDS| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| | | | NEW ZEALAND| Dollar| NZD| 1. 28856| 1. 294989| 0. 50%| à | | | NORWAY| Krone| NOK| 5. 70238| 5. 745565| -0. 43%| | | | PAKISTAN| Rupee| PKR| 89. 01636| 89. 05625| 0. 04%| à | | PERU| Sol| PEN| 2. 701086| 2. 701086| 0. 00%| -| | | PHILIPPINES| Peso| PHP| 43. 29727| 43. 60018| 0. 70%| à | | | POLAND| Zloty| PLN| 3. 360573| 3. 374753| 0. 42%| | | | PORTUGAL| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| à | | ROMANIA| Leu| RON| 3. 23797| 3. 23797| 0. 00%| -| | | RUSSIA| Ruble| RUB| 31. 43216| 31. 49808| 0. 21%| à | | | SAUDI ARABIA| Riyal| SAR| 3. 750569| 3. 75069| 0. 00%| | | | SINGAPORE| Dollar| SGD| 1. 291813| 1. 294755| 0. 23%| à | | SLOVAKIA| Euro| EUR| 0. 74732| 0. 747603| 0. 4%| | | | SOUTH AFRICA| Rand| ZAR| 8. 204971| 8. 154915| -0. 61%| à | | | SPAIN| Euro| EUR| 0. 74732| 0. 747603| 0. 04%| | | SWEDEN| Krona| SEK| 6. 771076| 6. 73938| -0. 47%| à | | | SWITZERLAND| Franc| CHF| 0. 925818| 0. 923719| -0. 23%| | | | TAIWAN| Dollar| TWD| 30. 16208| 30. 21045| 0. 16%| à | | THAILAND| Baht| THB| 30. 77703| 30. 93439| 0. 51%| | à | | U. A. E. | Dirham| AED| 3. 673236| 3. 673236| 0. 00%| -| | | UKRAINE| Hryvnia| UAH| 8. 000472| 7. 998369| -0. 03%| | à | UNITED KINGDOM| Pound| GBP| 0. 637984| 0. 638233| 0. 04%| à | | | UNITED STATES| Dollar| USD| 1| 1| 0. 00%| -|
Thursday, October 10, 2019
Displays the result Essay
To improve legibility the comments are displayed to the right of every TOM line of code, and not in the standard style. read keyin Reads data inputted by keyboard and stores in the store location keyin load keyin Loads data from the store location keyin in to the accumulator sub minus Subtracts the store location minus from the accumulator store display Stores value in accumulator in the store location display print display Displays contents of the store location display on the screen stop Stops program execution minus data. 1 Initialises a store location minus with the value 1 in it keyin data 0 Initialises a store location keyin with the value 0 in it display data 0 Initialises a store location display with the value 0 in it 2. Write a TOM program that reads a number from the keyboard, multiplies it by 2, reads another number b from the keyboard, multiplies it by 3, and then displays the result. In other words, evaluate 2*a+3*b. read keyin1 Reads data inputted by keyboard and stores in the store location keyin1 load keyin1 Loads data from the store location keyin1 in to the accumulator mult val1 Multiplies the accumulator by the store location val1 store display Stores value in accumulator in the store location display read keyin2. Reads data inputted by keyboard and stores in the store location keyin2 load keyin2 Loads data from the store location keyin2 in to the accumulator mult val2 Multiplies the accumulator by the store location val2 add display Adds the store location display to the accumulator store total Stores value in accumulator in the store location total print total Displays contents of the store location total on the screen stop Stops program execution val1 data 2 Initialises a store location val1 with the value 2 in it val2 data. 3 Initialises a store location val2 with the value 3 in it keyin1 data 0 Initialises a store location keyin1 with the value 0 in it keyin2 data 0 Initialises a store location keyin2 with the value 0 in it display data 0 Initialises a store location display with the value 0 in it total data 0 Initialises a store location total with the value 0 in it 3. Write a TOM program that displays two numbers, entered from the keyboard, in descending numerical order. read keyin1 Reads data inputted by keyboard and stores in the store location keyin1 read keyin2. Reads data inputted by keyboard and stores in the store location keyin2 load keyin1 Loads data from the store location keyin1 in to the accumulator sub keyin2 Subtracts the store location keyin2 from the accumulator jifz lower Transfers control to the instruction lower if the zero flag is set print keyin1 Displays contents of the store location keyin1 on the screen print keyin2 Displays contents of the store location keyin2 on the screen stop Stops program execution lower print keyin2 Displays contents of the store location keyin2 on the screen print keyin1. Displays contents of the store location keyin1 on the screen stop Stops program execution keyin1 data 0 Initialises a store location keyin1 with the value 0 in it keyin2 data 0 Initialises a store location keyin2 with the value 0 in it 4. Write a TOM program that reads a number N from the keyboard and displays the sum of all integers from 1 to N i. e. 1+2+3+â⬠¦ +N. read keyin. Reads data inputted by keyboard and stores in the store location keyin loop load sofar Loads data from the store location sofar in to the accumulator add one Adds the store location one to the accumulator store sofar Stores value in accumulator in the store location sofar add total Adds the store location total to the accumulator store total Stores value in accumulator in the store location total load sofar Loads data from the store location sofar in to the accumulator sub keyin Subtracts the store location keyin from the accumulator jifn loop. Transfers control to the instruction loop if the sign flag is set print total Displays contents of the store location total on the screen stop Stops program execution keyin data 0 Initialises a store location keyin with the value 0 in it one data 1 Initialises a store location one with the value 1 in it sofar data 0 Initialises a store location sofar with the value 0 in it total data 0 Initialises a store location total with the value 0 in it Alternatively, a more mathematical approach would be to use the below program. Observing the numbers inputted and outputted from the above program, I was able to find a relationship between the two numbers, this can be summarised by the below formula: (N x 0. 5) + 0. 5 x N = TOTAL The program using the above formula is simpler to write, uses far less processor cycles, and therefore far more efficient. read keyin Reads data inputted by keyboard and stores in the store location keyin load keyin Loads data from the store location keyin in to the accumulator mult val Multiplies. the accumulator by the store location val add val Adds the store location val to the accumulator mult keyin Multiplies the accumulator by the store location keyin store total Stores value in accumulator in the store location total print total Displays contents of the store location total on the screen stop Stops program execution keyin data 0 Initialises a store location keyin with the value 0 in it val data . 5 Initialises a store location val with the value 0. 5 in it total data 0 Initialises a store location total with the value 0 in it TOM2 1. A mobile telephone company, Odear, makes a monthly standing charge of i 12. 50 and charges 5 pence per local call. Write a TOM program that reads the amount of calls made and displays the total monthly bill. read calls Reads data inputted by keyboard and stores in the store location calls load calls Loads data from the store location calls in to the accumulator mult rate Multiplies the accumulator by the store location rate add standing Adds the store location standing to the accumulator store total Stores value in accumulator in the store location total print total Displays contents of the store location total on the screen stop Stops program execution total data. 0 Initialises a store location total with the value 0 in it calls data 0 Initialises a store location calls with the value 0 in it standing data 12. 50 Initialises a store location standing with the value 12. 50 in it rate data . 05 Initialises a store location rate with the value . 05 in it 2. Expand your program of (1) so that the program jumps back to the beginning, ready to calculate another bill instead of ending. start read calls Reads data inputted by keyboard and stores in the store location calls load calls Loads data from the store location calls in to the accumulator mult rate. Multiplies the accumulator by the store location rate add standing Adds the store location standing to the accumulator store total Stores value in accumulator in the store location total print total Displays contents of the store location total on the screen jump start Transfers control to the instruction start stop Stops program execution total data 0 Initialises a store location total with the value 0 in it calls data 0 Initialises a store location calls with the value 0 in it standing data 12. 50 Initialises a store location standing with the value 12. 50 in it rate data . 05 Initialises a store location rate with the value . 05 in it 3. Whatââ¬â¢s wrong with the program in (2)? The program has no way of ending (normally), and will therefore loop continuously. 4. Modify (2) so that if the user enters 0 for the number of units the program terminates. start read calls Reads data inputted by keyboard and stores in the store location calls load calls Loads data from the store location calls in to the accumulator sub check Subtracts the store location check from the accumulator jifz end Transfers control to the instruction end if the zero flag is set mult rate. Multiplies the accumulator by the store location rate add standing Adds the store location standing to the accumulator store total Stores value in accumulator in the store location total print total Displays contents of the store location total on the screen jump start Transfers control to the instruction start end stop Stops program execution total data 0 Initialises a store location total with the value 0 in it calls data 0 Initialises a store location calls with the value 0 in it standing data 12. 50 Initialises a store location standing with the value 12. 50 in it rate data . 05 Initialises a store location rate with the value . 05 in it check data 0 Initialises a store location check with the value 0 in it 5. Now modify (4) so that the user can tell the system how many bills to calculate and the program terminates after running that many times. read billnum Reads data inputted by keyboard and stores in the store location billnum start read calls Reads data inputted by keyboard and stores in the store location calls load calls Loads data from the store location calls in to the accumulator mult rate Multiplies the accumulator by the store location rate add standing. Adds the store location standing to the accumulator store total Stores value in accumulator in the store location total print total Displays contents of the store location total on the screen load billnum Loads data from the store location billnum in to the accumulator sub billsub Subtracts the store location billsub from the accumulator store billnum Stores value in accumulator in the store location billnum jifz end Transfers control to the instruction end if the zero flag is set jump start. Transfers control to the instruction start end stop Stops program execution total data 0 Initialises a store location total with the value 0 in it calls data 0 Initialises a store location calls with the value 0 in it standing data 12. 50 Initialises a store location standing with the value 12. 50 in it rate data . 05 Initialises a store location rate with the value . 05 in it billnum data 0 Initialises a store location billnum with the value 0 in it billsub data 1 Initialises a store location billsub with the value 1 in it 6. Finally, modify the program of (5) so that the user can first enter the price per unit, and the standing charge. Read rate Reads data inputted by keyboard and stores in the store location rate read standing Reads data inputted by keyboard and stores in the store location standing read billnum Reads data inputted by keyboard and stores in the store location billnum start read calls Reads data inputted by keyboard and stores in the store location calls load calls Loads data from the store location calls in to the accumulator mult rate Multiplies the accumulator by the store location rate add standing. Adds the store location standing to the accumulator store total Stores value in accumulator in the store location total print total Displays contents of the store location total on the screen load billnum Loads data from the store location billnum in to the accumulator sub billsub Subtracts the store location billsub from the accumulator store billnum Stores value in accumulator in the store location billnum jifz end Transfers control to the instruction end if the zero flag is set jump start. Transfers control to the instruction start end stop Stops program execution total data 0 Initialises a store location total with the value 0 in it calls data 0 Initialises a store location calls with the value 0 in it standing data 0 Initialises a store location standing with the value 0 in it rate data 0 Initialises a store location rate with the value 0 in it billnum data 0 Initialises a store location billnum with the value 0 in it billsub data 1 Initialises a store location billsub with the value 1 in it Modifications in TOM2 In question 1, the program initialises four store locations; rate to store the standard call rate of 0. 5, standing to store the standing charge of 12. 50, calls to store the number of calls made and total to store the total bill. The programs reads a value inputted by the user (number of calls), multiplies this value by the call rate, adds the standing order and displays it. Question 2 introduces a loop after the total has been displayed to the start of the program so that user may calculate another bill, this however is not ideal as there is no correct way to terminate the program normally. Question 4 combats this problem by allowing the user to enter 0 to terminate the program. This is done by introducing an additional store location called check with the value 0 assigned to it. The program subtracts check from the number of calls entered, if the result is 0 (0 ââ¬â 0 = 0) then the zero flag is set, the jifz statement then transfers control to the end of the program, where it terminates normally. Question 5, in addition to the store location used in question 1 introduces two more; billnum to store the number of bills required and billsub, a store location containing the value 1. The user initially enters the number of bills required, this is stored in billnum, the program then calculates the bill in same way as question 1. After the bill has been displayed, the program subtracts billsub (1) from the number of bills, if the result is zero (ie no more bill to calculate) the zero flag is set, and using the jifz statement jumps to the end of the program. If the zero flag is not set (more bills to calculate) the program is looped back to enter more bill details. Question 6, allows the user to enter the standing charge, rate of calls and number of bills before the bills are calculated, these are stored in their respective locations (standing, rate and billnum) before the program continues to execute in the same way as question 5. CSO Tutorial 4 Exercise 2. 1 We wish to compare the performance of two different machines: M1 and M2. The following measurements have been made on these machines: Program Time on M1 Time on M2 1 10 seconds 5 seconds 2 3 seconds 4 seconds Which machine is faster for each program and by how much? For program 1, M2 is 5 seconds(or 100%) faster than M1. For program 2, M1 is 1 second (or 25%) faster than M2. Exercise 2. 2 Consider the two machines and programs in Exercise 2. 1. The following additional measurements were made: Program. Instructions executed on M1 Instructions executed on M2 1 200 x 106 160 x 106 Find the instruction execution rate (instructions per second) for each machine running program 1. Instructions executed = Instructions per second (instruction execution rate) time(seconds) M1 200000000 = 20000000 10 = 20 x 106 Instructions per second or 20 Million Instructions per second M2 160000000 = 32000000 5 = 32 x 106 Instructions per second or 32 Million Instructions per second Exercise 2. 3 If the clock rates of machines M1 and M2 in Ex 2. 1 are 200 MHz and 300 MHz respectively, find the clock cycles per instruction (CPI) for program 1 on both machines using the data in Ex 2. 1 & 2. 2. Clock rate = clock cycles per instruction (CPI) Instruction execution rate M1 200000000 = 10 clock cycles per instruction (CPI) 20000000 M2 300000000 = 9. 375 clock cycles per instruction (CPI) 32000000 Question 4 Draw a full flowchart of the final TOM program produced at the end of exercise TOM2. This should include all the instructions, loops and all the program labels in the appropriate places.
Death Penalty Persuasive Essay Essay
The death penalty is an issue that has the United States quite divided. While there are many supporters of it, there is also a large amount of opposition. There are five different forms of execution in the United States: hanging, electrocution, lethal injection, lethal gas, and firing squad. All of these should be illegal. Capital punishment is defined as killing of someone for a crime. But also, murder is defined as killing one human being by another. Both are acts of violence. There is nothing more inhumane than tolerating the killing of another human being. According to the Abolitionists, capital punishment is nothing but an act of violence. There are 32 states with the death penalty, and they must change. These states need to abolish it on the grounds that it carries a dangerous risk of punishing the innocent, is cruel, and for religious reasons. The United States needs to abolish capital punishment in the states that allow it. To fully understand why they should abolish the death penalty, I will first analyze the reasons why they should. First reason the death penalty should be abolished is because the risk of punishing somebody innocent. ââ¬Å"Weââ¬â¢re only à human, we all make mistakes,â⬠is a commonly used phrase, but it is tried and true. Humans, as a species, are famous for their mistakes. However, in the case of the death penalty, error becomes too dangerous a risk. The innocent lives that have been taken with the approval of our own government should be enough to abolish capital punishment. The wrongful execution of an innocent person is an injustice that can never be rectified. Thereââ¬â¢s always the chance of the innocent being in the wrong place at the wrong time. A handful of evidence from a strong lawyer could sentence someone to life in prison, and even the death penalty. One could be spending and ending his life in captivity for simply walking down the wrong street on the wrong day. That person does not deserve to serve the time thatââ¬â¢s not rightfully his. Itââ¬â¢s a small fault in the justice system that is not easy to overcome. In the case of the death penalty, error becomes too dangerous to risk. The innocent lives that have been taken with the approval of our own governmentà should be enough to abolish capital punishment. Another reason to abolish the death penalty is because it is cruel. Many people favor the death penalty because it helps families get over the wrong done to the family; however, in most cases, closure is not the result. Losing a loved one, no matter how that person is lost, is unbearable. Pain like this is shocking and the victimââ¬â¢s family holds onto the hope that the execution of the murderer will bring relief and closure. Nevertheless, when execution day arrives, the pain is not eased. No relief can be gained, for their pain is an unavoidable, natural process of life. They believe that they are different from those who have taken their loved ones and they demonstrate their à difference by refusing to sink to a murdererââ¬â¢s level. According to Edna Weaver, whose daughter was murdered in New Jersey, expressed relief that the defendant was spared the death penalty. She said that she did not want William Severs Jr. executed for killing Tina Lambriola in 2002 because she wanted to spare his mother the pain of losing a child. ââ¬Å"Iââ¬â¢m so thankful it came out the way it did. . . . I wouldnââ¬â¢t want another mother to feel like I do ââ¬â itââ¬â¢s a feeling I could never put into words. . . . At least his mother will be able to write to him, she will be able to send things to him,â⬠Weaver stated. Finally, the last reason they should abolish capital punishment is because religious reasons. Many religions, such Catholicism, follow the rules that God sent to use through the Ten Commandments. One of the most important of those ten states, ââ¬Å"Thou shall not kill.â⬠If you are executing an individual, that clearly violates this commandment. Murdering any person, no matter what the individual has been convicted of, is a mortal sin. In the Old Testament; the Lord said that it is okay to give a man Capital punishment if he has committed serious crime. Then in the New Testament he said we should not take the life of another man but if that man disobeys the laws of his country then he shall be punished equally according to what he had done. With the many advances that society has made, executing people for crimes the person may have or may not have committed is still practiced. It violates so many religious beliefs. It is a cruel and unusual practice that must be done away with. Society must advance and eliminate the death penalty. We need to understand that the best way to prevent any possibleà murders in the future is not let the killer walk free. Nothing good comes of hate, and nothing good can ever come from capital punishment. It cannot continue to be accepted by a nation that claims to have liberty and justice for all. The death penalty is murder on the sly and itââ¬â¢s dead wrong.
Wednesday, October 9, 2019
The Evolution of IBM Case Study Example | Topics and Well Written Essays - 1000 words
The Evolution of IBM - Case Study Example The competencies thus shifted away from technical quality and towards knowledge, experience and personnel expertise (Carlson). The emphases was on focus, speed, customers, teamwork and execution. The company was centralized, global core processes were standardized, metrics were redesigned, and the focus was on the marketplace and the customer (Carlson). How would you describe Louis Gerstnerââ¬â¢s implementation style of IBMââ¬â¢s competitive strategy in the early 1990s? The implementation style of IBMââ¬â¢s corporate strategy was focused upon streamlining the operation and cutting costs. IBM cut its workforce to a low of 220,000 employees in 1994, and used other cost reductions for the company. This was half of the competitive strategy. The other half was that Gerstner recognized that the company should continue to provide integrated solutions. The previous idea was that IBM would divide into separate companies that emphasized separate competencies. The idea was that IBM could bundle and customize solutions for customers, packaging hardware, software and services together in a customized bundle (Carlson). Because IBM was centered around an idea, as opposed to a certain technology, it was able to adapt to changing business climates that occur when new technologies arise, and the magazine The Economist states that companies who are rooted in a philosophy, not a product, are the companies who will be around in 100 years (ââ¬Å"The Test of Time,â⠬ 2011). ... Because IBM was centered around an idea, as opposed to a certain technology, it was able to adapt to changing business climates that occur when new technologies arise, and the magazine The Economist states that companies who are rooted in a philosophy, not a product, are the companies who will be around in 100 years (ââ¬Å"The Test of Time,â⬠2011). The company also dropped low margin industries, such as personal printers and hard drives. Its focus was on high profit margin businesses, with a focus on becoming a technology integrator. It also acquired the management consulting and technology services arm of Pricewaterhouse Cooper, which was a boon for its services division (Carlson). What are the implications of the globally integrated enterprise model for marketing managers in the Australia and New Zealand subsidiary of IBM? The implications are that, even though the New Zealand and Australian marketing managers are working for a subsidiary of IBM, they will have to adhere to the corporate ethos of IBM. Moreover, they will be controlled by the centralized unit of IBM, and the products and services that they will be producing will be products and services which are approved by centralized management at IBM. The values, processes and shared services will be those of IBM. It appears that IBM has abandoned the strategy of having parents and children in the corporate sense, and more that each of the offices around the world are a part of IBM, and not independent. Discuss the elements of the marketing strategy that makes IBM successful in todayââ¬â¢s global marketplace. One of the important elements of the marketing strategy is that IBM integrates production and value delivery worldwide, while depending upon state borders less
Monday, October 7, 2019
Research Brief for HR Development Essay Example | Topics and Well Written Essays - 500 words
Research Brief for HR Development - Essay Example Training employees on team building will improve their skills, knowledge and attitudes in the workplace especially for a certain task. It will also make the employees open to each other thus increasing the confidence at work place. ââ¬Å"The make versus Buyâ⬠decisions are the best available resources that HRD will use in the program. These includes resources that will be use to assist with conducting needs assessment, guiding the employees in implementing the program, provision of supplemental training materials and selecting a trainer who will train the employees (Lee & Bruvold, 2003). Therefore, in the selection of a trainer it is important for HRD to outsource because most of the time the organizations do not have the expertise of designing the programs in-house. The trainer may be outsourced from a consulting firm and selecting in terms of credentials, experience, cost, and philosophy. Objectives must be set in order to show the performance in which the HRD wants its employees to achieve and exhibit before they consider them as competent. The trainer should have knowledge and varied skills that are designed and implemented in the program. When the trainer prepares an advanced level of expertise, the train will be an effective one. It is good to use different training methods and techniques. The trainer translates the objectives of the program in an executable training session and a training guide in order for the team-building program to success (Lee & Bruvold, 2003). In summary, activities that are involved in the implementation processes of an HRD program such as team building include assessing the needs of employees and areas that need development to better serve the needs. The second phase is that HRD is to design the intended benefits of the program, which include performance improvement and behaviour change of the employees (Vinaya, Mahatab & Kumar, 2013). The final activity is to
Sunday, October 6, 2019
Research Essay Example | Topics and Well Written Essays - 1250 words - 1
Research - Essay Example He also feels this especially towards Biff who he thinks was doing particularly well until he went on to campus and failed his mathematics and thus never finished it. The psychological context is also brought out by the fact that Willyââ¬â¢s family and friends feel that he is losing his sanity (Miller 15). Happy and Biff discuss the mental degradation of their father but do not bring this out to him since they feel that he would not accept what they are telling him, his wife Linda is also aware of his mental problems but wonââ¬â¢t tell him either because she is trying to unite the family which already appears on the verge of splitting up. Willyââ¬â¢s problems do however show themselves when he gets into an argument with his boss Howard over the rejection of his application for a town job. Willy loses his temper over a trivial matter showing his volatility and the dangers of depression. Willyââ¬â¢s spiral into depression is also shown by his constant hallucinations. He con stantly hallucinates of his past years of success such as 1928 when he was driving a red Chevrolet (Miller 13) of having conversations with his older brother as well point to his dementia. The constant hallucinations are thought to be a defense mechanism for the harsh realities that he is facing and were to prevent the onset of full scale depression, this however is not avoided as at the end of the play he still succumbs to it and commits suicide. Several factors are responsible for this depression the most important being his denial of the reality that he is not as successful as he imagines himself to be, and that Biff was never the successful football player that he imagines himself to be The success that Biff had was instead a touchdown that he scored while in high school. Willyââ¬â¢s imagination of success is shown when he goes to confront Howardââ¬â¢s father about his sacking citing the time in 1928 when he earned an extremely large bonus, he defends himself towards his b oss by citing the time twenty years ago when he found financial success and this is what he uses as his defense to have himself reinstatedââ¬Å". The play is set in 1949 showing that Willyââ¬â¢s peak are twenty years past and yet he still clings on to them to prevent his acknowledgement that he is not as successful as he dreams(Miller 82). The theme of unrealistic parental expectations is constantly shown in Willy who believes that his son Biff is a failure, he wants his son to take up a job as a salesman and constantly berates him for not, he keeps reminding him about his high school successes and clings on them as proof that Biff has potential. He also keeps pressuring Bill to marry as he says that he was popular with everybody both boys and girls but as Linda points out Biff is rough with women and so it is difficult for him to settle down (Miller 31). The relationship between Linda and Happy also show how her expectations of him are more than what he can be even when trying, she complains that Happy should be doing more with his life and yet Happy is constantly providing money for her and Willy to use to supplement his income. Happy also has motivation to succeed and wants to become the manager of his store however
Subscribe to:
Posts (Atom)