(adsbygoogle = window.adsbygoogle || []).push({});

I have this

What I am stuck at is how do I say I want the y value when x = 3?Code (Text):delete s275x05.txt; diary s275x05.txt

clear; clc; close all; echo on

%

% Stewart 275/05

%

year=[0:1]; % n+1 = year + 50

pop=[728 906];

p=polyfit(year,log(pop),2)

plot(year,pop,'o','MarkerFaceColor','r')

hold on

x=[0:0.01:6];

y=exp(polyval(p,x));

plot(x,y)

hold on

%part a

%popluation at year 1900

x1900=3

%

echo off; diary off

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Popluation Growth

**Physics Forums - The Fusion of Science and Community**