• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 268 pages
Exam (elaborations)

Solutions Manual for Classical FORTRAN Programming for Engineering and Scientific Applications, Second Edition (Kupferschmid)

Document preview thumbnail
Preview 4 out of 268 pages

Master FORTRAN programming with this official Solutions Manual for Classical FORTRAN Programming for Engineering and Scientific Applications, Second Edition by Michael Kupferschmid. This essential resource provides detailed, worked-out solutions for a wide selection of end-of-chapter exercises, making it the perfect study aid for verifying your work and understanding complex concepts. Covering all key areas of the textbook, this manual helps you navigate: Fundamentals: FORTRAN syntax, data types (INTEGER, REAL, COMPLEX, LOGICAL), and program structure. Control Flow: Mastering DO loops, IF-THEN-ELSE constructs, and GO TO statements. Data Structures: Working with arrays, COMMON blocks, and EQUIVALENCE statements. Modular Programming: Creating and using SUBROUTINE and FUNCTION subprograms. Input/Output: Formatted and unformatted I/O, file handling, and character manipulation. Advanced Topics: Numerical accuracy, debugging, and an introduction to modern standards like Fortran 90/95 and HPF. With clear explanations for both easy problems and challenging projects, this manual is indispensable for engineering and science students aiming for top grades in their FORTRAN programming course.

Content preview

All 17 Chapters Covered
g g g




SOLUTIONS

,Contents


1 AboutgThisgSolutionsgManual 1
1.1 Togtheg Student .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 1
1.2 Tog theg Instructorg g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 1

2 Solutionsgtogtheg Exercises 3
Chapterg 1 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 5
Chapterg 2 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 9
Chapterg 3 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 17
Chapterg 4 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 33
Chapterg 5 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 75
Chapterg 6 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 95
Chapterg 7 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 115
Chapterg 8 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 121
Chapterg 9 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 129
Chapterg 10 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 139
Chapterg 11 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 159
Chapterg 12 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 171
Chapterg 13 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 179
Chapterg 14 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 189
Chapterg 15 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 195
Chapterg 16 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 201
Chapterg 17 .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g .g . 207

3 Extrag Exercisesg andg Theirg Solutions 221

4 Teachingg FORTRANg Programming 259




v
@@SSee
isis
mmiciicsis
oolala
titoionn

,1
About This Solutions Manual
g g g




1.1 TogthegStudent
Thisg Solutionsg Manualg isg intendedg forg theg instructorg ofg ag courseg thatg usesg Classicalg FORTRAN
asg ag textbook,g andg forg theg studentg whog isg learningg theg subjectg independently.
Ifgyougaregagstudentgtakingg theg courseg forgcreditgyougshouldgknowgthatgitgisgagviolationg
ofgacademicgethicsgforgyougtogconsultgthisgSolutionsgManual,gwhethergyougcopygverbatimgfro
mgitgorgonlygusegitgtoggetgideasgaboutghowgtogworkgthegexercises.g Thegexercisesgaregagvaluabl
egaidgtoglearninggthegmaterialgingthegtextbook,gbutgonlygifgyougworkgthemgyourselfg!gLookinggu
pgtheganswersginsteadgofgfiguringgthemgoutgdeprivesgyougofgangopportunitygtoglearngthegmate
rial.g Ifganganswergisgforgcredit,gcheatinggisgalsogpersonallygdegradinggtogyougandgunfairg tog you
rg classmates,g andg itg mightg placeg youg ing jeopardyg ofg disciplinaryg action.g Ifg thisgisgangillicitgco
py,gpleasegdestroygitgnow.g Ifgthisgisgagstolengcopy,gpleasegreturngitgtogitsgrightfulgowner.g Eithe
rgway,gSTOPgREADING.
Ifgyougaregagstudentglearninggthegsubjectgbygyourselfgthengyougaregyourgownginstruc-
tor.g Pleaseg readg theg nextg section.




1.2 TogthegInstructor
Thisg Solutionsg Manualg isg intendedg forg theg instructorg ofg ag courseg thatg usesg Classicalg FORTRAN
asg ag textbook,g andg forg theg studentg whog isg learningg theg subjectg independently.
Ifgyougaregingeithergcategorygyougshouldgknowgthatgitggreatlygdiminishesgthegusefulnessgofgt
hegexercisesgforggradedgworkgifgtheirgsolutionsgbecomegpublic.g Pleasegrefraingfromgloaninggth
isgbookgtogothers,gdistributinggsolutionsgtogothers,gorgpostinggsolutionsgongthegWorldgWidegW
eb.g Ifgyougwantgtogshowgaggroupghowgtogsolvegagproblem,gIgsuggestgmakinggagtransparencygor
g scanningg tog ag.pdfgfileg forg projection,g org postingg theg solutiong ing ag displaygcaseg underggla

