Sei sulla pagina 1di 3

EJERCICIO 6.

>> nmoles(1:10,78.115)

nmoles =

Columns 1 through 9

0.0128 0.0256 0.0384 0.0512 0.0640 0.0768 0.0896 0.1024 0.1152

Column 10

0.1280

>> nmoles(1:10,46.07)

nmoles =

Columns 1 through 9

0.0217 0.0434 0.0651 0.0868 0.1085 0.1302 0.1519 0.1736 0.1954

Column 10

0.2171

>> nmoles(1:10,102.3)

nmoles =

Columns 1 through 9

0.0098 0.0196 0.0293 0.0391 0.0489 0.0587 0.0684 0.0782 0.0880

Column 10

0.0978

>> m=[1 2 3 4 5 6 7 8 9 10];

>>w=[78.115,46.07,102.3];

>> [M,W]=meshgrid(m,w);

>> nmoles

nmoles =

1.0e+03 *
Columns 10 through 3

0.0781 0.1562 0.2343 0.3125 0.3906 0.4687 0.5468 0.6249 0.7030 0.7812

0.0461 0.0921 0.1382 0.1843 0.2304 0.2764 0.3225 0.3686 0.4146 0.4607

0.1023 0.2046 0.3069 0.4092 0.5115 0.6138 0.7161 0.8184 0.9207 1.0230

EJERCICIO 6.4

>> mass(1:10,78.115)

mass =

Columns 1 through 9

78.1150 156.2300 234.3450 312.4600 390.5750 468.6900 546.8050 624.9200 703.0350

Column 10

781.1500

>> mass(1:10,46.07)

mass =

Columns 1 through 9

46.0700 92.1400 138.2100 184.2800 230.3500 276.4200 322.4900 368.5600 414.6300

Column 10

460.7000

>> mass(1:10,102.3)

mass =

1.0e+03 *

Columns 1 through 9

0.1023 0.2046 0.3069 0.4092 0.5115 0.6138 0.7161 0.8184 0.9207

Column 10

1.0230
>> n=[1 2 3 4 5 6 7 8 9 10];

>>w=[78.115,46.07,102.3];

>> [N,W]=meshgrid(n,w);

>> mass=N.*W

mass =

1.0e+03 *

Columns 1 through 9

0.0781 0.1562 0.2343 0.3125 0.3906 0.4687 0.5468 0.6249 0.7030 0.7812

0.0461 0.0921 0.1382 0.1843 0.2304 0.2764 0.3225 0.3686 0.4146 0.4607

0.1023 0.2046 0.3069 0.4092 0.5115 0.6138 0.7161 0.8184 0.9207 1.0230

Potrebbero piacerti anche