Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The enclosed file ‘hw116.txt’ contains historical data of world population of hu

ID: 3688287 • Letter: T

Question

The enclosed file ‘hw116.txt’ contains historical data of world population of human. Write a script to read in the data and plot the world population vs. year. Use the following specific format:

a) use log scale for the y?axis (population);

b) use white figure background

c) use linewidth 3, and purple color [0.5, 0, 0.5] for the line plot.

d) use font size 18, bold font weigh for axes labels and title

see an example plot below:

World Population 10 10 10 -10 10 10000 -8000 -6000 -4000 -2000 0 2000 4000 Year

Explanation / Answer

<!--Script by hscripts.com-->
<!-- more scripts @ https://www.hscripts.com -->
<script type="text/javascript">
function counter()
{
popstat=5946422755;
poprate=2.4452;
today=new Date()
statsdate = new Date("February 1, 1999");
offset = today.getTimezoneOffset()*60*1000
diffpop = (( today.getTime() + offset ) - statsdate.getTime() ) / 1000
var newpop = Math.ceil(popstat + (diffpop * poprate));
newpop = "" + newpop;
p1 = newpop.substring(0,1)
p2 = newpop.substring(1,4)
p3 = newpop.substring(4,7)
p4 = newpop.substring(7,10)
var pops= p1 + "," + p2 + "," + p3 + "," + p4;
var popul = document.getElementById("poo");
popul.innerHTML = pops;
setTimeout('counter()',200); } </script>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote