Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation 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
Werner_E
25-Diamond I
(To:awibroe)

Maybe that way:

 

b:=13

a(x):=b*x^2

xrange:=0,0.1..1

a(xrange)=

Announcements

Top Tags