Search results

  1. F

    Engineering Modelling a DC Motor

    This is not homework but I would consider it to fall in this category. I am working on a robotics project and wanted to simulate a PID controller before implementation. I need to find a transfer function for my motor for this to work. Homework Statement As mentioned above, I need to find...
  2. F

    FFT in MATLAB help

    Homework Statement Find the Fourier Transform of a unity amplitude rectangular pulse of width 2T, where T=[ims]. Use MATLAB to plot the magnitude response of this signal's FT. Homework Equations The Attempt at a Solution I got something that LOOKS right, but the first...
  3. F

    C/++/# Sudoku Solver in C++

    Hey everyone, I'm trying to teach myself C++ and I recalled that a few years ago my Comp Sci major buddy of mine did a sudoku solving program as a project for a class so I decided to tackle it on my own. I'm getting some headway, but I'm having trouble figuring out a way to "brute force"...
  4. F

    Determine where a complex function is analytic

    Homework Statement Determine the region of analyticity of ln|z| + i*arg(z) and justify your answer. Homework Equations The Attempt at a Solution I said that if z=x+iy, the function has a singularity when both x and y are equal to 0 since ln(0) is undefined and arg(z) = arg(x+iy) =...
  5. F

    Gauss' Law, Spherical Charge Distribution

    Before I get into the question I'd just like to state that this is not homework, but questions in my book that I'm going through to prepare myself for the midterm in one week. I got stuck at a few questions, here's the first one. I won't ask the next until I'm done with this and so forth...
  6. F

    Cockroft Walton Voltage Multiplier Problems

    Hey everyone. So I like to have electronics projects going on to keep me on my toes during the academic year and my project I chose for fall ended up being a Cockroft Walton Generator. Basically, I was just looking to make a simple negative ion generator from it. I finally got the parts in...
  7. F

    Curl of a vector field

    Homework Statement Assume the vector function A = ax(3x^{2}2y^{2})-ax(x^{3}y^{2}) a) Find \ointA\cdotdl around the triangular contour shown in Fig. 2-36 [it is a triangle with base and height of one on the x and y axis. the curl travels so that the normal vector is in the -z direction] b)...
  8. F

    Insulating bare wire

    Hey guys, I'm working on a little project and I need to build an inductor. Now the problem is I have bare copper wire (like, a ton of it) and was hoping there was a way that I could insulate it so I could use it like typical magnet wire? Is it possible for me to just use a spray-enamel? I...
  9. F

    Optimization of C code: smoothing an image.

    Homework Statement I need to optimize this given code: /* A struct used to compute averaged pixel value */ typedef struct { int red; int green; int blue; int num; } pixel_sum; /* Compute min and max of two integers, respectively */ static int min(int a, int b) { return (a < b ...
  10. F

    Transfer Functions

    Homework Statement Determine the transfer function for the circuit shown in figure 5 if the output voltage is defined as the voltage drop across the 20\Omega resistor. Note there are two sources in this circuit. Homework Equations H(s) = \frac{Vo}{Vi} The Attempt at a Solution...
  11. F

    Optimization of C Code Loop Unrolling

    Homework Statement I need to optimize this given code that rotates an image 90 degrees so it runs at least three times faster: void naive_rotate(int dim, pixel *src, pixel *dst) { int i, j; for (i = 0; i < dim; i++) for (j = 0; j < dim; j++) dst[RIDX(dim-1-j, i, dim)] =...
  12. F

    Assembly level debugging problem

    Homework Statement (This is x86 Assembly Language.) You are charged with maintaining a large C program, and you come across the following code: typedef struct{ int left; a_struct a[CNT]; int right; } b_struct; void test(int i, b_struct *bp) { int n = bp->left + bp->right...
  13. F

    Determine Posititive Feedback Gain in an Oscillator

    NOTE- Images are thumbnails, click to enlarge Homework Statement Show that the positive feedback gain expression for the circuit below is v2/v0 = 1/[3 + j(wL/R - R/WL)] (anything in red I added to the original problem) Homework Equations (above) The Attempt at a Solution Along with the...
  14. F

    Energy of resulting Gamma Rays after particle annihilation

    Homework Statement An electron and a positron are moving side by side in the +x direction at 0.50c when they annihilate each other creating two gamma rays. What is the energy of each photon? Homework Equations (mc2 + K+) + (mc2 + K-) = E1 + E2 The Attempt at a Solution I solved...
  15. F

    Engineering RC Circuit rise time

    Homework Statement Calculate the rise time (the time require for the output to go from 10% to 90% of its final, or steady state, value) for the circuit shown above when a step input of 5V is applied for the following resistor values: 1k, 10k, 100k, 1000k with C equal to 0.01uF...
  16. F

    Engineering Mesh Circuit Analysis

    Homework Statement Determine the Voltage across Resistor R6. Homework Equations KVL The Attempt at a Solution I called the bottom left Loop I1, the bottom right I2 and the top I3. All currents are flowing clockwise. From there I set up my KVL expressions for each loop: -12 +...
  17. F

    Finding Electric Field on the Bisector of a Non-Uniformly Charged Rod

    This question has been giving my brain some trouble. I think i have the Electric Field integral calculated correctly (but I'll post that up here too just in case I'm wrong which is likely) but when I get down to finding the charge on the rod I literally am making a wild guess at the solution...
Top