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...
Hello,
I am working toward my new Stirling engine prototype for a particular application. Let me start with a small description of what I am going to try anyways:
I will experiment this with a small electrical heater:
- heat input: 50-100 W (heater thermall insulated on all sides but the...
Homework Statement
I need to simulate a certain circuit in p-spice, and get the transient response of a capacitor and a zener diode. I know how to do everything, except for the source voltage. The requirement is that the voltage has to be:
V_{in} = 10 sin (2\pi\times 50 t)
I don't know...
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...
Hello,
My dvd player just bombed out on me and I am deciding whether or not to buy a new dvd player or to set up my laptop to be able to play dvds on my tv.
I have a Sony KD32FS130 32" FD Trinitron WEGA Television for your reference.
The problem is that my dell notebook only has...
Hello,
this is something I am not sure about, so want to make sure before burning my friends electronics :biggrin: .
we are trying to use 68hc12 for processing a sensor input, but the signal from the sensor comes out to be more than 5 volts (around 15 or 20 v), so what we need is to scale the...
I am trying to design a 3 1/2 digit 20V voltmeter using the ICL7106 and I was wondering if anybody could help me with a few things:
1. How could I get it callibrated to a max 20V reading?
2. I will be using it as an onboard voltmeter for a variable DC power supply. If I tap the source 18V...
Hello,
I am doing a senior design project on converting corn into ethanol. I would like to perform my mass and energy balances on hysys. However, HYSYS does not have glucose and many other streams of substances that would be flowing through our process. Is there a method to input new...
I have a simple statics problem that I am trying to solve. The rigid body to be analyzed is an upside down L-shaped beam connected together at the corner by a pin. The object has a height of 4.5 meters vertically, by 3.5 meters in the horizontal. Additionally, the object is secured to the ground...
I'm trying to model a circuit. Part of this circuit is a guitar amplifier. I don't know what kind of circuitry is inside the guitar amp, it manufactures often list the input impedance in the product specifications.
When they say input impedance, do they mean the impedance between the...
Hey guys,
I'd like to build a 400W powered amplifier for small signal input from a microphone source to amplify vocals out of PA speakers. I have found the following schematic and I have two questions for whomever is willing to help:
1) Is this circuit adequate for the application?
2)...
1-How could an RL combination be connected to produce an output voltage which is the time derivative of the input voltage?
2-Show that taking the time derivative of a sinusoidal function [such as cos(wt+a)] always has the effecton increasing its phase pi/2.
3-İf the internal series...
http://img420.imageshack.us/img420/9300/img02643tt.jpg
hello this is the problem i am working on. i started out by using the admittance parameter equation
i1 = y11*v1 + y12*v2
i2 = y21*v1 + y22*v2
so i1 is 20/50 by ohms law. so i1 = 0.4 so by the first equation i get v2 = 32 V.
also...
Hello everyone, I'm confused on what they want me to do here:
it says:
Find a minimum gate input count realization of the enabling logic using AND and OR gates and inverters. Well This is my truth table i came up with, and the "enabler" is the M, the master switch( 0 secruit system on, 1...
I have a USB Iomega zip drive (100MB) that uses both an external power supply and USB cable. Subsequent models of the same drive take power (5V) directly off the USB from the PC. I wish to modify my zip drive to make it a bus-powered device. The external PS measures +5V open circuit. The spec...
There are a few things that I can't remember learning in my Computer Programming class, and I haven't been able to find the answers. Can anyone tell me how to:
-round a number to a certain number of decimal places?
-use dates (month day, year) as response to input as a single variable...
The only good way to gather user input in games and other real-time applications in Windows that I know if is to use Direct X. I really hate using OS-specific APIs and libraries. Is there any sort of platform-independent input library out there that does a decent job of giving the programmer...