الخميس، 31 أكتوبر 2024

Day 23

  {Hallo every body today I will speak about {Calculus 

.you know That I am doing my best to benefit you guys so lets go 

Today I will speak about Chapter 1: Functions 

     The Definition*

Combination of Function*

Composition of Function*

Inverse Function*

What is a Function

A function relates an input to an output.

function cogs


It is like a machine that has an input and an output.

And the output is related somehow to the input.

  f(x)  

"f(x) = ... " is the classic way of writing a function.
And there are other ways, as you will see!

Input, Relationship, Output

We will see many ways to think about functions, but there are always three main parts:

  • The input
  • The relationship
  • The output

Example: "Multiply by 2" is a very simple function.

Here are the three parts:

InputRelationshipOutput
0× 20
1× 22
7× 214
10× 220
.........

For an input of 50, what is the output?

Some Examples of Functions

  • x2 (squaring) is a function
  • x3+1 is also a function
  • Sine, Cosine and Tangent are functions used in trigonometry
  • and there are lots more!

But we are not going to look at specific functions ...
... instead we will look at the general idea of a function.

Names

First, it is useful to give a function a name.

The most common name is "f", but we can have other names like "g" ... or even "marmalade" if we want.

But let's use "f":

f(x) = x^2

We say "f of x equals x squared"

what goes into the function is put inside parentheses () after the name of the function:

So f(x) shows us the function is called "f", and "x" goes in

And we usually see what a function does with the input:

f(x) = x2 shows us that function "f" takes "x" and squares it.

 

Example: with f(x) = x2:

  • an input of 4
  • becomes an output of 16.

In fact we can write f(4) = 16.

 

The "x" is Just a Place-Holder!

Don't get too concerned about "x", it is just there to show us where the input goes and what happens to it.

It could be anything!

So this function:

f(x) = 1 - x + x2

Is the same function as:

  • f(q) = 1 - q + q2
  • h(A) = 1 - A + A2
  • w(θ) = 1 - θ + θ2

The variable (x, q, A, etc) is just there so we know where to put the values:

f(2) = 1 - 2 + 22 = 3

 

Sometimes There is No Function Name

Sometimes a function has no name, and we see something like:

y = x2

But there is still:

  • an input (x)
  • a relationship (squaring)
  • and an output (y)

Relating

At the top we said that a function was like a machine. But a function doesn't really have belts or cogs or any moving parts - and it doesn't actually destroy what we put into it!

A function relates an input to an output.

Saying "f(4) = 16" is like saying 4 is somehow related to 16. Or 4 → 16

tree

Example: this tree grows 20 cm every year, so the height of the tree is related to its age using the function h:

h(age) = age × 20

So, if the age is 10 years, the height is:

h(10) = 10 × 20 = 200 cm

Here are some example values:

ageh(age) = age × 20
00
120
3.264
15300
......

الأربعاء، 30 أكتوبر 2024

Day 22

Hallo every body today I will speak about Electric Potential 

This tutorial is all about the energy associated with electrical interactions. Every time you turn on a light or use an electronic device, you are using electrical energy, an indispensable component of our technological society. Using work and energy concepts makes it easier to solve a variety of problems in electricity. In circuits, a difference in potential from one point to another is often called voltage. Potential and voltage are crucial to understanding how electric circuits work and have equally important applications in many devices.

Electric Potential Energy

Electric field exerts force on a charged particle () which can do work. This work can be expressed in terms of electric potential energy which is dependent on the position of the charged particle in the electric field; just as gravitational potential energy depends on the distance of a mass from the earth’s surface.

When a force  acts on a particle that moves from point a to

point b, the work done by the force is given by

where  is an infinitesimal displacement along the particle’s path and  is the angle between  and  at each point along the path. If  is conservative, the work done by  can be expressed in terms of potential energy . When the particle moves from a point where the potential energy is  to a point where it is , the change in potential energy is  and the work done by the force is



(2)

 is the potential energy at the initial position and  is the potential energy at final position. When  is greater than , the force does positive work on the particle as it “falls” from a point of higher potential energy (a) to a point of lower potential energy (b); the potential energy decreases. When a tossed ball is moving upward, the gravitational force does negative work during the ascent as the potential energy increases. When the ball starts falling, gravity does positive work, and the potential energy decreases. The force does positive work if the net displacement of the particle is in the same direction as the force.

Electric Potential Energy in a Uniform Field

For an electric field that exerts a force ,



(3)

Consider a positive test charge  moving in a uniform electric field.

pos charge moving in and moving opposite

Figure 1: A positive charge moving (a) in the direction of  and (b) in the direction opposite 

For Fig.1 (a), the field does positive work on the test charge because the force (pointing down) is in the same direction as the net displacement of the test charge. Since , if the work is positive then the potential energy (  ) decreases. For Fig.1 (b), the field does negative work on the charge and the potential energy increases.

Consider a negative test charge  moving in a uniform electric field. Recall that when  is negative, the force is opposite the field direction.

Negative charge moving in and the opposite

Figure 2: A negative charge moving (a) in the direction of  and (b) in the direction opposite 

For Fig.2 (a), the work is negative since the force (pointing upward) is in the opposite direction as the net displacement of the negative test charge and the potential energy increases. For Fig.2 (b), the work is positive, and the potential energy decreases.

This shows us that whether the test charge is positive or negative, the following general rules apply:

  •  decreases if  moves in the same direction as the electric force 
  •  increases if  moves in the opposite direction as the electric force 

This is the same behavior as for gravitational potential energy, which increases if a mass m moves upward (opposite the direction of the gravitational force ) and decreases if m moves downward (in the direction of ).

When  increases: An alternative but equivalent viewpoint is to consider how much work we would have to do to “raise” a particle from a point b where the potential energy is  to a point a where it has a greater value  (pushing two positive charges closer together, for example). To move the particle, we need to exert an additional external force  that is equal and opposite to the electric-field force and does positive work. Therefore, the potential energy difference  is the work that must be done by an external force to move the particle from b to a, overcoming the electric force. This viewpoint also works if  is less than ; an example is moving two positive charges away from each other. In this case,  is still equal to the work done by the force, but now the work is negative.

Electric Potential Energy of Point Charges

The idea of electric potential energy isn’t restricted to a uniform electric field. We can apply this concept to a point charge in any electric field caused by a static charge distribution. Recall that we can represent any charge distribution as a collection of point charges. It is therefore useful to calculate the work done on one test charge  moving in the field caused by a stationary point charge .

Test charge

Figure 3: Test charge  moves from a to b along a straight line extending radially from charge .

Note that the work done on  by the electric field of  does not depend on the path taken, but only on the distances  and .

The force on  is given by Coulomb’s law,

If  and  have the same sign, the force is repulsive while if they have opposite signs, the force is attractive. The force is not constant during the displacement, and we must integrate to calculate the work Wab done on  by Fr as  moves from a to b:

This is also valid for general displacements a to b that do not lie on the same radial line. The work done depends only on  and , not on the details of the path. If  returns to its starting point a by a different path, the total work done is zero. These are the qualities of a conservative force. Thus, the force on  is a conservative force.

The result of the integral is consistent with  if we define the potential energy at a and b to be

 when  is a distance  from 
 when  is a distance  from 

Thus, the electric potential energy of two point charges is

where  is the distance between the two charges. The potential energy is positive if the charges have the same sign and negative if they have opposite signs.

Potential energy is defined relative to a chosen reference point where  is assigned. In eq.(6),  is zero when  and  are infinitely far apart (). Therefore  represents the work that would be done on the test charge  by the field of  if  moved from an initial distance r to infinity. If  and  have the same sign, the interaction is repulsive in that they will repel each other, the work is positive, and  is positive at any finite separation. As r approaches infinity,  decreases and approaches zero. If  and  have opposite signs, the interaction is attractive, the work done is negative, and  is negative. As r approaches infinity,  increases and approaches zero.

We emphasize that the potential energy  given by eq.(6) is a shared property of the two charges. If the distance between  and  is changed from  to , the change in potential energy is the same whether  is held fixed and  is moved or  is held fixed and  is moved. For this reason, we never use the phrase “the electric potential energy of a point charge.” Likewise, if a mass m is at a height h above the earth’s surface, the gravitational potential energy is a shared property of the mass m and the earth.

Suppose the electric field in which the charge  moves is caused by several point charges , ... at distances  from .

Potential energy distance dependence  

Day45

  Source Transformation Technique (Voltage Source to Current Source & Current Source to Voltage Source) May 8, 2024   by  Electrical4U C...