Question
it's matlab question , please solve it true . thankyooou ???✅

The volume of a right rectangular prism of height h, width w and length 1 are given by: V = whl The height h has a range from
0 0
Add a comment Improve this question Transcribed image text
Answer #1

clc;clear all
w=input('\nPlease enter the value of width: '); %User inputs width
h=input('\nPlease enter the range of height: '); %User inputs the range of height
l=input('\nPlease enter the length'); %User inputs the length
Volume=l.*h.*w %Finds the volume
plot(Volume,h,'-r') %Plots volume against height in red line
xlabel('Volume') %Adds xlabel to plot
ylabel('Height') %Adds ylabel to plot
title('Volume against height') %Adds title to plot

2 clc;clear ali w=input(\nPlease enter the value of width: ); %User inputs width h=input(\nPlease enter the range of heighPlease enter the value of width: 5 Please enter the range of height: 42:-1.36:7 Please enter the length 10 Volume = 1.0e+03 *Volume against height 45 40 35 30 Height 25 20 15 10 5 400 600 800 1000 1200 1400 1600 1800 2000 2200 Volume

Add a comment
Know the answer?
Add Answer to:
it's matlab question , please solve it true . thankyooou ???✅ The volume of a right...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT