A parallel plate capacitor with plate separation d is connected
to a battery. The capacitor is fully charged to Q Coulombs and a
voltage of V. (C is the capacitance and U is the stored energy.)
Answer the following questions regarding the capacitor charged by a
battery. For each statement below, select True or False.
With the capacitor connected to the battery, increasing d
decreases Q.
After being disconnected from the battery, inserting a dielectric
with κ will increase V.
After being disconnected from the battery, inserting a dielectric
with κ will increase C.
With the capacitor connected to the battery, inserting a dielectric
with κ will decrease U.
With the capacitor connected to the battery, increasing d increases
U.
After being disconnected from the battery, decreasing d increases
C.
answers that have been wrong: FTTFTT, FFTFTT, TFTFTT, TFTFTF
In: Physics
The C function funsum below takes three arguments -- an integer val and two function pointers to functions f and g, respectively. f and g both take an integer argument and return an integer result. The function funsum applies f to val, applies g to val, and returns the sum of the two results. Translate to RISC-V following RISC-V register conventions. Note that you do not know, nor do you need to know, what f and g do, nor do you know what registers f and g use.
long long int funsum(long long int val, long long int (*f) (long long int), long long int (*g) (long long int))
{
return(f(val) + g(val));
}
In: Computer Science
Using the provided dictionary, develop an encryption algorithm that will convert a user-entered string into an encrypted string. Print the user inputted text and the corresponding encrypted text.
cipher = {"A": "T", "B": "D", "C": "L","D": "O", "E": "F","F": "A", \ "G": "G","H": "J", "I": "K", "J": "R", "K": "I","L": "C", "M": "V", \ "N": "P", "O": "W","P": "U", "Q": "X", "R": "Y", "S": "B","T": "E", \ "U": "Z", "V": "Q", "W": "S","X": "N", "Y": "M", "Z": "H"}
b) Create a corresponding decryption algorithm that utilizes the same dictionary. Print the user inputted encryption text and the corresponding decrypted text.
could I recieve help on this python problem thanks!
In: Computer Science
The C function funsum below takes three arguments -- an integer val and two function pointers to functions f and g, respectively. f and g both take an integer argument and return an integer result. The function funsum applies f to val, applies g to val, and returns the sum of the two results. Translate to RISC-V following RISC-V register conventions. Note that you do not know, nor do you need to know, what f and g do, nor do you know what registers f and g use.
long long int funsum(long long int val, long long int (*f) (long long int), long long int (*g) (long long int))
{
return(f(val) + g(val));
}
In: Computer Science
The coordinates of an object moving in the xy plane vary with time according to the equations x = −5.08 sin ωt and y = 4.00 − 5.08 cos ωt, where ω is a constant, x and y are in meters, and t is in seconds.
(a) Determine the components of velocity of the object at t = 0. (Use the following as necessary: ω.) v with arrow = m/s
(b) Determine the components of the acceleration of the object at t = 0. (Use the following as necessary: ω.) a with arrow = m/s2
(c) Write expressions for the position vector, the velocity vector, and the acceleration vector of the object at any time t > 0. (Use the following as necessary: omega for ω and t.) r with arrow = m v with arrow = m/s a with arrow = m/s2
(d) Describe the path of the object in an xy plot.
In: Physics
Usually, Djikstra’s shortest-path algorithm is not used on
graphs with negative-weight edges because it may fail and give us
an incorrect answer. However, sometimes Djikstra’s will give us the
correct answer even if the graph has negative edges.
You are given graph G with at least one negative edge, and a source
s. Write an algorithm that tests whether Djikstra’s algorithm will
give the correct shortest paths from s. If it does, return the
shortest paths. If not, return ‘no.’ The time complexity should not
be longer than that of Djiksta’s algorithm itself, which is Θ(|E| +
|V | log |V |).
(Hint: First, use Djikstra’s algorithm to come up with candidate
paths. Then, write an algorithm to verify whether they are in fact
the shortest paths from s.)
In: Computer Science
A parallel plate capacitor with plate separation d is connected to a battery. The capacitor is fully charged to Q Coulombs and a voltage of V. (C is the capacitance and U is the stored energy.) Answer the following questions regarding the capacitor charged by a battery.
For each statement below, select True or False.
1. With the capacitor connected to the battery, increasing d increases U.
2. After being disconnected from the battery, inserting a dielectric with κ will decrease V.
3. With the capacitor connected to the battery, decreasing d decreases Q.
4. After being disconnected from the battery, inserting a dielectric with κ will increase U.
5. After being disconnected from the battery, inserting a dielectric with κ will decrease C.
6. After being disconnected from the battery, decreasing d increases C.
In: Physics
A. Define intracellular digestion, extracellular digestion, and complete digestion. B. List at least one organism that has each type of digestion. C. List one way the systems are all similar. D. List one way they are all different from each other
In: Biology
In: Biology
1-sec-butoxy-3-chloro-1-methylcyclohexane
a) Draw structure
b) Draw all possible stereoisomers with R/S designation and label them A,B, C, etc.
c) List the enantiomers:
d) List the diastereomers:
e) List the meso compounds:
In: Chemistry