In an ADC, assume that Vref is connected to 2.3 V. Find the following. Assume an 9-bit option.
a-) Step Size = Answer mV (answer must have 3 digits after the decimal point, rounded).
b-) D8..D0 values if Vin = 1.39V Answer (answer should be rounded and then converted)
c-) D8..D0 values if Vin = 2.17V Answer (answer should be rounded and then converted)
d-) Vin if D8..D0 values are 001010101 => Answer V (answer must have 3 digits after the decimal point, rounded).
e-) Vin if D8..D0 values are 111011011 => Answer V (answer must have 3 digits after the decimal point, rounded).
In: Electrical Engineering
Using a light source with a power density of 500 W /
m2 for a PV module with a surface area of 0.92 m2, the measured
values at the Tcell = 55 ˚C are given as follows.
The current and voltage value corresponding to the maximum power
point is Vmpp = 30 V and Impp = 1.45.
The open circuit voltage is Voc 38 V and the short circuit
current is Isc 1.70.
The temperature coefficient for this module Voc is 0.16 V / ° C
(ignore for Isc).
According to this, calculate the following.
a) What is the efficiency of this module for the specified
measurement conditions?
b) Calculate the Voc, Isc, Vm, Im, and Pmax values for this module
in standard test measurement conditions (STC).
c) What is the efficiency of the module in STC?
In: Physics
(a) Find the equilibrium solution, or critical point, of the given system.
(b) Use a computer to draw a direction field and phase portrait centered at the critical point.
(c) Describe how solutions of the system behave in the vicinity of the critical point.
x′ =−0.25x−0.75y+8, y′ =0.5x+y−11.5
(d) Let x= xc+u and y= yc+v, where xc and yc give the critical point you found in (a). Plug these into the system and show that you obtain a homogeneous system u′ = Au for u = (u v)T .
(e) Solve the resulting homogeneous system for u and v, and show that the solutions you obtain match the phase portrait that you generated in (b).
In: Advanced Math
A ballistic pendulum consists of a large heavy mass, M on the end of a very light rod of length L. The rod is free to pivot at the top and the mass is attached at the bottom, so it hangs like a pendulum. A second mass, m, is fired horizontally at speed v straight into the large mass, and they stick together. The pendulum swings to a maximum angle ?m.
a)Show that you can measure v by measuring ?m, that is obtain an expression for v in terms of M, m, L, g and ? m.
b)Look up the mass and speed of a bullet, and figure out how mass
ive M should be if L is about 0.25 m and we want a maximum angular displacement no greater than 45?.
In: Physics
We have to calculate the value of Power of an electric DC motor IN WATTS made from scratch. The only known values that we have are: The Voltage (V) which is 9V and the current (I) that we are using which is 3 A, also the value of "n" which is n= 90.16 m (the number of turns of the wire used in the motor)
I already asked here for this problem and someone answered this:
Voltage = 9 V, current = 3 A, number of turns = n = 90.16
Power of motor = n*V*I = 90.16*9*3=2434.32 Watt
But I don’t think this is correct since the motor has power in and power out. Can someone else help? Thank you!
In: Physics
part a) When a 5.0-μF capacitor is connected to a generator whose rms output is 31 V, the current in the circuit is observed to be 0.25 A. What is the frequency of the source? (answer must be in Hz)
part b) An inductor has a 58.4-Ω reactance when connected to a 60.0-Hz source. The inductor is removed and then connected to a 47.0-Hz source that produces a 115-V rms voltage. What is the maximum current in the inductor? (answer must be in A)
part c) A sinusoidal voltage
Δv = (50.0 V)sin(180t)
is applied to a series RLC circuit with
L = 50.0 mH,
C = 170.0 μF,
and
R = 50.0 Ω.
(a) What is the impedance of the circuit in Ω?
(b) What is the maximum current in the circuit in A?
In: Physics
Please answer part A
Three spaceships all broadcast a signal at the same frequency f0. Spaceship #1 is at rest, spaceship #2 is traveling away from #1 at a speed v, and spaceship #3 is traveling away from #1 in a direction opposite that of #2 and also at a speed v. Determine the following in terms of f0 when v = 0.40c.
(a) Frequency measured by #1 broadcast from #2
(b) Frequency measured by #1 broadcast from #3
(c) Frequency measured by #2 broadcast from #1
(d) Frequency measured by #2 broadcast from #3
(e) Frequency measured by #3 broadcast from #1
(f) Frequency measured by #3 broadcast from #2
In: Physics
Follow the 3 steps to get the answers of the following questions:
a) What is the probability that the price of the Economics text book will not rise over the next semester?
b) What is the probability that neither book price will rise?
c) Given that the price of the Accounting text book does not rise, what is the probability that the price of the Economics text book will rise?
d) Give your opinion and justify the answer that whether price rises for two text books are mutually exclusive or not?
9. Differentiate between Discrete Random Variable and Continuous Random Variable?
10. Classify the following in either Discrete Random Variable or Continuous Random Variable and state the reason for your answer:
11. What is the probability distribution of a random variable when the coin is tossed twice describing the number of heads that turn up? Show all the steps.
12. What are the four conditions for Binomial Experiment?
13. According to the records, 30% of the businesses in US does sponsor in large scale. Just this morning 10 businesses sponsored.
In: Statistics and Probability
Instructions: You are givne main.c and exam.h. Your task is to implement exam.c. write the code for these 20 functions on repl.it.
*/
#include
#include "exam/exam.h"
int main(void) {
return 0;
}
/*
/*
exam.h
*/
#ifndef _EXAM_H_
#define _EXAM_H_
// 1
// Display title of code and your name. ( koorsh maghsoodi my name)
// See exam.txt for sample output.
void exam_hello_world(void);
// 2
// Display argc and all argv[] values.
// See exam.txt for sample output.
// returns: number of arguments
int exam_cmd_line_args(int argc, char *argv[]);
// 3
// Display info about signed integer data types.
// See exam.txt for sample output.
// Return number of signeed integer data types
int exam_signed_integer_data_types(void);
// 4
// Display info about unsigned integer data types.
// See exam.txt for sample output.
// Return number of unsigned integer data types
int exam_unsigned_integer_data_types(void);
// 5
// Display info about these data types:
// int8_t, uint8_t
// int16_t, uint16_t
// int32_t, uint32_t
// See exam.txt for sample output.
// Return number of unsigned integer data types
int exam_stdint_integer_data_types(void);
// 6
// Display info about floating-point data types.
// See exam.txt for sample output.
int exam_floating_data_types(void);
// 7
// Return the sum of three integer numbers.
// See exam.txt for sample output
int exam_sum(int n1, int n2, int n3);
// 8
// Given two integer numbers, return:
// -1 if n1 is less than n2
// 0 if n1 is equal to n2
// 1 if n1 is greater than n2
// See exam.txt for sample output
int exam_compare(int n1, int n2);
// 9
// Given two integer numbers,
// return the sum of n1 to n2.
// For example, if n1=2 and n2=4,
// return sum of 2+3+4, i.e. 9
// Do this using a for loop.
int exam_for(int n1, int n2);
// 10
// Given two integer numbers,
// return the sum of n1 to n2.
// For example, if n1=2 and n2=4,
// return sum of 2+3+4, i.e. 9
// Do this using a while loop.
int exam_while(int n1, int n2);
// 11
// Given two integer numbers,
// return the sum of n1 to n2.
// For example, if n1=2 and n2=4,
// return sum of 2+3+4, i.e. 9
// Do this using a do_while loop.
int exam_do_while(int n1, int n2);
// 12
// Display info about enum data types.
// See exam.txt for sample output.
typedef enum {
EXAM_ERROR_OK = 0,
EXAM_ERROR_BAD_PARAM,
EXAM_ERROR_OUT_OF_RANGE,
EXAM_ERROR_IO
} exam_error_t;
exam_error_t exam_typedef_enum_data_types(void);
// 13
// Add a student.
// If the max students is reached return
// EXAM_ERROR_OUT_OF_RAMGE,
// else return EXAM_ERROR_OK
// See exam.txt for sample output
#define EXAM_MAX_STUDENTS 3
typedef struct {
int id;
float average;
char *name;
} student_t;
exam_error_t exam_add_student(student_t *s);
// 14
// List all students
// See exam.txt for sample output
// Return the number of students listed
int exam_list_students(void);
// 15
// Remove a student by id
// See exam.txt for sample output
// Return EXAM_ERROR_OK if studentt was
// removed. Else return EXAM_ERROR_BAD_PARAM
exam_error_t exam_remove_student_by_id(int id);
// 16
// Remove a student by name
// See exam.txt for sample output
// Return EXAM_ERROR_OK if studentt was
// removed. Else return EXAM_ERROR_BAD_PARAM
exam_error_t exam_remove_student_by_name(char *name);
//17
// Write the list of students to a file.
// Return EXAM_ERROR_OK on success or
// Return EXAM_ERROR_BAD_PARAM if filenmae is NULL.
// Return EXAM_ERROR_IO if file write error
exam_error_t exam_write_students_to_file(char *filename);
//18
// Read the list of students from a file.
// Return EXAM_ERROR_OK on success or
// Return EXAM_ERROR_BAD_PARAM if filenmae is NULL.
// Return EXAM_ERROR_IO if file write error
exam_error_t exam_read_students_from_file(char *filename);
//19
// Given an array of students (e.g. just read in from a file)
// display them to the console.
// Return the number of students displayed.
int exam_display_students_from_list(student_t s[], size_t size);
//20
// For each of the following files, read them in,
// and then display the following info:
// Filename, Number of Lines, Number of Characters
// main.c....
// exam/exam.h....
// exam/exam.c...
// Return the total number of LINES of all files,
// i.e. lines of main.c + exam.h + exam.c
int exam_return_total_lines(void);
#endif
YOUR SAMPLE OUTPUT SHOULD LOOK LIKE THIS:
1 - exam_hello_world
CSCI 112 Final
Code by Norman McEntire
2 - exam_cmd_line_args
argc: 4
argv[0]: main
argv[1]: one
argv[2]: two
argv[3]: three
value returned: 4
3 - exam_signed_integer_data_types
type size
---- ----
char 1
short 2
int 4
long 8
value returned: 4
4 - exam_unsigned_integer_data_types
type size
---- ----
unsigned char 1
unsigned short 2
unsigned int 4
unsigned long 8
value returned: 2
5 - exam_stdint_integer_data_types
type size
---- ----
uint8_t 1
uint16_t 2
uint32_t 4
value returned: 3
6 - exam_floating_data_types
type size
---- ----
float 4
double 8
value returned: 2
7 - exam_sum
n1: 10, n2: 20, n3: 30
value returned: 60
8 - exam_compare
n1: -10, n2: 20
value returned: -1
8 - exam_compare
n1: 10, n2: 10
value returned: 0
8 - exam_compare
n1: 20, n2: 10
value returned: 1
9 - exam_for
n1: 10, n2: 20
value returned: 165
10 - exam_while
n1: 10, n2: 20
value returned: 165
11 - exam_do_while
n1: 10, n2: 20
value returned: 165
12 - exam_typedef_enum_data_types
EXAM_ERROR_OK: 0
EXAM_ERROR_BAD_PARAM: 1
EXAM_ERROR_OUT_OF_RANGE: 2
EXAM_ERROR_IO: 3
13 - exam_add_student
id: 123, average: 94.50, name: John
Currrent num_students: 0
Student added. updated num_students: 1
value returned: 0
13 - exam_add_student
id: 234, average: 95.60, name: Sally
Currrent num_students: 1
Student added. updated num_students: 2
value returned: 0
13 - exam_add_student
id: 345, average: 96.70, name: Billy
Currrent num_students: 2
Student added. updated num_students: 3
value returned: 0
13 - exam_add_student
id: 456, average: 97.80, name: Paul
Currrent num_students: 3
Max number of students reachd!
value returned: 2
14 - exam_list_students
Total of 3 students:
id: 123, average: 94.50, name: John
id: 234, average: 95.60, name: Sally
id: 345, average: 96.70, name: Billy
value returned: 3
15 - exam_remove_student_by_id
id: 234
FOUND! Student removed!
value returned: 0
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
15 - exam_remove_student_by_id
id: 999
NO STUDENT FOUND!
value returned: 1
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
16 - exam_remove_student_by_name
name: Billy Bob
NO STUDENT FOUND!
value returned: 1
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
16 - exam_remove_student_by_name
name: No One
NO STUDENT FOUND!
value returned: 1
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
13 - exam_add_student
id: 234, average: 95.60, name: Sally
Currrent num_students: 2
Student added. updated num_students: 3
value returned: 0
13 - exam_add_student
id: 456, average: 97.80, name: Paul
Currrent num_students: 3
Max number of students reachd!
value returned: 2
14 - exam_list_students
Total of 3 students:
id: 123, average: 94.50, name: John
id: 234, average: 95.60, name: Sally
id: 345, average: 96.70, name: Billy
value returned: 3
17 - exam_write_students_to_file
filename: (null)
Error: filename is NULL
value returned: 1
17 - exam_write_students_to_file
filename: asdf.txt
value returned: 0
18 - exam_read_students_from_file
filename: asdf.txt
123 94.500000 John
234 95.599998 Sally
345 96.699997 Billy
value returned: 0
19 - exam_display_students_from_list
id: 11, average: 90.11, name: Sam
id: 22, average: 90.22, name: Jack
id: 33, average: 90.33, name: Lisa
value returned: 0
20 - exam_return_total_lines
main.c: lines: 253, chars: 6881
exam/exam.h: lines: 158, chars: 4059
exam/exam.c: lines: 398, chars: 10282
Total lines: 809In: Computer Science
The mathematics section of a standardized college entrance exam had a mean of 19.819.8 and an SD of 5.25.2 for a recent year. Assume these are well modeled by a Normal distribution.
a) About what percent of students scored over 29?
b) About what percent of students scored under 14?
c) About what percent of students scored between 14 and 29?
In: Statistics and Probability