|
[Date Index]
[Thread Index]
[Author Index]
Re: display of function
- To: mathgroup at smc.vnet.net
- Subject: [mg58515] Re: display of function
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Tue, 5 Jul 2005 04:52:23 -0400 (EDT)
- Organization: Uni Leipzig
- References: <dad7oo$t91$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
u[y] /. n -> 3 /. Subscript -> Part
??
Regards
Jens
"Bosch, Darrell" <bosch at vt.edu> schrieb im
Newsbeitrag news:dad7oo$t91$1 at smc.vnet.net...
>
> Dear Math Group:
>
> The first equation below shows a
> function for u(y) which is
> the sum of the products of pi times yi. In the
> following steps, I
> assign values of p and y. How can I get
> Mathematica to display the
> numerical value of u for the given p and y
> values? When I insert the
> u[y] command, I just get a repeat of the
> equation I have entered.
> Thanks for your suggestions. This group is a
> great help. Darrell
>
>
>
> u[y_] := Sum[Subscript[p, i]*Subscript[y, i],
>
> {i, 1, n}]
>
>
>
> p = {.3,.4,.3}
>
>
>
> y={10000, 20000, 30000}
>
>
Prev by Date:
Any ideas about solving an underdetermined system?
Next by Date:
Re: Function to handle array with variable _number_ of dimensions?
Previous by thread:
Re: display of function
Next by thread:
Re: display of function
|