Вы находитесь на странице: 1из 8

Universiti Teknologi MARA Cawangan Perlis

Lab Assignment

Calculus I
(MAT183)

Instruction to candidates:
1. This lab assignment consists of NOTE and two (2) questions.
2. Answer ALL questions using MAPLE. Write your MAPLE COMMAND and OUTPUT in the spaces
provided in the assignment.

1.
2.
Group Member 3.
4.
5.
Group
Lecturer
Date
NOTE
1) Define a Function
 Define a function.

Description
 Specify the expression, and then define the function.

Examples
MAPLE COMMAND OUTPUT
2 2
> f:=x->x +3x+2 f:=x→x +3x+2
> y:=x->5–3x y:=x→5–3x

2) Intercept
 Compute the x-intercept(s) and y-intercept(s).
 Compute the points of intersection of two curves.

Calling Sequence
intercept(eqn1)
intercept(eqn1, eqn2, {x,y})

Parameters
eqn[1], eqn[2] - bivariate equations (for example, y = x2 + 3)
x, y - the coordinate variables (optional)

Description
 Important: student package needs to be imported.
 Compute the x-intercept(s) (with y = 0) and y-intercept(s) (with x = 0). In this case, the dependent variable
should appear alone on the left-hand side of the given equation.
 Compute the points corresponding to the intersection of the two curves defined by eqn1 and eqn2.

Examples
MAPLE COMMAND OUTPUT
> with(student):
> intercept(y=x+5,x=0) {x = 0, y = 5}
> intercept(y=x+5,y=0) {x = – 5, y = 0}
> intercept(x+y=3,3x–2y=4,{x,y}) {x = 2, y = 1}
3) Critical Values and Critical Points
 Find the critical points of an expression.

Calling Sequence
CriticalPoints(f(x),x)

Parameters
f(x) - algebraic expression in variable 'x'.
x - name; specify the independent variable.

Description
 Important: Student[Calculus1] package needs to be imported.
 CriticalPoints(f(x),x) command returns all critical values of f(x).
 Compute the critical points by substituting the critical values into the function.

Examples
MAPLE COMMAND OUTPUT
> with(Student[Calculus1]):
> CriticalPoints(2x3–3x2–6,x) [0, 1]
> subs(x=0, 2x3–3x2–6) –6
> subs(x=1, 2x3–3x2–6) –7

Note: (0, – 6) and (1, – 7) are critical points.

4) Plot
 Create a two-dimensional plot

Calling Sequence
plot(f(x),x=x0..xn,y=y0..yn)

Parameters
f(x) - expression in independent variable x.
x, y - independent variables.
x0..xn , y0..yn - left and right endpoints of horizontal range, top and bottom endpoints of vertical range.

Description
 The plot(f(x),x=x0..xn,y=y0..yn) calling sequence plots the real function f(x) over a horizontal and vertical
real range.
Examples
MAPLE COMMAND OUTPUT
> plot(sin(x),x=0..2•Pi)

> plot(x3–3x+2,x =–5..5,y=–5..5)

 x 2 
> plot  ,x=  20..20,y=  20..20 
x+3 
5) Asymptotes
 Find the asymptotes of an expression

Calling Sequence
Asymptotes(f(x))

Parameters
f(x) - algebraic expression in variable ‘x’.
x - independent variable.

Description
 Important: Student[Calculus1] package needs to be imported.
 The Asymptotes(f(x)) calling sequence returns all the vertical and horizontal asymptotes of the
expression f(x) as a list of equations of the form x = value and y=value respectively.

Examples
MAPLE COMMAND OUTPUT
 1  [y = 0, x = – 3]
> Asymptotes  
 x + 3

6) Limit
 Calculate limit

Calling Sequence
limit(f(x),x=a,dir)

Parameters
f(x) - algebraic expression.
x - independent variable.
a - algebraic expression; limit point, possibly infinity, or –infinity.
dir - (optional) direction chosen from: left, right.

Examples
MAPLE COMMAND OUTPUT
 sin(x) 
> limit  ,x=0  1
 x 
> limit(x2,x=infinity) ∞
1  –∞
> limit  ,x = 0,left 
x 
QUESTION 1

Given y = x2(x + 3). By using MAPLE,

a) restart the worksheet, import student package, import Student[Calculus1] package and define the function.

b) find the x-intercept and y-intercept.

c) find the critical point(s).

d) plot the graph of y for – 5 ≤ x ≤ 5 and – 5 ≤ y ≤ 5.

e) state the increasing interval, decreasing intervals and extremum point(s) based on critical point(s) and graph in (d).

(15 marks)

INSTRUCTION MAPLE COMMAND OUTPUT


a) Restart the worksheet, import
student package, import
Student[Calculus1] package
and define the function.

b) Find the x-intercept and


y-intercept.

c) Find the critical point(s).

d) Plot the graph of y for – 5 ≤ x ≤ 5


and – 5 ≤ y ≤ 5

e) State the increasing interval,


decreasing intervals and NO MAPLE COMMAND IS NEEDED
extremum point(s) based on
critical point(s) and graph.
QUESTION 2

2x  3
Given f(x) = . By using MAPLE,
x+4

a) restart the worksheet, import student package, import Student[Calculus1] package and define the function.

b) find the x-intercept(s) and y-intercept(s).

c) find the vertical asymptote, horizontal asymptote and its analysis.

d) plot the graph of f(x) for – 10 ≤ x ≤ 10 and – 20 ≤ f  x  ≤ 20.

e) Based on the graph in (d), state the

i) intervals where f(x) is decreasing, increasing, concave up and concave down

ii) maximum, minimum and inflection points.

(15 marks)

INSTRUCTION MAPLE COMMAND OUTPUT


a) Restart the worksheet, import
student package, import
Student[Calculus1] package
and define the function.

b) Find the x-intercept(s) and


y-intercept(s).

c) Find the vertical asymptote,


horizontal asymptote and its
analysis.
d) Plot the graph of f(x) for
– 10 ≤ x ≤ 10 and
– 20 ≤ f(x) ≤ 20.

e) Based on the graph in (d), state


the

i) intervals where f(x) is


decreasing, increasing,
concave up and concave NO MAPLE COMMAND IS NEEDED
down

ii) maximum, minimum and


inflection points.

Вам также может понравиться