Professional Documents
Culture Documents
Solution Manual For Electrical Engineering in Context Smart Devices Robots and Communications 1st Edition by Roman Kuc ISBN 1285179188 9781285179186
Solution Manual For Electrical Engineering in Context Smart Devices Robots and Communications 1st Edition by Roman Kuc ISBN 1285179188 9781285179186
Chapter 2
2.1 Problems
Problem 2.1 (Music icon address) What screen-row-column address would the controller assign
to the music icon shown in Figure 2.10 if the icon is located on the third screen of 16 possible screens?
(ans: Sixteen screens have 4-bit addresses from 0000 (first screen) to 1111 (sixteenth screen). The
third screen has address 0010, giving the music icon the screen-row-column address 0010-10-01.
)
Problem 2.2 (Calculator switch array) A scientific calculator has 50 keys for digits and
logarithmic and trigonometric functions arranged in five rows and ten columns. Specify a binary
address code to indicate what key was pressed.
(ans: Five rows require a 3-bit code and ten columns a 4-bit code. Hence, each key has a 7 bit
address.
)
Problem 2.3 (Forming a touch screen switch array) A touch screen array has a count of rows
and columns that sums to 10. What is the structure of the array that accommodates the maximum
number of keys?
Problem 2.4 (Finger swipe along a switch array) Extending Example 2.7, a linear switch array is
10 cm long and has a resolution Rs = 2 switches/mm. A swipe motion is detected if the mid-point
changes by more than 8 switches. If the sampling period Ts = 0.1 s, what is the minimum finger
swipe speed along the linear array that indicates a swipe motion?
9
© 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
10 CHAPTER 2. SENSORS & ACTUATORS
Problem 2.5 (Multiple finger gesture) Extending Example 2.8, a linear switch array is 10 cm
long and has a resolution Rs = 2 switches/mm, and sampling period Ts = 0.1 s. If P 1 = 20 and P
2 = 40 and P 1 = 22 and P 2 = 36 is sensed as a gesture, what is the finger swipe speed? Is it
widening or spreading?
(ans:
S = P 2 − P 1 = 40 − 20 = 20
S 20 switches
= = 10 mm
Rs 2
switches/mm
S = P 2 − P 1 = 36 − 22 =
14
S 14 switches
= = 7 mm
Rs 2
switches/mm
256 levels are set by 8 bits (= 23 ), so the total number of bits per image equals 3 × 223 , or 24
million bits. The number of colors that each 3-LED pixel can display equals
224 = 24 × 220 = 16 × 106 ( 16 million colors)
)
Problem 2.7 (Number of possible images in a large color LED display) A large color billboard
is a two-
dimensional array of 210 × 210 pixels, with each pixel containing red, green and blue LEDs. Assuming
that each LED is controlled to shine at one of 256 levels, what is the number of different images
that can be displayed? Express answer as a power of 10.
(ans: The number of colors each RGB pixel can display equals 16 × 106 . The number of
different possible images that 106 pixels can display is
16 × 106 × 106 = 16 × 1012
or 16 trillion images.
)
© 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
2.1. PROBLEMS 11
Problem 2.8 (Bit rate to generate a full-screen movie) A video game displays images on your
laptop monitor having a resolution of 1680 × 1050 pixels. Each pixel contains a red, green, and
blue LEDs, and each LED is controlled to shine at one of 256 levels. The game produces a new image
on the screen
60 times per second. How many bits per second are being sent to your monitor while you are
playing your game? Give answer in scientific notation (x.xx × 10y ).
256 levels per LED are set by 8 bits, so the total number of bits per frame equals
Problem 2.9 (Smartphone location from two range measurements) This problem considers the
lo- cation information using the range values measured by two antennas. Let antennas A1 and
A2 be located 5 km apart. Determine the two possible locations for the smartphone relative to
antenna A1 when the smartphone range from A1 is 3 km and from A2 is 3.5 km.
(ans: Let A1 be at (0,0), and A2 at (5,0) km. Smartphone location is (xS , yS ). Then, A1 range
value
R1 = 3 gives
x2S + y2S = 9
9 −12.25 + 25
xS = = 2.175 km
10
© 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
12 CHAPTER 2. SENSORS & ACTUATORS
Problem 2.10 (Smartphone location region caused by range errors) Sketch and determine the
four points defining the region that contains your smartphone when the range measured from antenna
A1 is (3 ± 0.1) km and that from A2 is (3.5 ± 0.1) km.
(ans: Let A1 be at (0,0), and A2 at (5,0) km. Smartphone location is (xS , yS ). Consider solutions
due to positive (+) and negative (−) errors with the fours cases (++), (+−), (−+), (−−).
First (++), A1 range value R1 = 3.1 and A2 range value R2 = 3.6 give
9.61 −12.96 + 25
xS++ = = 2.17 km
10
The two solutions for yS come from the A1 equation
For (+−), A1 range value R1 = 3.1 and A2 range value R2 = 3.4 give
9.61 −11.56 + 25
xS+− = = 2.31 km
10
The two solutions for yS come from the A1 equation
For (−+), A1 range value R1 = 2.9 and A2 range value R2 = 3.6 give
8.41 −12.96 + 25
xS−+ = = 2.05 km
10
The two solutions for yS come from the A1 equation
For (−−), A1 range value R1 = 2.9 and A2 range value R2 = 3.4 give
8.41 −11.56 + 25
xS−− = = 2.19 km
10
The two solutions for yS come from the A1 equation
Problem 2.11 (Pulse time for a bar code scan) In Example 2.21, if a laser spot moves across the
bar code at 10 m/s, and the width of the thinnest bar is 1 mm, what is the duration of the shortest
pulse produced by the scanner? Give answer in μs (10−6 s).
(ans:
d 10−3 m
t= = = 10−4 s = 100 μs
v 10 m/s
)
© 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Another document from Scribd.com that is
random and unrelated content:
CHAPTER XV
CHAUDORDY AND THE TRUTH—OFFICERS OF BAD FAITH—FRENCH
GARBLING—THE CROWN PRINCE DINES WITH THE CHIEF.
Later on the Chief remarked: “Our august master is not at all pleased
at the idea of Antonelli at length deciding to come here. He is uneasy
about it. I am not.” Abeken said: “The newspapers express very different
opinions about Antonelli. At one time he is described as a man of great
intelligence and acumen; then again as a sly intriguer, and shortly
afterwards as a stupid fellow and a blockhead.” The Chief replied: “It is
not in the press alone that you meet with such contradictions. It is the
same with many diplomats. Goltz and our Harry (von Arnim). We will
leave Goltz out of the question—that was different. But Harry—to-day
this way and to-morrow that! When I used to read a number of his
reports together at Varzin, I found his opinion of people change entirely a
couple of times every week, according as he had met with a friendly or
unfriendly reception. As a matter of fact, he sent different opinions by
every post, and often by the same post.”
Afterwards read reports from Rome, London, and Constantinople,
and the replies sent to them. According to Arnim’s despatch, Monsignor
Franchi informed him that the Pope and Antonelli wished to send a
mission to Versailles to congratulate the King on his accession to the
imperial dignity, and at the same time to induce the French clergy to
promote the liberation of the country from Gambetta, and the negotiation
of peace with us on the basis of a cession of territory. In certain
circumstances Antonelli himself would undertake the task, in which the
Archbishop of Tours had failed, of securing an acceptable peace. In reply
to this communication Arnim was informed that it was still uncertain
whether Bavaria would agree to the scheme of Emperor and Empire. We
should, nevertheless, carry it through. But, in that case, its chief support
having been found in public opinion, the (mainly Ultramontane)
elements of resistance would be in still more marked opposition to the
new Germany. Bernstorff reports that the former Imperial Minister,
Duvernois, had called upon him at Eugénie’s instance and suggested a
cession of territory to us equal in extent to that acquired by the Empire in
Nice and Savoy. The Empress wished to issue a proclamation. Persigny
was of a different opinion, as he considered the Empress to be
impossible. Bonnechose, the Archbishop of Rouen, expressed a similar
opinion to Manteuffel. The reply sent to Bernstorff was that we could not
negotiate with the Empress (who, moreover, does not appear to be
reliable or politically capable), unless Persigny was in agreement with
her, and that Duvernois’ overture was unpractical. Aali Pasha is prepared
to agree to the abolition of the neutrality of the Black Sea, but demands
in compensation the full sovereignty of the Porte over the Bosphorus and
the Dardanelles. This was telegraphed by us to St. Petersburg, and there
agreed to; whereupon Brunnow (the Russian Ambassador in London)
received the necessary instructions in the matter.
Friday, December 23rd.—It was mentioned at dinner that General
von Voigts-Rhetz was outside Tours, the inhabitants having offered so
much resistance that it was found necessary to shell the town. The Chief
added, “He ought not to have stopped firing when they hoisted the white
flag. I would have continued to shell them until they sent out four
hundred hostages.” He again condemned the leniency of the officers
towards civilians who offer resistance. Even notorious treachery was
scarcely punished as it ought to be, and so the French imagined that they
could do what they liked against us. “Here is, for instance, this Colonel
Krohn,” he continued. “He first has a lawyer tried for aiding and abetting
franctireurs, and then, when he sees him condemned, he sends in first
one and then another petition for mercy, instead of letting the man be
shot, and finally despatches the wife to me with a safe conduct. Yet he is
generally supposed to be an energetic officer and a strict disciplinarian,
but he can hardly be quite right in his head.”
From the discussion of this foolish leniency the conversation turned
on General von Unger, Chief of the Staff to the 7th Army Corps, who
had gone out of his mind, and had to be sent home. He is, it seems,
generally moody and silent, but occasionally breaks out into loud
weeping. “Yes,” sighed the Chief, “officers in that position are terribly
harassed. Constantly at work, always responsible, and yet unable to get
things done, and hampered by intrigue. Almost as bad as a Minister. I
know that sort of crying myself. It is over-excitement of the nerves,
hysterical weeping. I, too, had it at Nikolsburg, and badly. A Minister is
just as badly treated—all sorts of worries—an incessant plague of
midges. Other things can be borne, but one must be properly treated. I
cannot endure shabby treatment. If I were not treated with courtesy, I
should be inclined to throw my riband of the Black Eagle into the
dustbin.”
The Versailles Moniteur having been mentioned, the Chief observed:
“Last week they published a novel by Heyse, the scene of which is laid
in Meran. Such sentimental twaddle is quite out of place in a paper
published at the cost of the King, which after all this one is. The
Versailles people do not want that either. They look for political news
and military intelligence from France, from England, or, if you like, from
Italy, but not such namby-pamby trash. I have also a touch of poetry in
my nature, but the first few sentences of that stuff were enough for me.”
Abeken, at whose instance the novel was published, stood up for the
editor, and said the story had been taken from the Revue des Deux
Mondes, an admittedly high-class periodical. The Chief, however, stuck
to his own opinion. Somebody remarked that the Moniteur was now
written in better French. “It may be,” said the Minister, “but that is a
minor point. However, we are Germans, and as such we always ask
ourselves, even in the most exalted regions, if we please our neighbours
and if what we do is to their satisfaction. If they do not understand, let
them learn German. It is a matter of indifference whether a proclamation
is written in a good French style or not, so long as it is otherwise
adequate and intelligible. Moreover, we cannot expect to be masters of a
foreign language. A person who has only used it occasionally for some
two and a half years cannot possibly express himself as well as one who
has used it for fifty-four years.” Steinmetz’s proclamation then received
some ironical praise, and a couple of extraordinary expressions were
quoted from it. Lehndorff said: “It was not first-class French, but it was,
at any rate, intelligible.” The Chief: “Yes, it is their business to
understand it. If they cannot, let them find some one to translate it for
them. Those people who fancy themselves merely because they speak
good French are of no use to us. But that is our misfortune. Whoever
cannot speak decent German is a made man, especially if he can murder
English. Old —— (I understood: Meyendorff) once said to me: ‘Don’t
trust any Englishman who speaks French with a correct accent.’ I have
generally found that true. But I must make an exception in favour of Odo
Russell.”
The name of Napoleon III. then came up. The Chief regarded him as
a man of limited intelligence. “He is much more good-natured and much
less acute than is usually believed.” “Why,” interrupted Lehndorff, “that
is just what some one said of Napoleon I.: ‘a good honest fellow, but a
fool.’” “But seriously,” continued the Chief, “whatever one may think of
the coup d’état he is really good-natured, sensitive, even sentimental,
while his intellect is not brilliant and his knowledge limited. He is a
specially poor hand at geography, although he was educated in Germany,
even going to school there,—and he entertains all sorts of visionary
ideas. In July last he spent three days shilly-shallying without being able
to come to a decision, and even now he does not know what he wants.
People would not believe me when I told them so a long time ago.
Already in 1854–55 I told the King, Napoleon has no notion of what we
are. When I became Minister I had a conversation with him in Paris. He
believed there would certainly be a rising in Berlin before long and a
revolution all over the country, and in a plebiscite the King would have
the whole people against him. I told him then that our people do not
throw up barricades, and that revolutions in Prussia are only made by the
Kings. If the King could only bear the strain for three or four years he
would carry his point. Of course the alienation of public sympathy was
unpleasant and inconvenient. But if the King did not grow tired and
leave me in the lurch I should not fail. If an appeal were made to the
population, and a plebiscite were taken, nine-tenths of them would vote
for the King. At that time the Emperor said of me: ‘Ce n’est pas un
homme sérieux.’ Of course I did not remind him of that in the weaver’s
house at Donchery.”
Somebody then mentioned that letters to Favre began “Monsieur le
Ministre,” whereupon the Chief said: “The next time I write to him I
shall begin Hochwohlgeborner Herr!” This led to a Byzantine discussion
of titles and forms of address, Excellenz, Hochwohlgeboren, and
Wohlgeboren. The Chancellor entertained decidedly anti-Byzantine
views. “All that should be dropped,” he said. “I do not use those
expressions any longer in private letters, and officially I address
councillors down to the third class as Hochwohlgeboren.”
Abeken, a Byzantine of the purest water, declared that diplomats had
already resented the occasional omission of portions of their titles, and
that only councillors of the second class were entitled to
Hochwohlgeboren. “Well,” said the Chief, “I want to see all that kind of
thing done away with as far as we are concerned. In that way we waste
an ocean of ink in the course of the year, and the taxpayer has good
reason to complain of extravagance. I am quite satisfied to be addressed
simply as ‘Minister President Count von Bismarck.’”
Saturday, December 24.—Bucher told us at lunch he had heard from
Berlin that the Queen and the Crown Princess had become very
unpopular, owing to their intervention on behalf of Paris; and that the
Princess, in the course of a conversation with Putbus, struck the table and
exclaimed: “For all that, Paris shall not be bombarded!”
We are joined at dinner by Lieutenant-Colonel von Beckedorff, an
old and intimate friend of the Chief, who said to him: “If I had been an
officer—I wish I were—I should now have an army and we should not
be here outside Paris.” He proceeded to give reasons for believing that it
was a mistake to have waited and invested Paris. With regard to the
operations of the last few weeks, he criticised the advance of the army so
far to the north and south-west and the intention of advancing still
further. “If it should become necessary to retire from Rouen and Tours,
the French will think they have beaten us. It is an unpractical course to
march on every place where a mob has been collected. We ought to
remain within a certain line. It may be urged that in that case the French
would be able to carry on their organisation beyond that line. But they
will always be able to do that even if we advance, and we may be
obliged ultimately to follow them to the Pyrenees and the
Mediterranean.” “When we were still at Mainz, I thought that the best
plan would be for us to take what we wanted to keep and occupy some
five other departments as a pledge for the payment of the cost of the war,
and then let the French try to drive us out of our positions.”
A further discussion of the conduct of the war followed, in the course
of which the Chief remarked: “With us it occasionally happens that it is
not so much the generals who begin and direct the course of battles as
the troops themselves. Just as it was with the Greeks and Trojans. A
couple of men jeer at each other and come to blows, lances are
flourished, others rush in with their spears, and so it finally comes to a
pitched battle. First the outposts fire without any necessity, then if all
goes well others press forward after them; at the start a non-
commissioned officer commands a batch of men, then a lieutenant
advances with more men, after him comes the regiment, and finally the
general must follow with all the troops that are left. It was in that way
that the battle of Spicheren began, and also that of Gravelotte, which
properly speaking should not have taken place until the 19th. It was
different at Vionville. There our people had to spring at the French like
bulldogs and hold them fast. At St. Privat the Guards made a foolish
attack merely out of professional jealousy of the Saxons, and then when
it failed threw the blame on the Saxon troops, who could not have come
a minute sooner with the long march they had had to make, and who
afterwards rescued them with wonderful gallantry.”
Later on I was summoned to see the Chief. Various articles are to be
written on the barbarous manner in which the French are conducting the
war—and not merely the franctireurs, but also the regulars, who are
almost daily guilty of breaches of the Geneva Convention. The French
appear only to know, and appeal to, those clauses that are advantageous
to themselves. In this connection should be mentioned the firing at flags
of truce, the ill-treatment and plundering of doctors and hospital bearers
and attendants, the murder of wounded soldiers, the misuse of the
Geneva Cross by franctireurs, the employment of explosive bullets, and
the treatment of German ships and crews by French cruisers in breach of
the law of nations. The conclusion to be as follows:—The present French
Government is greatly to blame for all this. It has instigated a popular
war and can no longer check the passions it has let loose, which
disregard international law and the rules of war. They are responsible for
all the severity which we are obliged to employ against our own
inclinations and contrary to our nature and habits, as shown in the
conduct of the Schleswig and Austrian campaigns.
At 10 . . the Chief received the first class of the Iron Cross.
At tea Hatzfeldt informs me that he is instructed to collect all the
particulars published by the newspapers respecting the cruelties of the
French, and asks whether I would not prefer to undertake that task. After
I promised to do so, he continued: “Moreover, I believe the Chief only
sent for me in order to tell me his opinion of the new decoration.” He
said to Hatzfeldt: “I have already enough of these gewgaws, and here is
the good King sending me the first class of the Iron Cross. I shall be
thoroughly ridiculous with it, and look as if I had won a great battle. If I
could at least send my son the second class which I no longer want!”
Sunday, December 25th.—Cardinal Bonnechose of Rouen is said to
be coming here. He and Persigny want to convoke the old Legislative
Assembly, and still more the Senate, which is composed of calmer and
riper elements, in order to discuss the question of peace. The Chief is
believed to have made representations to the King respecting the
expediency, on political grounds, of greater concentration in the military
operations.
We had no guests at dinner, and the conversation was, for the most
part, not worth repeating. The following may, however, be noted.
Abeken said he had observed that I was keeping a very complete diary,
and Bohlen added in his own lively style: “Yes, he writes down: ‘At 45
minutes past 3 o’clock Count or Baron So-and-so said this or that,’ as if
he were going to swear to it at some future time.” Abeken said: “That
will one day be material for history. If one could only live to read it!” I
replied that it would certainly furnish material for history, and very
trustworthy material, but not for thirty years to come. The Chief smiled
and said: “Yes, and the reference will then be: ‘Conferas Buschii, cap. 3,
p. 20.’”
After dinner I read State documents and ascertained from them that
an extension of the German frontier towards the west was first officially
submitted to the King, at Herny, on the 14th of August. It was only on
the 2nd September that the Baden Government sent in a memorial in the
same sense.
Monday, December 26th.—Waldersee dined with us. The
conversation was almost entirely on military subjects. With respect to the
further conduct of the war, the Chief said that the wisest course would be
to concentrate our forces in Alsace-Lorraine, the department of the
Meuse, and another neighbouring department, which would amount to a
strip of territory with about 2,600,000 inhabitants. If one took in a few
other departments in addition, without Paris, it would amount to about
seven millions, or with Paris to about nine million inhabitants. In any
case the operations should be limited to a smaller area than that occupied
by our armies at present.
People’s ability to carry liquor was then discussed, and the Chief
observed: “Formerly drink did not affect me in the least. When I think of
my performances in that line! The strong wines, particularly Burgundy!”
The conversation afterwards turned for a while on card-playing, and the
Minister remarked that he had also done a good deal in that way
formerly. He had once played twenty-one rubbers of whist, for instance,
one after the other—“which amounts to seven hours time.” He could
only feel an interest in cards when playing for high stakes, and then it
was not a proper thing for the father of a family.
This subject had been introduced by a remark of the Chief’s that
somebody was a “Riemchenstecher.” He asked if we understood what
the word meant, and then proceeded to explain it. “Riemchenstechen” is
an old soldiers’ game, and a “Riemchenstecher” is not exactly a scamp,
but rather a sly, sharp fellow. The Minister then related how he had seen
a father do his own son at cards out of a sum of twelve thousand thalers.
“I saw him cheat, and made a sign to the son, who understood me. He
lost the game and paid, although it cost him two years’ income. But he
never played again.”
After dinner wrote another article on the barbarity with which the
French wage war, and cut out for the King an article from the
Staatsbuergerzeitung, recommending a less considerate treatment of the
enemy.
CHAPTER XVI
FIRST WEEK OF THE BOMBARDMENT