Mathlab

 Mathlab Composition

%Question a)Equation 1

%T in unit celcius

T=[

seventy seven

77

63. 5

53. 3

53. 3

77. 6

77. 6

seventy seven. 6

52. 9

52. 9

seventy seven. 6

62. 7

53. 7

53. 7

seventy nine. 5

79. 5

64. 0

64. 0

54. 5

39. 2

35. 3

forty-nine. 4

forty five. 2

forty five. 2

40. 2

forty five. 2

39. 7

forty. 2

forty. 2

forty. 2

39. 9

39. 9

39. 8];

%rate constant k in unite mol/m^3

kE5=[

2 . 70

2 . 87

1 ) 48

0. 71

zero. 66

installment payments on your 44

1 . 26

installment payments on your 40

0. 72

zero. 70

2 . 40

1 . 42

zero. 69

0. 68

three or more. 03

three or more. 06

1 ) 31

1 ) 37

zero. 70

zero. 146

0. 159

zero. 260

0. 284

zero. 323

zero. 283

zero. 284

zero. 277

0. 318

0. 323

0. 326

0. 312

zero. 314

0. 307]*10^5;

TKelvin=T+273; % change to kelvin

Tnew=1. /TKelvin;

knew=log10(kE5);

R= 82. 05746; %cm^3? atm.? K^? 1 )? mol^? one particular

polyfit(Tnew, recognized, 1)

c1=polyfit(Tnew, knew, 1);

polyval(c1, Tnew);

plot(Tnew, recognized, 'b*', Tnew, polyval(c1, Tnew))

Command window

> > classwork_week4

ans =

1 . 0e+03 2.

-2. 8178 0. 0134

%Question a)Equation 2

Tabs=298; % product kelvin

TKelvin_2=1/Tabs-1. /TKelvin;

polyfit(TKelvin_2, knew, 1)

c1=polyfit(TKelvin_2, realized, 1);

polyval(c1, TKelvin_2);

plot(TKelvin_2, knew, 'b*', TKelvin_2, polyval(c1, TKelvin_2))

Order window

> > classwork_week4

ans sama dengan

1 . 0e+03 *

2 . 8178 zero. 0040

Manager

%Question b) Equation you

function f=classworkfuncequation1(a, Tnew)

A=a(1);

B=a(2);

f=A*exp(-B. *Tnew);

Order window

Cguessequation1=[1 1];

> > Cnew=nlinfit(Tnew, realized, @classworkfuncequation1, Cguessequation1)

Cnew sama dengan

27. 6813 572. 1670

> > Cguessequation1=[1 1];

> > Cnew=lsqcurvefit(@classworkfuncequation1, Cguessequation1, Tnew, knew)

Local minimum discovered.

Optimization finished because the scale the gradient is less than the default value of the function tolerance.

Cnew =

twenty seven. 6813 572. 1670

Publisher

%Question b) Equation two

function f=classworkfunc(a, TKelvin_2)

A=a(1);

B=a(2);

f=A*exp(-B. *TKelvin_2);

Command Window

> > Cguessequation2=[1 1];

> > Cnew=nlinfit(TKelvin_2, understood, @classworkfunc, Cguessequation2)

Cnew sama dengan

4. 0582 -572. 1669

> > Cguessequation2=[1 1];

> > Cnew=lsqcurvefit(@classworkfunc, Cguessequation2, TKelvin_2, knew)

Neighborhood minimum located.

Optimization accomplished because the scale the gradient is less than the default worth of the function tolerance.

Cnew =

4. 0582 -572. 1670

> > classwork_week4

ans sama dengan

1 . 0e+03 *

-2. 8178 0. 0134

ans =

1 . 0e+03 2.

2 . 8178 0. 0040

%Question c)

%plot graph

story = (Tnew, knew, 'b*', Tnew, polyval(c1, Tnew), TKelvin_2, knew, 'b*', TKelvin_2, polyval(c1, TKelvin_2)).


Related

Scilab Search engine optimization Essay

Scilab Datasheet Marketing in Scilab Scilab offers a high-level matrix language and allows to define intricate mathematical versions and to conveniently connect to existing libraries. This is why…...

Lord of the Flies Questions Research Daily news

Year 10 Comprehension Questions Head of the family Of The Lures 1 . Ralph can be elected main because he wins the vote. Ralph wins the have…...

Common Interview Questions Article

Common interview Questions and answers: Specialized medical jobs: Tell me about yourself: I've been a Registered Dietitian since 2001, and have had different functions in…...

Question in Rizal Part 5-10 Essay

Phase 5 Direction: Identify this. 1 ) A training course finished by simply Rizal before he used in the medical course. 2 These are the topic…...

Essay about Effective Advancements: Communication Abilities and failings

Effective Improvements: Communication Strengths and Weaknesses Communication is actually a necessity to human development. It commences biologically, just before we are created, continuing the others of our days and…...

Essay about Research Pitch On Financing Small And Moderate Scale Organization In Nigeria

п»їCONTENT OF PROPOSAL Study title Qualifications OF Pitch Question and Objective Techniques of analysis Opportunity. And limitation Plan of study Recommendations…...

Physics Pendulum Lab Statement Essay

Pendulum Raiyan Hassan SPH3U September 20, 2011 Introduction A pendulum is a unit which includes a mass attached with a string from a frictionless…...

Lord from the Flies and Human Nature Essay

Good and evil. These are generally two terms that everybody offers heard. One question that can arise coming from these two phrases is whether human beings are essentially…...

Organelles and Functions Article

Plant Cellular Organelles Information OrganelleDescription NucleusThe nucleus is made up of all of the genetic make-up in the cell and it is the control center with the cell NucleolusThe…...

Clark Sink Company Dissertation

Benedictine University MBA 683 Job Management 2013 Circumstance analysis Clark Water filters Company Yilei Zhu Clark Sink Company…...