Worksheet Eight
Question One
We have studied the functions permute n and permute list . Explore the same function with
two arguments; i.e., permute list , r . Create a set of 5 elements, and list the ordered subsets of the
list with 3 elements. Then use n
Math 109 Mathematical Programming Exam 1
Question 1.
Duplicate the following:
27 Cx 7y
3 2
Csin
a b
ln
1 2 5 ex
8
5 x
Ksec2 x C3 y
Question 2.
How many prime numbers are found between 1,2345,678 and 123,456,789? O with(numtheory); GIgcd, bigomega, cfrac,
Worksheet One
L. Valdes
Department of Mathematics
San Jose State University
Question One
Enter the following in separate paragraphs as 1-D Maple input and execute them. Then place them in
the same execution group and execute the group.
3
2
expression1 :=
Worksheet Four
L. Valdes
Department of Mathematics
San Jose State University
Question One
Build a function named g1 that takes ordered pairs (u,v), finds the sin of 3 times u, adds that result to
v, and raises this result to the second power. Evaluate the
Worksheet Two
L. Valdes
Department of Mathematics
San Jose State University
Question One
What would you enter on a command line to find the floor of
Use iquo and irem to express the division problem
12654
? Do so.
28
57689
in the form 57689 = 23 q Cr.
23
Worksheet Three
L. Valdes
Department of Mathematics
San Jose State University
Question One
Graph the function f x = x2 sin x with line thickness equal to 2, color cyan, title = "A curvy
function", linestyle = dash, and 5 tickmarks on each of the axes. Use
Worksheet Five
L. Valdes
Department of Mathematics
San Jose State University
Question One
Evaluate the following.
x C3
lim
x/K
3
x C3
1
1
lim
K
x/0
x
x
1
lim x4 cos
x/0
x
x y Cy z Cz x
lim
x / 0, y / 0, z / 0
x2 Cy2 Cz2
O limit(abs(x+3)/(x+3),x=-3);
undef
Worksheet Seven
L. Valdes
Department of Mathematics
San Jose State University
Question 1
Plot the graphs of the equations
2 K y2
z = x2 Cy2 e1 K x
z = 3 Cx2 Ky2
z = cos x2 Cy2
.
You will need to experiment with the ranges to get a nice results.
O plot3d(x
Worksheet Nine. Sequences
Question One
Define a function f1 n to be all those rational numbers between 0 and 1 that have n for a
denominator. You will need to use seq . Find f 6 , f 9 , and f 15 . Write the function so that the
output is a sequence of set
Worksheet Ten
L. Valdes
Department of Mathematics
San Jose State University
Question One
Use the statements developed in Lesson Nine as the body of a procedure that takes an integer n as
input and returns Pascal's triangle with n+1 levels. Show the first
Worksheet Six
L. Valdes
Department of Mathematics
San Jose State University
Question 1
Solve the following equation, isolate the first solution, and finally substitute it into the initial
equation.
4 x3 K3 x2 Kx C7 = 0
If you need to simplify, try simplif
Math 109
Mathematical Programming
Exam 2
Question 1.
Construct and draw a copy of the graph G below. Find and draw a spanning tree T of G. Redraw G with
the edges highlighted.
O with(GraphTheory):with(SpecialGraphs):
Question 2.
Define a function h n to b