Home » Archimedes archive » Acorn User » AU 1997-01 B.adf » Regulars » StarInfo/Allen/!Ignotum/Formulae/Formulae/Quad

StarInfo/Allen/!Ignotum/Formulae/Formulae/Quad

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-01 B.adf » Regulars
Filename: StarInfo/Allen/!Ignotum/Formulae/Formulae/Quad
Read OK:
File size: 040C bytes
Load address: 0000
Exec address: 0000
File contents
# Maths > Quadratics

# New entries should take the form of:
#     Formula
#     Note 1
#     Note 2
#     Note 3
#     Note 4
#     Note 5
#     Formula
#     Note 1
#     And so on...
# To fit snugly into the window, each line should be no longer
# than 42 characters.
# There is a limit of 25 formulas per topic.

# Any notes should be made here, at the beginning and should
# be preceeded by a hash (#).

x=(-b�(b�-4ac)^�)/2a
This is called the quadratic formula where
ax�+bx+c=0. It can give two answers
(because of the �). If the curve 
y=ax�+bx+c was plotted then it would cross
the x-axis at these values of x.
y=(4ac-b�)/4a
Where:
y=y co-ordinate of the peak of the graph
(highest/lowest point on the curve)
a, b and c come from the general 
quadratic, y=ax�+bx+c
x=-b/2a
An equation for the line of symmetry of
the curve is formed where a, b and c are
from the general quadratic, y=ax�+bx+c.






































































































































