0% found this document useful (0 votes)
17 views

CAS Physics 1

Uploaded by

Sin Nombre
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

CAS Physics 1

Uploaded by

Sin Nombre
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 76

CAS for Physics Examples

Electrostatics, Magnetism, Circuits and


Mechanics of Charged Particles
Part 1

Vector- and Scalar Fields


Electric Field

Leon Magiera and Josef Böhm


Contents

Introduction 3
I Vector and Scalar Fields 4
II Electric Field 15
Introduction

This text is devoted to solving practical problems in the field of electricity and magnetism
using computer algebra systems (CAS). The problems described usually appear in the
programs of standard General Physics courses at university level (engineering and science).
Some of them would also be suitable for high schools.
Maxima is a powerful tool for the manipulation of symbolic and numerical expressions,
including differentiation, integration, vectors, matrices, . . . and so on. It also provides
commands for plotting functions, curves and data in two and three dimensions. We chose
Maxima because it is a free software package. It can be downloaded from its website,
http://maxima.sourceforge.net, where documentation in several languages can also be found.
The use of Maxima significantly reduces the computational work and allows a student (or
teacher) to concentrate on physical ideas (which is most important), rather than on the very
time consuming technical side - performing the derivations by hand.
For a first try of Maxima, you may wish to try the examples in First Steps with Maxima.
Please don't understand this paper as a complete introduction in working with Maxima.
Maxima-experts will certainly find ways to solve some problems in another way. Maxima is
much more powerful that it is shown here. You can produce complex programs, your own
libraries and much more.
Leon Magiera is physicist at the Wroclaw University of Science and Technology, Josef
Böhm is a retired school teacher and founder of the International DERIVE and CAS-TI User
Group. His work was putting all parts together in a common form and adding DERIVE and
TI-NspireCAS treatments of some examples. DERIVE is off the market since several years
but still widely used all over the world. DERIVE and TI-NspireCAS are running up to the
latest operations systems. The DERIVE and TI-NspireCAS parts can be distinguished by
another font set.
the Authors

All files are available on request.

We welcome any comments and suggestions regarding this book. You may contact us via
e-mail at:
[email protected]
[email protected]

In preparation:
2nd part: Magnetic Field
3rd part: Circuits
4th part: Mechanics of Charged Particles

For DERIVE User Group information goto www.austromath.at/dug/

3
I. Vector and Scalar Fields

Vector and scalar fields are very important concepts in physics. They are just respectively a
vector and a scalar functions of space variable. Some differential operators are defined acting on those
functions, which are in common use in physics, like: gradient, divergence, rotation and Laplacian.
We start with definitions using Cartesian coordinates x, y, z.

The Gradient of a scalar function  is the vector

    
grad   , , . I.1
 x y z 

 
The Divergence of the vector field A  Ax , Ay , Az is a scalar of the form
 Ax Ay Az
divA    . I.2
x y z


The Curl of the vector field A  Ax , Ay , Az  is the following vector field

 
i j k
   
curlA  . I.3
x y z
Ax Ay Ax

The Laplacian of a scalar function  is a scalar of the form


 2  2  2
    2 . I.4
x 2 y 2 z

Now we try to solve some problems:

I.1 Calculate the following expressions:

1
a) the gradient of the function  (r )  ,
r

b) div (r ),

r
c) div( ),
r
  1 
d) div  grad    ,
  r 

e) curl (r ),

where r is the modulus of the position vector r ( x, y, z ) ,

4
Solutions:
We need loading the library "vector":

Note that result %o5 can be rewritten in a simple concise form:



r
grad   (r )    3 .
r

Some problems are too difficult for a computer program. The next example is too hard for many
computer algebra systems. Maxima – and DERIVE as well – returns:

This is the DERIVE result:

Remark: The above result is not correct. The correct result is proportional to the Dirac -function
δ(r). Unfortunately, many computer algebra systems we tried did not return the correct result.

5
My last attempt was "asking" MATHEMATICA (www.wolframalpha.com) and see the answers:

Input in another form delivers the -function, great.


cr
Exercise: Show that the divergence of the vector field of the form , with c an arbitrary constant
r
equal zero.
■▬▬▬▬▬▬▬▬
   
 ar   ar  
I.2 Prove the identity grad  3   curl  3  , where a is an arbitrary, constant vector.
 r   r 
 
r  r ( x, y, z ) is a position vector and r denotes its modulus.

Solution:

We add the definition of a (which is a_) and use the “~”-character as operation sign for the vector
product. We show that the difference of both sides simplifies to the zero vector.

6
It is remarkable that the DERIVE proof is much shorter and much more elegant (two ways):

Michel Beaudin from ETS Montreal produced a fine vector analysis library for TI-NspireCAS
(https://cours.etsmtl.ca/seg/mbeaudin/documents/Kit_ETS_MB.tns) which allows performing
the proof in one single line:

é■▬▬▬▬▬▬▬▬
  
I.3 Prove the identity curl (curl (a ))  grad (div(a ))  a , where
 
a  a (ax ( x, y, z ), a y ( x, y , z ), az ( x, y, z )) is a differentiable vector. The symbol Δ denotes the
2 2 2
Laplace operator     .
x 2 y 2 y 2
Solution:
The identity can be rewritten in the equivalent form
  
curl (curl (a ))  grad (div( a ))  a  [0,0,0].

  
Exercise: a and b  b (bx ( x, y, z ), by ( x, y, z ), bz ( x, y , z )) are arbitrary differentiable vectors and
f = f(x,y,z) and g= g(x,y,z) are arbitrary differentiable functions.
Prove the following identities:
a) curl(grad(f)) = [0,0,0]
b) grad ( f  g )  f  grad ( g )  g  grad ( f )  [0,0,0],

c) div(curl (a )  0,
   
d)    
div a  b  b  curl (a )  a  curl (b ),
  
e) div( f  a )  f  div( a )  a  grad ( f ),
  
f) curl ( f  a )  f  curl ( a )  grad ( f )  a.

7
We will demonstrate two of the exercises from above, a) and f):
a)

That's not fine. Both packages deliver different results. We know that the curl should be a
vector. To be on the safe side, let's ask another CAS:

Although TI-NspireCAS does not simplify the partial derivatives we see that we obtain the
zero vector. DERIVE gives the correct answer.
f)

■▬▬▬▬▬▬▬▬

In more advanced textbooks cross product and curl in the Cartesian coordinate system may be written
  
using Levi-Civita tensor  ijk . This tensor is defined as  ijk  ei (e j  e k ) (i,j,k = 1,2,3), where

