Prev: Simple String question
Next: plot
From: Mohammed Forhad on 2 Jul 2010 02:55 hi ! I am new in this group. How to get the value of x 1. Solve[a[1-b]x+abs-sqrt[x^b]c==0,x] 2. Solve[[alog[x]+b+a-[s+t]a/x-a/x[1/[alog[x]+b]hf]==0,x] 3. Plot[[alog[x]+b+a-[s+t]a/x-a/x[1/[alog[x]+b]hf],{x,1,10}] Further , what does it mean: Out[6]= -Graphics- Please help me Uddin
From: Peter Pein on 3 Jul 2010 08:18 Am Fri, 2 Jul 2010 06:55:36 +0000 (UTC) schrieb Mohammed Forhad <kforhad77(a)gmail.com>: > hi ! > I am new in this group. > > How to get the value of x > 1. Solve[a[1-b]x+abs-sqrt[x^b]c==0,x] > 2. Solve[[alog[x]+b+a-[s+t]a/x-a/x[1/[alog[x]+b]hf]==0,x] > 3. Plot[[alog[x]+b+a-[s+t]a/x-a/x[1/[alog[x]+b]hf],{x,1,10}] > > Further , what does it mean: Out[6]= -Graphics- > > Please help me > Uddin > regarding 1.: how are the functions a and sqrt defined by you? 2.: how is alog defined? What is the function without name called with parameter s+t an later with alog[x]+b? How is the function x defined? 3.: again a function without name, alog and x[..] If you do not tell us, how you defined the mentioned functions (the one without a name will not work at all), we can not help you. Sorry, Peter. P.S.: Mathematica comes _with_ documentation. Select "Help" from the menu, then "Virtual book" and read and work through the first few chapters.
From: Bob Hanlon on 3 Jul 2010 08:16 First, learn and use the proper syntax 1. The expression cannot be solved in general; however, if b is known Table[Solve[a (1 - b) x + a b s - Sqrt[x^b] c == 0, x], {b, 0, 3}] 2. Not all equations can be solved (either by Solve or Reduce). It may require numerical techniques with values assigned to variables expr = a Log[x] + b + a - (s + t) a/x - a/x (1/(a Log[x] + b) h f); With[{a = 1, b = 2, s = 3, t = 4, h = 5, f = 6}, FindRoot[ a Log[x] + b + a - (s + t) a/x - a/x (1/(a Log[x] + b) h f), {x, 1}]] {x->3.72103} 3. To plot an expression it must be numeric, i.e., there can be no variables that are not assigned a value. With[{a = 1, b = 2, s = 3, t = 4, h = 5, f = 6}, Plot[ a Log[x] + b + a - (s + t) a/x - a/x (1/(a Log[x] + b) h f), {x, 1, 10}]] Bob Hanlon ---- Mohammed Forhad <kforhad77(a)gmail.com> wrote: ============= hi ! I am new in this group. How to get the value of x 1. Solve[a[1-b]x+abs-sqrt[x^b]c==0,x] 2. Solve[[alog[x]+b+a-[s+t]a/x-a/x[1/[alog[x]+b]hf]==0,x] 3. Plot[[alog[x]+b+a-[s+t]a/x-a/x[1/[alog[x]+b]hf],{x,1,10}] Further , what does it mean: Out[6]= -Graphics- Please help me Uddin
|
Pages: 1 Prev: Simple String question Next: plot |