CurveSketchSteps - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[Basics]

  

CurveSketchSteps

  

show steps in the plotting of a specified expression

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

CurveSketchSteps(ex, opts)

Parameters

ex

-

expression or string

opts

-

options of the form keyword=value where keyword is one of displaystyle, output

Description

• 

The CurveSketchSteps command is used to show how a student might plot a basic expression.

• 

This command handles linear and quadratic polynomials in one variable, as well as single trig, log, 1/x and exponentials that are shifted and scaled. It does not support combinations of these functions and works best when the input is already simplified.

• 

To avoid automatic simplifications the input expression can be given as a string. For example, calling CurveSketchSteps(cos(x-Pi/2)) will first evaluate cos(x-Pi/2) to sin(x) using normal Maple evaluation rules.  Instead, call CurveSketchSteps("cos(x-Pi/2"), to internally make use of InertForm:-Parse and avoid this simplification.

• 

The displaystyle and output options can be used to change the output format.  See OutputStepsRecord for details.

• 

This function is part of the Student:-Basics package.

Examples

> 

with⁡Student:-Basics:

> 

CurveSketchSteps⁡2⁢sin⁡3⁢x+π3+1

Let's plot2⁢sin⁡3⁢x+π3+1•Compared to the plot ofsin⁡x, we have a vertical stretch by a factor of22⋅sin⁡3⋅x+π9+1•Then, we have a horizontal compression by a factor of132⋅sin⁡3⋅x+π9+1•Then, we have a vertical shift of12⋅sin⁡3⋅x+π9+1•Then, we have a horizontal shift of−π92⋅sin⁡3⋅x+π9+1•Apply the horizontal shift and stretch to the range,x=−2⁢π..2⁢π−2⁢π⋅13+π9..2⁢π⋅13+π9=−2.443460953..1.745329252•We can now plot using the information extractedPLOT⁡...

(1)
> 

CurveSketchSteps⁡2⁢x2+4⁢x+10

Let's plot2⁢x2+4⁢x+102⋅x2+4⋅x+10•Complete the square2⁢x+12+8•With the expression in vertex form we can extract valuable information2⋅x+12+8•The coefficient2of thex+12term indicates a parabola that opensupand has a verticalstretchof22⋅x+12+8•We have a horizontal shift of−1and a vertical shift of8which gives a vertex of (−1,8)2⋅x+12+8•We can now plot using the information extractedPLOT⁡...

(2)
> 

CurveSketchSteps⁡4⁢x+10,output=typeset

Let's plot4⁢x+104⋅x+10•This is a line; find two points and draw a line through themy=4⁢x+10•Setx= 0 to solve for y intercepty=10•This gives a y intercept of (0,10)y=10•Set expresson to 0 to solve forxintercept0=4⋅x+10•Rearrange expression4⋅x+10=0•Subtract10from both sides4⋅x+10−10=0−10•Simplify4⋅x=−10•Divide both sides by44⋅x4=−104•Simplifyx=−52•This gives anxintercept of (−52,0)x=−52•By connecting through the two points we can plot the linePLOT⁡...

(3)
> 

CurveSketchSteps⁡23⁢x+2,output=link

https://learn.maplesoft.com/d/HQOMDGHSLUGKDTEHFNJPOPHLILHFCQEJLJOFKLFPMROQAQIIGJGFOFHSDRIKOSPFLQHMAMPOFQNHJGDKJHMTJGGOHLFINNPLPNER

Compatibility

• 

The Student[Basics][CurveSketchSteps] command was introduced in Maple 2022.

• 

For more information on Maple 2022 changes, see Updates in Maple 2022.

See Also

Student:-Basics

Student:-Basics:-FactorSteps

Student:-Basics:-LinearSolveSteps

Student:-Basics:-OutputStepsRecord

Student:-Calculus1:-ShowSolution

Student:-Calculus1:-ShowSteps