subject
Engineering, 12.02.2020 00:52 SmartKitty

1.Write down the results of typing the following expressions in lisp. (one line at a time).

(list 'big 'cat 'sat)
(cons 'the (list 'big 'cat 'sat))
(list 'all (list 'good 'people) 'should (list 'go 'ahead))
(cdr (car (cdr '(a (b c) d
(cdadr '(a (b c) d))

2. What will be the value of the last expression in each case?

a. (setq a '(u v w))
(set (car (cdr a)) 'b)
(cons v a)

b. (setq A 'A)
(setq B 'A)
(list A B 'B)

ansver
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, aaliyah80
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
image
Engineering, 04.07.2019 18:20, alexis9263
Have a greater impact on maintenance productivity than any other support group. (clo5) a)-the top management b)-inventory and purchasing c)-sub-contracting d)-cmms
Answers: 2
image
Engineering, 04.07.2019 19:10, ndaha
An external consultant recommends that a plant installs a bank of capacitors for power factor correction. this will reduce the peak electrical demand charges by an average of 93 kw every month. the plant current pays $13 per kw in peak demand charges. the capacitor bank will include 223 kw of fixed capacitors, and 183 of variable capacitors. the fixed capacitors cost $59 per kw, and the variable capacitors will cost $65 per kw. the consultant charges 21% of the equipment costs to install the capacitors. because this project will reduce the demand for the electric utility, they are prepared to provide a one-time rebate of $42 per kw of reduced demand. what is the simple payback period for this project (in years)?
Answers: 2
image
Engineering, 04.07.2019 19:20, rida10309
At steady state, air at 200 kpa, 325 k, and mass flow rate of 0.5 kg/s enters an insulated duct having differing inlet and exit cross-sectional areas. the inlet cross-sectional area is 6 cm2. at the duct exit, the pressure of the air is 100 kpa and the velocity is 250 m/s. neglecting potential energy effects and modeling air as an 1.008 kj/kg k, determine ideal gas with constant cp = (a) the velocity of the air at the inlet, in m/s. (b) the temperature of the air at the exit, in k. (c) the exit cross-sectional area, in cm2
Answers: 2
You know the right answer?
1.Write down the results of typing the following expressions in lisp. (one line at a time).

Questions in other subjects:

Konu
Health, 30.01.2021 19:40
Konu
Computers and Technology, 30.01.2021 19:40