MathGroup Archive 2012

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

Search the Archive

inserting an equation and plotting it

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128795] inserting an equation and plotting it
  • From: Abdo Adam <abdo.d12 at hotmail.com>
  • Date: Sun, 25 Nov 2012 23:27:37 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

i'm trying to insert an equation and plot it, but i couldn't because i keep getting errors like : matrix dimensions must agree, or inner matrix dimensions must agree.

http://www4.0zz0.com/2012/11/25/10/272913238.png
this is the equation. M has a value of 1 to 5 with an increment of 0.5. Q has a value of 0 to 1 with an increment of 0.1.

http://www4.0zz0.com/2012/11/25/10/700692428.png
the plot is something like this.

i tried to split the equation into parts, so it would be easier for me to insert it
i'm having a problem with the last part, i get this error

e=q./m(1-sqrt(1-(q./m).^2));

Subscript indices must either be real positive integers or logicals.



  • Prev by Date: Re: Mathematica 8 Serial Port Comm.
  • Next by Date: Superscript on plus expression
  • Previous by thread: Re: Mathematica 8 Serial Port Comm.
  • Next by thread: Re: inserting an equation and plotting it