Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Table function

Posted on 2016-09-08
6
Medium Priority
?
73 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 41789893
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
ID: 41789900
Can you explain or a link little bit more about what is domain input and what exactly the range is?
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 2000 total points
ID: 41789906
domain - the set of values a function can operate on

range - the set of values a function can return
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Closing Comment

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

Expert Comment

by:sdstuber
ID: 41789925
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
ID: 41789931
Thank You.
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding a job can be stressful - searches, resume tweaks, and networking events can be super boring. Luckily we're here to help you land your dream job!
With the shift in today’s hiring climate (http://blog.experts-exchange.com/ee-blog/5-tips-on-succeeding-in-the-new-gig-economy/?cid=Blog_031816), many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

721 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