00000000  23 20 4d 61 74 68 73 20  3e 20 51 75 61 64 72 61  |# Maths > Quadra|
00000010  74 69 63 73 0a 0a 23 20  4e 65 77 20 65 6e 74 72  |tics..# New entr|
00000020  69 65 73 20 73 68 6f 75  6c 64 20 74 61 6b 65 20  |ies should take |
00000030  74 68 65 20 66 6f 72 6d  20 6f 66 3a 0a 23 20 20  |the form of:.#  |
00000040  20 20 20 46 6f 72 6d 75  6c 61 0a 23 20 20 20 20  |   Formula.#    |
00000050  20 4e 6f 74 65 20 31 0a  23 20 20 20 20 20 4e 6f  | Note 1.#     No|
00000060  74 65 20 32 0a 23 20 20  20 20 20 4e 6f 74 65 20  |te 2.#     Note |
00000070  33 0a 23 20 20 20 20 20  4e 6f 74 65 20 34 0a 23  |3.#     Note 4.#|
00000080  20 20 20 20 20 4e 6f 74  65 20 35 0a 23 20 20 20  |     Note 5.#   |
00000090  20 20 46 6f 72 6d 75 6c  61 0a 23 20 20 20 20 20  |  Formula.#     |
000000a0  4e 6f 74 65 20 31 0a 23  20 20 20 20 20 41 6e 64  |Note 1.#     And|
000000b0  20 73 6f 20 6f 6e 2e 2e  2e 0a 23 20 54 6f 20 66  | so on....# To f|
000000c0  69 74 20 73 6e 75 67 6c  79 20 69 6e 74 6f 20 74  |it snugly into t|
000000d0  68 65 20 77 69 6e 64 6f  77 2c 20 65 61 63 68 20  |he window, each |
000000e0  6c 69 6e 65 20 73 68 6f  75 6c 64 20 62 65 20 6e  |line should be n|
000000f0  6f 20 6c 6f 6e 67 65 72  0a 23 20 74 68 61 6e 20  |o longer.# than |
00000100  34 32 20 63 68 61 72 61  63 74 65 72 73 2e 0a 23  |42 characters..#|
00000110  20 54 68 65 72 65 20 69  73 20 61 20 6c 69 6d 69  | There is a limi|
00000120  74 20 6f 66 20 32 35 20  66 6f 72 6d 75 6c 61 73  |t of 25 formulas|
00000130  20 70 65 72 20 74 6f 70  69 63 2e 0a 0a 23 20 41  | per topic...# A|
00000140  6e 79 20 6e 6f 74 65 73  20 73 68 6f 75 6c 64 20  |ny notes should |
00000150  62 65 20 6d 61 64 65 20  68 65 72 65 2c 20 61 74  |be made here, at|
00000160  20 74 68 65 20 62 65 67  69 6e 6e 69 6e 67 20 61  | the beginning a|
00000170  6e 64 20 73 68 6f 75 6c  64 0a 23 20 62 65 20 70  |nd should.# be p|
00000180  72 65 63 65 65 64 65 64  20 62 79 20 61 20 68 61  |receeded by a ha|
00000190  73 68 20 28 23 29 2e 0a  0a 78 3d 28 2d 62 b1 28  |sh (#)...x=(-b.(|
000001a0  62 b2 2d 34 61 63 29 5e  bd 29 2f 32 61 0a 54 68  |b.-4ac)^.)/2a.Th|
000001b0  69 73 20 69 73 20 63 61  6c 6c 65 64 20 74 68 65  |is is called the|
000001c0  20 71 75 61 64 72 61 74  69 63 20 66 6f 72 6d 75  | quadratic formu|
000001d0  6c 61 20 77 68 65 72 65  0a 61 78 b2 2b 62 78 2b  |la where.ax.+bx+|
000001e0  63 3d 30 2e 20 49 74 20  63 61 6e 20 67 69 76 65  |c=0. It can give|
000001f0  20 74 77 6f 20 61 6e 73  77 65 72 73 0a 28 62 65  | two answers.(be|
00000200  63 61 75 73 65 20 6f 66  20 74 68 65 20 b1 29 2e  |cause of the .).|
00000210  20 49 66 20 74 68 65 20  63 75 72 76 65 20 0a 79  | If the curve .y|
00000220  3d 61 78 b2 2b 62 78 2b  63 20 77 61 73 20 70 6c  |=ax.+bx+c was pl|
00000230  6f 74 74 65 64 20 74 68  65 6e 20 69 74 20 77 6f  |otted then it wo|
00000240  75 6c 64 20 63 72 6f 73  73 0a 74 68 65 20 78 2d  |uld cross.the x-|
00000250  61 78 69 73 20 61 74 20  74 68 65 73 65 20 76 61  |axis at these va|
00000260  6c 75 65 73 20 6f 66 20  78 2e 0a 79 3d 28 34 61  |lues of x..y=(4a|
00000270  63 2d 62 b2 29 2f 34 61  0a 57 68 65 72 65 3a 0a  |c-b.)/4a.Where:.|
00000280  79 3d 79 20 63 6f 2d 6f  72 64 69 6e 61 74 65 20  |y=y co-ordinate |
00000290  6f 66 20 74 68 65 20 70  65 61 6b 20 6f 66 20 74  |of the peak of t|
000002a0  68 65 20 67 72 61 70 68  0a 28 68 69 67 68 65 73  |he graph.(highes|
000002b0  74 2f 6c 6f 77 65 73 74  20 70 6f 69 6e 74 20 6f  |t/lowest point o|
000002c0  6e 20 74 68 65 20 63 75  72 76 65 29 0a 61 2c 20  |n the curve).a, |
000002d0  62 20 61 6e 64 20 63 20  63 6f 6d 65 20 66 72 6f  |b and c come fro|
000002e0  6d 20 74 68 65 20 67 65  6e 65 72 61 6c 20 0a 71  |m the general .q|
000002f0  75 61 64 72 61 74 69 63  2c 20 79 3d 61 78 b2 2b  |uadratic, y=ax.+|
00000300  62 78 2b 63 0a 78 3d 2d  62 2f 32 61 0a 41 6e 20  |bx+c.x=-b/2a.An |
00000310  65 71 75 61 74 69 6f 6e  20 66 6f 72 20 74 68 65  |equation for the|
00000320  20 6c 69 6e 65 20 6f 66  20 73 79 6d 6d 65 74 72  | line of symmetr|
00000330  79 20 6f 66 0a 74 68 65  20 63 75 72 76 65 20 69  |y of.the curve i|
00000340  73 20 66 6f 72 6d 65 64  20 77 68 65 72 65 20 61  |s formed where a|
00000350  2c 20 62 20 61 6e 64 20  63 20 61 72 65 0a 66 72  |, b and c are.fr|
00000360  6f 6d 20 74 68 65 20 67  65 6e 65 72 61 6c 20 71  |om the general q|
00000370  75 61 64 72 61 74 69 63  2c 20 79 3d 61 78 b2 2b  |uadratic, y=ax.+|
00000380  62 78 2b 63 2e 0a 0a 0a  0a 0a 0a 0a 0a 0a 0a 0a  |bx+c............|
00000390  0a 0a 0a 0a 0a 0a 0a 0a  0a 0a 0a 0a 0a 0a 0a 0a  |................|
*
00000400  0a 0a 0a 0a 0a 0a 0a 0a  0a 0a 0a 0a              |............|
0000040c