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
  • please please do all of them please a. The volume of a right rectangular prism is...

    please please do all of them please a. The volume of a right rectangular prism is 86 m3. The height of the prism is __?__m when the base has an area of 30 m2. Round answer to nearest hundredth. b. The volume of a cylinder is 43.4 m3. The radius is 3 m and the height is __?__ m. Round answer to the nearest hundredth. c. The volume of a cylinder is 93 m3. The height is 3 m and...

  • A certain gymnasium has the shape of a rectangular prism. The volume V of a rectangular...

    A certain gymnasium has the shape of a rectangular prism. The volume V of a rectangular prism is given by V-lwh, where/ is the length, w is the width, and h is the height. Make an order of magnitude estimate of Vwhen /= 533 ft, w 110 ft, and h 110 ft. Write your answer as a power of ten. 10

  • I need help solving these questions,please don’t know how to solve it by using matlab.!

    i need help solving these questions,please don’t know how to solve it by using matlab.! Solve the following questions Ol: You are required to develop a script to calculate the volume of a pyramid, which is 1/3 *base *height, where the base is length *width. Prompt the user to enter values for the length, width, and height, and then calculate the volume of the pyramid. When the user enters each value, he or she will then also be prompted to...

  • Write a java program that computes the total surface area of a rectangular prism. There are...

    Write a java program that computes the total surface area of a rectangular prism. There are six sides, so the area of all six sides has to the summed to get the total area. The program should ask the user to enter the length (L), width (W) and the height )H) for the object in inches. Create a separate method from the main to calculate the area (name the method calcArea). The output of calcArea will return a double. Output;...

  • PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MAT...

    PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PROBLEM 3 The system in Figure 3 comprises a motor and a contoller. The performance requirements entail a steady state error for ramp input r(t)-Ct, smaller than 0.01C. Here, C is a constant. The overshoot...

  • Need help with these MATLAB questions! Thank you in advance. If it's not too much to...

    Need help with these MATLAB questions! Thank you in advance. If it's not too much to ask please provide an explanation httpe/bb assessment take/launchjup?course assessment ida 91560 1&course id--105708 18coetent ida 213504 18 trpmnul Take Test BB3.1 due end of x Amazon.com Online Sh. search X Find queried points save Al QUESTIONS This time, you've used the 's flag as your input argument. Notice how the user enters the name How many characters have beenstored in the variable naTe? Answer...

  • solve with step please :) 7. (5 points) A rectangular storage container storage container with an...

    solve with step please :) 7. (5 points) A rectangular storage container storage container with an open top is to have a volume of 10 m. The length of its base is twice the width. Material for the base costs $10 per square meter. Material for the sides st $6 per square meter. Find the cost of materials for the cheapest such container. Note: If we let 1, b denote the length and breadth of the base and let h...

  • ******** IN JAVA ********* I have a program that I need help debugging. This program should...

    ******** IN JAVA ********* I have a program that I need help debugging. This program should ask a user to input 3 dimensions of a rectangular block (length, width, and height), and then perform a volume and surface area calculation and display the results of both. It should only be done using local variables via methods and should have 4 methods: getInput, volBlock, saBlock, and display (should be void). I have most of it written here: import java.util.*; public class...

  • Matlab Matlab Matlab Matlab, Please solve this problem Problem 4 : Runge's phenomenon For this proble,...

    Matlab Matlab Matlab Matlab, Please solve this problem Problem 4 : Runge's phenomenon For this proble, you wil interpolate the function h(x) = tanh(10x) in I [a, b, through n datapoints (xi, hx with equidistant nodes for several values of n, and observe the behavior of the interpolating polynomial as n increases. You should use the pair of functions polyfit and polyval In your prob40: (a) Interpolate the function tanh(10x) in [-1,1] using a uniform grid of n nodes, where...

  • Please Solve this question by using Matlab. errors accumulate ran 1.1.6. It's reasonable to expect that...

    Please Solve this question by using Matlab. errors accumulate ran 1.1.6. It's reasonable to expect that floating point during a long computation, creating what is known as a random walk. O average we expect as many errors to be negative as positive, so they tend to partially cancel out. Suppose we define a random sequence by x 0 and 4-1 ± 1 for n 1, with the signs chosen by tossing a fair coin for each n. Let a, and...

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
ADVERTISEMENT