ei , (i  1,2 ,3) are the unit vectors
  
e1  [1, 0, 0], e 2  [0, 1, 0], e3  [0, 0, 1] .
.
Using this notation, the components of the cross product of the vectors
 
A  [ Ax , Ay , Az ]  [ A1 , A2 , A3 ], B  [ Bx , By , Bz ]  [ B1 , B2 , B3 ]

can be written as follows


 
( A  B)i    ijk A j Bk (i=1,2,3).
j k

8

The components of the curl of B  [ B1 , B2 , B3 ] are given by

 curl ( B)    
i
j k
ijk Bk , j , (i=1,2,3)

where Bk , j is the partial derivative of the k-th component of vector B with respect to the j-th
 Bz
variable. For example B3,2  .
y
I.4. Using the definitions above calculate:
a) the components of the cross product of the following vectors:
 
A  [ Ax , Ay , Az ], B  [ Bx , By , Bz ] ,

b) the components of the curl of the vector



A  [ Ax ( x, y, z ), Ay ( x, y, z ), Az ( x, y, x)] .

Solution:
We enter the unit vectors collected in an identity matrix and the Levi-Civita tensor:

 
%o7 is not correct. Why that? Further investigation shows that the vector product v  v results in 0
instead of the zero vector.

What to do? Easy enough: define your own cross product!

Now it is correct. We proceed with problem b):

9
It's no problem at all solving I.4. with TI-NspireCAS:


Exercise: Using the tensor  ijk calculate curl (curl A) and compare the result with the result
obtained with the help of the built-in function curl.

■▬▬▬▬▬▬▬▬

In many problems it is convenient to apply a curvilinear coordinate system, like a spherical or a


cylindrical one, instead of the Cartesian system.
In such a system, the gradient of the function f is the vector
1 f 
grad  f    ni (II.1a)
i si  i
where the si are Lamé[*]- coefficients and can be written as
2 2 2
x  y  z 
si        .. (II.2a)
  i    i    i 

10
x, y, z are the Cartesian coordinates and
(1 , 2 , 3 )

denote curvilinear coordinates and n i denote the local unit vectors.


The divergence of the vector field A( A1 , A2 , A3 ) is the following scalar quantity

 1   (s2 s3 A1 )  (s1 s3 A2 )  (s1 s2 A3 ) 


divA    
 3 
(II.3a)
s1 s2 s3   1  2

The curl of a vector field A( A1 , A2 , A3 ) is of the form
  
n1 n2 n3
s2 s3 s1 s3 s1s2
   
curl A    1  2  3
(II.4a)

s1 A1 s2 A2 s3 A3

The Laplacian of the function f may be written as

  s2 s3  f   s1s3  f   s1s2  f  
      
1   s1 1   s2  2   s3  3  
f    (II.5a)
s1 s2 s3  1  2  3 
 
 

To solve the next problems we will use the definitions from above, as well as the built-functions of
the computer algebra systems.

n n
[1]  x  y
Gabriel Lamé, French mathematician 1795-1870. Well known is the Lamé-Curve       1 which
a b
with n>1 is also called "super ellipse".

■▬▬▬▬▬▬▬▬

11
I.5. Determine the gradient of the generic function f(r,θ,φ) defined in spherical coordinates.
Solution:
We enter the Cartesian and the spherical coordinates and the relations between them, followed by
the definition of the Lamé coefficients. Applying trigreduce on I.1a gives the gradient – but
d
f ( r ,  , )
d
not in its most comfortable form. The second component can be rewritten as .
r  sin( )

DERIVE enables the same procedure. It is not necessary to manipulate the result in order
to obtain the final result. DERIVE offers a second – much shorter – method using an
extended GRAD-function:

spherical is the coordinate geometry matrix with the independent variables in the first
row and the corresponding Lamé coefficients in the second one.
Comment: In case of the right-hand coordinate system, in which the positive z-axis is
associated with the north pole, the colatitude  is measured in radians south from the north
pole and colongitude  is measured in radians east from the positive x-axis. In the DERIVE
function the angles  and  have the reverse meaning. It means that  is replaced by  and
 by , which can be seen when we compare results %o7 (wxMaxima) and #2 (DERIVE).

12
Let's have a look on the TI-NspireCAS screen:

Exercise: First generate the geometry matrices for Cartesian, spherical and cylindrical coordinates
and then write a generalized function for calculating the gradient for all systems.

■▬▬▬▬▬▬▬▬

13
I.6. Calculate:
a) the divergence and
b) the curl of an arbitrary vector given in the spherical coordinate system:

A  [ Ar (r , , ), A (r , , ), A (r , , )]
Solution:
We start with problem a) and proceed calculating the curl:

You can work with DERIVE or with TI-NspireCAS as demonstrated above (one example):

14
Exercise: Calculate the divergence of an arbitrary vector in cylindrical coordinates.

A  [ Ar (r , , z ), A ( r , , z ), Az (r , , z )].
■▬▬▬▬▬▬▬▬

I.7. Find the expression for the Laplacian of the function Φ(r, φ, θ) in spherical coordinates.
Solution:
We enter definition (I.5a) in a more concise form:

  3 
1 3
   k1 s (k )  
    f ( r ,  , )  
i 1  i  s (i )  i
3 2


j 1
s ( j ) 
 



We can compare with the DERIVE result (consider that φ and θ are interchanged!):

Exercise: Find the Laplacian of function f(r,φ,z) in cylindrical coordinates.

15
II. Electric Field

Introduction
The most elementary part of physics dealing with electromagnetic interactions is called
electrostatics. Electrostatics describes the interaction between stationary electric charges. The force

of interaction between two point charges obeys Coulomb’s law. Force F acting on a charge q
 
whose position is r , due to a charge Q at R, is given by
 1 qQ  
F   3 (r  R ) ,
4  0 r  R

where  o denotes the permittivity in a vacuum.

Electrostatic interactions may also be described in a different way, by means of the concept of

an electric field. Within this formalism, the force F acting on a charge q is the product of the

charge q and the electric field E caused by the charge Q
 
F  q  E,
hence

 F 1 Q  
E   ( r  R) .
q 4 0 r  R 3

The modern formulation of electrostatics is based on Gauss's law*, which may be written in the
form
  Q
 E dS  ,
S 0

where Q is the total charge giving rise to the electrostatic field E , confined by a closed surface S.
In differential notation Gauss's law is of the form
 
 
div E  ,
0
where  is the charge density.
One very important property of an electrostatic field is the fact that it can be described by a
scalar function called the potential. This is a consequence of conservative nature of electrostatic

