1 / 7

Métodos Computacionais COB 725

Métodos Computacionais COB 725. Frederico C. Jandre e Maurício Cagy. Bibliografia. Hahn, B., Valentine, D., Essential Matlab for Engineers and Scientists, 4th Ed., Oxford: Academic Press, 2010. Gilat, A., Matlab: An Introduction with Applications, John Wiley & Sons, 2004.

waite
Download Presentation

Métodos Computacionais COB 725

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Métodos ComputacionaisCOB 725 Frederico C. Jandre e Maurício Cagy

  2. Bibliografia • Hahn, B., Valentine, D., Essential Matlab for Engineers and Scientists, 4th Ed., Oxford: Academic Press, 2010. • Gilat, A., Matlab: An Introduction with Applications, John Wiley & Sons, 2004. • Cagy, M., Fundamentos de Matlab, apostila, 2013. • Castilho, M., Gomes, E., Gonçalves Jr., J.I., Santos, L.A., Kultz, R., Krynski, E.M., Guia Rápido de Referência da Linguagem Pascal - Versão Free Pascal, apostila, 2009. • Graves, D., Pascal Programming Guide, Silicon Graphics, Inc., 1993.

  3. Linguagens Interpretadas vs. Compiladas Interpretadas: Código fonte (script) depende de um programa (interpretador) para serem executadas; Multi-plataformas. Compiladas: O código final (gerado pelo compilador) é executável diretamente pelo Sistema Operacional; Depende da arquitetura da máquina e do SO.

  4. Linguagens Interpretadas de Aplicações Genéricas ASP BASIC C# CYBOL DMDScript Euphoria Java JavaScript Lisp Logo • PHP • Python • R • Ruby • S • VBScript • VisualAge • VisualWorks • Tcl

  5. Linguagens Interpretadas Orientadas a Matrizes • SciLab; • Octave; • FreeMat; • JMathLib; • Matlab.

  6. Linguagens Compiladas Ada ALGOL BASIC C C++ COBOL Delphi Eiffel Fortran • Pascal • Sather • Ubercode • Urq • Visual Basic • Visual Foxpro • Visual Prolog

  7. Tipos de Variáveis Tipo Excursão Formato ShortInt (Int8) -128..127 8 bits com sinal SmallInt (Int16) -32768..32767 16 bits com sinal LongInt (Int32) -2147483648..2147483647 32 bits com sinal Int64 -2^63..2^63-1 64 bits com sinal Byte (UInt8 ou Char) 0..255 8 bits sem sinal Word (UInt16) 0..65535 16 bits sem sinal LongWord (DWord ou UInt32) 0..4294967295 32 bits sem sinal Boolean ou Bool 0 ou 1 / 0 ou 255 8 bits com 2 valores pré-definidos Real48 n = (-1)^s * 2^(e - 129) * (1.f) 2,9x10^-39..1,7x10^38 48 bits (39+1 significantes) Single (Float ou Float32) 1,5x10^-45..3,4x10^38 32 bits (23+1 significantes) Double (Float64) 5,0x10^-324..1,7x10^308 64 bits (52+1 significantes) Extended 3,6x10^-4951..1,1x10^4932 80 bits (63+1 significantes)

More Related