Solved

Table function

Posted on 2016-09-08
6
41 Views
Last Modified: 2016-09-08
Is it possible to solve and explain this question in a different way? I am working on an online mathematics Helper web site and I need solutions in different ways. This is not a homework or any kind of exam as I already have a solution of these questions. I just need different ways of solutions so that I can write different algorithms on those solutions and then call them in software coding randomly.

screenshot.jpg
0
Comment
Question by:mustish1
  • 3
  • 3
6 Comments
 
LVL 73

Expert Comment

by:sdstuber
Comment Utility
there's not really anything else to explain this example.

given some input (from the domain) to a function, the function must return exactly one output (in the range)

Since your table has one value (8) returning 2 values (4 & 6)  that table can't be describing a function.

The answer is simply applying the definition of a function.

maybe it would help you to think of it in normal "function" syntax rather than as a table.

f(4)  = 2
f(12) = 3

but

f(8) =6
f(8)=4

therefore f is not a function, because a function can't return 2 answers for one input.
0
 

Author Comment

by:mustish1
Comment Utility
Can you explain or a link little bit more about what is domain input and what exactly the range is?
0
 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
Comment Utility
domain - the set of values a function can operate on

range - the set of values a function can return
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Closing Comment

by:mustish1
Comment Utility
Thanks. I think its a called parameters when we use these term in methods or functions in any programming language.
0
 
LVL 73

Expert Comment

by:sdstuber
Comment Utility
a parameter is a single value taken from the domain to be used in a function.

for example  I might have a function that operates on positive integers.

So f(10)  would be a legal function call.  10 is the parameter, not the domain.

the domain is the positive integers.
0
 

Author Comment

by:mustish1
Comment Utility
Thank You.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We are taking giant steps in technological advances in the field of wireless telephony. At just 10 years since the advent of smartphones, it is crucial to examine the benefits and disadvantages that have been report to us.
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now