cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Multiplication as a function

awibroe
14-Alexandrite

Multiplication as a function

Hi all,

 

Can someone tell me how I can set up a function to perform multiplication or other simple equation.

 

So for example I have an equation of a=b*x^2 

 

In this case b is a constant and x is a variable. How do I go about getting a variety of answers for a range of x variables? i.e. if I define x:= 0,0.1...1?

 

So I am hoping to get in this case 11 outputs for a. 

 

Thanks,

 

Andy.

1 REPLY 1

Maybe that way:

 

b:=13

a(x):=b*x^2

xrange:=0,0.1..1

a(xrange)=

Top Tags