Recent content by EugP
-
E
Maginutude and Phase Angle for Nyquist Plots
Magnitude and Phase Angle for Nyquist Plots Homework Statement The assignment is to draw a Nyquist Plot of a certain transfer function. The problem is that I can't figure out how they got the angle for the plot. G(s) = \frac{k(s+2)}{(s+1)(s-3)} Homework Equations...- EugP
- Thread
- Angle Phase Phase angle Plots
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
E
How to divide a 24MHz clock to get 1kHz (in Verilog)
Well the module "freq_divider" is an instance in my top level file. Maybe I defined it wrong or something, because in my simulations, the signals don't do anything. Here is the new frequency divider and top level modules (I tried cleaning up the top level as much as possible, because most of the...- EugP
- Post #13
- Forum: Electrical Engineering
-
E
How to divide a 24MHz clock to get 1kHz (in Verilog)
Oh no no I changed the counter size as well (naturally) to 15 bits.- EugP
- Post #11
- Forum: Electrical Engineering
-
E
How to divide a 24MHz clock to get 1kHz (in Verilog)
My clock input is now 24MHz, and the current_q == 1302, I have counter == 24000.- EugP
- Post #9
- Forum: Electrical Engineering
-
E
How to divide a 24MHz clock to get 1kHz (in Verilog)
Yup. Here is the code I wrote last summer: module freq_divider( clk, //Clock 50 MHz reset_n, //Active low reset divided_frequency, //Divided frequency new_freq, current_q //Current value ); input clk; input reset_n; output divided_frequency; output [11:0] current_q...- EugP
- Post #7
- Forum: Electrical Engineering
-
E
How to divide a 24MHz clock to get 1kHz (in Verilog)
Thanks everyone for the replies. negitron - it makes sense to me, but I don't know how to implement it Fenn - I'm trying to use the FPGA on the development board, but thank you anyway, I might use that for some other project. berkeman - I've looked at a bunch of Verilog tutorials, but I can't...- EugP
- Post #5
- Forum: Electrical Engineering
-
E
How to divide a 24MHz clock to get 1kHz (in Verilog)
Hey guys, I'm using the Altera Cyclone II FPGA Development Board, with the goal of controlling a relay. I need to divide 24MHz to get 1kHz, but I don't know how to write the code for it. I know one way to divide it, would be to have a 10bit counter, which will allow me to divide it by 1k...- EugP
- Thread
- Clock
- Replies: 13
- Forum: Electrical Engineering
-
E
How Can I Convert Binary to Decimal?
I'm trying to figure out how to convert from decimal to binary. I've read a few explanations but I still don't understand. Could someone please help? The method I've read about invloved dividing the number you want to convert, by 2 each time, and looking at the remainder.- EugP
- Thread
- Binary
- Replies: 3
- Forum: Electrical Engineering
-
E
Calculating Stokes's Theorem on a Triangular Contour
Actually yes, and I'm stuck on that too. Also, I thought I figured out how to finish the first part, but it's not working out. Here's what I'm getting: \oint \bold{E} \cdot d\bold{l} = \oint_0^1 xy dx + \oint_0^1 -x^2-2y^2 dy + \oint_c^a \bold{E}_{ca} \cdot d\bold{l} but I don't know...- EugP
- Post #10
- Forum: Calculus and Beyond Homework Help
-
E
Calculating Stokes's Theorem on a Triangular Contour
Alright I got it. Thanks for all the help guys.- EugP
- Post #8
- Forum: Calculus and Beyond Homework Help
-
E
Calculating Stokes's Theorem on a Triangular Contour
Awsome. So now that I set it up, I have \oint_a^b xy d\bold{l}, but I don't know l, or am I missing something obvious?- EugP
- Post #5
- Forum: Calculus and Beyond Homework Help
-
E
Calculating Stokes's Theorem on a Triangular Contour
Thanks for the quick reply. I have 2 questions: 1) Shouldn't the integral from a to b, be \oint_a^b \bold{E}_{ab} \cdot \hat x d\bold{l} since ab is horizontal? 2) I'm not sure what to put for \bold{E}_{ab}. Should it be the component that acts only in the direction of ab, in other words...- EugP
- Post #3
- Forum: Calculus and Beyond Homework Help
-
E
Calculating Stokes's Theorem on a Triangular Contour
Homework Statement For the vector field \bold{E} = \bold{ \hat x} (xy) - \bold{ \hat y} (x^2 + 2y^2), calculate the following: \oint \bold{E} \cdot d\bold{l} around the triangular contour shown. I don't have a scanner at the moment so I will explain the drawing. The picture is a right...- EugP
- Thread
- Theorem
- Replies: 11
- Forum: Calculus and Beyond Homework Help
-
E
How Do You Convert Cartesian Vector Coordinates to Cylindrical Coordinates?
Homework Statement Transform the following vector into cylindrical coordinates and then evaluate them at the indicated points: \vec A = (x + y)\hat x at P_1 (1, 2, 3) Homework Equations r = \sqrt{x^2 + y^2} \phi = \tan^{-1}(\frac{y}{x}) z = z The Attempt at a...- EugP
- Thread
- Coordinate Vector
- Replies: 1
- Forum: Precalculus Mathematics Homework Help
-
E
Solving Permutation Index Homework Problems
Thanks for the replies. I accidentally left A and C as vectors, didn't mean to. And now I see what I have to do, thank you very much!- EugP
- Post #5
- Forum: Calculus and Beyond Homework Help