force. Field intensity E and potential  are related to each other by the equation

E   grad ( ).

(*)
https://en.wikipedia.org/wiki/Gauss's_law

16
Thus, Gauss's law, expressed in terms of the potential, reads

2   ,
0
which is known as Poisson's law (  2 denotes the Laplace operator).
The electric field created by a system of electric charges is the vector sum of the fields created
by the individual charges (the principle of superposition).
Using the equations given above, we can solve standard exercises as presented below. Some of
them will deal with discrete charges, the other ones with continuously distributed charges.

PROBLEMS
II.1 Split point charge Q into two point charges q and (Q – q), separated by a distance of d, so
that the force of interaction between them is maximum.
Solution: According to Coulomb's law, the magnitude of the force of repulsion between the
charges is given by

and

The problem can also be solved by directly finding the maximum value of the function F (even its
nominator only) i.e. by solving the equation
d
q(Q  q)  0.
dq

Let’s find the solution of the above equation

and then check the kind of the turning point by evaluating the second derivative for the obtained
solution

From %o3 and %o5 we see that at q = Q/2 the interactive force is maximum.
Note: In the above exercise evaluation of sign function is not necessary. See below

17
We will skip the DERIVE and the TI-NspireCAS treatment as well because we recognize the
quadratic function with zeros at q1 = 0 and q2 = Q. As the graph is a downwards open
parabola its vertex is at q0 = Q/2.
■▬▬▬▬▬▬▬▬

II.2 We consider a system of an infinite number of point charges Q, which are distributed on a
half-line in such a way that the first charge is put at a distance of d from the beginning of the
half-line, A, and each successive distance is chosen to be as  times greater than the previous
one. Find the force acting on a point charge q placed at A.
Solution: The resultant force acting on q is the algebraic sum of Coulomb forces originating from
the successive charges Q.

Let’s try to evaluate the above expression.

The above sum was calculated with i.e. the force takes the simple form for 
For we get

1
Let us notice that in our series (geometrical series) the ratio appears.
2

18
Hence the solution of our problem (

This is the DERIVE solution:

With TI-NspireCAS we cannot distinguish between lower and uppercase characters, so we


denote Q as qq:


II.3 Three stationary charges Q1 , Q2 and Q3 are placed at the following positions R1 ( x1 , y1 , z1 ),
 
R2 ( x2 , y2 , z 2 ) and R3 ( x3 , y3 , z 3 ) , respectively.

a) Write down expressions describing the field potential at the point r ( x, y , z ).
b) Compute the resultant force acting on an electron of charge q for the data:
x= 6m, y= –7m, z= 9m, Q1  4C , Q2  3C , Q3  0.5C ,
  
R1 (0, 2, 0), R2 ( 3, 2,0) and R3 (0,0,0) .

19
Solution:

The potential at the point r , due to a single charge Qj placed at the point given by the position

vector R j can be expressed as

1 Qj
j   
4 0 r  R j

According to the principle of superposition, the resultant potential is

   j ,
j


a) To make the notation more concise the components of the position vectors R j of the charges
Q j are entered in the form of the matrix R_.

while the charges as components of the vector Q_.


Then the resultant potential at r ( x, y , z ) can be written as follows:

with

20
b) The desired force has the form
 
F  F F
where
  
F  q  E , E   grad  
We load the file “vect” and enter the above relations.

The magnitude of the resultant force is

We import the value of the electron charge and electric constant from the utility file
“physical_constants”.


In the next step we evaluate the magnitude of the resultant force at the point r [6m, 7m,9m] .

In the final step we replace symbol “.” by ”*”.

Simplifying units returns

Next page shows the respective DERIVE session followed by the TI-NspireCAS screens:

21
TI-NspireCAS treatment is following. The gradient function is not provided by the system, so
we use Michel Beaudin's library (presented in DNL#98) in order to apply his grad function.

Elementary charge q and electric constant (permittivity in a vacuum) ε0 are provided among
the “Constants” in the “Unit Conversions” which can be found in the Documents Toolbox.

22
■▬▬▬▬▬▬▬▬

II.4 Three point charges Q1, Q2, Q3 are placed as shown in Fig II.4 .

Fig II.4

a) Give the formula for the resulting electric field in a generic point r ( x, y, z ).
b) Calculate all Cartesian components of the electric field on the x-axis.
c) For identical charge (Q1 = Q2 = Q3 = Q) and the distances x1 = x2 = y1 = y3 = b calculate
y
the parameter   2 for which the field component Ey of the resultant field
b
disappears at x = 0.
d) Plot the curve Ey(x) for the calculated parameter η.

Solution:
a) First we enter the given data:

23

According to the principle of superposition (page 16), the resultant field at the point r can be
expressed as

b) We calculate all Cartesian components of electric field along the x-axis:

c) We extract the field component Ey:

At the origin of the reference system and for all identical charges and the distances
x1  x2  y1  y3  b, y2   b we have

It is desired be equal to zero. To find the parameter  it remains to solve the above equation

1
Hence the desired parameter value is   2 4 .

24
Then the explicit form of Ey is

(d) Now we plot the desired component Ey(x) (for the calculated parameter η value) and the
following remaining parameters values: ε0 = 1, Q = 1, b = 1 (needs loading library "draw").

Ey(x)

-0.01

-0.02

-0.03

-0.04

-0.05

-0.06

-3 -2 -1 0 1 2 3

The TI-Nspire treatment follows:

25
It is not necessary to add any restrictions for the variables for solving the equation.

Now we can plot f1(x).

26
■▬▬▬▬▬▬▬▬

II.5 Equal charges of value Q are placed in the vertices of a regular hexagon with sides of
length a.

Fig II.5
Calculate:
a) the potential of the field in the centre of the hexagon,
b) the electric field and potential in the centre of one given side of your choice.

Solution:

Remember, the potential of the electric field at the point r resulting from a charge Q j placed in a

point R j is described by the relation
1 Qj
j    ,
4 0 r  R j

In the problem discussed Q j  Q , (j=1, 2 ,..., 6). Hence, the resultant potential can be written in
the form
1 6 Qj Q 6 1
    =    .
4 0 j 1 r  R j 4 0 j 1 r  R j

27

The components of the position vectors R j , taking the centre of the hexagon as the origin of the
coordinate system, are given by:
   
x j  acos  j  , y j  asin  j  , z j  0, ( j  1, 2,...,6)
3  3 
We enter the formulae for the position vectors of the charges, the position vector of the observed
point and the resultant potential according to the equation from above:

a) Then the potential in the centre of the hexagon is

b) In the centre of any given side the potential is

