Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!van-bc! From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga Subject: Re: Mathematical Equation Code.... Message-ID: <2429@lpami.wimsey.bc.ca> Date: 24 Dec 90 07:53:26 GMT Lines: 30 Return-Path: To: van-bc!rnews In <39919@nigel.ee.udel.edu>, JK829055@pucal.bitnet (Jim Karczewski, Programmer -- TTR Development, Inc.) writes: > If anyone has any code in c that will give you a solution to a >Problem like the following PLEASE Mail it to Me!!! > > 3(8*3(cos(4)*7-9)/43+3)+32) > > I have some I was working on, But I have not had time to figure out >what was wrong with it... Thanks! Assuming you have the parentheses right, the code would read something like: x = 3(8*3(cos(4)*7-9)/43+3)+32); What sort of problem were you having with it? ----------------------- While I'm here, to all net.folks: Have a happy winter solstice celebration, and be careful out there. -larry -- The best way to accelerate an MsDos machine is at 32 ft/sec/sec. +-----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 -or- 76703.4322@compuserve.com | +-----------------------------------------------------------------------+