MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: problems

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110708] Re: problems
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 3 Jul 2010 08:16:14 -0400 (EDT)

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 at 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



  • Prev by Date: Re: documentation program
  • Next by Date: Re: Simple String question
  • Previous by thread: Re: problems
  • Next by thread: plot