I have arbitrary input numbers, and an arbitrary output. I want a program to automatically give me a function (various constants and mathematical symbols) to convert from the input to the output. What's the best way of doing this?
Are there any programs to do this for you, perhaps which use...
when i got a normal struct variable code:
struct human {
char name[50];
int age;
float height;
};
struct human TR = {"Tony", 12, 1.5}; \\this works
but when my object is a part of an array and i take just one object
the same data input method doesn't work
why is...
Hi everyone, Maybe it's useful for someone who are not familar with latex but want to enter complex formulas.
I suggest a new way to insert latex formated equations.
I use LYX (www.lyx.org) ,it is a open source Latex WYSIWYG word processor. It will display the the latex code in another...
Homework Statement
Water flows into a nozzle at 3.00 m/s at a pressure of 1.31*105Pa. What should the ratio of input to output diameter be if the flow is to remain steady? What is the flow speed at the exit?
Homework Equations
P_{{\rm{input}}} + \frac{{\rho v_{{\rm{input}}}^2 }}{2}...
Homework Statement
A 0-10 V, 10-bit A/D converter displays an output in straight binary code of 1010110111. Estimate the input voltage to within 1 LSB (Least Significant Bit).
Homework Equations
Resolution = Efsr/2^M. (where M= 10 in this case)
Eout = X/2^M (where Eout is the...
Matlab- input arguments of type 'double' ?
Hi there, I was wondering if anyone could help me.
Yesterday I wrote the command [z,r]=ode45(@rad03,[0,10],0); and it worked but today I am writing exactly the same thing but keep getting the message:
?Error using ==>feval
Undefined function or...
Hi all,
Can someone please help me with my MATLAB code. I am trying to get the program to quite if the user tries to input a non-numeric value, and will display an error message. I have got it to work useing the MATLAB input('promt','s') command, but i don't want to use this command because a...
I want to make a overvoltage and undervoltage protection circuit. Overvoltage should trip at 460VAC and undervoltage at 180VAC. Any idea how to implement it.
I need help writing the code for a simple lottery machine. Here are the key points.
Ask the user to choose 3 numbers between 1 and 20. Randomly generate 3 winning numbers that are between 1 and 20. Determine how many, if any, of the users numbers match the winning numbers. If (hypothetically)...
Dear Friends
How can I input a series of datafiles into the Gambit preprocessor package? Let assume that these datafiles contain 2 columns representing the points of a 2D curvature. There is no text header above the column, and datafiles are available in both *.dat and *.txt extensions. Also...
hi everyone,
I have recently started studying abvout control engineering, but am not getting a grasp on the basic idea behind controls. All the textbooks say that the output should track the input ideally , but why is it so? i.e if i give a step input to a system, the response should ideally...
I can see the lack of input is frustrating, i too am so frustrated about the lack of testable results, but that is of no concern, so long as there exists a way forward, what is the way we should go?
htp://s290,photobucket,com/albums/ll279/transgalactic/?action=view¤t=IMG_8838,jpg
the main problem comes when in one input i need to divide the number by 2
(subtract a zero from the original input)
while in other control input i need to multiply by two
(which meens to add a zero to...
Default How To Implement This Function With 2 Input Nand..
(+) =XOR
F(w,x,y,z)=(w'+x'+y')(+)xyz
i tried to :
F(w,x,y,z)=(w'+x'+y')(+)xyz=(w'+x'+y')' *(xyz) + (w'+x'+y')(xyz)'=
=(wxy)(xyz)+(w'+x'+y')(x'+y'+z')
..
..
in the end i get
=wxyz+w'x'+w'y'+w'z'+x'+x'y'+x'y'+y'+y'z'+y'z'...
Okay, so I am trying to use the breadboard and I have a hard time with a three input AND gate. Guess I can do a schematic
http://imageiso.com/out.php/i17298_3inputandgate.JPG
So in my bread board, I have pins 1 and 2 as inputs..with pin 3 as a LED (output), and I have a jumper connecting...
I'm pretty ignorant when it comes to statistics, so I'm hoping that there's an easy answer to my question (this is the good part of ignorance):
If I have run a set of Monte Carlo simulations of some process, where I have some set of input parameters that I've drawn from known distributions...
Hey all, My 12 year old son wants an email account. We discussed some basic rules which he agreed to so I told him I would hook him up with gmail. The youngster for some reason balked at gmail and insisted on msn hotmail. I told him I would look at the merits of each and decide. I use gmail and...
Homework Statement
Using basic gates and/or building blocks, design a logic circuit that takes in a 4 bit input and will compute the number of 1s in the input.
Homework Equations
The Attempt at a Solution
I have no idea where to start can anyone help please.
Hi, I've posted another thread asking for general help on how to solve numerically with excel. Here is my specific situation if anybody is well versed with Mathematica programming. I'd appreciate any help.
I've successfully created a FindRoot to solve eqn's for one set of data points...
Hello people
I am trying to revise for my exam next week..I have searched everywhere but still I can't find how to calculate input resistance,stage input resistance and output resistance of a class A common emitter amplifier.
any help will be highly appreciated.
mathslova
Hey. As the title dipicts, is there any relationship between CFM and PSI, linear or non-linear?
Any mathamatical relationship either?
CFM (cubic feet per minute) is a volume over time, and PSI (lbs per square inch) is a weight essentially over an area. So I take it, there's no real way to...
I have a pioneer kdc-217 stereo for my car. Currently I use an fm transmitter and it works fine but it is just a hassle to get out and I get some interference. I found a link online on how to add a aux input by basically soldering a 1/8 inch jack to a chip that has a right line and left line...
Dear all. I am trying to solve an ODE in MATLAB using ODE45 solver. But the programe keep saying
? Input argument "y" is undefined.
Error in ==> lvv at 4
yprime=[a*y(1)-b*y(1)*y(2);-r*y(2)+c*y(1)*y(2)];
Can anybody be of help? Please.
The complete code is this:
function...
What are these? Is it like some 'physical ring' where you out a wire through it or just a connection to make both input to the op-amp common? How does this really help? Seems like you're making a source common to both like gnd so if the gnd is noisy it becomes common for both and rejects it...
Im sure this is a very basic question. Anyways I need to test the input going to my c++ program before cin stores it. (ive basically written a very simple 4 function calculator program and i just want to make sure that my program does not fail if someone were to enter for example a letter...
Homework Statement
Stan raises a 1200 N piano a distance of 5.00 m with pulleys and pulls on 20 m of rope. What is input work and mechanical advantage? Homework Equations
Wo=Wi
MA=Fr/FeThe Attempt at a Solution
I calculated output work as 1200N*5.00m=6.00*10^3 and my book says Wo=Wi; but the...
hi
i have one quiry related to input & output impedance of any circuit?
generally for cascading we expect High Input impedance & Low output impedance to avod loading effect?
But what is loading effect ? exactly what happen to current & voltage when loading ouucures ?
how this theory...
I'm trying to design a digital circuit which will accept input from a touchscreen. Does anyone know if a touchscreen is manufactured which has input/output cables which are meant to be read by a digital logic circuit? (yes, it'll be a very complicated digital logic circuit).
Even if I can...
Steve does 50 J of work to push a 3.0 kg shopping cart out of his way. If the cart started from rest, what was its speed immediately after this push? (Assume there was no friction.)
Does anyone know how to calculate velocity with just given energy?... is it calculating the kinetic energy?
I was trying to measure the delay time of an external interrupt by putting an oscilloscope probe on the input interrupt and a probe on an output pin. The interrupt is falling-edge triggered, so when i short the pin to ground, the interrupt is triggered. The pin has a 1M external pull up on the...
Homework Statement
for an LTIC system described by the transfer function
H(s)=\frac{s+2}{s^2+5s+4}
find the response to the following everlasting sinusoidal inputs:
5*cos(2t+30 degrees)
The Attempt at a Solution
H(jw) = \frac{jw+2}{4-w^2+j5w}...
I am an ee student and i want to start a project with a microcontroller and i was wondering how i would go about useing/creating input buttons in my circuits... possibly i would like something like the button arangement on a channel changer. Can someone direct my to a resource about how i could...
Would the input impedances be the same for a low-pass and high-pass filter at very high and very low frequencies?
I know how the input impedance would be for a low-pass filter but not sure about a high-pass.
Homework Statement
An object of mass M begins with a velocity of 0 m/s at a point. A power input of P watts goes directly to kinetic energy until the object has traveled a distance of X meters. What is the final velocity of the object?
So, we have constant variables
M = mass
X = distance...
1. A heat pump is being used to keep the temperature inside a house at 23 C, while the tmeperature ouside is -6.0 C. The heat pump is providing heat inot the house at the rate of 8.8 kW with a coefficient of performance of 5.6.
A) What power input (in KW) is needed to run the heat pump?
B)...
Hi,
I am using a light sensor connected to an analog input of a microcontroller. My circuit turns an output high when there is a voltage of 2.5V or higher at the analog input i.e when there is a light shining on the sensor. But sometimes my output goes high even though I have no light shining...
Latex is way too clunky. Can I use Maple to compose the math that I put in my posts? I like the WYSIWYG method of inputing math that it offers because I can't think in those lines of Latex code.
? Input argument "y" is undefined.
HII Friends
Iam little bit new to MATLAB and iam trying to use ode45 and wrote code as
function dy = sampleode(t,y)
dy=zeros(2,1);
dy(1)=-0.192*y(1)*log(y(1)/y(2).^3);
dy(2)=(1/3)*(5.85-0.00873*y(2).^2-0.15*0*y(2)-0.02*y(2))...
Homework Statement
In the circuit below, find the resonant frequency (\omega_0) and Z_{IN}\left(\omega_0\right).
http://img143.imageshack.us/img143/9845/problem1444dx4.jpg
Homework Equations
\omega_0\,=\,\frac{1}{\sqrt{LC}}
The Attempt at a Solution
The resonant frequency is easy to find...
Homework Statement
How do I copy and paste input commands in mathematica and paste them in forums or hotmail so they don't appear as they do in the post below 'Mathematica'?
This has been bothering me for sometime. It would be of great interest to find out how to avoid it.
Hi all,
I am trying to run a fortran 77 program which was compiled using g77 and it comes up with the following error ::
:confused:
I want the program to read some data files and analyse them so I have written the list like this ::
I have no idea why this error is coming up... I...
Can I first find the input impedance relative to the segment nearest to the load, then use the found input impedance as the load in next iteration? Or can I add the characteristic impedances, since they are sort of in series?
I'm trying to write a program that will have the user enter in an expression in the form: A (operation) B (operation) C and print out the result. After the user enters in the expression, I want to parse out each individual digit or expression by reading the ASCII code of each individual...
I'm supposed to show that while a capacitor is being charged, the energy flows into the region between the plates at the same rate as the electrostatic energy in the capacitor increases. I'm not sure exactly what is being asked of me... are there formulae for these?
I feel stupid.
Hello everyone,
I am using an external flip-flop chip to synchronize an external asynchronous input into a microcontroller. So, what I am wondering about is how to provide a clock into the FF chip... it has to run at the same rate as the system clock of the microcontroller. Is there a way to...
Hi, I was wondering why is it that the input current for an ideal op-amp is always zero? They say that it is zero because of infinite impedence but where exactly is this impedence? Across the op-amp?
it takes an input of energy to convert liquid to vapour ,so increse the entropy
if an increase in entropy is natural, why does this not happen naturally with less effort on its own?
diff eq of mechanical system w/ friction with zero input...
I was wondering how we get around modeling mechanical systems with frictional forces (forces proportional to normal force and in the direction opposite of the motion) and the external force is zero. So, take for example a second order...