Mudanças entre as edições de "Mmcc:aula 2"
m |
m |
||
(Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
Linha 1: | Linha 1: | ||
___________________________________________ | ___________________________________________ | ||
scilab-5.1.1 | scilab-5.1.1 | ||
− | |||
Consortium Scilab (DIGITEO) | Consortium Scilab (DIGITEO) | ||
Copyright (c) 1989-2009 (INRIA) | Copyright (c) 1989-2009 (INRIA) | ||
Copyright (c) 1989-2007 (ENPC) | Copyright (c) 1989-2007 (ENPC) | ||
___________________________________________ | ___________________________________________ | ||
− | + | Startup execution: | |
− | |||
− | Startup execution: | ||
loading initial environment | loading initial environment | ||
Linha 19: | Linha 16: | ||
-->5.7.61 | -->5.7.61 | ||
!--error 276 | !--error 276 | ||
− | Missing operator, comma, or semicolon. | + | Missing operator, comma, or semicolon. |
− | |||
− | |||
-->area=57800000 | -->area=57800000 | ||
Linha 30: | Linha 25: | ||
-->who | -->who | ||
− | + | Your variables are: | |
− | Your variables are: | ||
− | |||
populacao area ans home | populacao area ans home | ||
compatibility_functilib umfpacklib spreadsheetlib scilab2fortranlib | compatibility_functilib umfpacklib spreadsheetlib scilab2fortranlib | ||
Linha 41: | Linha 34: | ||
scicos_pal_libs %scicos_lhb_list %CmenuTypeOneVector %scicos_gif | scicos_pal_libs %scicos_lhb_list %CmenuTypeOneVector %scicos_gif | ||
%scicos_contrib scicos_menuslib scicos_utilslib scicos_autolib | %scicos_contrib scicos_menuslib scicos_utilslib scicos_autolib | ||
− | + | diferential_equationlib sparselib interpolationlib %z | |
%s polynomialslib optimizationlib cacsdlib | %s polynomialslib optimizationlib cacsdlib | ||
signal_processinglib statisticslib linear_algebralib graphic_exportlib | signal_processinglib statisticslib linear_algebralib graphic_exportlib | ||
Linha 55: | Linha 48: | ||
%t %f %eps %io | %t %f %eps %io | ||
%i %e %pi | %i %e %pi | ||
− | |||
using 33329 elements out of 5000000. | using 33329 elements out of 5000000. | ||
and 87 variables out of 9231. | and 87 variables out of 9231. | ||
− | + | ||
− | Your global variables are: | + | Your global variables are: |
− | |||
%modalWarning demolist %helps %helps_modules | %modalWarning demolist %helps %helps_modules | ||
%driverName %exportFileName LANGUAGE %toolboxes | %driverName %exportFileName LANGUAGE %toolboxes | ||
%toolboxes_dir | %toolboxes_dir | ||
− | + | ||
using 3010 elements out of 10999. | using 3010 elements out of 10999. | ||
and 9 variables out of 767. | and 9 variables out of 767. | ||
− | + | ||
− | |||
-->help who | -->help who | ||
-->who_user | -->who_user | ||
User variables are: | User variables are: | ||
− | |||
help populacao area home | help populacao area home | ||
− | |||
Using 616 elements ouf of 4965265 | Using 616 elements ouf of 4965265 | ||
Linha 163: | Linha 151: | ||
lado = | lado = | ||
161.19956547488024511949 | 161.19956547488024511949 | ||
+ | |||
+ | ==Ordem das operações== | ||
-->1 / 2 *2 | -->1 / 2 *2 | ||
Linha 192: | Linha 182: | ||
- 1. | - 1. | ||
+ | == O maior número == | ||
-->12 ^ 30 | -->12 ^ 30 | ||
ans = | ans = | ||
Linha 199: | Linha 190: | ||
!--error 27 | !--error 27 | ||
Division by zero... | Division by zero... | ||
− | |||
− | |||
-->12 ^ 300 | -->12 ^ 300 | ||
Linha 209: | Linha 198: | ||
ans = | ans = | ||
61917364224. | 61917364224. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->9.9D90 | -->9.9D90 | ||
Linha 229: | Linha 206: | ||
ans = | ans = | ||
9.899999999999999793D+90 | 9.899999999999999793D+90 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->12^104 | -->12^104 | ||
Linha 254: | Linha 223: | ||
1.999999999999999954+102 | 1.999999999999999954+102 | ||
− | |||
− | |||
− | |||
− | |||
-->Num = 10E300*2 | -->Num = 10E300*2 |
Edição atual tal como às 00h30min de 14 de março de 2010
___________________________________________ scilab-5.1.1 Consortium Scilab (DIGITEO) Copyright (c) 1989-2009 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment
-->5761000000
ans = 5.761D+09
-->5761000000;
-->5.7.61
!--error 276 Missing operator, comma, or semicolon.
-->area=57800000
area = 57800000.
-->populacao=5761000000;
-->who
Your variables are: populacao area ans home compatibility_functilib umfpacklib spreadsheetlib scilab2fortranlib maple2scilablib matiolib m2scilib texmacslib soundlib scipadinternalslib scipadlib tclscilib metanetgraph_toolslib metaneteditorlib scicos_pal %scicos_menu %scicos_short %scicos_help %scicos_display_mode modelica_libs scicos_pal_libs %scicos_lhb_list %CmenuTypeOneVector %scicos_gif %scicos_contrib scicos_menuslib scicos_utilslib scicos_autolib diferential_equationlib sparselib interpolationlib %z %s polynomialslib optimizationlib cacsdlib signal_processinglib statisticslib linear_algebralib graphic_exportlib graphicslib parameterslib simulated_annealinglib genetic_algorithmslib stringlib special_functionslib overloadinglib guilib jvmlib integerlib WSCI dynamic_linklib timelib functionslib elementary_functionlib data_structureslib iolib fileiolib demo_toolslib helptoolslib corelib PWD %F %T %nan %inf COMPILER SCI SCIHOME TMPDIR MSDOS %gui %pvm %tk %fftw $ %t %f %eps %io %i %e %pi using 33329 elements out of 5000000. and 87 variables out of 9231. Your global variables are: %modalWarning demolist %helps %helps_modules %driverName %exportFileName LANGUAGE %toolboxes %toolboxes_dir using 3010 elements out of 10999. and 9 variables out of 767.
-->help who
-->who_user
User variables are: help populacao area home Using 616 elements ouf of 4965265
-->populacao
populacao = 5.761D+09
-->densidade = populacao/area
densidade = 99.67128
-->area
area = 57800000.
-->area=57800000 *1.6^2
area = 1.480D+08
-->help format
-->format( 'v',20)
-->area=57800000 *1.6^2
area = 147968000.00000003
-->format( 'v',25)
-->area=57800000 *1.6^2
area = 147968000.00000002980232
-->densidade = populacao/area
densidade = 38.9340938581314830458
-->areapessoal=1 / densidade
areapessoal = 0.0256844297864954017319
-->lado = sqrt( areapessoal )
lado = 0.1602636258996263940446
-->lado = areapessoal ^ 1/2
lado = 0.0128422148932477008659
-->lado = areapessoal ^ (1/2)
lado = 0.1602636258996263940446
-->lado = areapessoal ^ (1/2) // em metros
lado = 0.1602636258996263940446
-->lado = areapessoal ^ (1/2)*1000 // em metros
lado = 160.26362589962639049190
-->populacao
populacao = 5761000000.
-->area
area = 147968000.00000002980232
-->area=57800000 *1.6^2
area = 147968000.00000002980232
-->area=57800000 *1.609344^2
area = 149701312.77742081880569
-->densidade = populacao/area
densidade = 38.483296459567995384532
-->areapessoal=1 / densidade
areapessoal = 0.0259852999092901985889
-->lado = areapessoal ^ (1/2)*1000 // em metros
lado = 161.19956547488024511949
Ordem das operações
-->1 / 2 *2
ans = 1.
-->1 / (2 *2)
ans = 0.2500000000000000000000
-->2*3+4/2
ans = 8.
-->1 -2 ^ 3/4
ans = - 1.
-->1 -2^3 /4
ans = - 1.
-->1 -(2^3) /4
ans = - 1.
-->((1 ) -((2^3) /4))
ans = - 1.
O maior número
-->12 ^ 30
ans = 2.373763137997698063D+32
-->1/0
!--error 27
Division by zero...
-->12 ^ 300
ans = Inf
-->12^10
ans = 61917364224.
-->9.9D90
ans = 9.899999999999999793D+90
-->9.9E90
ans = 9.899999999999999793D+90
-->12^104
ans = 1.717313519688493711+112
-->Num = 10E100
Num = 9.999999999999999770+100
-->Num = 10E100*2
Num = 1.999999999999999954+101
-->Num = Num *10
Num = 1.999999999999999954+102
-->Num = 10E300*2
Num = 2.000000000000000105+301
-->Num = 10E400*2
Num = Inf
Environment saved.