<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Dismiss
Skip Navigation

8.4: Solutions to Exercises

Difficulty Level: At Grade Created by: CK-12
Turn In

Solution to Exercise 1

10 times.

Solution to Exercise 2

This loop will continue to print 'Hello World' until the user stops the program. You can stop a program by holding down the 'Ctrl' key and simultaneously pressing the 'c' key.

Solution to Exercise 3

a =
1
a =
2
a =
4
a =
8
a =
16
a =
32
a =
64
a =
128

Solution to Exercise 4

a =
1
a =
2
a =
6
a =
24
a =
120

Solution to Exercise 5

APR = 14.9;
r = (1 + APR/100)^(1/12)-1;

Solution to Exercise 6

bn = 2203;
pn = max((r + 0.01)*bn, 10);

Solution to Exercise 7

fn = r * bn;
bn = bn + fn - pn;

Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Show More

Image Attributions

Show Hide Details
Description
Subjects:
Grades:
Date Created:
Feb 23, 2012
Last Modified:
Apr 13, 2016
Save or share your relevant files like activites, homework and worksheet.
To add resources, you must be the owner of the section. Click Customize to make your own copy.
Please wait...
Please wait...
Image Detail
Sizes: Medium | Original
 
CK.ENG.ENG.SE.1.Engineering-Matlab.8.4
Here