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?

- MS SQL SERVER
- Windows
- Layout&presentation
- dotnet framework
- Sinclair computer
- jobs
- vbscript
- Small Business Accounting
- Exchange 2000
- Win32 Programming

- 1. : Polar Plot

I think you must convert to Cartesian coordinates first: In[41]:= eq = r^2 == 3 + 2*r*Cos[\[Theta]] In[44]:= eq2 = FullSimplify[ eq /. {r -> Sqrt[x*x + y*y], \[Theta] - > ArcTan[x, y]}] Out[44]= y^2 + (x - 2)*x == 3 This seems to describe a circle of radius 2 centered at {1,0}, which you can verify in version 6 with ContourPlot[Evaluate[eq2],{x,-1,3},{y,-2,2}] Use ImplicitPlot in version 5. Tom Burton - 2. WindowMargins question

Hi I have created a small palette. I want to place it at the very top of my main monitor. If I do something like this.. CreatePalette[expr, WindowMargins -> {{500, Automatic}, {Automatic, 0}}, WindowTitle -> ""]; the palette is placed below the main Mathematica menu. I want to place it higher, at the very otp of the screen. How do I do that? Thank you for your help - 3. vector representation

Hi, Having the vector r(a,b,c) = {a i, b j, c k} where i, j, k are the unit vectors and a, b, c arbitrary coefficients, I want to calculate, for example r(1,2,1) etc. Also I want to be able to add 2 or more of such vectors trough their indexes, for example: r(0,0,1) + r(1,2,3) and the sum to be expressed like this r(1,2,4) and not like {1i, 2j, 4k}. Thank You in advance!

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