Post Reply 
Plotting f(x,y,z)=0?
01-20-2023, 12:30 AM (This post was last modified: 01-20-2023 01:25 AM by Albert Chan.)
Post: #3
RE: Plotting f(x,y,z)=0?
(01-19-2023 07:02 PM)byoung Wrote:  cos(x)*sin(y) + cos(y)*sin(z) + cos(z)*sin(x) = 0

I think you can solve for z

Let K = sqrt(cos(y)^2 + sin(x)^2)
Let θ = asin(sin(x)/K)

cos(x)*sin(y) + K*(sin(z)*cos(θ) + cos(z)*sin(θ)) = 0
sin(z + θ) = -cos(x)*sin(y) / K

z = asin(-cos(x)*sin(y) / K) - θ

Comment: I assumed y within ±pi/2, otherwise θ = atan2(sin(x), cos(y))
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Plotting f(x,y,z)=0? - byoung - 01-19-2023, 07:02 PM
RE: Plotting f(x,y,z)=0? - roadrunner - 01-19-2023, 11:31 PM
RE: Plotting f(x,y,z)=0? - Albert Chan - 01-20-2023 12:30 AM
RE: Plotting f(x,y,z)=0? - byoung - 01-20-2023, 02:58 PM



User(s) browsing this thread: 3 Guest(s)