Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Defining Functions and Simplifying Solutions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90498] Defining Functions and Simplifying Solutions
  • From: Locus <Gigalutscher at jubii.de>
  • Date: Fri, 11 Jul 2008 02:02:01 -0400 (EDT)

Hello!

I actually have to questions:

1. Is there a more handy way to define/use functions as compared to the following way (which works, but is complicated always typing the variable definitions):

G[\[Alpha]1_Real, \[Alpha]2_Real, e1_Real, 
  e2_Real] = \[Alpha]1*e1 + \[Alpha]2*e2

v[G_Real] = a*G[\[Alpha]1, \[Alpha]2, e1, e2] + b


2. After several steps, I receive the following solution

{{a -> (0. (e1 \[Beta]1 + e2 \[Beta]2 \[Lambda]))/(rA \[Tau]^2)}}

which obviously equals zero. How can I 'force' Mathematica to display only 0 as result and not such a unnessecarily complicated expression? FullSimplify does not work here.


Thanks a lot!


  • Prev by Date: Re: Solving a DE using Mathematica
  • Next by Date: Re: Symbol function, a question
  • Previous by thread: Re: Coupled second-order nonlinear ODEs
  • Next by thread: Re: Defining Functions and Simplifying Solutions