Recent content by preimmortal

  1. P

    Low Pass Filter in Software question

    Okay I just implemented the low-pass filter and it does have the affect of "smoothing" out my data, now I want to implement a high pass filter for my data. My main question is, What affect does a high pass filter have on my dataset? For example, I know that the low pass smooths out data and...
  2. P

    Low Pass Filter in Software question

    Ah yes, I did notice that when I was running it in my actual software. It would level off at around 16 if I passed in a large array. I will try implementing your low-pass filter with gain of 1 and see how it works out. Thanks.
  3. P

    Low Pass Filter in Software question

    Hi Everyone, I read an article by Barry L. Dorr about how to implement a Low Pass Filter in software, however, the equation that he gave confused me as I didn't see any sort of convergence to the value desired. So here is the equation: y(n) = (1 - 2^(-k)) * y(n-1) + x(n) x is the input, y...
  4. P

    Karnaugh map - Any reason to flip it, ever?

    There are several ways to write K maps, it really depends on where your variables are situated. The way I learned it, for a 3 variable K map in1 will be in the bottom right, in2 will be in the top middle and in3 will be on the left(bottom). However the configuration is, you can still figure out...
  5. P

    Calculating v_0 and i_0 with KVL & Ohm's Law

    Wow I fail at adding and subtracting. Thanks for your input, got the correct determinants now.
  6. P

    Changing Delimiter to Convert Military Time to Civilian Time

    It looks like the delimiter is not catching the whitespace at the end of the string that you entered. You need to delimit two things: the : and the whitespace character \\s by using a regular expression.
  7. P

    Changing Delimiter to Convert Military Time to Civilian Time

    How are you entering the military time? Say, if it's 2 PM, are you entering 14:00 or 1400? If you are entering it as 14:00, I would suggest using an int to store your values rather than a string, then use nextInt instead of next.
  8. P

    Calculating v_0 and i_0 with KVL & Ohm's Law

    Homework Statement In the figure, calculate v_0 and i_0 when v_s = 1 Homework Equations Using Mesh Currents: KVL: The sum of all voltages around a closed loop is equal to zero. Ohm's Law: V = IR Cramer's Rule: i2 = delta2/deltaThe Attempt at a Solution I first designated the lower left loop...
  9. P

    Thickness of concrete wall to have the same insulating value of 3.5 in. fiberglass

    Thanks DG0628, I used your k values and equation and it worked out fine. I had the k value for concrete incorrect. I also didn't convert from inches to meters.
  10. P

    Thickness of concrete wall to have the same insulating value of 3.5 in. fiberglass

    The problem never tells us the heat conductivity of the two materials, so I can only try to find it online. I'm not sure which to use. Was my setup correct when I set the heat flow? And was the final answer correct (given the correct k values)?
  11. P

    Thickness of concrete wall to have the same insulating value of 3.5 in. fiberglass

    I don't know the correct answer, but I got "Try Again" when I entered it. On another note, k(fiberglass) was rounded to 2 decimal places and I've seen it rounded to .043 or even .045 (depending on temperature), which makes a very large difference.
  12. P

    Thickness of concrete wall to have the same insulating value of 3.5 in. fiberglass

    Okay, so I did try setting the heat flow equal.. -A·k(concrete)·ΔT/Δx = -A·k(fiberglass)·ΔT/Δx = Q So again, A and ΔT are the same k(fiberglass) / 3.5 = k(concrete) / Δx So I found that k(fiberglass) = .04 W/mk k(concrete) = 1.7 W/mk .04/3.5 = 1.7/Δx Δx = 1.7*3.5/.04 = 148.75 in. However, this...
  13. P

    Thickness of concrete wall to have the same insulating value of 3.5 in. fiberglass

    Homework Statement How thick a concrete wall would be needed to give the same insulating value as 3.5 inches of fiberglass? Homework Equations Q = -A·k·ΔT/Δx k = -Q·Δx/A·ΔT The Attempt at a Solution So here, k is equal to the insulating value, and since I want the insulating value...
Back
Top