ss,gsogasgtogrevealgtheganswergwhilegdiscouraginggphotocopyinggorgelectronicgscanning.
Atgthegsamegtime,gitgisgprudentgforginstructorsgtogexpectgthatgsomegstudentsgwillghavegacce
ssgtogthegsolutionsgandgthusgangunfairgadvantagegovergtheirgclassmatesgwhogdognot.g Ifgyougsu
spectgthisgmightgbegthegcase,gyougshouldgconsidergassigninggtextbookgexercisesgwhosegsoluti
onsgaregnotgincludedgingthisgManualgorgmakinggupgproblemsgofgyourgown,gperhapsgmodeledg
ongexercisesgingthegtextbook.
Chapterg2gofgthisgManualgprovidesgsolutionsgtogaboutghalfgofgthegexercisesgingthegtext,gdistr
ibutedgingsuchgagwaygasgtogrepresentgeachgproblemgtypegingeachgchaptergwhilegfavoringgeasyg
problemsgandgearlygchapters.g Chapterg3gofgthisgManualgcontainsgsomegadditionalgexercisesg
andg theirg solutions.g Chapterg 4g containsg someg materialsg thatgIghaveg foundg usefulging teachi
nggprogramminggfromgClassicalg FORTRAN.




1
@@SSee
isis
mmiciicsis
oolala
titoionn

, 2
Solutions to the Exercises
g g g




Eachgsolutiongincludesgmygroughgestimategofghowgdifficultgthegexercisegis.g Easygproblems,
gmarkedg[E],gtestgthegstudent’sgrecallgofgfactsgandgconceptsgdiscussedgingthegtext.g Har

dgproblems,gmarkedg[H],gneedgsomegindependentgthoughtgandgpossiblygsomegprogrammi
nggbutgusuallygdognotgexplicitlygrequiregthegstudentgtogdelivergagprogram.g Projects,gmark
edg[P],gtypicallygaskgforgagfinishedgprogramgasgpartgofgthegsolutiongtogthegexercise,gandgingm
ostgcasesgprovidinggonegrequiresganalysis,gprogramgdesign,gandgdebugginggasgwellgasgcodin
ggingFORTRAN.g Thegfractiongofgsolutionsgpresentedgheregvariesgfromgonegpartgofgthegtextbookgtog
anothergandgbygproblemgdifficulty,gaccordinggtogthegtablegbelow.


partg (seeg §0.5.3) [E]g easy [H]g hard [P]g project
INSPIRATION none none none
1 1
ELEMENTARY all 2 3
1 1 1
INTERMEDIATE 2 3 4
1 1 1
ADVANCED 3 4 5

REFERENCE none none none



Theg partsg ofg theg bookg thatg areg listedg ing theg leftg columng areg thoseg identifiedg ing theg tableg of
§0.5.3gingthegtext.g Thegactualgnumbergofgsolutionsgprovidedgforgeachgchaptergandgdifficulty
glevelgisg⌈gngg×fggg,g whereg ngisgthegnumbergofg problemsg havinggthatgdifficultygingthegchapterg a
⌉ gfractiongsolvedgofgthatgdifficultygingthegpartgofgthegbookgtogwhichgthegchapterg
ndgfgisgthe
belongs.g Applyingg theg formulagyieldsgtheg distributiong ofgsolutionsgshownging theg tableg ongthegn
extgpage.
Manygofgthegsolutionsgprovidegagmoregthoroughgdiscussiongofgthegproblemgthangonegmight
gexpectgfromgagstudent,gagfewgrefergincidentallygtogtextgsectionsgthatgthegstudentgneedgnotghav

egreadgyet,gandgsomegofgthegprojectsgaregsufficientlygopen-
endedgthatgmanygdifferentg“answers”gcouldgbegconsideredgcorrect.gThus,gthesegsolutionsgareg
meantgtogenlightengtheggradergrathergthangtogservegasgstrictgtemplatesgagainstgwhichgstudent
gworkgisgdirectlygcompared.

Becausegeachgsolutiongisgself-
contained,gliteraturegcitationsgingthisgManualg areggivengwithingeachgsolutiongrathergthangbeing
gcollectedgingagbibliography. g Sectiongreferencesgappearinggingthegsolutionsgaregtog sections

gingthegtextbook,g notgtog sectionsgofgthisg Manual.g Outputgformattinggingthegterminalgsessiong

excerptsgvariesgslightlygdependinggongthegUNIXTMgsystemg (Sun,gIBM,gSGI,gorgLinux)gthatgIguse
dgtogrungeachgprogram.
Ifg youg needg ag solutiong thatg wasg notg selectedg forg inclusiong here,g pleaseg contactg theg author
mailgtog POgBoxg215,gCropseyville,gNYg12052

.



@@SSee
isis
mmiciicsis
oolala
titoionn

Document information

Uploaded on
February 24, 2026
Number of pages
268
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$21.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PremiumExamBank
4.8
(1065)
Sold
478
Followers
74
Items
8358
Last sold
4 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions