Outline for April 14, 2025
Reading:
zyBooks text
§2.10, 2.14–2.15, 5, 8.1–8.2
Due:
Homework #1, due April 14, 2024
C arrays and strings
Strings as arguments to functions [
strcpy.c
]
Various idioms [
strings.c
]
Math library [
mhodge.c
]
How to compile: do not forget the –lm!
floor
,
ciel
,
fabs
,
fmod
,
modf
Logarithms:
log10
,
log
,
exp
Powers:
pow
,
sqrt
Trigonometry:
sin
,
cos
,
tan
Inverse trigonometry functions:
asin
,
acos
,
atan
,
atan2
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu
ECS 235B, Foundations of Computer and Information Security
Version of April 16, 2025 at 11:23AM
You can also obtain a PDF version of this.