The question is "Find the volume of the solid bounded by the coordinate planes x=0, y=0, z=0 and the plane x+2y+3z=1". Please check my code if the volume value is correct.

Answers (2)

The function name is viewSolid with a capital S, and it is not part of MATLAB; you need to get it from somewhere such as
I gave some hints here.
I guess @Abinesh R is your classmate since the problem is the same.
You have a negative volume, which isn't right..
I'm getting
volume =
0.027787

1 Comment

Oh i got the same answer. I used this code and got 1/36 as the answer.
clc
clear all
syms x y z
int(int((1/3)*(1-x-2*y),y,0,(1-x)/2),x,0,1)

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 3 Jan 2022

Commented:

on 4 Jan 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!