MASTERSHEET 
Copy/Paste Formulae for Core 1 Data Analysis

>Copy the formula you need
>Paste it into the other workbook you are using
>NOTE: Do NOT alter the formulae in this workbook, these are your templates only.

MATHEMATICA COMMANDS FOR Chapter 4

1. To plot one graph

Plot[{"function"},{x,"Minimum","Maximum"},PlotLegends->"Expressions"]

Plot[{2^x},{x,0,10},PlotLegends->"Expressions"]

2. To plot few graphs on the same plane

Plot[{"function1","function2","function3"},{x,"Minimum","Maximum"},PlotLegends->"Expressions"]

Plot[{Sin[x],Sin[2x],Sin[3x]},{x,0,2Pi},PlotLegends->"Expressions"]

3. Solve Equations

Solve["Left side of Equation"=="Right side of Equation","solve for"]

Solve[2x==8,x]//N

4. Solve Simultaneous Equations

Solve[{equation here number one,another equation here},{variable1,variable2}]//N

Solve[{2x+3y==6,x-2y==4},{x,y}]//N

5. Binomial Expand

Expand["Enter Expression here"]

Expand[(x+10)(x-9)]

6. Factorise Expressions

Factor["Enter Expression here"]

Factor[5*(a+b)+v*(a+b)]

Factor[1/4-3d+9d^2]

Factor[45t^2-20]

7. Graph Table Quadratic Equations

Plot["Enter Equation here",,{x,"Minimum value for x","Maximum value for x"}]

Plot[y=x^2,{x,-3,3}]

TableForm[Table[{"Enter Equation here"},{x,"Minimum value for x","Maximum value for x"}]]

TableForm[Table[{y=x^2},{x,-3,3}]]//N

8. Highest Common Factor( HCF), Lowest Common Multiple(LCM)

LCM["Enter all numbers with a comma in between"]

GCD["Enter all numbers with a comma in between"]

LCM[2,3,5]

GCD[2, 3, 5]

9. Solve Quadratic Equations by using discriminant

discriminant[a_,b_,c_]:=(b^2)-4*a*c
lm=discriminant["a","b","c"]//N
Print["Discriminant = ",Normal[lm]]
solution1[a_,b_,c_]:=((-b+(Sqrt[(b^2)-4*a*c]))/(2*a))
lm=solution1["a","b","c"]//N
Print["Solution1 = ",Normal[lm]]
solution2[a_,b_,c_]:=((-b-(Sqrt[(b^2)-4*a*c]))/(2*a))
lm=solution2["a","b","c"]//N
Print["Solution2 = ",Normal[lm]]

discriminant[a_,b_,c_]:=(b^2)-4*a*c
lm=discriminant[1,7,-3]//N
Print["Discriminant = ",Normal[lm]]
solution1[a_,b_,c_]:=((-b+(Sqrt[(b^2)-4*a*c]))/(2*a))
lm=solution1[1,7,-3]//N
Print["Solution1 = ",Normal[lm]]
solution2[a_,b_,c_]:=((-b-(Sqrt[(b^2)-4*a*c]))/(2*a))
lm=solution2[1,7,-3]//N
Print["Solution2 = ",Normal[lm]]