SE20101110040

SE20101110040



write("then check for loose or broken fan belt or defective regulatornl. diagnosdd (relay) not(check(engine_turns_over}) , check(electrical_power), not(check(relay)),

write("check ignition fuse, key switch, and starter motor relay."),nl.

diagnosed (spark_delivery_system) check(engine_turns_over), not(check(spark_delivery_system) ) ,

write("Check distributor, spark plugs, and related wiring. ") ,

diagnosed (fuel_system) check(engine_turns_over), check(spark_delivery_system),

write("Check gas gauge, fuel filter, and possibility of flooding."),nl.

check(battery_connections)    :-

write("Are the battery connections good (y/n)?"),nl,

response(Reply},Reply='n'. check(electrical_power)

write("Are the headlights dim or do they fail to light when turned on (y/n)?"),nl,■ response(Reply),Reply='n'.

I

check(battery_water)

write("Is the battery water level good (y/n)?"),ni, response(Reply),Reply='y'.

check (engine__turns_over)    .

write("Does the engine turns over normally without starting (y/n)?"), ni,    7""".)

response(Reply),Reply='y'.

check(spark_delivery_system):-write ("Are the spark pług and distributor-wires good (y/n)?"), nl,

response(Reply),Reply='y'. check (.starter_motor)

write("Does the starter motor fail ho turn, tura slowly or turn with an"),nl, write("abnormal grinding sound (y/n)?"),nl, response (Reply), Reply ='n

\

check(relay)

write("Can you hear the starter motor relay puli in (y/n)?"), nl,

response(Reply),Reply='y'. check (battery_charged)

write ("Is the battery fully. .charged (y/n) ?".) ,nl, response (Reply), Reply='y'.    .    ..

response (Reply)

readchar(Reply), write(replay),nl.

WERSJA 3

/*

AUTOMOTIVE DIAGNOSTIC SYSTEM (WITH DYNAMIC DATABASE) Type RUN in response to the GOAL prompt at runtime. -------------------.................. --------------*/

database

xpositive (symbol) xnegative (symbol)

predicates

run

diagnosed (symbol) check (symbol) positive (string,symbol)

79


Wyszukiwarka

Podobne podstrony:
FRONT DISC BRAKE (CL16) — Rotor__Inspection- SLIDING SURFACE Check rotor for cracks or chips. Repair
zg47191 C=D cs) « System and Sec... ► Windows Update ▼ Search Control Panel p Most recent che
00011 1e3324d2f6ed7ec009d60699a144186 10 Woodall & Faltin These statements are somewhat oversim
00396 ?90bd207e57c31bccb63bb276658de9 400 Obenchain PROBGAM(x, p) = J* tp_l e"* dt/r(p)  
90-WATT CW TRANSMITTER* #720 Kit $79.95    Wircd $119.95 •■Ideał for weteran or
The sideband whtch remains is then amplified by one or morę stages of linear amplification to i
TT 1 8 (255 koni) pasek Audi TT (98-06) 1,8 1998-02 Engine codę: APX Impoitant notę Replacement lnte
s576 576 Poznaj Linux 576 Poznaj Linux CD ROM Aiy«r» (not for 3C3I Or 1DE/AWI , y ; S/ V
skanuj0049(1) Write the words for these definitions. Przeczytaj definicje. Jakie to warunki pogodowe
File0011 I tan talk. about sports I likc. 1 klilMMIfri Work in pairs. Ask and answer the questions.
File0037 Buying tickets I Mn bny tickets k for a concert or film. Clerk Answer the phone. Clerk
ory buffer with capacity for N samples (or N words if one sample is taken to occupy a word). The max
htdctmw 004 PREFACE l’ve been planning to write this book for years, but it took Big John Buscema to
fźflOOU/K pou>er Supjoiy -for £> or (O /-M "£S&£ <Cf SfcooO^t (25^/ ^maClSo* *
gateout dialog =1ZJ2<J i Błock parameters: Gale Outport- Provide a gale output port for a circuit
gate dialog i Błock parameters:-=JZJ.x
FOR SALE SWOP YOtlR CAMERA OR HI-FI FOR A TRIO OR EDDYSTONE ? BORROW A TS.StO MANUAŁ tor 7 days; dep

więcej podobnych podstron