To calculate the field we enter the well known relation between field and the potential

E   grad    .
and then we calculate the field in the centre of one side of the hexagon (let's say in the point
 a 
 x  0, y  3, z  0  .
 2 

DERIVE and TI-NspireCAS treatments are very similar.

Exercise: Compute the magnitude of the electric field and potential in the centres of all remaining
sides of the hexagon and compare the obtained results.

■▬▬▬▬▬▬▬▬

28
II.6 There are five charges Q1 , Q2 , Q3 , Q4 and Q0 located as shown in Fig. II.6.

Fig. II.6

a) Find the relation between charges Q1 , Q2 , Q3 , Q4 for which the resulting acting on
the charge Q0 disappears?
b) Plot the equipotential curves and the 3D-plot of the potential.

Solution:
One of the solutions, namely: Q1  Q2  Q3  Q4 (full symmetry) is obvious. We try to find the
remaining solutions.
a) In the problem we have

To find the remaining solutions we take advantage of relations met in the previous task. The
 
potential of the electric field at the point r resulting from a charge Qj placed in a point R j is
described by the relation

Let us apply the connection between potential and field strength and calculate the field strength at
the location point of charge Q0 .

The electric field vector disappears in the desired point if every its component is zero. This implies
that we have to solve two equations. We try to solve this equation system e.g. for the unknowns Q1
and Q2.

29
From the received solution we can conclude that the resultant power acting on charge Q0 disappears
when conditions Q1 = Q3 and Q2 = Q4 are fulfilled.
Of course, if every component of any vector is equal zero then its value (length of the vector) is equal
to zero. We are getting the task to the solution of only one equation

 
EE  0.
r [0,0,0]

We try to solve this equation for one unknown e.g. for Q1:

As charges are real we deduce from %o14 that Q2 = Q4 and further Q1 = Q3.
Of course, the same relations between charges are being received by solving the equation with
respect to any other charge e.g. Q2 (see above %o15).
We can obtain solution of the problem in a single step applying the solve command:

b) Let's produce the plots:

We generate the 3D-plot of the potential.

30
This is another form of the plot:

The equipotential curves in the xy-plane are plotted:

The two plots below show the DERIVE plots (after similar calculations):

31
The TI-NspireCAS 3D-plot of the potential
looks pretty good (left hand side), but
unfortunately it is not possible to produce its
contour plot.

What we can do to get an impression of the


contour lines, is tracing the surface.

See below the trace for z = 0.08 (left) and


z = 0.16 (right).

With the symbolic pocket calculator Voyage 200


we can plot the surface and its contour plot as
well. The screen shots right and below are
demonstrating this. It is understandable that we
cannot expect high quality plots like those done
on a PC but for a hand held product the plots
are pretty good.

■▬▬▬▬▬▬▬▬

32
II.7 Four identical charges q are placed in the vertices of a square, whose sides are of length a.
(Fig. II.7)

Fig. II.7

a) Which charge Q should be placed in the centre of the square, in order for the entire
system to be in equilibrium?
b) Assuming the charges q are stationary, write expressions for the force acting on charge Q
after moving it form the centre by a distance b in direction:
ba) of one of the vertices,
bb) of the centre of one of the sides,
bc) perpendicular to the plane of the square.
Give approximations for these expressions in case of b << a.
Solution:
 
a) According to Coulomb's law the force acting on a charge qj placed in R j , due to charge qi in Ri
is given by
 1 qi q j  
Fi , j    3 ( R j  Ri ).
4 0 R  R
j i

The total force acting on a charge qj is the vector sum of all forces due to the charges placed in all

remaining vertices of the square and the force due to charge Q (with position vector r = r_).

33
The system will be in equilibrium when the resultant force acting on one of the charges q from the
other charges equals zero. First we will find the required charge Q for j = 1.

The total force should be zero for all indices j. Let's verify the obtained solution:


b) Now we will calculate the force FQ arising on charge Q due to its displacement. Q is placed at

position r ( x, y , z ) .

ba) The resulting force acting on charge Q

can be entered in the following form (%i14). For small displacements b << a we will
introduce the parameter δ (b = δ a) and then perform the Taylor expansion of force

FQ = FQ_ up to the first order term.

34
We see that the calculated force is repulsive. Let's calculate the magnitude of this force, too:

bb) Now charge Q moves towards the centre of a side of the square:

For a small displacement we get:

We see that the calculated force is repulsive again.


bc) In the last case we have a displacement in direction perpendicular to the plane of the square
(see next figure).

We perform the same procedure as above and we find out that now the resulting force is
attractive.

Resuming we see (results %o16, %o19 and %o21) that in point (0,0,0) the equilibrium
state of charge Q is an unstable one.

DERIVE and TI-NspireCAS treatment as well are easy to perform and deliver the same
results.

■▬▬▬▬▬▬▬▬

35
II.8 Two charges of absolute value Q and opposite signs are placed at a distance of d from each
other (an electric dipole). The origin of the coordinate system is taken to be the centre of the
dipole. The configuration of the dipole is shown in Fig. II.8

Fig. II.8

a) Calculate the potential of such a dipole in a generic point P(x,y,z).


b) Plot the equipotential lines for the dipole.
c) How may one estimate the potential for the case that distance d is much smaller than
distance r of point P(x, y, z) from the centre of the dipole?
d) Estimate the electric field for the case that distance d is much smaller than distance r of
point P(x,y,z) from the centre of the dipole.

Solution:

a) We start with the potential in point r , due to a single charge Q placed in point P given by its

position vector R.
The resultant potential is the sum of the potentials generated by the individual charges, therefore
we get:

In the symmetry plane of the dipole the potential is zero.

Along the dipole symmetry axis we get:

36
b) Let's plot the equipotential curves in the xz-plane (i.e. for y = 0):

d
c) In order to estimate the potential of the dipole we use the parameter   describing the ratio
r
of the length of the dipole to the distance of the observed point from the centre of the dipole
and then calculate the Taylor expansion of the potential with respect to the parameter δ
preserving only the first order term of the expansion. Then we will return to the previous
variables.

37
Along the symmetry axis of the dipole we get:

The approximated potential (result o%12) can be written in a compact form


 
1 pr
4 0 r 3
 
where p denotes the dipole moment p  [0,0, Q d ]. Below is the verification of this compact form.

d) For the field we enter the known relation

The approximated field can be calculated in a similar way as the approximated potential:

The approximated field (hidden in %i23) can also be written in compact form
  
1 3p  r  p
r  3.
4 0 r 5 r

See the verification:

