B.................................
BLM movement and protests,
The election, school shootings, and the pandemic
Use the following rules:
- The sum of currents that enter and exit a node (junction) is always zero. So if you have 3 wires that connect, through one flows 2A, the other 3A, then the third must deliver 5A (taking the direction into account!)
- The sum of voltages across different components should always add up. So if you have a battery of 10V with two unknown resistors, and over one of the resistors is 4V, you know the other one has the remaining 6V.
- With resistors, V=I*R must hold.
With these basic rules you should get a long way!
Answer:
Explanation:
For the Program plan:
1. Two lists are structurally equal if they have the same list structure, although their atoms may be different.
2. So we are going to write a function that will check if elements in both lists at same position are atoms or not.
3. If yes then it should return true else false.
Program:
#lang scheme
( define (structurally-equal list1 list2)
(cond ((and (null? list1) (null? list2)) #t)
((or (null? list1) (null? list2)) #f)
((and (atom? (car list1)) (atom? (car list2)))
(structurally-equal (cdr list1) (cdr list2)))
((or (atom? (car list1)) (atom? (car list2))) #f)
(else (and (structurally-equal (car list1) (car list2))
(structurally-equal (cdr list1) (cdr list2) )))))
( define (atom? x) (not (or (pair? x) (null? x))))