jgm

14 Reputation

2 Badges

15 years, 272 days

MaplePrimes Activity


These are questions asked by jgm

Hi,

I have a simple expression  g1:=x^2+x;

Then its derivative D1:=diff(g1,x); which is 2x+1

Then I want to make a function with this derivative f1:=x->D1;

And I want to evalute this function at any point, for instance f1(3)

And what I get for f1(3) is the the derivative 2x+1 and not the value 7 as I would expect.

What am I missig?

Hi, Question 1: Is it possible to have names using subscripts? I've tried a few names with subscripts. Sometimes it works, sometimes it doesn't. Question2: There must be a faster way to write greek letters using the keyboard instead of going to the greek palette and clicking the greek letter you want. I wasn't able to find how to do that yet.
Page 1 of 1