beautypg.com

5 including classpad functions in programs, Including classpad functions in programs – Casio ClassPad II fx-CP400 User Manual

Page 218

background image

Chapter 12: Program Application

  218

12-5

Including ClassPad Functions in Programs

This section provides actual examples that use graph drawing, statistical calculations and other ClassPad
functions.

Including Graphing Functions in a Program

1201

To

register

y

> sin(

x

) as Graph Editor

y

1, and

y

< –

x

/12 as Graph Editor

y

2 and then draw the inequality

graph for the two expressions. On the resulting graph, only areas where the conditions of all of the

graphed inequalities are satisfied will be filled in.

1202

To graph (

x

– A)

2

/3

2

+ (

y

– B)

2

/4

2

. Make A and B the parameter variables and specify A=1 and B=2

when the program is run.

Including Table & Graph Functions in a Program

1203

To

register

y

= 3

x

2

– 2 as Graph Editor

y

1 and then generate a number table based on the following:

x

start value: 0, end value: 6, step value: 1. Next, use the number table to display a connect type graph.

Including Recursion Table and Recursion Graph Functions in a Program

1204

To register the recursion formula

a

n

+1

= –3 ×

a

n

2

+ 2

×

a

n

,

a

0

= 0.01 on the Sequence Editor window

and then generate a number table based on the following:

n

start value: 1, end value: 6. Next, use the

number table to display a connect type graph.

Including Statistical Graphing and Calculation Functions in a Program

1205

To input {0.5,1.2,2.4,4,5.2} for list1 and {–2.1,0.3,1.5,2,2.4} for list2, and then plot a scatter plot

1206

To graph the logarithmic regression of the list1 and list2 data in Example

1205

1207

To graph the sinusoidal regression of the list1 and list2 data in Example

1205

1208

To plot the scatter plot of the list1 and list2 data in Example

1205

. Next, use the list1 and list2 data to

calculate logarithmic regression and then display the calculation results and regression graph on the

same screen.

1209

To execute the One-Way ANOVA test program in Example

0706

(page 142)

1210

To execute the Two-Way ANOVA test program in Example

0707

(page 143)

1211

To

specify

ƫ

≠ 0,

Ʊ

= 3 for

n

(sample size) = 48,

o (sample mean) = 24.5 data and perform a 1-Sample

Z

Test

Including Financial Calculation Functions in a Program

1212

To calculate the number of days from July 4, 1976 to another specified date. Calculate based on a 365-

day year.

1213

To execute the bond calculation program in Example

1108

(page 182)