Opening rstudio and creating a new rscript

Assignment Help Basic Computer Science
Reference no: EM132400951

Start by opening Rstudio and then creating a new RScript.

Imagine you're in an economics class here at Davis, and you have been talking about the correlation between country GDP (Gross Domestic Product) and child illiteracy rates. You're interested in the topic so you start doing some of your own research and calculations.

1. You find that world GDP is 88 billion and US GDP is 21 billion. create and assign the variables "WorldGDP" and "USGDP" to the values above. Now Create an equation (using the variables you created) in which you find the proportion of US GDP in relation to the world's GDP - assign the outcome of this equation to the variable "USOutputPercentage"

2.After doing this calculation, you realized you mistook trillions for billions and your variables are off. To fix this, reassign the two variables (on two new lines!), WorldGDP and USGDP to the correct values, 88 trillion and 21 trillion respectively. Notice that value of USOutputPercentage won't change since the USGDP and WorldGDP are going up by equal proportions.

3.You find that the five countries with the highest GDP are as follows (all in trillions): US - 21 China - 15 Japan - 5 Germany - 4 India - 3

a. create a variable "Largest5" and assign it to the GDPs of the five countries above (using condensed values such as 21 instead of 21,000,000,000,000 is advised)

b. You are interested in what the largest five economies would look like if they all grew by 3.6% next year. create an equation that uses the "Largest5" variable to answer that question. In the code for this equation, add your name and lab time into a comment.

Reference no: EM132400951

Questions Cloud

Developing or installing software : What might you have done as a technology professional when developing or installing this software to help prevent such an error from occurring?
Identify at least three relational model issues : Identify at least three relational model issues. What are the possible solutions to the issues and Develop a distributed database system which is applicable.
Explain normalization : Explain normalization and describe the 1st, 2nd, and 3rd normal forms it and why this is important.
How big is big data for discovery health : How big is big data for Discovery Health? What were the main data/analytics challenges Discovery Health was facing?
Opening rstudio and creating a new rscript : Start by opening Rstudio and then creating a new RScript.
Minimal basis for the set of functional dependencies : Using minimal basis, what would be the decomposition of Test into relations in 3NF?
Calculate gross pay for week : Prepare a short report to present it to your manger (trainer/assessor role play) and obtain necessary approval for variance in payroll and authorising.
Discuss the risk and costs of compromised : Look at military, or education, or science, medicine, finance, utilities, municipalities, etc. "Use an example from the news".
Determining the types of vulnerabilities : What types of vulnerabilities could such printers have? Is there an effective method of control available in today's commercial or open source market?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd