I'm just beginner in c++ and seek for help. I learn about separate compilation.Try to observe files below:
Poji1.h
#ifndef POJI1_SPEC
#define POJI1_SPEC
class Poji1 {
public:
Poji1();
void ConvToCent(double* temp);
private:
int j;
};
Poji1.cpp
#include %26lt;iostream%26gt;
#include "Poji1.h"
Poji1::Poji1()
{
j=0;
}
void Poji1::ConvToCent(double* temp)
{
int j;
for(j=0; j%26lt;6; j++)
{
*temp++ *=2.54;
}
}
lain.cpp
#include %26lt;iostream.h%26gt;
#include "Poji1.h"
void main()
{
double dblarr[6]={21.0,32.1,43.2,54.3,65.4,76.5...
int j;
Poji1 P;
for (j=0; j%26lt;6; j++)
{
cout%26lt;%26lt;endl%26lt;%26lt;"dblarr["%26lt;%26lt;j%26lt;%26lt;"]="%26lt;%26lt;dblarr...
}
P.ConvToCent(dblarr);
for(j=0; j%26lt;6; j++)
{
cout%26lt;%26lt;endl%26lt;%26lt;"dblarr["%26lt;%26lt;j%26lt;%26lt;"]="%26lt;%26lt;dblarr...
}
}
The errors are:
%26gt;ch -u ./lain.cpp
ERROR: member function '::Poji1()' not defined
at line 8 and ERROR: member function '::ConvToCent()' not defined at line 13 in file C:\Documen. Help!
Separation compilation problem ; C/C++?
need to make your functions public.
Reply:Kai says he's not going to answer that question
Reply:Just two hints. 1. C++ object members are private by default, not public. 2. When you use multiple files look up the extern key word.
I won't say any more, lest this be for a class.
Monday, May 24, 2010
Installing window air conditioner in double hung window?
I just had thermopane double hung windows installed in my house. I don't have central A/C and am wondering how I can install window air conditioning units in my new windows. Thanks!
Installing window air conditioner in double hung window?
most of the time, you can set the unit , o n the window it self
but if you cant do that , you will need 3/4 ply ,and cut out for the unit to sit , maybe use soem type of tape to seal the joint, fro m the wood to the window frame
Reply:alot of the time this is pretty easy. these window units are balanced so they are easy to install. just dont force anything, it will be easier then you think. Goodluck.
Reply:If both windows open....its best to cut a 2X4 the width of the window. Open the windows enough that your A/C will fit in there with the extra space for the 2X4 laying flat. This board needs to be secured in the window on the top part of A/C. The windows will come to rest on top of the boards. Buy some clamps so the windows can't be raised again. Secure the window unit to the top on board and on the bottom of window frame...this will keep someone from pulling your A/C out and stealing it or entering your house at that point.
One other thing...when you secure the board....tilt it down away from house....that way any rain water that gets on it won't run down inside the house.
Installing window air conditioner in double hung window?
most of the time, you can set the unit , o n the window it self
but if you cant do that , you will need 3/4 ply ,and cut out for the unit to sit , maybe use soem type of tape to seal the joint, fro m the wood to the window frame
Reply:alot of the time this is pretty easy. these window units are balanced so they are easy to install. just dont force anything, it will be easier then you think. Goodluck.
Reply:If both windows open....its best to cut a 2X4 the width of the window. Open the windows enough that your A/C will fit in there with the extra space for the 2X4 laying flat. This board needs to be secured in the window on the top part of A/C. The windows will come to rest on top of the boards. Buy some clamps so the windows can't be raised again. Secure the window unit to the top on board and on the bottom of window frame...this will keep someone from pulling your A/C out and stealing it or entering your house at that point.
One other thing...when you secure the board....tilt it down away from house....that way any rain water that gets on it won't run down inside the house.
Help overloading assignment operator in C++?
Trying to overload the assignment operator in C++
Point%26amp; Point::operator=(const Point%26amp; p)
{
if(this != %26amp;p)
{
delete [] label; //Deletes label
label = new char(strlen (*(p.label)));
strcpy(label, (*(p.label)));
x = (*(p.x)); //Copies x.
y = (*(p.y)); //Copies y
}
return *this; //Returns *this.
}
h:\point\point\point\point.cpp(64) : error C2664: 'strlen' : cannot convert parameter 1 from 'char' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
h:\point\point\point\point.cpp(64) : fatal error C1903: unable to recover from previous error(s); stopping compilation
With line 64 commented out:
h:\point\point\point\point.cpp(65) : error C2664: 'strcpy' : cannot convert parameter 2 from 'char' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
h:\point\point\point\point.cpp(66) : error C2440: '=' : cannot convert from 'double' to 'double *'
h:\point\point\point\point.cpp(67) : error C2440: '=' : cannot convert from 'double' to 'double *'
Help overloading assignment operator in C++?
label = new char(strlen (*(p.label)));
strcpy(label, (*(p.label)));
x = (*(p.x)); //Copies x.
y = (*(p.y)); //Copies y
The code above replace with
label = new char(strlen ((p.label)));
strcpy(label, ((p.label)));
x = p.x; //Copies x.
y = p.y; //Copies y
Reply:????
Reply:Ok, The line
Point%26amp; Point::operator = (const Point%26amp; p)
This means that your argument to the function is passed by reference, and returns a reference.
A reference argument is used like a regular argument, no special treatment required.
I believe the assignment operator is redefined as
Point%26amp; Point::operator = (const Point%26amp; p)
The complete function would be
Point%26amp; Point::operator = (const Point%26amp; p)
{
if (this == %26amp;p)
return *this;
char *temp;
double dx, dy;
temp = new char[strlen(p.label) + 1];
strcpy(temp, p.label);
dx = p.x;
dy = p.y;
x = dx;
y = dy;
delete label;
label = new char[strlen(temp) + 1];
strcpy(label, temp);
delete temp;
return *this;
}
hawthorn
Point%26amp; Point::operator=(const Point%26amp; p)
{
if(this != %26amp;p)
{
delete [] label; //Deletes label
label = new char(strlen (*(p.label)));
strcpy(label, (*(p.label)));
x = (*(p.x)); //Copies x.
y = (*(p.y)); //Copies y
}
return *this; //Returns *this.
}
h:\point\point\point\point.cpp(64) : error C2664: 'strlen' : cannot convert parameter 1 from 'char' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
h:\point\point\point\point.cpp(64) : fatal error C1903: unable to recover from previous error(s); stopping compilation
With line 64 commented out:
h:\point\point\point\point.cpp(65) : error C2664: 'strcpy' : cannot convert parameter 2 from 'char' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
h:\point\point\point\point.cpp(66) : error C2440: '=' : cannot convert from 'double' to 'double *'
h:\point\point\point\point.cpp(67) : error C2440: '=' : cannot convert from 'double' to 'double *'
Help overloading assignment operator in C++?
label = new char(strlen (*(p.label)));
strcpy(label, (*(p.label)));
x = (*(p.x)); //Copies x.
y = (*(p.y)); //Copies y
The code above replace with
label = new char(strlen ((p.label)));
strcpy(label, ((p.label)));
x = p.x; //Copies x.
y = p.y; //Copies y
Reply:????
Reply:Ok, The line
Point%26amp; Point::operator = (const Point%26amp; p)
This means that your argument to the function is passed by reference, and returns a reference.
A reference argument is used like a regular argument, no special treatment required.
I believe the assignment operator is redefined as
Point%26amp; Point::operator = (const Point%26amp; p)
The complete function would be
Point%26amp; Point::operator = (const Point%26amp; p)
{
if (this == %26amp;p)
return *this;
char *temp;
double dx, dy;
temp = new char[strlen(p.label) + 1];
strcpy(temp, p.label);
dx = p.x;
dy = p.y;
x = dx;
y = dy;
delete label;
label = new char[strlen(temp) + 1];
strcpy(label, temp);
delete temp;
return *this;
}
hawthorn
C++ Programming- Help Please e with a little problem I'm having with my program.?
Heres the question:
Drivers worried with mileage obtained by automobiles.1 driver kept track of all tanks of gas by recording miles and gallons used for tanks. Develop a C++ program that uses while loop to input the miles %26amp; gallons used for each tankful. Program should calculate%26amp;display the miles/gallon for each tankful. The program should calculate average miles per gallon obtained for all tankfuls
#include %26lt;iostream%26gt;
using namespace std;
int main()
{
double gallon;
double avrge;
double mile;
double milegallon;
counter=0;
cout%26lt;%26lt;"enter gallons used in tank( or 0 to quit) "%26lt;%26lt;endl;
cin%26gt;%26gt;gallon;
counter++;
while(gallon != 0)
{
cout%26lt;%26lt;"Please enter distance in miles"%26lt;%26lt;endl;
cin%26gt;%26gt;mile;
milegallon = mile/gallons;
cout%26lt;%26lt;"Mile per gallon is:"%26lt;%26lt;milegallon%26lt;%26lt;endl;
}
avrge = milegallon / counter;
cout%26lt;%26lt;"Overall average was"%26lt;%26lt;avrge%26lt;%26lt;endl;
return 0;
}
Is my counter correct?
Will 'milegallon' outside while loop have total miles per gallon from inside the loop or do I need to enter more info?
C++ Programming- Help Please e with a little problem I'm having with my program.?
You're close. Don't use a counter.
Instead, what you want to do is keep track of the total miles and total gallons. i.e. totMile += mile and totGal += gallon. When you get out of the loop divide the totMile by totGal to get the ave mpg.
Reply:That is going to be an endless loop. Before the closing } of the while loop you will need to ask how many gallons are used in the trip again. That way the user can say 0 to end the program.
Drivers worried with mileage obtained by automobiles.1 driver kept track of all tanks of gas by recording miles and gallons used for tanks. Develop a C++ program that uses while loop to input the miles %26amp; gallons used for each tankful. Program should calculate%26amp;display the miles/gallon for each tankful. The program should calculate average miles per gallon obtained for all tankfuls
#include %26lt;iostream%26gt;
using namespace std;
int main()
{
double gallon;
double avrge;
double mile;
double milegallon;
counter=0;
cout%26lt;%26lt;"enter gallons used in tank( or 0 to quit) "%26lt;%26lt;endl;
cin%26gt;%26gt;gallon;
counter++;
while(gallon != 0)
{
cout%26lt;%26lt;"Please enter distance in miles"%26lt;%26lt;endl;
cin%26gt;%26gt;mile;
milegallon = mile/gallons;
cout%26lt;%26lt;"Mile per gallon is:"%26lt;%26lt;milegallon%26lt;%26lt;endl;
}
avrge = milegallon / counter;
cout%26lt;%26lt;"Overall average was"%26lt;%26lt;avrge%26lt;%26lt;endl;
return 0;
}
Is my counter correct?
Will 'milegallon' outside while loop have total miles per gallon from inside the loop or do I need to enter more info?
C++ Programming- Help Please e with a little problem I'm having with my program.?
You're close. Don't use a counter.
Instead, what you want to do is keep track of the total miles and total gallons. i.e. totMile += mile and totGal += gallon. When you get out of the loop divide the totMile by totGal to get the ave mpg.
Reply:That is going to be an endless loop. Before the closing } of the while loop you will need to ask how many gallons are used in the trip again. That way the user can say 0 to end the program.
Is C and C++ a dead programming language?
I got very lucky and got hired on with a company that's willing to train me as a Web Developer and Programmer. I'm still a freshman in college doing a double major of Computer Programming and Japanese.
I don't know much, yet, about programming, but before going in to school, on my own research, I heard the countless things that could be done with C++ and moreso important because I want to, eventually, do game programming.
Well I got into a HUGE fight with the lady training me because she said that C++ was dead and that the only languages anyone needs, or should learn, are .NET languages (which I'm currently being taught at work, alongside my C and C++ classes)
I dont want to believe that its a dead language or believe in her claim that anything that can be done in C++ can be done better with a .NET language, and that Microsoft (our vendor) doesn't use C++ in anything anymore.
Is it true that the language is dead? I'd like some help, preferably some articles, on the matter. Thanks
Is C and C++ a dead programming language?
If you want to see how valuable a language is, go to hiring sites like monster.com and dice.com. Take a look at how many offerings are using the language.
For applications that are primarily C and C++:
Windows Kernel
Linux kernel
other unix kernel
vast majority of embedded work is in C, with some C++, followed by assembler and other languages. In fact, this is the area I expect to become the biggest arena. As we get more and more small ubiquitous devices, they will need embedded software.
I work in data acquisition software, writing drivers and communication layers. I primarily use C++ and it is not going away anytime soon.
I find learning C and C++ very useful, because it's closer to the hardware and now I understand things like pointers, indirection and memory management much better than if I had just learned C# or Java.
I don't claim that .NET languages or Java are bad. They all have their uses. Mainly it is what you are interested in. It's always good to know more than one language. Still, ignore people with language religion. Anyone who tells you they have the one true path is full of baloney.
Reply:It is extremely flexible in its ability to solve problems from basic buiness applications to complex scientific applications. This wide range of applications make it a popular language in education and the business world.
The C++ programming language is used to develop a wide range of applications. It can be used by any local business to write a program to do their payroll or solve some other business problem requiring a custom built solution. It may be used by a software developer to create a commerical package for a common application like a word processor or an accounts receivable package. It is also used in Government, Miliatary, aerospace and the scientific community. Most engineering majors are required to take a course in C++ programming as it is widely used in engineering applications.
Reply:C++, being an OOPs language, is the successor to C for intensive application (such as games and back-end applications). Incidentally, I believe Microsoft C++ is one of their .NET Languages. Since Visual Studio 2005, Microsoft dropped the .NET nomenclature from Visual Studio, but Visual Studio 2005 (and the new Visual Studio 2008) supports C++, Visual Basic (which has becomes more fully Object Oriented) which are suitable for compute intensive game programs and back-end service services which run on a server to support light web-browser based applications written in C# , J#, JScript and ASP.NET.
The Web-browser based applications has to be light-weight because many PCs are low power for financial reasons, and most laptops are low-power for long battery-life. This put a lot of load on the server applications supporting the web-based applications (like network games). I think Google is pushing a business model where the user pays a monthly fee to use the storage, server-based programs and compute power of their servers.
Bottom line seems to be there should be lots of need for both type of programming languages.
Reply:C and C++ are NOT going anywhere anytime soon. You may use other languages for certain things but you will need C and C++ skills for a long time to come. The person training you is obviously living in a Windows only world. At my last company we used primarily various flavors of UNIX for image processing. Every time someone brought up using Java or some other language to do the work, we'd code it up and the customers would complain that it was too slow. I currently work in real-time processing and we stick with C and C++ due to the speed required, etc. Game programming will definitely require a good knowledge of C and C++.
Reply:She is right, web applications are hot right now but only in the business world I believe. Doing work through Windows default IE web browser is better than having to install executables and then hoping each machine will work with it. I honestly think web applications function better with SQL as well.
Reply:First of all, good for you for sticking up to the teacher :)
Second, you are right and your teacher is dead wrong. In today's world, the only place where you won't need to know C or some variant of it is if you're doing web programming, or writing apps for phones or pdas. Just about every application on your computer right now was coded in C. That your teacher believes C is dead is just ridiculous. You're right about having to know C for game programming. No other language comes close to the power that C has for low level/hardware programming. Modern games have to hook into graphics cards and make lots of system calls, and if you don't know C you're going to be running at 2 frames per second.
Reply:Im a computer science major and i had to take C and C++ , i will say that they are the best and more comfortable and easy prog languages i ever study.
Reply:What she is on about with console applications is rubbish, using QT alongside C++ is amazing you can make awesome interfaces she probably didnt get that far into learning C++ she did hello world and deciede to go back to her protective windblows machine, if C is dying then why is it still used to make 90% or more of todays OS's she is loopy show her what you can do with C++ and that should shut her up
I don't know much, yet, about programming, but before going in to school, on my own research, I heard the countless things that could be done with C++ and moreso important because I want to, eventually, do game programming.
Well I got into a HUGE fight with the lady training me because she said that C++ was dead and that the only languages anyone needs, or should learn, are .NET languages (which I'm currently being taught at work, alongside my C and C++ classes)
I dont want to believe that its a dead language or believe in her claim that anything that can be done in C++ can be done better with a .NET language, and that Microsoft (our vendor) doesn't use C++ in anything anymore.
Is it true that the language is dead? I'd like some help, preferably some articles, on the matter. Thanks
Is C and C++ a dead programming language?
If you want to see how valuable a language is, go to hiring sites like monster.com and dice.com. Take a look at how many offerings are using the language.
For applications that are primarily C and C++:
Windows Kernel
Linux kernel
other unix kernel
vast majority of embedded work is in C, with some C++, followed by assembler and other languages. In fact, this is the area I expect to become the biggest arena. As we get more and more small ubiquitous devices, they will need embedded software.
I work in data acquisition software, writing drivers and communication layers. I primarily use C++ and it is not going away anytime soon.
I find learning C and C++ very useful, because it's closer to the hardware and now I understand things like pointers, indirection and memory management much better than if I had just learned C# or Java.
I don't claim that .NET languages or Java are bad. They all have their uses. Mainly it is what you are interested in. It's always good to know more than one language. Still, ignore people with language religion. Anyone who tells you they have the one true path is full of baloney.
Reply:It is extremely flexible in its ability to solve problems from basic buiness applications to complex scientific applications. This wide range of applications make it a popular language in education and the business world.
The C++ programming language is used to develop a wide range of applications. It can be used by any local business to write a program to do their payroll or solve some other business problem requiring a custom built solution. It may be used by a software developer to create a commerical package for a common application like a word processor or an accounts receivable package. It is also used in Government, Miliatary, aerospace and the scientific community. Most engineering majors are required to take a course in C++ programming as it is widely used in engineering applications.
Reply:C++, being an OOPs language, is the successor to C for intensive application (such as games and back-end applications). Incidentally, I believe Microsoft C++ is one of their .NET Languages. Since Visual Studio 2005, Microsoft dropped the .NET nomenclature from Visual Studio, but Visual Studio 2005 (and the new Visual Studio 2008) supports C++, Visual Basic (which has becomes more fully Object Oriented) which are suitable for compute intensive game programs and back-end service services which run on a server to support light web-browser based applications written in C# , J#, JScript and ASP.NET.
The Web-browser based applications has to be light-weight because many PCs are low power for financial reasons, and most laptops are low-power for long battery-life. This put a lot of load on the server applications supporting the web-based applications (like network games). I think Google is pushing a business model where the user pays a monthly fee to use the storage, server-based programs and compute power of their servers.
Bottom line seems to be there should be lots of need for both type of programming languages.
Reply:C and C++ are NOT going anywhere anytime soon. You may use other languages for certain things but you will need C and C++ skills for a long time to come. The person training you is obviously living in a Windows only world. At my last company we used primarily various flavors of UNIX for image processing. Every time someone brought up using Java or some other language to do the work, we'd code it up and the customers would complain that it was too slow. I currently work in real-time processing and we stick with C and C++ due to the speed required, etc. Game programming will definitely require a good knowledge of C and C++.
Reply:She is right, web applications are hot right now but only in the business world I believe. Doing work through Windows default IE web browser is better than having to install executables and then hoping each machine will work with it. I honestly think web applications function better with SQL as well.
Reply:First of all, good for you for sticking up to the teacher :)
Second, you are right and your teacher is dead wrong. In today's world, the only place where you won't need to know C or some variant of it is if you're doing web programming, or writing apps for phones or pdas. Just about every application on your computer right now was coded in C. That your teacher believes C is dead is just ridiculous. You're right about having to know C for game programming. No other language comes close to the power that C has for low level/hardware programming. Modern games have to hook into graphics cards and make lots of system calls, and if you don't know C you're going to be running at 2 frames per second.
Reply:Im a computer science major and i had to take C and C++ , i will say that they are the best and more comfortable and easy prog languages i ever study.
Reply:What she is on about with console applications is rubbish, using QT alongside C++ is amazing you can make awesome interfaces she probably didnt get that far into learning C++ she did hello world and deciede to go back to her protective windblows machine, if C is dying then why is it still used to make 90% or more of todays OS's she is loopy show her what you can do with C++ and that should shut her up
What are the correct formulas & coefficients for the products of the following double-replacement reaction?
What are the correct formulas %26amp; coefficients for the products of the following double-replacement reaction?
RbOH+H3PO4--
a.H3Rb+PO4OH
b.RbPO4+2H2O
c.Rb(PO4)3+H2O
d.Rb3PO4+3H2O
What are the correct formulas %26amp; coefficients for the products of the following double-replacement reaction?
D
Reply:i did no **** to you and i don't even kno who ur so shut the hell up *****
RbOH+H3PO4--
a.H3Rb+PO4OH
b.RbPO4+2H2O
c.Rb(PO4)3+H2O
d.Rb3PO4+3H2O
What are the correct formulas %26amp; coefficients for the products of the following double-replacement reaction?
D
Reply:i did no **** to you and i don't even kno who ur so shut the hell up *****
Saturday, May 22, 2010
Traveling wave and Young's double slit experiment?
1. The sum of two sinusoidal traveling waves is also a sinusoidal traveling wave only if:
A. Their amplitudes are the same and they travel in the same direction.
B. Their amplitude are the same and they travel in opposite direction.
C. Their frequency are the same and they travel in the same direction.
D. Their frequency are the same and they travel in opposite direction.
The answer is C. Why? Does it mean that is their frequency aren’t the same, no traveling wave will be formed?
2. When 450 nm light is incident normally on a certain double slit system, the number of interference maxima within the central diffraction maximum is 5. When 900 nm light is incident on the same slit system the number is:
A. 2
B. 3
C. 5
D. 9
Please show solution and explanation, thanks!
Traveling wave and Young's double slit experiment?
1. No, a traveling wave will be formed but if it's the sum of two different frequency waves the result won't be a sine wave since it will contain both frequency components. A pure sine wave is a single frequency. See ref. 1. Incidentally, answer 1 is a little off the mark on frequencies of the beat wave. The high frequuency is (f1 + f2) / 2 and the beat frequency is (f1 - f2) / 2, resulting in amplitude modulation at a rate of two maxima per beat-frequency cycle or f1 - f2.
2. Answer is B (3). With 450 nm you have a central maximum and two maxima to either side of the center. With 900 nm the maxima will be spaced twice as far apart, so there will be a central maximum and one maximum to either side for a total of three. The important equation here is y ~= m * lambda * D / d, where y is the location of the mth maximum, lambda is wavelength, and d and D are respectively the slit separation and the distance from the slits to the viewing surface. See ref. 2.
Reply:When the frequency of two sinusoidal waves is not the same, then what we get depends on the difference of the frequency of the two waves. If the diff. in their frequency is not much then we get what are known as beats. It consists of a sinusoidal wave with frequency equal to the greater of the two frequencies, but the amplitude varies sinusoidally with frequency equal to the smaller of the two frequencies.As the frequency difference increases, the resultant wave obtained gets more complex in nature.
marguerite
A. Their amplitudes are the same and they travel in the same direction.
B. Their amplitude are the same and they travel in opposite direction.
C. Their frequency are the same and they travel in the same direction.
D. Their frequency are the same and they travel in opposite direction.
The answer is C. Why? Does it mean that is their frequency aren’t the same, no traveling wave will be formed?
2. When 450 nm light is incident normally on a certain double slit system, the number of interference maxima within the central diffraction maximum is 5. When 900 nm light is incident on the same slit system the number is:
A. 2
B. 3
C. 5
D. 9
Please show solution and explanation, thanks!
Traveling wave and Young's double slit experiment?
1. No, a traveling wave will be formed but if it's the sum of two different frequency waves the result won't be a sine wave since it will contain both frequency components. A pure sine wave is a single frequency. See ref. 1. Incidentally, answer 1 is a little off the mark on frequencies of the beat wave. The high frequuency is (f1 + f2) / 2 and the beat frequency is (f1 - f2) / 2, resulting in amplitude modulation at a rate of two maxima per beat-frequency cycle or f1 - f2.
2. Answer is B (3). With 450 nm you have a central maximum and two maxima to either side of the center. With 900 nm the maxima will be spaced twice as far apart, so there will be a central maximum and one maximum to either side for a total of three. The important equation here is y ~= m * lambda * D / d, where y is the location of the mth maximum, lambda is wavelength, and d and D are respectively the slit separation and the distance from the slits to the viewing surface. See ref. 2.
Reply:When the frequency of two sinusoidal waves is not the same, then what we get depends on the difference of the frequency of the two waves. If the diff. in their frequency is not much then we get what are known as beats. It consists of a sinusoidal wave with frequency equal to the greater of the two frequencies, but the amplitude varies sinusoidally with frequency equal to the smaller of the two frequencies.As the frequency difference increases, the resultant wave obtained gets more complex in nature.
marguerite
Subscribe to:
Posts (Atom)