Search results for query: *

  • Users: MarcL
  • Order by date
  1. M

    Statistics problem using cumulative from mean

    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...
  2. M

    Java NullPointerException error in Java (Eclipse)

    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...
  3. M

    Java NullPointerException error in Java (Eclipse)

    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...
  4. M

    Java NullPointerException error in Java (Eclipse)

    class Cellphone { private String brand; private long serialNumber; private double Price; public Cellphone (String br, long sN, double Pr) { brand= br; serialNumber = sN; Price = Pr; } public Cellphone(Cellphone aCellphone)...
  5. M

    Help with decoders and RAM [Digital Logic]

    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...
  6. M

    Help with decoders and RAM [Digital Logic]

    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...
  7. M

    Help with decoders and RAM [Digital Logic]

    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...
  8. M

    Help with decoders and RAM [Digital Logic]

    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...
  9. M

    Java Help with a pattern using nested loops (java)

    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")...
  10. M

    Java Help with a pattern using nested loops (java)

    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...
  11. M

    Timing diagram of flip flop and d-latch

    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...
  12. M

    Can't understand solution by substitution, any help?

    Late reply but yeah, there are a lot of ressources' however, sometimes it is nice to hear a "explain like I'm 5 " version. but thank you!
  13. M

    Discrete Math Proof: Proving Equivalence of 4 Statements

    I somehow read d... definitely sorry about that. I'll go crawl in a hole now.
  14. M

    Discrete Math Proof: Proving Equivalence of 4 Statements

    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.
  15. M

    Discrete Math Proof: Proving Equivalence of 4 Statements

    I promise you I did, if you want to see the assignment yourself you can check :P --> #4 http://users.encs.concordia.ca/~grahne/comp232/assgn2.pdf
  16. M

    Discrete Math Proof: Proving Equivalence of 4 Statements

    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...
  17. M

    Propositional logic question

    you're allowed to re-use ¬w>?
  18. M

    Propositional logic question

    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...
  19. M

    Engineering Building a logic circuit from a truth table

    AB 00 01 11 10 C 0 0 1 0 1 1 1 0 1 0 Thanks!
  20. M

    Engineering Building a logic circuit from a truth table

    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...
  21. M

    Engineering Building a logic circuit from a truth table

    Oh, well I know how, I just didn't try because this was a set of problems before it was taught, but I'll do that right now. ^^
  22. M

    Engineering Building a logic circuit from a truth table

    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...
  23. M

    Java Having trouble compiling my java project. Help?

    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
  24. M

    Java Having trouble compiling my java project. Help?

    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...
  25. M

    Transforming predicate form to quantifiers

    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...
  26. M

    Proving a tautology using truth table

    Well I used ^ for conjunction ( so AND) and _ for inclusive or because I can't the the opposite of ^ :) ( it was my own guess)
  27. M

    Proving a tautology using truth table

    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...
  28. M

    Solving a differential equation

    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.
  29. M

    Solving a differential equation

    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? :/
  30. M

    Solving a differential equation

    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.
  31. M

    Solving a differential equation

    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.
  32. M

    Can't understand solution by substitution, any help?

    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...
  33. M

    Solving a differential equation

    Homework Statement Solve (xy+y2+x2) dx -( x2 )dy = 0 Homework Equations to verify if exact http://upload.wikimedia.org/math/5/2/c/52cc749bb1c32abf1dccf613bd847a6e.pngM/[PLAIN]http://upload.wikimedia.org/math/5/2/c/52cc749bb1c32abf1dccf613bd847a6e.pngy [Broken] =...
  34. M

    Java Java: Questions About Music & App Store Program

    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...
  35. M

    Java Java: Questions About Music & App Store Program

    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...
  36. M

    Basic Discrete math question

    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.
  37. M

    Basic Discrete math question

    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...
  38. M

    Question about alcohol protonation

    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...
  39. M

    Determine the products of all stages in the following reaction

    And then I react it with 2CuI if I remember correctly to finally react it with another alide, correct my if I am wrong.
  40. M

    Determine the products of all stages in the following reaction

    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
  41. M

    Determine the products of all stages in the following reaction

    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...
  42. M

    Subspace / basis problem

    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...
  43. M

    Subspace / basis problem

    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)...
  44. M

    Difference between span and basis

    lets say its in r^3, multiply the 3 vectors by a coefficient k1,k2,k3. put the coefficient in a matrix, find the determinant.
  45. M

    Difference between span and basis

    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...
  46. M

    Question about vector independence

    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
  47. M

    Write a vector as the combination of 2 other vectors

    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 ^^
  48. M

    Question about vector independence

    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 -->...
  49. M

    Question about vector independence

    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
  50. M

    Question about vector independence

    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...
Back
Top