Skip to content Skip to navigation

Connexions

You are here: Home » Content » Exercises for Basic Mathematical Operations

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Recently Viewed

This feature requires Javascript to be enabled.

Exercises for Basic Mathematical Operations

Module by: Darryl Morrell

Summary: This module has exercises on using mathematical operations in m-file scripting environments.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

Exercise 1

Figure 1 shows a Sharp GP2D12 infrared distance sensor and a BasicX-24 microprocessor.

Figure 1: The infrared distance sensor and microprocessor.
Distance Sensor and Processor
Distance Sensor and Processor (IRProcessor.png)
The distance sensor uses a beam of infrared light to measure the distance from the sensor to an object; the sensor provides an output voltage that has a fairly complicated relationship to this distance. The BasicX processor converts the voltage from the sensor into a number between zero and one. Let us denote this number as xx, and the distance (measured in inches) between the sensor and object as dd. The relationship between xx and dd is
d=34.63x5.1622.54 d 34.63 x 5.162 2.54 (1)
Compute the value of dd for the following values of xx:
  • x=0.10x0.10
  • x=0.15x0.15
  • x=0.20x0.20

Exercise 2

The terminal velocity reached by a sky diver depends on many factors, including their weight, their body position as they fall, and the density of the air through which they fall. The terminal velocity is given by

V t =2mgrA C d V t 2 m g r A C d (2)
where
  • mm is the sky diver's mass
  • gg is Earth's gravitational constant
  • rr is the atmospheric density
  • AA is the sky diver's effective area
  • C d C d is the sky diver's coefficient of drag
Compute the terminal velocity of the sky diver for each of the following values of mm:
  • m=40 kgm40 kg
  • m=80 kgm80 kg
  • m=120 kgm120 kg
Use the following values for the other variables:
  • g=9.8g9.8
  • r=1.2r1.2
  • A=0.5A0.5
  • C d =1 C d 1

Comments, questions, feedback, criticisms?

Send feedback