It is not difficult to produce the contour plot with DERIVE, all calculations and TI-NspireCAS
treatment as well are easy to perform and deliver the same results. We show some DERIVE
lines followed by the contour plot (plot of expression #7)

38
With TI-Nspire we proceed like in Example II.6: we plot the surface and then trace in
y-direction which is upwards in our case (left: y = 0.2, right: y= -0.04).

Exercise: There are three point charges located on a line (linear quadrupole). Plot the equipotential
lines and produce a 3D plot of the potential of this quadrupole with charge –q at x = –a, the second
charge –q at x = a and the third charge 2q located at the origin of the reference system.

■▬▬▬▬▬▬▬▬

39
II.9 Point charge Q is located at a distance b from the centre of a grounded conducting sphere of
radius R (b < R). Find the position and magnitude of an image charge q which generates a zero
potential on the spherical surface. Plot the equipotential lines.

Solution:

The potential at a distance r from point charge Q can be expressed as

1 Q
 (Q, r )  .
4 0 r

By symmetry, the image charge must lie on the straight line connecting Q and the centre of the
sphere.

Fig. II.9

The potential must be zero on the surface of the sphere. In particular it must be zero in the nearest
and farthest points on the equator of the sphere which contains Q. Hence we build two equations and
solve the system for a and q.

From %o4 we deduce magnitude q and distance a of the image charge:

Then the potential is

The equipotential lines lie in the xz-plane. They are presented on the next page (ε0 = 1, Q = 1, b =
5, R = 3).

40
There is no problem calculating and plotting with DERIVE:

■▬▬▬▬▬▬▬▬

41
The following problems deal with systems of continuous charge distributions.

II.10 Calculate the electrical field potential and the field intensity vector for the field created by a
thin rod of length l with uniform charge density.

Solution: The configuration of the system is shown in Fig. II.10.

Fig. II.10

The field caused at point P(x,y) due to the charge on an infinitesimally small segment of the rod dx
is given by
1  dx
d  ,
4 0 r

where σ denotes the line charge density, r is the distance of the observed point P from the element dx.

r  y 2  ( x  x)2 .

The resultant potential is expressed by the following integral:

1
l
 dx

4 0 0 r
.

Then the field intensity is the gradient of the field potential:



E   grad    .

We transfer these expressions into "Maxima language" and then calculate the potential Φ:

At the symmetry axis of the rod (x = l/2) we get

42
Let' now find the field intensity:

For the axis of symmetry Maxima gives:

For an infinite long rod the field is inverse proportional to the distance from the rod:

It is interesting to perform the calculation from above using another CAS, e.g. DERIVE:

%o4 (Maxima) should be identical with #4 (DERIVE):

43
Identity of %o8 and #5 can be checked easily manually and %o9  #6. What about Φ and
its AREA-functions?

The expression for the potential is rather complicated in DERIVE, the expression for the
field intensity is complicated in both systems. However, field intensity can take a much
simpler form introducing angles 1 and 2 (see Fig. II.10a).

Fig. II.10a

d d d d
We can read off: tan(1 )   and tan( 2 )   b , l b .
b bl tan(1 ) tan( 2 )

In this case it turns out that the Maxima calculation is more complicated:

But finally we also reach our goal!

44
II.11 Calculate the force of the mutual interaction of two uniformly charged rods of length L1 and L2
lying on the same line and of charge Q1 and Q2 respectively. The distance between the rods is
d . (Parameters for the plot: ε0 = 1, Q1 = 1, Q2 = 2, L1 = 0.5, L2 = 1.5)

Solution:

We use Coulomb’s law:

L1 L2

dx1 dx2
Fig. II.11

The force of interaction between two charged segments of lengths dx1 and dx2 with coordinates x1
and x2 (starting points of the segments) is given by
1 12
dF  dx1 dx2
4 0 ( x1  x2 ) 2
Q1 Q
where 1 ,  2 are the charge densities of the rods ( 1  , 2  2 ).
L1 L2

The resultant force is obtained by integration


L1 L1  d  L2 L L1  d  L2
1 12 Q1Q2 1 1
F
4 0 ( 
0 L1  d ( x2  x1 ) 2
dx2 )dx1 
4 0 L1 L2 0
( 
L1  d ( x2  x1 ) 2
dx2 )dx1 .

We enter the expressions from above and proceed with the integration:

%o5 can be simplified to the compact form:

45
Now we can assume parameter values and then plot force F vs distance d:

F(d)

0.018

0.016

0.014

0.012

0.01

0.008

0.006

2 2.5 3 3.5 4 4.5 5

Here are the TI-NspireCAS screens:

46
■▬▬▬▬▬▬▬▬

II.12 A thin electric rod is formed in the shape of an arc, which is a fragment given by the angle 0 of
a circle of Radius R. The rod is uniformly charged with charge Q. Find the vector of the electric
field strength for any point z0 along the axis of the circle passing the centre and perpendicular to
the plane of the circle. Discuss the result obtained (ε0 = Q = R = 1).

Solution:

Fig. II.12

According to Fig. II.12 the vector of the electric field strength can be calculated using the formula
 1 o  
E ( z , o ) 
4 o 
0  3 r R d ,
r
Q 
where   is the charge density with l0  R 0 , and the vector r  (0  x,0  y, z0 )  ( x,  y, z0 )
l0

with x = R cos(), y = R sin(). ( r is the direction vector from the wire to the point on the axis.)

47
We enter the relations given above and then calculate the field.

Now let us analyze the result obtained:


At the centre of the circle (z0 = 0) we get the field:

When the arc turns out to become the full circle (0 = 2π) then only the z-component of field E_ is
nonzero – as should be expected:

We extract the 3rd component of the field and we can easily see (from %o8) that at a large distance
(|z0| >> R) the charged circle is equivalent to a point charge.

In infinity the field is zero.

We find the extremal value of the field for the full ring:

 R 2
The field takes its extreme values in the points  0,0,  .
 2 

We enter the given parameter values and then we can plot the graph of the z-component of the field.

48
Ez(z0)
0.03

0.02

0.01

-0.01

-0.02

-0.03
-10 -5 0 5 10

Unfortunately Maxima does not provide such a wonderful tool as sliders for further
investigation of the influence of parameters. Most other CAS do. We show the application of
sliders to study the influence of charge Q and radius R as well.
Left hand side is a screen shot of DERIVE, right hand side a screen shot of TI-NspireCAS
handheld. With TI-NspireCAS we can easily find the turning points, too.

Exercise: Consider two half circles of radii R


mutually perpendicular with coinciding centres
and uniformly charged with charge Q. Find the
vector of the electric field strength and its
magnitude in the circles' centre.
Hint: Use solution of problem II.12.

■▬▬▬▬▬▬▬▬

49
II.13 A thin ring of radius R has a uniformly distributed charge Q. Find the expression approximating
the potential created by the ring in a point lying within the plane of the ring at a distance r from
its centre, where r>>R. (approximation of the field caused by a distant object).

Fig. II.13

Solution:

The potential caused by a charged element of the ring dl at a distance a from the ring is given by

1 dQ  Q 
d  , where dQ   dl   R d    .
4 0 a  2 R 

Using the cosine rule we can express distance a as a function of angle :

a  R 2  r 2  2 Rr cos  .

The resultant potential is given by the following integral:


2 2
1  R R  d
  d   .
4 0  a 4 0  R  r  2 Rr cos 
2 2
0 0

Let's try to evaluate this integral.

We see that Maxima does not evaluate integral %o3 which means that we cannot expect a closed form
of the integral, i.e. a combination of elementary functions. In order to approximate the potential we
carry out the following steps:

R
 we introduce the parameter   and expand the integrand as a Taylor series with respect to this
r
parameter

 and then we try integration again:

50
So we get the final result of the above approximation (%o6). But let us resubstitute for  and bring the
result in a neat form (cancelling  needs the factor command!).

We can work through the problem with TI-NspireCAS without any problems in the same way
(including the cancellation )!

Exercise: Show that the electric field in the considered approximation is identical to the field caused
by a point charge.

■▬▬▬▬▬▬▬▬

51
II.14 A circular plate of radius R is uniformly charged with a surface charge density .
a) Calculate the field potential and electric field in a point lying a distance z away from the
plate along the axis of symmetry perpendicular to the plate.
b) By applying the appropriate limit calculate the function describing the field intensity
resulting from an uniformly charged plate.
c) Find an approximation for the field potential and intensity for the case that the radius of
the plate is small with respect to the distance z.

