Jump to content

9.5 Maple Assignment


psynapse

Recommended Posts

If you know MATLAB, another mathematical computer program.

 

This is assuming that MAPLE program is almost similiar to MATLAB.

 

You have to define datas for x-axis, let use time for seconds:

 

t=[0:0.01:10]

This means that the x-axis will be starting at 0 and going in an increment of 0.01 toward 10 at the end.

 

Then you define a function for example [math]f(x)=x^2+2x-1[/math]

 

You type this: f=x.^2 + 2.*x - 1

(Notice the dot? It means that the x-axis will be multiplied element-by-element. This is very important to know).

 

To plot the graph:

 

plot(t,f)

 

 

That's it.

 

You can google for MAPLE homepage, and there should be plenty of tutorials on it.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.