Example problem of modularity, abstraction, and modelling, Programming Languages

Assignment Help:

Example problem

Imagine that  you  require  to create  a robot  that  will  roll up  close to a light  lamp  and  stop  a fixed distance from it.  The first question is, how will we get electrical signals to relate to the physical process of light readings and robot wheel motion? There is a bigger part of electrical engineering based to the design of physical machines that interconnect to the physical world in such a way that some electrical characteristics of the machine based on a physical phenomenon in the world. As like, a light-sensitive resistor is a sensor whose resistance modification relaying on light intensity impinging on it; a motor is an effectors whose rotor velocity is based to the voltage across its two rods. In this course, we will not calculate the detailed physics of sensors and effectors, but will concentrate on different of building systems that use sensors and effectors to perform both simple  and more complicated programs.  To get a robot to halt in front of a light lamp, the problem will be to search a way to connect  the photo-resistor to the motor,  so that the robot will halt at an appropriate  distance from  the lamp.  Thus,  we will already use the concept  of abstraction to treat  sensors and operations as primitive modules whose  internal information  we may ignore, and whose  performance properties we may use as we design systems create on these components.

 

 


Related Discussions:- Example problem of modularity, abstraction, and modelling

Little Man Computer, 1) Write a program that takes an input value (for exam...

1) Write a program that takes an input value (for example, a number 5). The output should be sum of all numbers from 1 to the value input by the user (in this example, the output w

Find the general solution, Example : Find the general solution to the subse...

Example : Find the general solution to the subsequent differential equation. x 2 y′′ - 7 xy′ + 16 y= 0   Solution First the roots of (3)  r (r -1) - 7r + 16= 0 r 2

Project 8-1: count alligators and clone sheep, Operation • This application...

Operation • This application uses an Alligator class that implements a Countable interface to display Alligator objects as shown above. • This application uses a Sheep class that i

MATLAB, Who can help with MATLAB?

Who can help with MATLAB?

ATM, The ATM will simulate a real world automated teller machine that suppo...

The ATM will simulate a real world automated teller machine that supports safe access to accounts from multiple concurrent clients.

Python , Return a new picture with each pixel''s color values made up of 80...

Return a new picture with each pixel''s color values made up of 80% of the color values of the corresponding pixel in the first picture and 20% of the color values of the

The .net framework 3.5, Architecture and Components The .NET Framework 3.5 ...

Architecture and Components The .NET Framework 3.5 The .NET Structure (pronounced dot net) is an application framework that works generally on Enthusiasm Microsoft windows. It has

Java program, Write a program to calculate amount after n number of years b...

Write a program to calculate amount after n number of years by inputting principal at the rate of 8% interest.

Create program that displays levels of the fractal structure, In this Proje...

In this Project your task is to create a program that displays various levels of the fractal structure of the so called square shaped Sierpinski-carpet. The display of level 4 is s

C programming assignments, I can attach or send the assignment instructions...

I can attach or send the assignment instructions, but they''re rather long. 90% of the code is already written and given to us. The assignment is primarily rewriting and rearrangin

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd