+ All Categories
Home > Documents > Vector Fields

Vector Fields

Date post: 22-Feb-2016
Category:
Upload: kael
View: 30 times
Download: 0 times
Share this document with a friend
Description:
Vector Fields. Mohammad H. Chaghazardi. Fall – winter 2011. In this presentation:. The Physics. The Physics. Field Drawing styles. S tatics. The Physics. Moving charge. The Physics. Highest Accuracy. Stray Charge. The Physics. The Code. Using Arrays instead of Vectors - PowerPoint PPT Presentation
13
Vector Fields Mohammad H. Chaghazardi Fall – winter 2011
Transcript
Page 1: Vector Fields

Vector Fields

Mohammad H. Chaghazardi

Fall – winter 2011

Page 2: Vector Fields

In this presentation:

2. The coding of the problem

3. The Graphics of the problem

1. The physics of the problem

Page 3: Vector Fields

The Physics

Page 4: Vector Fields

The Physics Field Drawing styles

Page 5: Vector Fields

The PhysicsStatics

Page 6: Vector Fields

The Physics

Moving chargeHighest Accuracy

Page 7: Vector Fields

The PhysicsStray Charge

Page 8: Vector Fields

The Code• Using Arrays instead of Vectors• Function calling• draw function• Scan function ( causes undesired delays)• Super Position function (numerical process)• …

Page 9: Vector Fields

The GraphicsTurbo C ! Dream era

Borland 5

GNU or DEV + Graphics and winBGIm libraries

Page 10: Vector Fields

The GraphicsHow to Draw an Animation ?

1. Drawing the Plot• Using the circle and line

statements

2. Showing the Plot• Picturing Delays

3. Clearing the Plot• Using cleardevice ( ) function

4. Drawing again!

Type 1

FAIL

!

Page 11: Vector Fields

The GraphicsHow to Draw an Animation ?

Type 2

1. Drawing a Plot• Using the circle and line

statements

2. Showing the Plot1. Picturing Delays

3. Drawing an inverse for the Plot

4. Drawing again!FAIL

!

Page 12: Vector Fields

The GraphicsHow to Draw an Animation ?

Type 3

USE OF PAGES IN BGI

PASS !

Page 13: Vector Fields

The GraphicsHow to Draw an Animation ?

Type 3

1. Showing Page 1 : setvisualpage ( int x)2. Selecting Page 2 : setactivepage( int x)3. Drawing Page 24. Showing Page 25. Selecting Page 16. Clearing Page 17. Drawing Page 1 or 28. Goto 1


Recommended