Question 1: Write a python program to print the inverted pyramid of alphabets as shown below:
Added by Pranali T.
Close
Your feedback will help us improve your experience
Thalia Crespo and 55 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Use the following alphabet coding assignment to work each problem. $\begin{array}{cccccccc}\mathbf{A} & 1 & \mathbf{H} & 8 & \mathbf{O} & 15 & \mathbf{V} & 22 \\ \mathbf{B} & 2 & \mathbf{I} & 9 & \mathbf{P} & 16 & \mathbf{W} & 23 \\ \mathbf{C} & 3 & \mathbf{J} & 10 & \mathbf{Q} & 17 & \mathbf{X} & 24 \\ \mathbf{D} & 4 & \mathbf{K} & 11 & \mathbf{R} & 18 & \mathbf{Y} & 25 \\ \mathbf{E} & 5 & \mathbf{L} & 12 & \mathbf{S} & 19 & \mathbf{Z} & 26 \\ \mathbf{F} & 6 & \mathbf{M} & 13 & \mathbf{T} & 20 & & \\ \mathbf{G} & 7 & & \mathbf{N} & 14 & & \mathbf{U} & 21 & & \end{array}$ Encode the message SEND HELP, using the one-to-one function $$f(x)=x^{3}-1$$ Give the inverse function that the decoder will need when the message is received.
Inverse, Exponential, and Logarithmic Functions
Inverse Functions
Use the following alphabet coding assignment to work each problem. $\begin{array}{cccccccc}\mathbf{A} & 1 & \mathbf{H} & 8 & \mathbf{O} & 15 & \mathbf{V} & 22 \\ \mathbf{B} & 2 & \mathbf{I} & 9 & \mathbf{P} & 16 & \mathbf{W} & 23 \\ \mathbf{C} & 3 & \mathbf{J} & 10 & \mathbf{Q} & 17 & \mathbf{X} & 24 \\ \mathbf{D} & 4 & \mathbf{K} & 11 & \mathbf{R} & 18 & \mathbf{Y} & 25 \\ \mathbf{E} & 5 & \mathbf{L} & 12 & \mathbf{S} & 19 & \mathbf{Z} & 26 \\ \mathbf{F} & 6 & \mathbf{M} & 13 & \mathbf{T} & 20 & & \\ \mathbf{G} & 7 & & \mathbf{N} & 14 & & \mathbf{U} & 21 & & \end{array}$ Encode the message SAILOR BEWARE, using the one-to-one function $$f(x)=(x+1)^{3}$$ Give the inverse function that the decoder will need when the message is received.
Use the following alphabet coding assignment to work each problem. $$ \begin{array}{llllllll} \text { A } & 1 & \text { H } & 8 & \text { O } & 15 & \text { V } & 22 \\ \text { B } & 2 & \text { I } & 9 & \text { P } & 16 & \text { W } & 23 \\ \text { C } & 3 & \text { J } & 10 & \text { Q } & 17 & \text { X } & 24 \\ \text { D } & 4 & \text { K } & 11 & \text { R } & 18 & \text { Y } & 25 \\ \text { E } & 5 & \text { L } & 12 & \text { S } & 19 & \text { Z } & 26 \\ \text { F } & 6 & \text { M } & 13 & \text { T } & 20 & & \\ \text { G } & 7 & \text { N } & 14 & \text { U } & 21 & & \end{array} $$ The function $f(x)=3 x-2$ was used to encode a message as $\begin{array}{lllllllllllll}37 & 25 & 19 & 61 & 13 & 34 & 22 & 1 & 55 & 1 & 52 & 52 & 25\end{array}$ 64 Find the inverse function and determine the message.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD