 
(  MEGA MATHS (INTEGRATION 1) INTEG1 $  COPYRIGHT (C) G.LUDINSKI 1985      ( *KEY10"OLD|M RUN|M"   2 *KEY 0 "" F 4 P C0=0:C1=0:C2=1:C3=1 d 19,0,4,0,0,0 n2 S$="                                        " x 23,1,0;0;0;0; B MI$=""+S$,38)+"":TP$=""+38,"")+"":BT$=""+38,"")+""  Z$="    b                                and     f(X) dX =  F(b) - F(a)           a                                where F(b) is the integral of f(X)    with b substituted for X" 4 Y$="                                        "  C1:C3+128 E 0,3);S$;" Integration 1  (Mega Maths) ";(225);" LCL 1985 ";S$  C0+128:C3  TE=0:MK=0:TW=0:TS=0:=0    W=1:T=1:I$=""  TE/2=(TE/2)CC=4  CC=1  19,0,CC,0,0,0 
 dFB  TE=TE+1   TE=1 T=2 19,1,4,0,0,0 % :Q$::TP$;"";S$,38);"";BT$  T=2:11 ! 11:11:11:9:19,1,7,0,0,0 
 _IN  B TE=1 T=1 XP=:VP=:0,3);S$;S$;S$:XP,VP);:19,1,7,0,0,0 A I$=(135)(225);(76);(67);(76);(49);(57);(56);(53)   DlB  I$="?"DbB      I$=""tZA"  ((I$)-A)< 0.01 D|A 6
 tZA| C3:" ";(224):C3 TS=TS+1K 1,-10,12,10:1,-10,20,10:1,-10,28,10:1,-10,32,20:1,-10,14,20:txAD T=1::TP$;"No,";H$;H1$;",try again":8:"";BT$;:T=2:df@Y 19,1,CC,0,0,0::::"Sorry,the answer is = "::L$:M$:N$:O$:P$::19,1,7,0,0,0 TW=TW+1C 128+C3:C0:0,31);"Do you want more ? (Y/N)               "; MK=(100*TS/(TS+TW))  R=(0):R=-1dLA 128+C0:C3 R=78"MENU"  T=1::::dH@
 _IN *FX15,0
 I$="" I1=(0)  I1$=(I1):I1<>-1TpB&h XP=:YP=:C2:0,1);"Test "+(TE)+"  Score "+(MK)+"%  "+((/100))+" secs. ":C3:XP,YP);:TRB0! I1=13(I$)>37I1=127DDB:} XP=+1:YP=:I1$;:C2:0,1);"Test "+(TE)+"  Score "+(MK)+"%"+"  "+((/100))+" secs. ":C3:XP,YP);:I$=I$+I1$:TRBD I1<>127I$=""DXBN# I$=I$,(I$)-1):(127);:TRBX b
  VP=lW 128+C3:C1: 0,29);"             Calculator mode            ";0,29):128+C0:C3v
 B$=""H I$=:I$;:I$<>(127)  I$ <> "="I$ <> "?"B$<>"AC"B$=B$+I$:t@B/ I$=(127)  B$<>"" B$=B$,(B$)-1):t@B  B$="?"I$="?"trB, B$="AC"0,30);S$;0,29):B$="":DvB  (B$);0,29):DvB 0,29);S$;S$;1,VP);:_IN 0 L$="":M$="":N$="":O$="":P$="":H1$="":W=(7)( F=(2)+1:E=(F+1)*((4)+1)*(-1)^(2)+ AL=((7)+1):BL=(8)+1:BL <= AL dZB( E$=(E):F$=(F):BL$=(BL):AL$=(AL) W<>1T`CF Q$=BL$+Y$+E$+"X"+(11)+F$+(10)+" dX"+S$,33-(E$)-(F$))+AL$+"" H$="              n    n+1             the integral of X  = X     + constant                                                        n+1              "  H1$=Z$P A=E*(BL^(F+1))/(F+1)-(E*(AL^(F+1))/(F+1)):IA%=A: (A-IA%)<0.1  A$=(IA%) &  (A-IA%)>0.9  A$=(IA%+(A))   L$=A$:M$=S$+"as the integral is "+E$+"X"+(11)+F$+"+1"+(10)+" + c":N$="                   ":O$="                    "+F$+"+1"l P$=S$+"subs. "+E$+"x("+BL$+(11)+F$+"+1"+(10)+"/("+F$+"+1) - "+AL$+(11)+F$+"+1"+(10)+"/("+F$+"+1) )"  W<>2D\C*- Q$=BL$+Y$+E$+" dX"+S$,34-(E$))+AL$+""4- H$="the integral of a constant k = kX+c"> H1$=Z$H  A=E*BL-E*AL:A$=(A)R[ L$=A$:M$="as the integral is "+E$+"X + c":N$="substituting,"+E$+"x("+BL$+" - "+AL$+")"\ W<>3  W<>4DbC^o (2)=2 BL$="/3":AL$=" 0 ":OB$=BL$:OA$="0":BL=/3:AL=0  AL$="/3":BL$=" 0 ":AL=/3:BL=0:OB$="0":OA$=AL$` E=(9)*2*(-1)^(2):E$=(E)b W<>3tXCf3 Q$=BL$+Y$+E$+"SIN(X) dX"+S$,26-(E$))+AL$+""pU H$="the integral of SIN(X) = -COS(X)+c and COS(0)=1 and COS(/3)=1/2         "z H1$=Z$ CB=0.5: BL=0  CB=1 CA=0.5: AL=0  CA=1  A=-E*(CB-CA):S(A):A$=SS$ L$=A$:M$="as the integral is "+(-E)+"COS(X) + c":N$="substituting,"+(-E)+"x(COS("+OB$+") - COS("+OA$+"))":S(CB):SB$=SS$:S(CA):O$="= "+(-E)+"x("+SB$+" - "+SS$+")"  W<>4dJCA AL=/3 AL=/2:AL$="/2":OA$=AL$  BL=/2:BL$="/2":OB$=BL$3 Q$=BL$+Y$+E$+"COS(X) dX"+S$,26-(E$))+AL$+""\ H$="the integral of COS(X) = SIN(X)+c  and SIN(0)=0 and SIN(/2)=1           ":H1$=Z$$ A=E*((BL)-(AL)):S(A):A$=SS$  L$=A$:M$="as the integral is "+E$+"SIN(X) + c":N$="substituting,"+E$+"x(SIN("+OB$+") - SIN("+OA$+"))":S((AL)):O$="= "+E$+"x("+((BL))+" - "+SS$+")" W<>5TPDn (2)=1AL=0:AL$=" 0 ":OA$="0":BL=/4:BL$="/4":OB$=BL$  BL=0:BL$=" 0 ":OB$="0":AL=/4:AL$="/4":OA$=AL$! E=((8)+1)*(-1)^(2):E$=(E)F Q$=BL$+Y$+E$+"SEC"+(11)+"2"+(10)+"(X) dX"+S$,25-(E$))+AL$+""} H$="                2                  the integral of SEC (X) = TAN(X)+c    and TAN(0)=0 and TAN(/4)=1           " H1$=Z$# A=E*((BL)-(AL)):S(A):A$=SS$ L$=A$:M$="as the integral is "+E$+"TAN(X) + c":N$="substituting,"+E$+"x(TAN("+OB$+") - TAN("+OA$+"))":O$="= "+E$+"x("+((BL))+" - "+((AL))+")"  W<>6DVD] (2)=1AL=(1):AL$="e":BL=1:BL$="1":LA=1:LB=0   BL=(1):BL$="e":AL=1:AL$="1":LA=0:LB=1$! E=((8)+1)*(-1)^(2):E$=(E)./ Q$=BL$+Y$+E$+"/X dX"+S$,32-(E$))+AL$+""8\ H$="the integral of 1/X = LN(X)+c    and LN(1)=0 and LN(e)=1               ":H1$=Z$B A=E*(LB-LA):S(A):A$=SS$  L L$=A$:M$="as the integral is "+E$+"LN(X)+c":N$="substituting,"+E$+"x(LN("+BL$+") - LN("+AL$+"))":O$="= "+E$+"x("+(LB)+" - "+(LA)+")"V W<>7dPG`B (2)=1AL=0:AL$="0":BL=1:BL$="1"  BL=0:BL$="0":AL=1:AL$="1"j! E=((8)+1)*(-1)^(2):E$=(E)tW Q$=BL$+Y$+E$+"e"+(11)+"X"+(10)+" dX"+S$,32-(E$))+AL$+"           given e=2.7"~ H$="              X    X               the integral of e  = e +c                  0                                and e =1 and e=2.7                    ":H1$=Z$  AL=0A=E*1.7  A=-1.7*E~ S(A):A$=SS$:L$=A$:M$="as the integral is "+E$+"e"+(11)+"X"+(10)+"+c":N$="substituting,"+E$+"x(e^"+BL$+" - e^"+AL$+")" = AL=0 O$="= "+E$+"x(2.7 - 1)"  O$="= "+E$+"x(1 - 2.7)"   S(GG)    , IG%=GG: (GG-IG%)<=.001  SS$=(IG%):, D%=100*(GG-IG%):SS$=(IG%)+"."+((D%)) 