Solution: The sketch of the situation is shown in Fig. II.14.

Fig. II.14

Similar to II.13 the potential resulting from charge Q in a point with distance l from the plate is given
by
1 dQ
d  , where l  r 2  z 2 is the distance of charge dQ from the observed point.
4 0 l
dQ =  ds is the charge of the surface element of the plate. In polar coordinates ds = r dr d, therefore
we have
dQ   ds   r dr d .

The potential caused by the plate is given by the integral


2

  r
R

   dr d .
4 0   l
 0
0

Taking into account the relation between field strength and field potential is – in the meanwhile well
known – given by

E   grad ( )

and the symmetry of the problem (only the z-component of the field strength can differ from zero), it
is sufficient to calculate this component only:
 d
Ez   .
dz

52
a) We enter the expressions from above and calculate potential and field strength.

b) To get the result for the plane (R  ) it is sufficient to calculate the limit of Ez..
c)

Remark: Of course, the electric field caused by a uniformly charged plane can be most easily
obtained by applying Gauss' law.
Different methods of calculating the field
strength deriving from the plain homogeneously
loaded up still exist. We use the estimated
electric field originating from the endless bar
homogeneously loaded up (problem II.10
expression %o9).

The obtained result has the form , where λ
2 0 d y
denotes the linear charge intensity and d the
distance of the point of observation from the bar. x
We try to use this result for our calculation. For
Fig. II.14a
this purpose we will divide the plane in stripes of
widths dx.

Charge dQ contained in surface element ds = dx dy is dQ =  ds =  dx dy. On the other hand


dQ = λ dy.
Comparing these two expressions for dQ we get λ =  dx. Therefore in the solved exercise we have

   
1  dx r   r 
dE  
2 0 r r
 E
2 0   2 dx with r  [ x,0, z ].
 r


53
It is resulting from the symmetry of the problem, that only the z-component of the filed should be
nonzero. We will calculate the field and then read off this component:

Let's perform the same calculation with DERIVE:

There we find another output for the third


component of the field – and an undefined
first component, too.
In fact, calculation of the x-component is not
trivial, namely in the calculation procedure

x
the integral 
 2 dx.
 x  z2


du
This integral can be transformed by substitution to the form 
 . Not each CAS returns the
 u


satisfactory result. For example DERIVE gives "?" which is undefined. Maxima gives 0.

Below we show the calculation of the limit procedure stepwise:


  a
 du  lim  du  lim  du  lim ln   lim ln a   lim ln a  lim ln a  0.
  
 u a 
0  u  0  u
a 
 0
a 
a a 

0   0
a 
 a 

0 
 a 

z
For calculating the field strength from the plain 
homogeneously loaded up it is possible also to E
take advantage of the model describing the field
strength from the dielectric circular ring
homogeneously charged. y

Make appropriate calculations. Use the result R


dR
%o8 of problem II.12.

x
Fig. II.14b

z dQ
dE  with dQ   2 R dR
z 4 ( R 2  z 2 )3/ 2
0
  
z  2 R dR z R dR
Ez   dEz    
0 0
4 0 ( R  z )
2 2 3/ 2
2 0 0 ( R  z 2 )3 / 2
2

54
d) Approximations for potential and electric field (for R << z) can be obtained by expanding the
R
respective expressions as Taylor series with respect to the parameter   .
z

Remark: In a similar way we can solve the analogous problem for a ring (a circle with the centre
removed) with inner radius R1 and outer radius R2.

■▬▬▬▬▬▬▬▬

II.15 A fragment of a thin dielectric circular arc characterized by two radii R1 and R2 , and by the
k
angle 0 (see Fig.II.15) is charged with a radial dependent surface density  ( R)  . Find
R
the components of the vector of the electric strength. Analyze the obtained results.

Solution:
The present problem is more general than the previous one. Because of the geometry of the
problem it is convenient to use polar coordinates. The strength of the electric field can be
expressed by the integral

0 0


R2 

R2
  
1    (r ) r 1    (r ) r
E ( z , R1 , R2 , 0 )  
  3 ds  4  
  3 R dR d
4 0  
 r 0



 r
 R1  R1
 
0 0

where (see Fig. II.15) vector r has components (0  x,0  y, z  0)  (  x,  y, z ).

The relationship between Cartesian and polar coordinates is

x  R cos   , y  R sin   .

55
Fig. II.15

We enter the expressions given above

and then try to calculate the field strength followed by extracting the desired components:

As these are very bulky expressions we can hope to obtain more comfortable expressions by first
simplifying the integrand applying trigsimp.
And indeed, it works as hoped (and expected?).

56
In case of a full circle (0 = 2π) we get:

