Gistlib Logo

gistlib

r=5mm, h=12mm write a script that: • computes the volume of a cone with radius and height . • assigns the resulting value (in mm3) to a variable named vol. in matlab

main.m
r = 5;
h = 12;
vol = (1/3) * pi * r^2 * h;
43 chars
4 lines

similar matlab code snippets

how to calculate the 99th percentile in matlab
how to calculate cumulative distribution function in matlab
how to calculate the binomial distribution in matlab
how to perform a ztest in matlab
how to plot the binomial distribution in matlab
how to calculate the normal distribution in matlab
calculate the area of a triangle in matlab
calculate the area of a sphere in matlab
find the slope of a set of points in matlab
calculate the volume of a pyramid in matlab

related categories

matlab

gistlibby LogSnag