Download presentation

Presentation is loading. Please wait.

Published byMorgan Lancaster Modified over 3 years ago

1
Logical conditions If ………………..

2
Logical condition Is something which must either give a "true" or "false" answer / 2 possible results. For example is your name Fred or Are you taller than 1.50m

3
If conditions =If (d5 > 40,"old","young") =If (d5 > 40,"old","young") =If (c2="east", "ok","No") =If (c2="east", "ok","No")

4
Joint conditions (if either condition inside the brackets is true) =If(OR(c2="west", c2="east"),"ok","wrong") =If(OR(c2="west", c2="east"),"ok","wrong") =If(AND(c1 = "west", D2 > 5 ), "ok","wrong) =If(AND(c1 = "west", D2 > 5 ), "ok","wrong)

5
Other Ifs =If(D5>10000,D5*0.05,0) =If(D5>10000,D5*0.05,0) =If(Or(c5="East",C5="west"),d5*0.05, D5*0.04) =If(Or(c5="East",C5="west"),d5*0.05, D5*0.04) =IF(C5="east",1,IF(C5="west",2,3)) =IF(C5="east",1,IF(C5="west",2,3)) When we want more than two possible answers - if the answer in C5 is East then give/ multiply by 1 if the answer in C5 is West then give / multiply by 2. If not give 3. if the answer in C5 is West then give / multiply by 2. If not give 3.

Similar presentations

OK

Teaching Point: I can evaluate an expression or check my work by substituting in a variable and applying my knowledge of PEMDAS. Do-now: 1)4(3) +7 – 1.

Teaching Point: I can evaluate an expression or check my work by substituting in a variable and applying my knowledge of PEMDAS. Do-now: 1)4(3) +7 – 1.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on human resources accounting Ppt on total hip replacement Ppt on hindu religion origin Ppt on instrument landing system images Ppt on kingdom of dreams Ppt on area of parallelogram using vectors Ppt on semi solid casting video Ppt on diode family matters Elements of one act play ppt on tv Gastrointestinal system anatomy and physiology ppt on cells