Multiplication as a function
Nov 10, 2017
10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 10, 2017
10:05 AM
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.
Labels:
- Labels:
-
Other
1 REPLY 1
Nov 10, 2017
11:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 10, 2017
11:05 AM
Maybe that way:
b:=13
a(x):=b*x^2
xrange:=0,0.1..1
a(xrange)=
![](/skins/images/695EE5AD3E567050FEDD72575855ED93/ptc_skin/images/icon_anonymous_message.png)