I am trying to input a txt file into my fortran program. My txt file is a 9x2 table of integers, all I want is to display the values in the same format in my program. I tried using,
program name
implicit none
integer :: input(9,2), I, J
open (unit=20, file="values.txt")
DO I =...
Homework Statement
If an alternating input sinusoidal voltage is applied to the circuit shown, and if the Zener V(z) is about half of V(in), sketch what V(out) will look like. Explain briefly the operation in one half the output cycle.
(Assume no load across V(out) terminals)...
Why is the right side called the "input?"
I'm looking at linear, 1st order ODEs, like
y' + p(t)x = q(t)
The notes I'm looking at are calling q(t) the "input" of the system, but I'm not sure why. I understand how to solve the equations, but I must be looking at it differently or something...
Homework Statement
A digital voltmeter is used to measure the resistance and voltage of a circuit.
The resistance and voltage measured is used to calculate current flowing.
What errors does the input resistance of the voltmeter introduce into the determination of current?Homework Equations
I...
i'm having trouble with user input & error checks. after the first iteration, if there is an error, the correct error message shows up. but for the next iterations, the error messages for the opening of the input and output files show along with the correct one. idk if that made any sense...
Hi seniors,
I am struggling something with my audio ADC.
I bought AD7811 from farnell, which is an ADC to convert my analog data into digital. But at this stage, i found that a SERIAL CLOCK INPUT is needed to supply into the IC.
However, I m wondering what exactly the clock i should...
Homework Statement
600Kg of water at 25C has to be frozen into ice in an ideal refrigerator. The room temperature is 20C. What is the minimum amount of work input to the refrigerator to achieve this? ( specific heat capacity of water = 4170 J/Kg/K, latent heat of melting ice = 3.33 x10^5 J/Kg...
Just recently started toying around with this idea. and was looking for some good input from anyone more experienced in this area. I am currently working on a much smaller railgun but I plan on working on this larger one.
I am working with some others on this project I am more of the...
Think there is a simple solution to this but couldn't find any... Well as the title describes, i am wrote a program that generates, sorts, does some calculations and assings all results to a variable which is set before. Can i get the user assign the variable name which results will be assigned...
Homework Statement
a 25% efficient machine performs external work of 200 J. what input work is required?..please answer,,is the answer is 800 J?
Homework Equations
The Attempt at a Solution
800 J
So I have to build a boombox using transistors as amplifiers for my Engineering Electronics class in college and it works and everything. The only thing I have a question about is I want to make my own cord to use my iphone as the audio input signal that is to be amplified. At the lab they have...
So, a heated debate started over whether input really exists since the equals sign is a case of identity. For instance, x^2 = 16. x could either be 4 or -4, but both sides of the equation (both expressions) are really only expressing the same thing... the value: 16. One wouldn't normally...
Homework Statement
I don't understand how the website below got the equations for the output and input resistances
Homework Equations
http://www.statemaster.com/encyclopedia/Common-collector
I would like to ask you what it is meant by "symmetric input" in the instrumentational amplifier schematics and in the differential amplifier? I can`t understand what is the difference between symmetric and non symmetric input and output as parameters. Can anyone explain ?
Thanks
Hi,
I need to realize the function f = yz + (x'+z')w
using 4, 2 input NAND gates.
The function can be written in the appropriate form like so:
f = yz+wx'+ wz'
f ' = (y'+z')(w'+x)(w'+z)
(f ')' = (y'+z')'(w'+x)'(w'+z)'
Its just that i don't know how to to it when you are required to...
Hi, this isn't a homework question, but this is one of the best technical forums I've seen for stuff like this so I thought I would give it a shot.
Im an aerospace engineering student (3rd year) and like all engineers I like to tinker with stuff, but electrical wiring like this is not my...
how to get an input matrix from user?
WITHOUT using the MATLAB ‘MULTIPLICATION COMMAND’ write down your own program to implement the matrix multiplication M = A*B, where A and B are two constant matrices of dimensions l x m and m x n, respectively. The program should:
Prompt the user to...
Hey everyone, I have a kind of large problem.
I am trying to input something in C, a number between 0 and 50,000, using scanf(). I understand how scanf generally works, and it does for the most part, but for some reason if the number I enter is greater than 37504, the program just stops...
For an inverting op amp with the positive input grounded, the equation for V(out) is (Vin)*Rf/Rin. Thats fine
But what if the positive input is not grounded? What if there is a voltage applied to that input as well? How would I find V(out) when the positive input voltage is larger than the...
A question regarding power supply efficiency: The theoretical maximum efficiency of a full-wave rectifier circuit with a resistive load and no smoothing is around 82%. In the calculations to derive that the resistance of the source or the rectifiers does not enter into the equation, so the...
I'm not sure if ii'm asking this question on the right forum but how do i put a neat equation into here to ask a question instead, for example, 4+x^3/2. How do i put that into a neat equaiton like you would find in a textbook? Thanks.
How To Implement This Functions With 2 Input NAND without using any gates as inverter ??
A=WX’Y’+W’X+W’Y
B=WX’Y’+WX’Z’
C=W’X+WX’Y’
E=Y’Z+W’Z+WX’Y
F=WX’+W’XY+WY’Z
D=WX’+W’XY+WY’Z
G=W’X+WX’Y’+WY’Z
H=WX’Z’+WY’Z
J=WY’+W’X+W’Y
see the attachment , the question in part e
there are...
I would appreciate any help, opinions or explanations on this as I am receiveing many different views currently.
I measure the discharge voltage of a single power supply (laptop ac charger) using a digital chart recorder. On a trial and error basis I achieve the data as close as possible to...
Homework Statement
http://s3.amazonaws.com/answer-board-image/ad36bcba0e2d0b49d556f054de19d124.jpg
Variable y(t) is the position of the block of mass m, and u(t) is the position of the plate on the right. The spring is unstretched when y = u. We can think of u(t) as the input and y(t) as...
I am trying to solve a little problem that I have. I need to create a simple win32 console app that displays a multiple option menu on a x second loop. That part is easy. Where I am getting stuck is this: While the app is looping outputting the menu, it also needs to be able to check for a...
hi..
i need to ask something related to c programming.. (and i don't know if this is the right place to put up this question.. so please redirect me if necessary!)
i've read that using fflush(stdin) in C (to flush the input stream) is not a defined way to use fflush..
but, i continue to see...
Realizing the RD Experiment. Troubleshooting/bug fixing.
Some of you may remember the experiment, that I've proposed a few months ago. The idea was to make a {laser/symmetric beam splitter/photo-multipliers/counters} setup, make one branch 'more entropic' and see if that would make any change...
Guys I know how to solve the simple ones but this one has complex roots
I have to find the zero input response
(D-1)(D2+1)y(t)=(D2+2)f(t)
y(0)=4 y'(0)=3 y''(0)=3
D2= D square. Y' = first derivative Y''= secondI know the roots are +1, j and -j
But I don't know how to solve or...
Homework Statement
1- write an algorithm to find out whether an input is a prime number
or not.
2-write aa program to compute square root by Newton method
3-write an algorithm to show an input is perfect or not.
4-
Homework Equations
The Attempt at a Solution
Homework Statement
Consider the function f(w1,w2,w3,w4) = SUM( m(0, 1, 3, 6, 8, 9, 14, 15)). Derive an implementation using the minimum possible number of three-input LUTs.
Homework Equations
Where SUM(m(0, 1, 3, 6, 8, 9, 14, 15)) is the sum of the min terms, a Sum of Products that...
Just a little input...
Not sure why my very first question has not received any input? I was hoping on a little insight. Maybe the question is just absurd, and no one wanted to waist their time. Or no one could understand it? Who knows... Amateurs anyway! (thats me)
Hi,
I need to get a precise linear oscillatory motion from a rotary input? Its for a compact carving tool. Any ideas on how to control the displacement? Thnks
Homework Statement
I am given a block diagram (attached below) with 2 inputs (one being disturbance) and I need to find the closed-loop transfer function. I can get the closed-loop transfer function just fine for a normal 1 input system, but I have yet come across one with 2 inputs. I need the...
Hi,
I am working on a project and my friend said to me the gas turbine shaft power is 'x' amount of power. It is directly coupled to a generator so the power to the generator is the same 'x' amount of power.
How does that shaft power relate to the output of the generator? The shaft spins...
Homework Statement
The question extends more than this but this is where I have difficulty.
An uneven road surface is modeled by a sinusoid with amplitude 25mm and the car is driven at 100km/hr. Use the bode plot calculate earlier to obtain and explain the steady state force response when...
Hi. I need to write a fortran program that calls an EXE, call it "runner.exe" that in turn runs an input file, call it "run.inp". Thing is, I would normally run "runner.exe" manually, and type in "run.inp" and "runner.exe" gives outputs. But now, I have 100's of input files and I can't affod...
What physical processes input information into and extract information out of a quantum computer? What I really want to know is: How do you get a qubit or quantum dot to take on a particular state and cause its' entangled partner to choose a state?
Thank you!
Hi
Just have a quick question, for audio input (AUX) into speakers would it be possible to make a powerless radio receiver plug in, or would it require power?
Thanks
Replacing a Ni-Mh battery to AC input?
Hello,
I have a cordless drill which use a 14.4v Mi-MH batter source. The battery does not work anymore. It will costs me $150. Here is my question. Is it possible to replace the power source from the battery to AC adaptor. I mean as a DIY. I have done...
If I have a designed gear box that needs a motor to run , and according to my calculations the input power for the gear box must be 10 Kw at 10 r.p.s must I chose a motor with the same input specifications ?
when I buy a motorwith certain specifications like : 10 kw 3000 R.P.M , does these...
Hi,
I need to get 3 mircophone input into my computer so I can do some signal processing (using matlab) as close to real-tme as possible. I was wondering if anyone had any idea how to do this.
I was thinking of using usb mircophones but I don't know how to get it to read 3 microphone...
Homework Statement
I am going to do some paraphrasing here, because the question is for automotive dynamics class, but is a pretty general question in its simplest form (1 degree of freedom):
Find the time response to a step input of y=10cm.
This is for a vertically oriented...
Hihi,
I put a photodiode's legs to both the input for a differential amplifier
http://en.wikipedia.org/wiki/File:Op..._Amplifier.svg
Then, the voltage difference of the photodiode is amplified and its output is then connected to a resistor which is not shown in the above picture. The...
format statement to read input in fortran
hello everyone,
I've to read this following line in fortran,
I don't know to read the exponential form
please help me
3.49E+03 2.73E+01 2.01E-01 9.16E-02 5.94E-02 5.11E-02 3.27E+04 3.27E+04
can somebody help me to write the format...
I'm trying to create a function that will calculate any amount of resistors in parallel but I do not know how to allow an undetermined amount of arguements for input (rather than a fixed amount). Basically it would look like this pll(R1,R2,R3,Rn) where Rn would be anything from R2 to R1000 or...
Homework Statement
The question is about the concept of the operational amplifier in electronics.
For an ideal op. amp., it is said that the input impedance is infiinite and the current allowed by the op.amp. through its input terminal zero or in the case of a practical op.amp., it is...
Hello All,
I have been doing a few basic experiments with coils lately and I am trying to figure out the simplest way to drive a coil at its natural resonant frequency so that I can get the Q as high as possible. My only problem is that I don't have a sine wave generator that I can use. I...