Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16848
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newspump.sol.net!post2.nntp.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | Bill Rowe <readnews@sbcglobal.net> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: A simple Solve gives me errors |
| Date | Thu, 24 Apr 2014 08:03:16 +0000 (UTC) |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <ljagg4$be$1@smc.vnet.net> (permalink) |
| Lines | 20 |
| Organization | Time-Warner Telecom |
| NNTP-Posting-Date | 24 Apr 2014 08:09:25 GMT |
| NNTP-Posting-Host | e554b938.news.twtelecom.net |
| X-Trace | DXC=Na3fQ5ea6ZDO>]7?RIA\SKC_A=>8kQj6M;[h;PUXBgbDR?JXX0GleiNEFiONJ7[GoFW`@[lMgEnRJ |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | csiph.com comp.soft-sys.math.mathematica:16848 |
Show key headers only | View raw
On 4/23/14 at 4:54 AM, stevebg@roadrunner.com (Ste[hen Gray) wrote: >I want to find the center C of a circle in 3D where the plane is >defined by points p1,p2,p3. I wrote this: >eq1 = (ctr - p1).(ctr - p1) - (ctr - p2).(ctr - p2) := 0; >eq2 = (ctr - p1).(ctr - p1) - (ctr - p3).(ctr - p3) := 0; >I get errors of a type I've seen before: You cannot use SetDelayed (:=) in place of Equal (==). You get the error since SetDelayed is attempting to do precisely what it is documented to do. That is assign the value 0 to expression on the left hand side. This clearly isn't what you want and isn't something Mathematica can do. Rewrite your definitions for eq1 and eq2 replacing := with == and you should get the result you want.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar
Re: A simple Solve gives me errors Bill Rowe <readnews@sbcglobal.net> - 2014-04-24 08:03 +0000
csiph-web