As one would expect only the z-component of the field is results as nonzero.

In case of an infinite plane (R1 = 0, R2 = ) we obtain:

So we received the well known result that the field strength is inverse proportional to the distance
from the plane (see also problem II.10).
What will happen in case of a constant surface density?

57
As should be expected for the full circle of radius R2 (R1 = 0) we obtain %o12, which is the same as
that obtained in the previous problem (II.14, expression %o4).
For the infinite plane we get the well known result (%o11) that field strength does not depend on the
distance of the observed point from the plane.

■▬▬▬▬▬▬▬▬

II.16 A non-conductive rectangular plate of dimension a  b lying in the xy-plane with its centre
in the origin is charged. The surface density depends on the position vector in the following
 y
way:  ( y )   0 1   . Find the vector of the electric field strength caused by this plate in a
 b 
generic point P(0,0,z0).

Solution:
Electric field strength in point P created by an element dx dy of the plate can be expressed according
Coulomb's Law in the form
     
 1  (r ) (r0  r ) 1  (r ) (r0  r )
dE    ds    dx dy,
4 0 ( r  r )2 r0  r 4 0 (r  r )2 r0  r
0 0

 
where r ( x, y, z ), r0 (0,0, z0 ) denote the position vectors of the element of the plate dx dy and the
observed point, respectively.

Fig. II.16

The resultant vector of the electric field strength is obtained by integrating the above expression over
the surface of the plate
     
1
a/2 b/2
 (r ) (r0  r ) 1
a/2 b/2
 (r  r )
E
4 0   (
 a / 2 b / 2 0
  2   dy dx 
r  r ) r0  r 4 0
 
 a / 2 b / 2
 (r ) 0  3 dy dx.
r0  r

58
The above integral seems to be too hard for wxMaxima, therefore we apply DERIVE.
We enter the data and the define the components:

The components are:

We can plot the components depending on z0 for special data:

■▬▬▬▬▬▬▬▬

59
II.17 An electric charge Q is distributed uniformly on a semi-sphere of radius R. Find the vector
of the electric field in an arbitrary point on the axis of symmetry of the sphere.
Find the vector of the electric field in the centre of the sphere and in point B(0,0,-R).

Solution:

The contribution to the vector of the electric field dE produced by an element dS of the semi-sphere is
given by
 1 dQ  1  dS 
dE   r r, ,
4 0 r 3
4 0 r 3
Q
where  denotes the surface charge density,   ,
2 R 2

and at the observed point (0,0,z0) the vector r is
  
r  r (0  x,0  y , z0  z )  r ( x,  y , z0  z ).

Fig. II.17

The resultant field vector is obtained by integrating the above expression over the whole semi-
sphere

 1      r
E  3 r dS  4   3 dS .
4 0 
 r 0  r
S S
If we use spherical coordinates
x  R sin  cos  , y  R sin  sin  , z  R cos  ,

then the surface element dS is given by:


dS  R 2 sin  d  d

and the field vector in a point (0,0, z0 ) on the z axis can be written in the form:
 /22   /2 2 
    r 2  R2   r
E ( z0 )   
4 0   3 R sin  d d   4    3 sin  d d  .
0 0 r 0 0 0 r

We enter the expression above and try to calculate the field vector (%06):

60
factor(E_) gives the simplest form of the result (cancelling z0):
To get the field in point B and in the centre we have to perform the respective substitutions
(z0 = –R and z0 = 0):

Note: If we would like to calculate the field in the centre using result %o6 we need to apply the
limit command (see the error message as answer in %i11):

TI-NspireCAS has no problems performing the double integration:

61
II.18 A cylindrical dielectric layer characterized by two radii R1, R2 and height H is uniformly
charged with a charge Q. Find the vector of the electric field
a) on the axis of symmetry,
b) in the centre of the base circle (see Fig. II.18).

Fig. II.18

Solution:
 
The contribution of an element dV of the hollow cylinder to the field vector dE in point r , is given
by
 1 dQ  1  
dE   r r dV ,
4 0 r 3
4 0 r 3
Q
where  denotes the charge density   .
  R2  R12  H
2


The resultant field vector is the result of integrating dE over the whole cylinder
 
1    r
4 0  4 0 
E 3 r dV   3 dV .
V r V r

Due to the symmetry of the system, it is convenient to use cylindrical coordinates: According to
Fig II.18 we can write
  
r  r (0  x, 0  y, z 0  z )  r ( x,  y, z 0  z ) with

x  R cos  , y  R sin  , dV  R dR d dz.

The resultant vector of the electric field is of the form


H
 2 R2
 
   r
E  
4 0    3 R dR d dz.
 r
  R1
 0
0

We enter the expressions given above:

62
a) At first we try to calculate the strength of the field using the trigsimp command within
the integration.

Graphic representation is obtained as follows.

b) In the point of interest (z0 = 0) the field takes a simpler form:

The many parameters invite introducing sliders for analyzing their influence on the strength
of the field. We do this supported by TI-NspireCAS (we could also use DERIVE for this
purpose). We can also ask for the position of the maximum strength.

63
Calculation is easy done. The screen below shows the graph from above (black) and the
graph variable by moving the sliders (red). The maximum strength of the black graph is
given for z0  5.1 using the TI's Analyze-tool. It cannot be calculated exactly.

■▬▬▬▬▬▬▬▬

64
II.19 Calculate potential and electric field caused by a uniformly charged sphere of charge Q and
radius R. Try to apply various ways of solutions. Present the results in form of a graph.

Solution:
Method One
The electric potential d caused by a point charge dQ at a distance l from this charge (see Fig. II.19)
is equal to
1 dQ 1  dV
d     ,
4 0 r  r ' 4 0 r  r '

    Q
