Mmcc:aula 2

De WikiLICC
Revisão de 13h17min de 13 de março de 2010 por Dago (Discussão | contribs) (Nova página: ___________________________________________ scilab-5.1.1 Consortium Scilab (DIGITEO) Copyright (c) 1989-2009 (IN...)
(dif) ← Edição anterior | ver versão atual (dif) | Versão posterior → (dif)
Ir para: navegação, pesquisa
       ___________________________________________        
                      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 

differential_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  

-->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.  

-->12 ^ 30

ans  =

   2.373763137997698063D+32  

-->1/0

   !--error 27 

Division by zero...


-->12 ^ 300

ans  =

  Inf  

-->12^10

ans  =

   61917364224.  

-->12^11

ans  =

   743008370688.  

-->12^12

ans  =

   8916100448256.  

-->12^22

ans  =

   5.520614389124364176D+23  

-->9.9D90

ans  =

   9.899999999999999793D+90  

-->9.9E90

ans  =

   9.899999999999999793D+90  

-->12^100

ans  =

   8.281797452201454916+107  

-->12^102

ans  =

   1.192578833117009466+110  

-->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 = 10E200*2

Num  =

   2.000000000000000075+201  

-->Num = 10E300*2

Num  =

   2.000000000000000105+301  

-->Num = 10E400*2

Num  =

  Inf  
 
Environment saved.