SE20101110039

SE20101110039



diagnosed (battery_water) if engine_turns_over(false) and battery_charged(true) and battery_connections(true) and battery_water(false).

diagnosed (battery_charged) if engine_turns_over(false) and battery_charged(false) and battery_connections(true) and battery_water(true).

diagnosed (fuse) if engine_turns_over(false) and battery_charged(true) and relay(false).

diagnosed (spark_plugs) if engine_turns_over(true) and spark(false).

diagnosed (fuel) if engine_turns_over(true}' and ' spark(true) .

/* Start with goal: diagnosed(X) */■

WERSJA 2

/*.........................----...............

AUTOMOTIVE DIAGNOSTIC SYSTEM (WITH SIMPLE INPUT AND OUTPUT)

Type RUN in response to the GOAL prompt at runtime --------------------------------------------------*/

predicates ■ run

diagnosed (symbol) check (symbol)

response (char) clauses

run: -

write("AUTOMOBILE DIAGNOSTIC SYSTEM" ), nl diagnosed(_),!,nl. ■

run: -

write ("\nUnable to determinate what your problem i s \ n " ) .

diagnosed (starter_motor) not (check(engine_turns__over)), check(electrical_power), check(relay},

not(check(starter_motor)),

write("Replace starter motor."),nl,.

diagnosed (battery_connections) not (check (engine._turns_over) ) , not(check(electricał_power)), not(check(battery_connections)) , write("Tighten battery connections."),nl.

diagnosed (battery_water) not (check (engine_turns__over) ) , not(check(electrical_power)), check (battery_connect ions ).,    .    •

write("Fili battery with. water."),nl.

diagnosed (battery_charged) not(check(engine_turns_over))> not(check(electrical_power)), check(battery_connections), check(battery_water), not(check(battery_charged))/

write("Battery is not charged. Try jumping it to start"),nl,

77


Wyszukiwarka

Podobne podstrony:
aquarius 2 AQIMRIUS - INSTRUCTIONS 4) WATER (A) Go Id Cross-over Stitch (nvss 3) la - o. 10 - i
LI N.G. Adjust. (IGNITION SYSTEM_Trouble-shooting_ Engine turns erratically. " -- Check ignitio
TROUBLE-SHOOTING AND DIAGNOSESPressure Testing 2.    Warm up engine until engine oil
helpdesk [ Submit ][ Reset ] Your Name: Email: Regarding: Comment or Question: If you have
img104 mfżim ! Shoulder Blade Squeeze with Weights Starting Position: Kneel behind bali. Lie trunk o
img105 Datę Name Starting Position: Kneel behind bali. Lie trunk over bali and grasp weights. Moveme
p44 (14) possibly crack it. Notę that ring seats firmly in its groove; if it doesn t, discard it and
skanowanie0080 (2) —    stories - if they are told well and in an interesting manner,
Azonositó jel: Fizika angol nyelven — emelt szint 4. We hang a pulley, pass a ropę over it and place
Drago- CV 4 IF: 2.308 15.    Spatial-attention and emotional evocation: linę bisectio
Annual Global Temperaturę over Land and Ocean Global
Pioneer has transformed the cassette deck into a component that gives you a new dimension of con-tro
ceof to 1 a Eveready Nicad Charger Multl-slze (AA. C.D or 9V) NICad battery charger. Takes
72 A. Kaniecki driven by water wheels, also affected water relations in the adjacent areas and
Typical true bybass,?ttery and? Jack Typical true bypass, battery, and DC Jack EZ Build Schematic Dr
Formaty, regułGTS (General-To-Soecific) IF Stan_nieba IS Słońce AND Wilgotność IS Duża THEN Decyzja
carving?ceU Rangę of Expressions SUBTLE EXPRESSIONS if expressions must be obvious and unambiguous,

więcej podobnych podstron