1. Trang chủ
  2. » Kinh Doanh - Tiếp Thị

Solution manual for FORTRAN for scientists and engineers 4th edition by chapman

5 186 4

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 81,07 KB

Nội dung

Solution Manual for FORTRAN for Scientists and Engineers 4th Edition By Chapman Instructor’s Manual to accompany Chapman Fortran for Scientists and Engineers Fourth Edition Stephen J Chapman BAE Systems Australia Copyright © McGraw-Hill Education All rights reserved No reproduction or distribution without the prior written consent of McGraw-Hill Education Full file at https://TestbankDirect.eu/ Solution Manual for FORTRAN for Scientists and Engineers 4th Edition By Chapman Instructor’s Manual to accompany Fortran for Scientists and Engineers, Fourth Edition, ISBN ??? Copyright © 2018 McGraw-Hill, Inc All rights reserved Printed in the United States of America No part of this book may be used or reproduced in any manner whatsoever without written permission, with the following exception: homework solutions may be copied for classroom use Full file at https://TestbankDirect.eu/ Solution Manual for FORTRAN for Scientists and Engineers 4th Edition By Chapman Table of Contents Preface iv Chapter Introduction to Computers and the Fortran Language Chapter Basic Elements of Fortran Chapter Program Design and Branching Structures 20 Chapter Loops and Character Manipulation 31 Chapter Basic I/O Concepts 70 Chapter Introduction to Arrays 115 Chapter Introduction to Procedures 133 Chapter Additional Features of Arrays 182 Chapter Additional Features of Procedures 200 Chapter 10 More About Character Variables 248 Chapter 11 Additional Intrinsic Data Types 272 Chapter 12 Additional Data Types 288 Chapter 13 Advanced Features of Procedures and Modules 318 Chapter 14 Advanced I/O Concepts 335 Chapter 15 Pointers and Dynamic Data Structures 350 Chapter 16 Object Oriented Programming in Fortran 376 Chapter 17 Coarrays and Parallel Processing 406 iii Full file at https://TestbankDirect.eu/ Solution Manual for FORTRAN for Scientists and Engineers 4th Edition By Chapman Preface This Solutions Manual accompanies Fortran for Scientists and Engineers 4/e, which is published by McGraw-Hill Higher Education It provides answers to all of the end-of-chapter exercises in the text, and the source files created when solving these exercises are in a zip file available from the same source as this manual (Please note that the source files in the zip file are in PC format, with CRLF at the end of each line Unix users of this text may wish to convert the files to the Unix-standard LF line terminations.) Supplements A number of supplemental items are available for use with this text A PDF version of this manual, a zip file containing all of the Fortran files files used in the body of this book, and a separate zip file containing the Fortran files for all of the end-of-chapter solutions can be found on the McGraw-Hill Higher Education Web site (http:// http://www.mheducation.com) Note that the PDF version of the manual and the Fortran files for the solutions are password protected, and so only available to authorized instructors The Fortran files for the text may be freely downloaded by anyone Finally, if you find any errors in the text, please notify me via McGraw-Hill Higher Education I will try to get them corrected, and I will add them to a list of errata posted at the Web site for everyone’s benefit Stephen J Chapman Melbourne, Australia 30 September 2016 iv Full file at https://TestbankDirect.eu/ Solution Manual for FORTRAN for Scientists and Engineers 4th Edition By Chapman Full file at https://TestbankDirect.eu/ Chapter Introduction to Computers and the Fortran Language 1-1 (a) 10102 (b) 1000002 (c) 10011012 (d) 1111112 1-2 (a) 7210 (b) 13710 (b) 25510 (d) 510 1-3 (a) 1273618 and AEF116 (b) 5128 and 14A16 (c) 1578 and 6F16 (d) 37558 and 7ED16 1-4 (a) 111111112 and 25510 (b) 1101010002 and 42410 (c) 10010012 and 7310 (d) 1111111112 and 51110 1-5 A 23-bit mantissa can represent approximately ±222 numbers, or about six significant decimal digits A 9-bit exponent can represent multipliers between 2-255 and 2255, so the range is from about 10-76 to 1076 1-6 46-bit integer: From -245 to -245-1, or -35,184,372,088,832 to 35,184,372,088,831 64-bit integer: From -263 to -263-1, or -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 1-7 (a) 1101112 (b) 11111111111110112 (c) 100000000002 (d) 11111100000000002 1-8 The sum of the two’s complement numbers is: = 936210 00100001100011102 11111100111111002 = -77210 00100001100011102 = 859010 The two answers agree with each other 1-9 011111112 = 12710, and 100000002 = -12810 These results agree with Equations (1-1) and (1-2) 1-10 A 53-bit mantissa can represent approximately ±252 numbers, or about fifteen significant decimal digits An 11-bit exponent can represent multipliers between 2-1023 and 21023, so the range of double precision numbers is from about 10-307 to 10307 Full file at https://TestbankDirect.eu/

Ngày đăng: 20/08/2020, 11:45

TỪ KHÓA LIÊN QUAN