Application Center - Maplesoft

App Preview:

Randomized testing in the classroom

You can switch back to the summary page by clicking here.

Learn about Maple
Download Application


 

RandomTest.mws

A Randomized Algebra Test

by Otto Wilke
otto_wilke@hotmail.com

Randomized tests inhibit cheating and reduce the number of student-teacher confrontations. This application consists of four major sections.

SECTION ONE refers the reader to a file containing a large block of code that creates a table of procedures. In that file, procedures beginning with the letter d identify the kind of problem. Procedures beginning with the letter p create the problem. Problems are grouped by topic, NUMBER SYSTEMS, LINEAR EQUATIONS, CONICS, etc. Problems are not numbered consecutively. Space is reserved for 100 problems for each topic. Numbers p1 through p100 are reserved for number base problems. Numbers p101 through p200 are for algebraic operation problems, etc. When the block of code is executed, the table of procedures is created and stored in the binary file, algtest.m.

SECTION TWO consists of examples of problems currently in the test bank. Each problem is followed by the Maple 7 (I hope) code that could generate the answer(s) and by the answer(s).

SECTION THREE consists of code that generates a sample test and the output of that code. To generate a test without answers, set answers:=0: To generate the same version with answers, set answers:=1: It might be wise to set the seed for the random number generator, _seed, to some secret function of the version number. That would prevent students who read this from generating the test with answers. Desired problem numbers from the test bank in SECTION TWO, without the "p" prefix, are entered into list1 in the SECTION THREE code block. The same problem number can be entered in the list more that once to create variants of the same problem. For some versions, problem 104 will try to do something illegal. Just choose a different version number. Problem 501 doesn't exist. I accidentally skipped that number.

SECTION FOUR consists of code to generate a randomized final exam that contains one problem from each topic area. The code is followed by its output. Problem numbers can be removed from the problem lists for the topics to change the content of the exam. As before, to generate the test with answers set answers:=1:

I plan to add problems, especially application problems, and topic areas to the test bank. I hope some of you will generate additional problems and send them to me.

SECTION ONE
A TABLE OF PROCEDURES

To make the code in SECTION THREE and in SECTION FOUR functional, it is necessary to download and execute the file algtest.mws. Execution of that file will create a binary file named algtest.m. The code in SECTION THREE and SECTION FOUR will open the algtest.m file. Inspection of the code in algtest.mws will give the reader insight into the process of creating randomized problems.


SECTION TWO
THE TEST BANK

SECTION TWO consists of examples of problems currently in the test bank created by algtest.mws. Each problem is followed by the Maple 7 (I hope) code that could generate the answer(s) and by the answer(s).

NUMBER SYSTEMS

Test Bank Problem 1. Convert a decimal number to binary.

Convert 16 from decimal to binary.

> Answer=convert(16,binary);

Answer = 10000

Test Bank Problem 2. Convert a decimal number to hexadecimal.

Convert 100 from decimal to hexadecimal.

> Answer=convert(100,hex);

Answer = `64`

Test Bank Problem 3. Convert a binary number to decimal.

Convert 10000 from binary to decimal.

> Answer=convert(10000,decimal,binary);

Answer = 16

>

Test Bank Problem 4. Convert a hexadecimal number to decimal.

Convert `38` from hexadecimal to decimal.

> Answer=convert("38",decimal,hex);

Answer = 56

>

Test Bank Problem 5. Add, subtract, multiply, or divide numbers

in different bases.

Find the sum of 12 decimal and 100 binary. 

Give the answer in decimal form.

The answer is 16 decimal.

> Answer=12+convert(100,decimal,binary);

Answer = 16

 

ALGEBRAIC OPERATIONS

Test Bank Problem 101. Evaluate an algebraic expression.

Evaluate.

(8+[-24])/(6+[-1])

> Answer=(8+(-24))/(6+(-1));evalf(%);

Answer = -16/5

Answer = -3.200000000

Test Bank Problem 102. Evaluate an algebraic expression.

Evaluate.

(9+[-22])*(18+[-32])

> Answer=(9+(-22))*(18+(-32));

Answer = 182

Test Bank Problem 103. Evaluate an algebraic expression.

Evaluate.

Warning, the protected name Chi has been redefined and unprotected

a+b/c-d*e*f

when a = 3, b = 22, c = 26, d = 25,

e = 9, and f = 32.

> Answer=3+22/26-25*9*32;evalf(%);

Answer = -93550/13

Answer = -7196.153846

Test Bank Problem 104. Evaluate an algebraic expression with exponents.

Evaluate.

a*b+(c*d+e)^f

when a = 2, b = 3, c = 3, d = 3,

e = 1, and f = 5.

> Answer=2*3+(3*3+1)^5;evalf(%);

Answer = 100006

Answer = 100006.

 

RADICALS

Test Bank Problem 201. Simplify a radical.

Simplify the following radical.

sqrt(25*x*y)

> Answer=sqrt(25*x*y,symbolic);

Answer = 5*sqrt(x*y)

Test Bank Problem 202. Multiply radicals.

Multiply the following radicals and simplify.

sqrt(50*x^2*y^3)*sqrt(48*x*y^3)

> Answer=sqrt((50*x^2*y^3)*(48*x*y^3),symbolic);

Answer = 20*sqrt(6)*x^(3/2)*y^3

Test Bank Problem 203. Divide radicals.

Divide the following radicals and simplify.

sqrt(32*x^2*y)/sqrt(27*x*y^3)

> Answer=rationalize(sqrt((32*x^2*y)/(27*x*y^3),symbolic));

Answer = 4/9*sqrt(6)*sqrt(x)/y

Test Bank Problem 204. Divide binomials with radicals.

Rationalize the following expressions and simplify. Assume x is real and positive.