where r  r ( x, y, z ), r '  r '( x ', y ', z ') .   denotes the volume charge density and dV denotes
4 3
R
3
the volume element.

Fig. II.19

The resultant potential is given by the integral

   dV
   d    .
 4 0  r  r '
 V
V

In this problem it is useful to change from Cartesian coordinates to spherical ones.


x  r sin  cos  , y  r sin  sin  , z  r cos  .

The volume element dV in spherical coordinates is given by

dV  r 2 sin  dr d d .

The potential integral finally gets the form


2
 R

    r 2 sin 
   dr d d .
4 0     
 r r'
 0
 0
0

When we try calculating the above triple integral directly we will meet some difficulties. However,
we can make use of the symmetry of the system and locate the observed point on the z-axis:
  
r '  rp  rp(0,0, zp ) .

65
Note: variable zp plays the role of the distance l of the observed point form the centre of the sphere.

We start the evaluation procedure:

We notice that Maxima is unable to perform the integration. Let's try to assist the program by
stepwise integrating starting with the innermost integral:

Now we get a result for  which can be further simplified:

The absolute value expression indicates that we have to distinguish between two cases:

R  zp (observed point is inside the sphere) and R < zp (observed point is outside the sphere).

66
Thus we can enter the potential in form of a piecewise defined function (zp):


Field strength calculation uses the well known relation E   grad ( ). In our problem we need only
consider differentiation wrt zp.

Inside the sphere field strength increases proportional to the distance from the centre of the sphere
 1 
( zp), whereas outside it decreases inversely proportional to this distance   2  .
 zp 

It is no problem to perform the integration with DERIVE:

67
But I came across problems working with TI-NspireCAS. I could perform the integration, but I
could not obtain the "inside" result.

I wrote to Michel Beaudin (Canada) and he knew how to do overcome the problem. See
Michel's answer and advice as well:
Josef, note that if the point is inside the sphere, we have R > zp. So in order to compute the value of
« phi » in your Nspire file, yo need to split the integral into 2 parts because you don’t know if r is
between 0 and zp or between zp and rr. Doing this, Nspire gets the same results as good old Derive
(see the file). In Derive, we don’t need to do this because Derive is able to compute the whole
integral because Derive is using a special rule of integration involving signum functions :
int(f(x)*sign(a*x+b) = ……..

Many thanks to Michel.


The plots are following on page 71.

68
Method Two
We can solve the problem by integrating Poisson's equation (see page 14). This equation is of form

2   inside the sphere and
0

 2   0 outside the sphere,

where  2 denotes the Laplace operator. When using spherical coordinates due to radial symmetry
such an operator simplifies to

1  d  2 d 
 r  .
r 2  dr  dr  

We enter the equation for the "inside" potential and proceed (comments in text cells):

The potential cannot tend to infinity as r  0, thus the constant %c1 must equal zero. Thus the
potential inside the sphere is

Now let's work out the "outside" potential:

69
It remains to determine the integration constants %c2 to %c4, from the boundary conditions:
 the potential must tend to 0 for r   and

 potential and strength must be continuous on the surface of the sphere


which leads to the following three equations which can easily be solved:

We define the integration constants and bring the potential in its final concise form:

Finally we calculate the field strength:

70
Q
Exercise: Substitute   and check if results of Method 2 meet the results of Method 1.
4 3
R
3
We plot for Q = 1, eps0 = 1 and R = 2.

Potential (above) and Strength (below)


Method Three
The solution can be found in a much easier way using Gauss' law. This is left to the reader.

■▬▬▬▬▬▬▬▬

71
II.20 A solid dielectrical sphere with an empty spherical cavity is charged uniformly with volume
charge density . The centre of the spherical cavity is placed at a distance r0 from the centre
of the solid. Find the strength of the electric field at any point inside the cavity.

Fig. II.20

Solution:
The spherical cavity can be treated as a uniformly charged sphere with zero volume charge
density, which can be modelled as a superposition of a positive density (+) and a negative density
(-) of equal magnitude. Then, by the superposition principle, the resultant electric field can be
calculated as the vector sum of the fields produced by the whole solid sphere of charge density
(+) and the sphere of charge density (- ) corresponding to the cavity.
From the solution of Problem II.16, we know that inside a uniformly charged solid sphere the
electric field is given by
  
E r.
3
0
According to Fig. II.20, we can write

         
E
3 0
R1 
3 0
R2 
3 0
 
R1  R2 
3 0
r0 .

■▬▬▬▬▬▬▬▬

II.21 We consider a system of two conducting balls of radii r1 and r2, separated by a large (in
comparison with the radii) distance d. How should a charge Q be distributed between the
balls, if the force acting between the balls is to decrease after the balls have been connected
by a thin wire?
Solution:
Since the distance between the balls is much larger than the sum of their radii, the balls can be
treated as point charges. Therefore, the force acting between them is of the form

72
where Q1 is the charge on the ball of radius r1 and (Q – Q1) the charge on the other ball. After the
balls have been connected by a thin wire, the charge is redistributed and the new force is

where q1 and (Q – q1) are new charges.


When the balls are connected by a wire, then the potential difference disappears (the potentials on
the balls are the same). Using the expression for the potential on a metallic ball of radius r charged
with a charge q

one can write the equation


(q1 , r1 )   (Q  q1 , r2 ).

Charge q1 is the solution of the above equation:

In order to find Q1 we have to solve the following inequality


F1 < F i.e. F1 – F < 0.

It can easily be seen that the above inequality is true within the zeros of a second order polynomial
(parabola). Let's find these zeros now.

From %o7 we can conclude that for r2 < r1 the solution is


Q r2 Q r1
 Q1 
r1  r2 r1  r2

and consequently when r2 > r1 then we have


Q r1 Q r2
 Q1  .
r1  r2 r1  r2

The screen shots on the next page demonstrate that DERIVE and TI-NspireCAS as well can
solve the inequality F1 – F < 0.

73
The solution of TI-NspireCAS is a "little bit" bulky and includes a lot of additional information.
It should not be really funny to read this solution on a handheld.

■▬▬▬▬▬▬▬▬

II.22 The sketch shows two point charges Q and 2Q. Ql charge is uniformly distributed on the
segment of length l.

Fig. II.22

Find the angel  and relationship of Ql/Q charges for which the Coulomb force is
disappearing in the centre of the coordinate system.

Solution:
Coulomb force is zero implies the electric field to be zero. Therefore it remains to inspect the
electric field. The resultant field is a vector sum of the fields created by the point charges and the
Ql charge. For the point charges we have

74
and for the charge Ql we will write

Then the resultant field is the sum and will be evaluated applying the requested relationship of the
charges Ql =   Q ( is the factor of proportionality).

We try to find the desired parameters  and  in one single step.


(Remember, the solve function doesn't need the right hand side of the equation when it equals zero.)

As this does not work we will try to find the solution step by step (good old elimination method).
From the first equation we get

We know that trig equations in most cases have more solutions – let's try later with another CAS.
Now we will proceed finding .

Finally we are verifying the correctness of the obtained solution.

75
We will tackle this problem with TI-NspireCAS and DERIVE as well. TI-NspireCAS allows
solving the system of equations in one step but the output is again more than bulky so that it
might not be comfortable to read it off from the handheld. At the other hand TI-NspireCAS
gives more than one solution.

So does DERIVE. Calculation procedure is not complicated and the output is very
handsome, isn't it.

76

You might also like