Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5. What is the result of the following statementsP Answer:= 42 /*Answer tag is a DINT */ Answer:= 52 /*Answer tag is a DINT Answer:=
5. What is the result of the following statementsP Answer:= 42 /*Answer tag is a DINT */ Answer:= 52 /*Answer tag is a DINT Answer:= 52 /*Answer tag is a REAL Answer: = 5 MOD 2 /* Answer tag is a DINT 6. Write a line of ST for each of the following 0 Find the square root of a number and assign the value to a tag. Find the tangent of a tag and assign it to another tag. Square a tag and assign the result to another tag 7. Write an IF statement for each of the following: Temp is greater than 250. Varl is greater than or equal to Var2 Var2 is less than Varl multiplied by 6.3 If Sensor_1 is on, turn on Light_1. If Temp > 95, turn heater_1 off. If Temp is greater than 100 and Sensor_1 is true, turn Done_Light ON; othervise turn Alarm ON 1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started