(2+sqrt(3*x))/(5-3*sqrt(x))

> rationalize((2+sqrt(3*x,symbolic))/(5-3*sqrt(x,symbolic)));

-(2+sqrt(3)*sqrt(x))*(5+3*sqrt(x))/(-25+9*x)

> Answer=expand(numer(%))/denom(%);

Answer = (-10-6*sqrt(x)-5*sqrt(3)*sqrt(x)-3*sqrt(3)...

SETS AND LISTS

Test Bank Problem 301. Find the union of two sets.

Find the union of sets A and B.

A = {3, 9}

B = {2, 4, 6, 7, 8, 10}

> Answer={3,9} union {2,4,6,7,8,10};

Answer = {2, 3, 4, 6, 7, 8, 9, 10}

Test Bank Problem 302. Find the intersection of two sets.

Find the intersection of sets A and B.

A = {5, 8, 9}

B = {4, 6, 8, 9}

> Answer={5, 8, 9} intersect {4, 6, 8, 9};

Answer = {8, 9}

Test Bank Problem 303. Find the cardinality of a set.

Find the cardinality of set A.

A = {5, 7, 8, 9, 11, 14, 16}

> Answer=nops({5,7,8,9,11,14,16});

Answer = 7

Test Bank Problem 304. Find the number of operands in a list.

Find the number of operands in list A.

A = [17, 10, 3, 18, 6]

> Answer=nops([17, 10, 3, 18, 6]);

Answer = 5

Test Bank Problem 305. Find the value of an operand in a list.

Find the value of operand 2 in list A.

A = [2, 16, 10, 8]

> Answer=op(2,[2, 16, 10, 8]);

Answer = 16

SETS OF NUMBERS

Test Bank Problem 401. Express a rational number in decimal form.

Find the decimal value of following number.

5/7

> Answer=evalf(5/7,50);

Answer = .71428571428571428571428571428571428571428...

Test Bank Problem 402. Express a decimal number in rational form.

Hint: Maple rounds the last digit.

Express the following decimal number in rational form.

.35294117647058823529411764705882352941176470588235...

> Answer=convert(.35294117647058823529411764705882352941176470588235,rational);

Answer = 6/17

FACTORING

Test Bank Problem 502. Factor common factor.

Factor the following expression.

4*x^5+3*x

> Answer=factor(4*x^5+3*x);

Answer = x*(4*x^4+3)

Test Bank Problem 503. Factor trinomials with leading coefficient

equal to 1.

Factor the following expression.

x^2-9*x+18

> Answer=factor(x^2-9*x+18);

Answer = (x-3)*(x-6)

Test Bank Problem 504. Factor trinomials with leading coefficient

not equal to 1.

Factor the following expression.

10*x^2-24*x+8

> Answer=factor(10*x^2-24*x+8);

Answer = 2*(5*x-2)*(x-2)

Test Bank Problem 505. Factor difference of squares.

Factor the following expression.

-8*x^8+18*y^6

> Answer=factor(-8*x^8+18*y^6);

Answer = -2*(2*x^4-3*y^3)*(2*x^4+3*y^3)

FRACTIONS

Test Bank Problem 601. Write a mixed number as a sum.

Write the mixed number 6 and 4/5 as a sum

of an interger and a rational fraction.

> Answer=" (6 + 4/5)";

Answer =

Test Bank Problem 602. Multiply mixed numbers.

Multiply the mixed number 5 and 4/6 by

the mixed number 2 and 2/7.

> Answer=(5+4/6)*(3+2/5);evalf(%);

Answer = 289/15

Answer = 19.26666667

Test Bank Problem 603. Add mixed numbers.

Add the mixed number 3 and 2/5 and

the mixed number 3 and 2/5.

> Answer=(3+2/5)+(3+2/5);evalf(%);

Answer = 34/5

Answer = 6.800000000

COMPLEX NUMBERS

Test Bank Problem 701. Convert radicals with negative radicands to complex form.

Write the following in standard form for a complex number.

-1+sqrt(-25)

> Answer=-1+sqrt(-25);

Answer = -1+5*I

Test Bank Problem 702. Operations with complex numbers.

Given the complex numbers z1 and z2 below, find z1 + z2,

z1 - z2, z1 * z2, z1 / z2, and z1 ^ z2.

z1 = 2+sqrt(-9)

z2 = 4+sqrt(-9)

> z1:=2+sqrt(-9);z2:=4+sqrt(-9);'z1'+'z2'=z1+z2;'z1'-'z2'=z1-z2;'z1'*'z2'=z1*z2;'z1'/'z2'=evalf(z1/z2);'z1'^'z2'=evalf(z1^z2);z1:='z1':z2:='z2':

z1 := 2+3*I

z2 := 4+3*I

z1+z2 = 6+6*I

z1-z2 = -2

z1*z2 = -1+18*I

z1/z2 = .6800000000+.2400000000*I

z1^z2 = .6672388935+8.834580067*I

CARTESIAN PLANE

Test Bank Problem 801. Graph a point in a plane.

Graph the point (-3, 8).

> plot([[-3,8]],style=point,symbol=circle,symbolsize=30,scaling=constrained,color=red,labels=[x,y],view=[-10..10,-10..10]);

[Maple Plot]

>

Test Bank Problem 802. Graph a point in three dimensions.

Graph the point (-7, 2, -6).

Warning, the name changecoords has been redefined

> with(plots):plot3d({[-7,2,-6]},x=-10..10,y=-10..10,style=point,symbol=circle,symbolsize=30,view=[-10..10,-10..10,-10..10],axes=boxed,labels=[x,y,z],color=red);

[Maple Plot]

>

Test Bank Problem 803. Graph a complex number.

Graph the number, -3 + 8 I, on the complex plane.

> plot([[-3,8]],symbol=circle,symbolsize=30, style=point,labels=[a,b],font=[TIMES,BOLD,12],scaling=constrained,view=[-10..10,-10..10]);

[Maple Plot]

UNITS AND DIMENSIONS

Test Bank Problem 901. Length conversions.

Convert +3.71 meters to feet.

> with(Units);with(Units[Natural]):
Answer=convert(3.71*m,system,FPS);

Warning, the name Unit has been rebound

[AddBaseUnit, AddDimension, AddSystem, AddUnit, Con...
[AddBaseUnit, AddDimension, AddSystem, AddUnit, Con...
[AddBaseUnit, AddDimension, AddSystem, AddUnit, Con...

Warning, the name Unit has been rebound

Answer = 12.17191601*Unit([ft])

Test Bank Problem 902. Mass conversions.

Convert  1.99 pounds_mass to kilograms.

> with(Units):with(Units[Natural]):GetUnits(dimension=mass);

Warning, the name Unit has been rebound

Warning, the assigned name polar now has a global binding

Warning, these protected names have been redefined and unprotected: *, +, -, /, <, <=, <>, =, Im, Re, ^, abs, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin, arcsinh, arctan, arctanh, argument, ceil, collect, combine, conjugate, convert, cos, cosh, cot, coth, csc, csch, csgn, diff, eval, evalc, evalr, exp, expand, factor, floor, frac, int, ln, log, log10, max, min, normal, root, round, sec, sech, shake, signum, simplify, sin, sinh, sqrt, surd, tan, tanh, trunc, type, verify

atomic_mass_unit[SI], beka[Sacred], beka[Talmudic],...
atomic_mass_unit[SI], beka[Sacred], beka[Talmudic],...
atomic_mass_unit[SI], beka[Sacred], beka[Talmudic],...
atomic_mass_unit[SI], beka[Sacred], beka[Talmudic],...
atomic_mass_unit[SI], beka[Sacred], beka[Talmudic],...
atomic_mass_unit[SI], beka[Sacred], beka[Talmudic],...
atomic_mass_unit[SI], beka[Sacred], beka[Talmudic],...

> Answer=convert(1.99*pound[avoirdupois],system,SI);

Answer = .9026488163*Unit([kg])

Test Bank Problem 903. Temperature conversions.

Convert  16.7 degree_Centigrade to Kelvin.

> with(Units):with(Units[Natural]):GetDimensions();

Warning, the name Unit has been rebound

Warning, the name Unit has been rebound

absorbed_dose, acceleration, action, amount_of_info...
absorbed_dose, acceleration, action, amount_of_info...
absorbed_dose, acceleration, action, amount_of_info...
absorbed_dose, acceleration, action, amount_of_info...
absorbed_dose, acceleration, action, amount_of_info...
absorbed_dose, acceleration, action, amount_of_info...
absorbed_dose, acceleration, action, amount_of_info...
absorbed_dose, acceleration, action, amount_of_info...

> GetUnits(dimension=thermodynamic_temperature);

degree[Celsius], degree[Fahrenheit], degree[Rankine...

> Answer=convert(16.7, temperature, centigrade, kelvin);

Answer = 289.845825

Test Bank Problem 904. Convert joules, newtons, volts or coulombs to SI.

Convert  82.0 joules to base_metric_units.

> with(Units):with(Units[Natural]):
Answer=convert(82.0*J,units,'kg*m^2/s^2');

Warning, the name Unit has been rebound

Warning, the name Unit has been rebound

Answer = 82.0*Unit([kg*m^2/s^2])

Test Bank Problem 905. Application with units.

A pump pumps  75 gallons per minute against a pressure.

of  55 pounds per square inch.  What is its horsepower?

Convert flow and pressure to SI and then multiply.

> with(Units):with(Units[Natural]):
GetUnits(dimension=pressure);GetUnits(dimension=volume);GetUnits(dimension=power);

Warning, the name Unit has been rebound

Warning, the name Unit has been rebound

atmosphere[standard], atmosphere[technical], bar[SI...
atmosphere[standard], atmosphere[technical], bar[SI...
atmosphere[standard], atmosphere[technical], bar[SI...
atmosphere[standard], atmosphere[technical], bar[SI...

barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...
barge[US_petroleum], barrel[UK], barrel[UK_petroleu...

abwatt[EMU], donkeypower[standard], horsepower[UK],...
abwatt[EMU], donkeypower[standard], horsepower[UK],...

> evalf(55*pound_per_square_inch[standard])*75*gallon[US_liquid]/minute;

1794.340317*Unit([W])

> Answer=convert(%,units,horsepower[UK]);

Answer = 2.406250001*Unit([HP])

GEOMETRIC FORMULAE

Test Bank Problem 1001. Given two sides of a right triangle,

find its third side, perimeter, and area.

If a leg of a right triangle is  4.5 and the length of

the hypotenuse is  8.3 find the other leg, the perimeter of 

the triangle, and the area of the triangle.

> Leg=sqrt(8.3^2-4.5^2);

Leg = 6.974238310

> Perimeter=4.5+8.3+6.974238310;

Perimeter = 19.77423831

> Area=1/2*4.5*6.974238310;#one-half times base times height

Area = 15.69203620

Test Bank Problem 1002. Given three sides of a triangle,

find its area.

If the sides of a triangle are 14, 14,

and 2 find the area of the triangle.

> s:=(14+14+2)/2:Area=sqrt(s*(s-14)*(s-14)*(s-2));
evalf(%);s:='s':#Heron's formula

Area = sqrt(195)

Area = 13.96424004

Test Bank Problem 1003. Given the radius or diameter of a circle,

find its circumference and area.

If the radius of a circle is  2.2, find the circumference

and the area of the circle.

> Circumference = 2*evalf(Pi)*2.2;Area =evalf(Pi)*2.2^2;

Circumference = 13.82300768

Area = 15.20530845

Test Bank Problem 1004. Find the volume of a cone or pyramid.

If a pyramid has a square base and each side of the base is  2.3,

and the height of the pyramid is  2.5, find the pyramid's volume.

> Volume =1/3*2.3^2*2.5;

Volume = 4.408333332

Test Bank Problem 1005. Find the volume and area of a sphere.

If the radius of a sphere is   3.2, find its volume

and its surface area.

> Volume = 4/3*evalf(Pi)*3.2^3;Area = 4*evalf(Pi)*3.2^2;

Volume = 137.2582775

Area = 128.6796351

>

LINEAR EQUATIONS

Test Bank Problem 1101. Solve a linear equation in one variable.

Solve.

-18*x-13 = -8

> x=solve(-18*x-13 = -8,x);evalf(%);

x = -5/18

x = -.2777777778

Test Bank Problem 1102 Solve a linear equation in one variable with fractions.

Solve.

-1/3*x-7/4 = 1/3*x

> x=solve(-1/3*x-7/4 = 1/3*x,x);evalf(%);

x = -21/8

x = -2.625000000

Test Bank Problem 1103 Solve a linear equation with x in the denominator.

Solve.

-5*1/(x+8)-4 = 7/3

> x=solve(-5*1/(x+8)-4 = 7/3,x);evalf(%);

x = -167/19

x = -8.789473684

Test Bank Problem 1104. Solve a literal equation.

Solve for c.

a*b*c-d = e+f

> c=solve(a*b*c-d = e+f,c);

c = (d+e+f)/(a*b)

Test Bank Problem 1105. Distance, midpoint, slope, line.

Given the points (-2, -3) and (2, 2),

find the distance between the points, their midpoint, the slope

of the line through the points, and the equation of the line through

the points. Plot the points and the line.

> Distance=sqrt(''(x[2]-x[1])^2+(y[2]-y[1])^2''); Distance = sqrt((2-(-2))^2+(2-(-3))^2);evalf(%);

Distance = sqrt('(x[2]-x[1])^2+(y[2]-y[1])^2')

Distance = sqrt(41)

Distance = 6.403124237

> x_midpoint=(x[1]+x[2])/[2];x_midpoint=(-2+2)/2;
y_midpoint=(y[1]+y[2])/[2];y_midpoint=(-3+2)/2;

x_midpoint = (x[1]+x[2])/[2]

x_midpoint = 0

y_midpoint = (y[1]+y[2])/[2]

y_midpoint = -1/2

> slope=(y[2]-y[1])/(x[2]-x[1]);slope=(2-(-3))/(2-(-2));

slope = (y[2]-y[1])/(x[2]-x[1])

slope = 5/4

> y-y[1]=m*(x-x[1]);y=solve(y-(-3)=5/4*(x-(-2)),y);

y-y[1] = m*(x-x[1])

y = -1/2+5/4*x

> with(plots):p1:=plot([[-2,-3],[2,2]],style=point,symbol=box):
p2:=plot(-1/2+5/4*x,x=-5..5,y=-5..5,color=blue):
display({p1,p2});

[Maple Plot]

LINEAR INEQUALITIES

Test Bank Problem 1201. Solve linear inequalities.

Solve.

0 < 8*x+11

> x=solve(0 < 8*x+11,x);

x = RealRange(Open(-11/8),infinity)

Test Bank Problem 1202. Solve double linear inequalities.

Solve.

> x=solve({2<=-4*x + (-9),-4*x + (-9)<=19},x);

x = {x <= -11/4, -7 <= x}

Test Bank Problem 1204. Graph linear inequalities in two variables.

Solve.

y <= 5*x+5

> plots[inequal](y <= 5*x+5,x=-5..5,y=-5..5);
#Maple 6 bug: Use <= instead of < and >= instead of >

[Maple Plot]

QUADRATIC EQUATIONS

Test Bank Problem 1301. Solve factorable quadratic equations with

leading coefficient of 1.

Solve.

x^2-4*x-60 = 0

> x=solve(x^2-4*x-60 = 0,x);

x = (10, -6)

Test Bank Problem 1302. Solve factorable quadratic equations with

leading coefficient not 1.

Solve.

4*x^2+6*x = 0

> x=solve(4*x^2+6*x = 0,x);

x = (0, -3/2)

Test Bank Problem 1303. Solve quadratic equations with fractions.

Solve.

8*1/(x+2)-5/(x-9) = 2/5

> x=solve(8*1/(x+2)-5/(x-9) = 2/5,x);evalf(%);

x = (29/4-3/4*I*sqrt(239), 29/4+3/4*I*sqrt(239))

x = (7.250000000-11.59471862*I, 7.250000000+11.5947...

RADICAL EQUATIONS

Test Bank Problem 1401. Solve radical equations with one radical.

Solve.

sqrt(-7*x-5)-2 = 6

> x={solve(sqrt(-7*x-5)-2 = 6,x)};evalf(%);

x = {-69/7}

x = {-9.857142857}

Test Bank Problem 1402. Solve radical equations with two radicals.

Solve.

sqrt(9*x-8)+sqrt(4*x+7) = 3

> x={solve(sqrt(9*x-8)+sqrt(4*x+7) = 3,x)};evalf(%);

x = {}

x = {}

POLYNOMIAL EQUATIONS

Test Bank Problem 1501. Solve polynomial equations with real roots.

Solve.

-6*x^3-31*x^2+72*x-35 = 0

> x=solve(-6*x^3-31*x^2+72*x-35 = 0,x);evalf(%);

x = (1, 5/6, -7)

x = (1., .8333333333, -7.)

Test Bank Problem 1502. Solve polynomial equations with complex roots.

Solve.

36*x^3+156*x^2-271*x+534 = 0

> x=solve(36*x^3+156*x^2-271*x+534 = 0,x);evalf(%);

x = (-6, 5/6+4/3*I, 5/6-4/3*I)

x = (-6., .8333333333+1.333333333*I, .8333333333-1....

FUNCTIONS

Test Bank Problem 1601. Find inverse functions.

Given the following function, F, find the inverse of F.

Function = 8*x+5

> F:=x->8*x+5;[F]^[-1]=solve(x=8*y+5,y);F:='F':
#Exchange x and y and solve for new y.

F := proc (x) options operator, arrow; 8*x+5 end pr...

[F]^[-1] = 1/8*x-5/8

proc (x) options operator, arrow; 1/8*x-5/8 end pro...

Test Bank Problem 1602. Find composite functions.

Given the following functions, F and G, find the F composite G.

F = -2*x+3

G = 2*x+3

> F:=x->-2*x+3;G:=x->2*x+3;F_comp_G=(F@G)(x);F:='F':G:='G':

F := proc (x) options operator, arrow; -2*x+3 end p...

G := proc (x) options operator, arrow; 2*x+3 end pr...

F_comp_G = -4*x-3

EXPONENTIAL AND LOGARITHMIC FUNCTIONS

Test Bank Problem 1701. Solve exponential equation.

The accumulation in an annuity, A, is given by the following

equation in which P is the periodic contribution, r is the

rate of increase per period(expressed as a decimal),

and n is the number of periods.

Joan invested $110 each month into a tax-sheltered annuity

which earns  10.5 percent (APR) compounded annually.

How many years will it take for her to have a million dollars

in her annuity account?

A = P*((1+r)^n-1)/r

> Answer = solve(1000000=110*((1+.105/12)^(12*x)-1)/(.105/12),x)*years;
#Interest rate as a decimal; with monthly contribution, use monthly
#rate and n is number of months.

Answer = 41.98090374*years

Test Bank Problem 1702. Solve exponential equation.

The future value, A, (principle plus interest),  of principle, P

invested at compound interest rate, r for n periods

is given by the following equation.

Joan invested $6000 which earns  12.0 percent (APR) .

How many years will it take for her to double her money

if interest is compounded annually?

A = P*(1+r)^n

> Answer = solve(2*6000=6000*(1+.12)^n,n)*years;
#Interest rate as a decimal; with annual compounding, use yearly
#rate and n is number of years.

Answer = 6.116255374*years

Test Bank Problem 1703. Solve logarithmic equation.

The pH of a solution having a hydronium ion concentration, H3O,

in moles per liter, is given by the following equation.

Find the hydronium ion concentration if the pH is  7.1.

pH = -ln(H3O)

> H3O =solve(7.1= -ln(H3O),H3O);

H3O = .8251049233e-3

MATRICES

Test Bank Problem 1801. Add matrices.

Given the following matrices:

A = matrix([[-6, 11], [6, -12]])

B = matrix([[5, -11], [3, -7]])

Find A + B.

> evalm([[-6,11],[6,-12]])+evalm([[5,-11],[3,-7]])=evalm([[-6,11],[6,-12]]+[[5,-11],[3,-7]]);

matrix([[-6, 11], [6, -12]])+matrix([[5, -11], [3, ...

Test Bank Problem 1802. Multiply matrices.

Given the following matrices:

A = matrix([[-9, -6], [-11, 10]])

B = matrix([[-1, 8], [4, 5]])

Find the product of A and B.

> evalm([[-9,-6],[-11,10]])*evalm([[-1,8],[4,5]])=evalm([[-9,-6],[-11,10]]&*[[-1,8],[4,5]]);

matrix([[-9, -6], [-11, 10]])*matrix([[-1, 8], [4, ...

Test Bank Problem 1803. Multiply a constant by a matrix.

Multiply the following matrix by 3.

matrix([[-7, -7], [-4, -3]])

> 3*evalm([[-7,-7],[-4,-3]])=evalm(3*[[-7,-7],[-4,-3]]);

3*matrix([[-7, -7], [-4, -3]]) = matrix([[-21, -21]...

Test Bank Problem 1804. Find the inverse of a matrix.

Find the inverse of the following matrix.

matrix([[-7, 7], [-11, 1]])

Warning, the name fibonacci has been redefined

Warning, the protected names norm and trace have been redefined and unprotected

> with(linalg):A := array( [[-7,7],[-11,1]] ):[A]^[-1]=inverse(A);A:='A':

[A]^[-1] = matrix([[1/70, -1/10], [11/70, -1/10]])

Test Bank Problem 1805. Find the determinant of a matrix.

Find the determinant of the following matrix.

matrix([[-5, -10, 11], [-12, 9, 1], [10, 12, 12]])

> Answer=linalg[det](matrix([[-5, -10, 11], [-12, 9, 1], [10, 12, 12]]));

Answer = -4594

SIMULTANEOUS EQUATIONS

Test Bank Problem 1901. Solve two simultaneous equations.

Solve the following simultaneous equations.

7*x-y = 7

-7*x-8*y = 1

> solve({7*x-y = 7,-7*x-8*y = 1},{x,y});

{x = 55/63, y = -8/9}

Test Bank Problem 1902. Solve three simultaneous equations.

Solve the following simultaneous equations.

-3*x+2*y-5*z = 6

9*x-7*y+7*z = 5

8*x-6*y+5*z = 2

> solve({-3*x+2*y-5*z = 6,9*x-7*y+7*z = 5,8*x-6*y+5*z = 2},{x,y,z});

{z = -8/9, y = -143/9, x = -100/9}

Test Bank Problem 1903. Solve an underdetermined system.

Solve the following simultaneous equations.

4*x-3*y-6*z = -4

-9*x+4*y-7*z = 4

> solve({4*x-3*y-6*z = -4,-9*x+4*y-7*z = 4},{x,y,z});

{x = 4/11-45/11*z, z = z, y = 20/11-82/11*z}

Test Bank Problem 1904. Reduced row echelon form.

Write the reduced row echelon from of the augmented matrix

for the following equations.

x-3*y = -3

-3*x+y = 4

> with(linalg):rref([[1,-3,-3],[-3,1,4]]);

matrix([[1, 0, -9/8], [0, 1, 5/8]])

SIMULTANEOUS INEQUALITIES

Test Bank Problem 2001. Graph two simultaneous inequalities.

Graph the following inequalities.

7*x+3*y <= -6

-9 <= x+y

> plots[inequal]({7*x+3*y <= -6,-9 <= x+y},x=-20..20,y=-20..20,thickness=8);
#Maple 6 bug: Use <= instead of < and >= instead of >

[Maple Plot]

 

SEQUENCES

Test Bank Problem 2101. Common difference or ratio, general term, sums.

Arithmetic Sequence Formulae

a[n] = a[1]+(n-1)*d

Sum(a[1]+d*(i-1),i = 1 .. n) = 1/2*n*(a[1]+a[n])

 

 

Geometric Sequence Formulae

a[n] = a[1]*r^(n-1)

Sum(a[1]*r^(i-1),i = 1 .. n) = a[1]*(1-r^n)/(1-r), ...

Sum(a[1]*r^(n-1),n = 1 .. infinity) = -a[1]/(r-1), ...

 

 

Is the following sequence arithmetic, geometric, or neither?

If arithmetic, what is the common difference, the general formula

for the nth term, and the sum of the first 7 terms?

If geometric, what is the common ratio, the general formula

for the nth term, and the sum of the first 7 terms?

If the geometric series converges, what is the sum of an infinite number of terms?

-5, -3, -9/5, -27/25, -81/125

Test for common difference

> [-3-(-5),-9/5-(-3),-27/25-(-9/5),-81/125-(-27/25)];

[2, 6/5, 18/25, 54/125]

Differences between successive terms not the same; therefore sequence is not arithmetic.

Test for common ratio.

> [-3/(-5),-9/5/(-3),-27/25/(-9/5),-81/125/(-27/25)];

[3/5, 3/5, 3/5, 3/5]

Ratios of successive terms are the same, therefore sequence is geometric.

Geometric sequence

common_ratio = 3/5

> a[n]=a[1]*r^(n-1); a[n]=-5*(3/5)^(n-1);

a[n] = a[1]*r^(n-1)

a[n] = -5*(3/5)^(n-1)

Use general formula in sum command

> Sum( -5*(3/5)^(n-1),n=1..7)=sum( -5*(3/5)^(n-1),n=1..7);

Sum(-5*(3/5)^(n-1),n = 1 .. 7) = -37969/3125

If the absolute value of the common ratio, r, is less than 1, find the sum of an infinite number of terms.

> Sum( -5*(3/5)^(n-1),n=1..infinity)=sum( -5*(3/5)^(n-1),n=1..infinity);

Sum(-5*(3/5)^(n-1),n = 1 .. infinity) = -25/2

PROBABILITY

Test Bank Problem 2201. Factorial.

Calculate 9 factorial.

> Answer = 9!;

Answer = 362880

Test Bank Problem 2202. Combinations.

Calculate the number of combinations of 17 things taken 7 at a time.

Warning, the name fibonacci has been redefined

> with(combinat):Answer=numbcomb(17,7);

Answer = 19448

Test Bank Problem 2203. Permutations.

Calculate the number of permutations of 7 things taken 5 at a time.

> with(combinat):Answer=numbperm(7,5);

Answer = 2520

Test Bank Problem 2204. Probability of union.

A jar contains 2 red marbles, 4 blue marbles, and 7 yellow marbles.

If one marble is drawn from the jar, what is the probability it will

be red or yellow?

> Answer = (2+7)/(2+4+7);

Answer = 9/13

Test Bank Problem 2205. Probability of independent events and complements.

The probability of rain today is  .20 and the probability

of rain tomorrow is  .45.  What is the probability of no

rain today?  What is the probability of rain both days?

What is the probability of no rain either day?

What is the probability of rain at least one day of the two?

> No_rain_today = 1-.2;

No_rain_today = .8

> Rain_both_days=.2*.45;

Rain_both_days = .90e-1

> No_rain_at_all = (1-.2)*(1-.45);

No_rain_at_all = .440

> Rain_one_day = 1-.440;

Rain_one_day = .560

CONICS

Test Bank Problem 2301. Given equation, identify conic, locate centers, vertices, foci.

Does the following equation describe a line, a circle,

an ellipse, or a parabola?

If a circle, determine the radius and locate the center.

If an ellipse, locate the center and foci.

If a parabola, locate the vertex and focus.

In all cases, graph the equation and the determined points.

4*x^2+40*x+108-4*y = 0

Graph the relationship.

> plots[implicitplot](4*x^2+40*x+108-4*y = 0,x=-20..20,y=-20..40);

[Maple Plot]

Graph show a parabola. Also, because the coefficient of y^2 is zero, we know the graph is a parabola.
The standard from of the equation for a parabola opening in the y-direction is:

> k:='k':4*p*(y-k)=(x-h)^2;

4*p*(y-k) = (x-h)^2

> student[completesquare](4*x^2+40*x+108-4*y = 0,x);%/4;

4*(x+5)^2+8-4*y = 0

(x+5)^2+2-y = 0

Arrange in standard form for a parabola.

> 4*[1/4]*[y-2]=(x+5)^2;

4*[1/4]*[y-2] = (x+5)^2

Focus is distance p from the vertex in the y-direction (2+1/4).

[

> with(plots):p1:=implicitplot(4*x^2+40*x+108-4*y = 0,x=-10..-1,y=0..10):
p2:=plot([[-5,2],[-5,9/4]],style=point,symbol=circle):
display({p1,p2},scaling=constrained,axes=framed);

[Maple Plot]

Test Bank Problem 2302. Given three points, find equation of parabola.

Given the following points, [x,y], find the equation of the parabola

passing through the points.  What are the coordinates of its vertex?

[2, 6], [5, -2], [8, 6]

The standard form for the equation of a parabola is:

4*p*(y-k) = (x-h)^2

> solve({4*p*(6-k) = (2-h)^2,4*p*(-2-k) = (5-h)^2,4*p*(6-k) = (8-h)^2},{p,h,k});

{h = 5, k = -2, p = 9/32}

> 4*(9/32)*(y-(-2))=(x-5)^2;

9/8*y+9/4 = (x-5)^2

STATISTICS AND REGRESSION

Test Bank Problem 2401. Mean, median, standard deviation.

Calculate the mean, median, and standard deviation

of the following set of numbers.

[10, 7, 13, 9, 10, 11]

> with(stats):Mean = describe[mean]([10, 7, 13, 9, 10, 11]);evalf(%);

Warning, these names have been redefined: anova, describe, fit, importdata, random, statevalf, statplots, transform

Mean = 10

Mean = 10.

> with(stats):Median = describe[median]([10, 7, 13, 9, 10, 11]);evalf(%);

Warning, these names have been redefined: anova, describe, fit, importdata, random, statevalf, statplots, transform

Median = 10

Median = 10.

> with(stats):Standard_deviation = describe[standarddeviation]([10, 7, 13, 9, 10, 11]);evalf(%);

Warning, these names have been redefined: anova, describe, fit, importdata, random, statevalf, statplots, transform

Standard_deviation = 1/3*sqrt(30)

Standard_deviation = 1.825741858

Test Bank Problem 2402. Linear regression.

Calculate the the equation of the best-fit line

for the following set of points, [x,y].

Plot the points and the line.

[[4, 1], [9, 5], [11, 10]]

Warning, these names have been redefined: anova, describe, fit, importdata, random, statevalf, statplots, transform

> with(stats):fit[leastsquare[[x,y]]]([[4,9,11],[1,5,10]]);

Warning, these names have been redefined: anova, describe, fit, importdata, random, statevalf, statplots, transform

y = -164/39+31/26*x

> p1:=plot([[4,1],[9,5],[11,10]],style=point,symbol=cross):
p2:=plot(-164/39+31/26*x,x=0..15):
plots[display]({p1,p2});


[Maple Plot]

LOGIC

Test Bank Problem 2501. Deductive reasoning.

Is the syllogism direct, indirect, or transitive reasoning and is the

argument a valid argument?

If John studies math two hours per day, then John passes math.

John studies math two hours per day,therefore John passes math.

The argument is DIRECT and VALID.

>

>

SECTION THREE
GENERATE A RANDOMIZED TEST

SECTION THREE consists of code that generates a sample test and the output of that code. To generate a test without answers, set answers:=0: To generate the same version with answers, set answers:=1: It might be wise to set the seed for the random number generator, _seed, to some secret function of the version number. That would prevent students who read this from generating the test with answers. Desired problem numbers from the test bank in SECTION TWO are entered into list1 in the SECTION THREE code block. The same problem number can be entered in the list more that once to create variants of the same problem. For some versions, problem 104 will try to do something illegal. Just choose a different version number. Problem 501 doesn't exist. I accidentally skipped that number.

> read `algtest.m`:with(combinat):
Version:=3:_seed:=Version:answers:=1:
printf("Randomized Test\n");
list1:=randperm([1,2,3,103,104,903]):
for j from 1 to nops(list1) do
printf("Problem% d, Version% d\n",j,Version);
s1:=``||op(j,list1):
algtest[`p`||s1](answers);printf("\n");od:

Warning, the protected name Chi has been redefined and unprotected

Randomized Test

Problem 1, Version 3

Evaluate.

a*(b*c+d)/e+f

when a =  4, b =  3, c =  5, d =  6

e =  4, and f =  4

Answer = 25

Answer = 25.

Problem 2, Version 3

Convert  3 from decimal to hexadecimal.

Answer = `3`

Problem 3, Version 3

Convert  32 from decimal to binary.

Answer = 100000

Problem 4, Version 3

Convert 1011 from binary to decimal.

Answer = 11

Problem 5, Version 3

Convert  63.50 degree_Centigrade to Kelvin.

63.5*degree_Centigrade = 336.65*Kelvin

Problem 6, Version 3

Evaluate.

a/b-c+d/e/f

when a =  25, b =  6, c =  18, d =  3

e =  21, and f =  31.

Answer = -18005/1302

Answer = -13.82872504

SECTION FOUR
GENERATE A RANDOMIZED FINAL EXAM

SECTION FOUR consists of code to generate a randomized final exam that contains one problem from each topic area. The code is followed by its output. Problem numbers can be removed from the problem lists for the topics to remove simplistic problems from the exam. As before, to generate the test with answers, set answers:=1:

> read `algtest.m`:with(combinat):
Version:=723011:_seed:=Version:answers:=1:j:=1:
printf("Problem % d, Version % d\n",j,Version);
list1:=[1,2,3,4,5]:
s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[101,102,103,104]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[201,202,203,204]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[301,302,303,304]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[401,402]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[502,503,504]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[601,602,603]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[701,702]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[801,802,803]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[901,902,903,904]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1001,1002,1003,1004]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1101,1102,1103,1104]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1201,1202,1204]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1301,1302,1303]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1401,1402]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1501,1502]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1601,1602]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1701,1702,1703]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1801,1802,1803,1804]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[1901,1902,1903]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[2001]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[2101]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[2301,2302]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[2401,2402]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);
j:=j+1:printf("\n");printf("\n");
printf("Problem % d, Version % d\n",j,Version);
list1:=[2501]:s1:=``||op(1,randcomb(list1,1)):
algtest[`p`||s1](answers);

Warning, the protected name Chi has been redefined and unprotected

Problem  1, Version  723011

Convert  5 from decimal to binary.

Answer = 101

Problem  2, Version  723011

Evaluate.

(6+[-10])*(12+[-31])

Answer = 76

Problem  3, Version  723011

Divide the following radicals and simplify.

sqrt(18*x*y)/sqrt(4*x^2*y^2)

Answer = 3/2*sqrt(2)*sqrt(1/(x*y))

Problem  4, Version  723011

Find the cardinality of set A.

A = {9, 11, 20}

Answer = 3

Problem  5, Version  723011

Find the decimal value of following number.

8/17

Answer = .47058823529411764705882352941176470588235...

Problem  6, Version  723011

Factor the following expression.

x^2+9*x+20

Answer = (x+4)*(x+5)

Problem  7, Version  723011

Write the mixed number  6 and  2/ 6 as a sum

of an interger and a rational fraction.

Answer =

Problem  8, Version  723011

Given the complex numbers z1 and z2 below, find z1 + z2,

z1 - z2, z1 * z2, z1 / z2, and z1 ^ z2.

z1 = 5+sqrt(-9)

z2 = 7+sqrt(-4)

`z1+z2` = 12.+5.*I

`z1-z2` = -2.+1.*I

`z1*z2` = 29.+31.*I

`z1/z2` = .7735849057+.2075471698*I

`z1^z2` = 40292.84444+66510.09571*I

Problem  9, Version  723011

Graph the point ( 0,  7).

[Maple Plot]

Problem  10, Version  723011

Convert  88.20 newtons to base_metric_units.

88.2*newtons = 88.2*kg*m/s^2

Problem  11, Version  723011

If the radius of a cone is  6.40 and its height

is  5.70, find its volume.

Volume = 244.4913067

Problem  12, Version  723011

Solve.

8*x-6 = -4

x = 1/4

x = .2500000000

Problem  13, Version  723011

Solve.

16 <= -6*x-7*y

[Maple Plot]

Problem  14, Version  723011

Solve.

x^2-12*x+35 = 0

x = 5, x = 7

Problem  15, Version  723011

Solve.

sqrt(-8*x-7)+2*sqrt(x+2) = -4

x = (NULL)

x = (NULL)

Problem  16, Version  723011

Solve.

5*x^3-7*x^2-148*x+60 = 0

x = (-5, 2/5, 6)

x = (-5., .4000000000, 6.)

Problem  17, Version  723011

Given the following function, F, find the inverse of F.

Function = -7*x-2

proc (x) options operator, arrow; -1/7*x-2/7 end pr...

Problem  18, Version  723011

The pH of a solution having a hydronium ion concentration, H3O,

in moles per liter, is given by the following equation.

Find the hydronium ion concentration if the pH is 6.2.

pH = -ln(H3O)

Answer = .2029430636e-2

Problem  19, Version  723011

Given the following matrices:

A = matrix([[-4, -11], [-8, 7]])

B = matrix([[5, -6], [8, 0]])

Find the product of A and B.

matrix([[-108, 24], [16, 48]])

Problem  20, Version  723011

Solve the following simultaneous equations.

-2*x+6*y = -9

2*x+2*y = -8

{x = -15/8, y = -17/8}

Problem  21, Version  723011

Graph the following inequalities.

3*x+3*y < 8

6*x-4*y < 4

[Maple Plot]

Problem  22, Version  723011

Arithmetic Sequence Formulae

a[n] = a[1]+(n-1)*d

Sum(a[1]+d*(i-1),i = 1 .. n) = 1/2*n*(a[1]+a[n])

Geometric Sequence Formulae

a[n] = a[1]*r^(n-1)

Sum(a[1]*r^(i-1),i = 1 .. n) = a[1]*(1-r^n)/(1-r), ...

Sum(a[1]*r^(n-1),n = 1 .. infinity) = -a[1]/(r-1), ...

Is the following sequence arithmetic, geometric, or neither?

If arithmetic, what is the common difference, the general formula

for the nth term, and the sum of the first  8 terms?

If geometric, what is the common ratio, the general formula

for the nth term, and the sum of the first  8 terms?

If the geometric series converges, what is the sum of an infinite number of terms?

-5, -11, -17, -23, -29

Arithmetic sequence

common_difference = -6

a[n] = 1-6*n

Sum(1-6*i,i = 1 .. 8) = -208

Problem  23, Version  723011

Does the following equation describe a line, a circle,

an ellipse, or a parabola?

If a circle, determine the radius and locate the center.

If an ellipse, locate the center and foci.

If a parabola, locate the vertex and focus.

In all cases, graph the equation and the determined points.

4*x^2-8*x+340+16*y^2-160*y = 0

[

[Maple Plot]

Problem  24, Version  723011

Calculate the the equation of the best-fit line

for the following set of points, [x,y].

Plot the points and the line.

[[3, -1], [8, 5], [13, 10]]

Warning, the name changecoords has been redefined

y = -62/15+11/10*x

[Maple Plot]

Problem  25, Version  723011

Is the syllogism direct, indirect, or transitive reasoning and is the

argument a valid argument?

If John studies math two hours per day, then John passes math.

John studies math two hours per day,therefore John passes math.

The argument is DIRECT and VALID.

>