If i want to draw a function y=sinx*e^x in x =0.5 to 1.5 [only in this interval ] How I can do that with mathematica?
If i want to draw a function y=sinx*e^x in x =0.5 to 1.5 [only in this interval ] How I can do that with mathematica?
Hi, Plot[Sin[x]*Exp[x], {x, 0.5, 1.5}] and read the manual it is full of examples. Regards Jens
You will have to work through much of Part I in The Mathematica Book, or some elementary Mathematica book, to learn the syntax and common commands. It will save a lot of time if you intend to make much use of Mathematica. For your plot... Plot[Sin[x]E^x, {x, 0.5, 1.5}] or for something a little fancier we can add options... Plot[Sin[x]E^x, {x, 0.5, 1.5}, Frame -> True, Axes -> False, FrameLabel -> {x, y}, PlotLabel -> Sin[x]E^x] David Park XXXX@XXXXX.COM http://www.**--****.com/ ~djmp/ From: oracle [mailto: XXXX@XXXXX.COM ] If i want to draw a function y=sinx*e^x in x =0.5 to 1.5 [only in this interval ] How I can do that with mathematica?
Suggest you look up "Plot" in the Help Browser. Plot[Sin[x]*Exp[x],{x,0.5,1.5}] John C. Erb -----Original Message----- From: oracle [mailto: XXXX@XXXXX.COM ] Subject: Plot a function If i want to draw a function y=sinx*e^x in x =0.5 to 1.5 [only in this interval ] How I can do that with mathematica?
Hi, Plot[Sin[x]*Exp[x], {x, 0.5, 1.5}] See the Mathematica Book Section 1.9.1 for more basic help on plotting. Cheers Yas
This is such a basic operation in Mathematica that your question makes me doubt you've read any of the Mathematica Book. You really ought to do that if you are going to even approach using Mathematica efficiently. In any case, the answer is Plot[Sin[x] Exp[x],{x, 0.5, 1.5}]
Hi, Plot[Sin[x]*Exp[x], {x, 0.5, 1.5}] and read the manual it is full of examples. Regards Jens
You will have to work through much of Part I in The Mathematica Book, or some elementary Mathematica book, to learn the syntax and common commands. It will save a lot of time if you intend to make much use of Mathematica. For your plot... Plot[Sin[x]E^x, {x, 0.5, 1.5}] or for something a little fancier we can add options... Plot[Sin[x]E^x, {x, 0.5, 1.5}, Frame -> True, Axes -> False, FrameLabel -> {x, y}, PlotLabel -> Sin[x]E^x] David Park XXXX@XXXXX.COM http://www.**--****.com/ ~djmp/ From: oracle [mailto: XXXX@XXXXX.COM ] If i want to draw a function y=sinx*e^x in x =0.5 to 1.5 [only in this interval ] How I can do that with mathematica?
Suggest you look up "Plot" in the Help Browser. Plot[Sin[x]*Exp[x],{x,0.5,1.5}] John C. Erb -----Original Message----- From: oracle [mailto: XXXX@XXXXX.COM ] Subject: Plot a function If i want to draw a function y=sinx*e^x in x =0.5 to 1.5 [only in this interval ] How I can do that with mathematica?
Hi, Plot[Sin[x]*Exp[x], {x, 0.5, 1.5}] See the Mathematica Book Section 1.9.1 for more basic help on plotting. Cheers Yas
This is such a basic operation in Mathematica that your question makes me doubt you've read any of the Mathematica Book. You really ought to do that if you are going to even approach using Mathematica efficiently. In any case, the answer is Plot[Sin[x] Exp[x],{x, 0.5, 1.5}]
ParametricPlot[{f[y], y}, {y, ymin, ymax}] You will have to figure out ymin and ymax on your own, but that should be easy using Solve/NSolve.
Users browsing this forum: No registered users and 89 guest