Recent content by mar2194
-
M
Determining the switch rating for a lamp
Yah, all I was doing was taking a spliced wire and putting in a switch. When I said it didn't work I just meant that when I flip the switch, nothing happens. I realized I was using the portion of the switch that was rated for 3 amps @ 250 V instead of 6 amps @ 125 V. However, the switch didn't...- mar2194
- Post #5
- Forum: Electrical Engineering
-
M
Determining the switch rating for a lamp
NVM problem solved; there were 3 connectors for 2 different voltage ratings. I just fiddled with it a little.- mar2194
- Post #2
- Forum: Electrical Engineering
-
M
Determining the switch rating for a lamp
I'm in the process of repairing a lamp that I found with a broken switch. I know the lamp mechanism is functioning because I've bypassed the switch and plugged it in and it works fine. I needed to buy a new switch and they all have a current rating. I'm using 1 60 W bulb with a standard North...- mar2194
- Thread
- Lamp Switch
- Replies: 6
- Forum: Electrical Engineering
-
M
How can I efficiently vary and run a program with multiple input parameters?
Here is the input file (run1.input): # grid size (sx1, sx2, sx3) 256 256 256 # sampling size, smoothing & nyquist (dx1,dx2,dx3,beta,nq) 0.5 0.5 0.5 0.5 2 # origin position & rotation 0 0 0 # geographic origin (longitude and latitude), UTM zone and real length unit (usually m or km) #...- mar2194
- Post #7
- Forum: Programming and Computer Science
-
M
How can I efficiently vary and run a program with multiple input parameters?
What do you mean write the input file to my binary executable? Where do I write the for loops?- mar2194
- Post #4
- Forum: Programming and Computer Science
-
M
How can I efficiently vary and run a program with multiple input parameters?
Actually I realized (I think...) that my logic loop should look like: A=1 B=2 D=12 While A<11 While B<11 While D<13 D++ B+3 A+5 ??- mar2194
- Post #2
- Forum: Programming and Computer Science
-
M
How can I efficiently vary and run a program with multiple input parameters?
Hey everyone, I'm currently running a program which accepts an input file. The input file has various parameters, 3 of which I need to change, run again, etc. The range of those 3 parameters are 15 values for one, 12 values for another and 10 for another, so I have 15*12*10 (=1800) possible...- mar2194
- Thread
- Shell
- Replies: 9
- Forum: Programming and Computer Science
-
M
Separation of Variables for a Rocket Launched in a Gravitational Field
Homework Statement Taking the equation of motion for a rocket launched from rest in a gravitational field g, m\dot{v} = -\dot{m}v_{ex} - mg , and knowing that the rocket ejects mass (fuel) at a constant rate \dot{m} = -k (where k is a positive constant), so that m = m_{o} - kt . Solve...- mar2194
- Thread
- Field Gravitational Gravitational field Rocket Separation Separation of variables Variables
- Replies: 1
- Forum: Advanced Physics Homework Help
-
M
Graduate Tricky Integration in Rocket-Momentum Derivation
Thanks! So the integration is from m to m initial, correct? That gives me the result the textbook has. Thanks a bunch! I knew it was simple, but it's literally been 2 years since I've taken Calculus. ~mar2194~ -
M
Graduate Tricky Integration in Rocket-Momentum Derivation
Hi, I was going through a fairly simple proof about rockets/momentum, taking into account the changing mass of the rocket as well as the velocity of the exhausted fuel. I was getting towards the end of it having felt like I understood it well, until I got to this point (this is from a Junior...