Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

FOR MATLAB PROGRAMMING: Here's what I have: a = 2; b = 1; x = a*cosphi*costheta; y = b*cosphi*sintheta; z = b*sinphi; [x,y,z] = ellipsoid(xa,ya,za,xb,yb,zb);

FOR MATLAB PROGRAMMING:

image text in transcribed

Here's what I have:

a = 2; b = 1; x = a*cos\phi*cos\theta; y = b*cos\phi*sin\theta; z = b*sin\phi; [x,y,z] = ellipsoid(xa,ya,za,xb,yb,zb);

I'm pretty sure it's something to do with the phi's and thetas as to why my code isn't working but my book is super vague about what to do here, any help is appreciate.

An ellipsoid of revolution is the solid analog of a two-dimensional ellipse. The equations for an ellipsoid of revolution rotated around the x axis are x = acos cos (8.25) b sin where a is radius along the x-axis, and b is the radius along the y- and z-axes. Plot an ellipsoid of revolution for a- 2 and b- 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

Question What are the requirements for a SIMPLE 401(k) plan?

Answered: 1 week ago