Sorry if this is in the wrong section. I didn't know which homework section I should use.
1. Homework Statement
Human subjects are involved in a medical study to represent certain segments of the population in terms of blood lead concentration, PbB. First, assume the normal distribution...
Well yeah, I'm trying to my best to follow my own "convention" because I just started coding ( engineering in college). However your use of bracket does help more the understanding of the code. As for the 0000001, I was just thinking of a long number, I changed it to 11111111. Thanks both of...
Would you mind telling me telling me what is the NullPointer stack trace?
Also I figured it out using system.out.print. Realized the array I was trying to copy was null, so I was initializing a null by a null, because modulus of 3 gives a remainder of 0,1, or 2. Silly me.
However, I would...
I'm trying to understand the concepts of it, it was not covered in my class but it is clearly stated that i have to use it. I have the circuit diagram and I needed to connect my decoder to my ram in order to make my lab work, that is to connect my decoder to a timing generator. However in this...
So I know my lab describes the chip as 4 bits size cell. Which is fine, it clearly states that. I mean I understand that a nibble is a 4 bit number. However, sorry if I got that wrong, my class never covered the units ( really basics I know...). We only used bits or bytes. Hence my reference to...
first i apologize for the formatting I am on a cellphone. I am in software engineering and we have to take a hardware class and we didnt need any pre requisites for that class. as for the decoder, I am aware of it being being kilobits. My question was directed towards the truth table. As in why...
First I really don't know where I should post this (I'm assuming this place is fine, maybe coursework?)
So I built a circuit that includes a 1k x 4 RAM ( so I'm assuming that stands for 4000 Kb but I wouldn't see why you'd need to write 1k x 4 RAM)
Furthermore, I'm having trouble...
import java.util.Scanner;
public class PatternChosen {
public static void main(String[] args) {
// TODO Auto-generated method stub
int rowsForUpperTriangle = 0, c=1;
Scanner userInput = new Scanner(System.in);
System.out.println("Please input your value")...
Hey so I have to make a pattern in the shape of a diamond as follow:
1
123
12345
123
1
So first, I wrote the code without using a variable n as the number of rows ( from an input from the user) but just the constant i = 5 ( I am sorry for the variable names, I made many patterns and...
Tried using the template, had to put pictures because this concerns a diagram question! sorry guys!
1. Homework Statement
Consider the circuit shown in the figure below which consists of a positive edge triggered flipflop with selective load capability (identified as MICK) and a level...
not at all, my assumption of n being even was just wrong, but that's all I've been taught before so I thought it was a set definition. anyway case closed.
Homework Statement
Prove that the following four statements are equivalent:
(a) n2 is odd.
(b) 1 − n is even.
(c) n2 is odd.
(d) n2 + 1 is even.
Homework Equations
None really, just the use of different proofs ( indirect, etc...)
The Attempt at a Solution
I'm having trouble with this one...
Homework Statement
For each of the premise-conclusion pairs below, give a valid step-by-step argument ( proof ) along with the name of the inference rule used in each step
premise { ¬ p → r ∧ ¬ s , t → s , u → ¬p , ¬w , u ∨ w } conclusion : ¬t ∨ w
Homework Equations
All...
So I'm guessing the first thing to do is reduce the truth table either using theorems or karnaugh map right? ( hence why you asked)... If so then I got the following
FAB 00 01 11 10
C
0 0 1 0 1
1 1 0 1 0
and then I group together if I remember correctly and...
P.S I know I am not supposed to use attachment but there are no way for me to input the table in a clean way... same for the logic circuit drawing. Would anyone mind helping me?
1. Homework Statement
Homework Equations
AND gates require both input to be True to get a true ouput
NOT...
It is that name which is odd. I know that the class containing the main method has to bear the same name as the file name. That's why I am completely confused
Hey so I have to compile a project... there are two parts to it, one where I just have to display a series of sentence and another one a bit more complicated... I am using tutorialspoint.com because I don't have any compiler on the desktop at school :/ It is unfortunately giving me this error...
Homework Statement
Write the following statements in predicate form, using logical operators ^,∨, (NOT - negation but don't know where the symbol is :/) , and quantifiers ∀,∃. Below ℤ+ denotes all positive integers {1,2,3,...}.
I need help with this first statement:
For any x, y ∈ ℤ+ the...
Homework Statement
((p_r)^(q_r))<-->((p^q)_r) Prove whether the following statement is a tautology , contigency or contradiction using a truth table.
Homework Equations
The Attempt at a Solution
I did the truth table, but this whole thing is one statement no? What do I compare? the first...
Yeah it was a stupid mistake, I was going fast and stressing out over an exam. I should've noticed that replacing y = ux into the equation can allow me to factor out x^2 because the function is homogeneous.
I'm sorry, I'm not understanding. why you took the derivative of y. I was taught ( and my book explains) a different way. For instance, we just have to find a coeffiecient of xα to then create a separable DE. anyway, I'll check again later, maybe this will help getting a clearer answer? :/
Well I know I can use substitution to reach a separable equation. If not, I know I can use υ(x,y) and multiply it to my equation. My question was more towards the substitution method because I don't completely grasp the subject.
I know how to verify if exact, hence why I chose substitution, but I am kinda stuck at how to factor my xα. Unless I didn't understand your answer correctly, to me it seems as if you're solving to see whether or not if exact.
So I just started my DE class and I'm kinda stuck on solutions by substitutions. My book explains it as just having a homogeneous function of degree α, we can also write M(x,y) = xαM(1,u) and N(x,y) = xα (1,u) where u = y/x
I don't understand how the substitution simplifies our life ( there's...
alright first time I was posting it. Sorry about that, for the closing bracket I should've done it straight at the beginning, but I didn't out of sheer laziness ( but i should put it so I definitely don't forget). I understand the idea about the "final" being misspelled. As for numerical value...
Hey so I have to write a program that does the following for my class ( Object oriented programing 1, so basic stuff really...)
An online music and apps store offers all apps for 3$ each and all songs for 7$ each. The store
requires members to prepay any amount of money they wish, and then...
WHat I was trying to say is that, it doesn't make sense to me ( how i see it ) that if I state 1+1 = 3 then 2+2=4 then why would the whole statement be true if only half of it is in realitiy.
Before I make a fool of myself let me just say I just had my first class today and the book/ teacher aren't helpful in my question. And I'm not even sure I'm in the right section, this is just my major
1. Homework Statement
"If 1+1=3 then 2+2=4"
Homework Equations
We just covered conditional...
Hey, so I saw in my book that it used H2SO4 reacted with an alcohol to protonate it ( makes sense). But sometimes it uses diluted H2SO4 in warm and other times it will be H2SO4 in heat. I was just wondering, what difference do reaction hold?
What seems odd is that water is formed anyway in the...
I react it with 2Li so I would get LiCl + LiCH2CH2CH2CH2CH2CH2 To be fair, I am sorry for the notation, I've never really been shown how to write the formula of a cyclic molecule
Homework Statement
is treated first with Li and then with CuI.
The product reacts with chlorocyclopentane
Homework Equations
The Attempt at a Solution
[/B]
I don't know where to start exactly... it doesn't seem to be anything I've learned so far (substitution, addition ,elimination).
All...
Ah I see what you're getting at, once I've found two indepedent solutions i can just put it in a matrix and solve it. I see what you mean by not spanning R^3 too. it will span R^2 if I understand correctly.
I could also find the dot product, apart from that I am not too sure what I could use...
Homework Statement
Let S, a subspace of ℝ3 be the set of vectors orthogonal to vector (1,2,3)
a)describe Set S
b) find a basis for Set S
2. Relevant Equations
That a basis has to be linearly independent and span R^3
The Attempt at a Solution
[/B]
I would do this:
I know that vector (1,2,3)...
I'm just having a small trouble understanding the difference ( occurred while I was doing exercise).
A basis is defined as
1)linearly independent
2)spans the space it is found in.
Here is where I get confused:
To determine whether or not a set spans a vector space, I was taught to find its...
Oh I didn't know you guys had a matrix format that I could use... sorry about that
So, trivial solutions are only determined whether or not a x or y ( in this case) variable would have a leading one or not? just seems kinda odd that one row could be 0 without affecting the depedence of the vector
I just did this ( realized where my mistake was)
(2,3,-1)=a(1,0,3)+b(3,c,1) where the second vector comes from w1*1+)-3W3=0 --> W1=3W3 so I can just say 3,c,1,
Solve for 3 variables with 3 equation. I just didn't use the c but took any number at first, without understanding why ^^
Well I don't know what I am trying to say is that I see a contradiction, more like " what is wrong in my reasoning" type of thing. I'll give a concrete example I just did, maybe my question will be more clear
Is this set of vector linearly dependent
(8,-1,3),(4,0,1)
8 4 0 -->...
But if I solve for a matrix of a 2x3, I would end up with a free variable no? ( 3rd line, after I REF or RREF the matrix) so that would make it linearly dependent
So I was reading my textbook and I confused myself about a theorem
Where if S={v,v2,...,vr} and in ℝn then if r>n, then it is linearly dependent
It doesn't make sense to me because if we look at 2 vectors in ℝ3 (lets say u and v)
we have u=(u1,u2,u3) and v=(v1,v2,v3)
So i do...