543 views

Uploaded by Ndawula Isaac

MATLAB

- Alpha Test Individual
- fx9750g_ch15
- week of november 3-7
- Lesson 8 2
- Practice questions
- mth462 unit lesson 7
- MATH Equations Problems
- NDA & NA
- A Theory of Probabilistic Functional Testing
- oleson instructions project matlab2
- Chapter 8 Graphing
- Quiz Functions I.doc
- day 1 intro to transformations lesson plan
- Namma Kalvi 11 Model Practical Question Computer Science2018 19sxq
- zoo-read
- Some weighted arithmetic operators and geometric operators with SVNSs and their application to multi-criteria decision making problems
- Kinematics in one dimension -1
- Green 2007
- mathproject1
- tcu11_01ad

You are on page 1of 3

Write a MATLAB Add all the terms in the series, 1

1 1 1 .......... .......... ..........until the 2 4 8

sum exceeds 1.995. Print out the sum and the number of terms needed to just exceed the sum of 1.995. 2. The Fibonacci sequence is given as, 1 1 2 3 5 8 13 21 34 ………………………….. Write a MATLAB program to generate the Fibonacci sequence up to the twelfth term. 3. Use MATLAB to find V1 , V2 and V3 in the following circuit.

4. Figure below shows a cylindrical tank with a conical base. If the liquid level is quite low, in the conical part, the volume is simply the conical volume of liquid. If the liquid level is midrange in the cylindrical part, the total volume of liquid includes the filled conical part and the partially filled cylindrical part. Use decisional structures to write an M-file to compute the tank’s volume as a function of given values of Rand d. Design the function so that it returns the volume for all cases

Where the depth is less than 3R, Return an error message (“Overtop”) if you overtop the tank—that is, d>3R. Test it with the following data. R 0.9 1.5 1.3 1.3 d 1 1.25 3.8 4.0 MRU Department of Engineering Page 1

6. Develop a function to produce an animation of a particle moving in a circle in Cartesian coordinates based on radial coordinates. 7. and allow the angle ( θ ) to increase from zero to 2 in equal increments. develop a script that uses this function to generate a plot of v versus t for t=−5 to 50. Piecewise functions are sometimes useful when the relationship between a dependent and an independent variable cannot be adequately represented by a single equation.000. The output should consist of a table with headings and columns for n and F. the interest rate i(as a decimal). The input to the function should include the initial investment P. Run the program for P=$100. 45 and 120.9999. the velocity of a rocket might be described by Develop an M-file function to compute vas a function of t. Test your function with 89. i=0. and n=10 years. and the number of years n for which the future worth is to be calculated. The future worth F yielded at an interest rate i after n periods may be determined from the following formula: F P(1 i) n Write an M-file that will calculate the future worth of an investment for each year from 1 through n. Assume a constant radius. r. For example. 90. Develop an M-file function that is passed a numeric grade from 0 to 100 and returns a letter grade according to the scheme: Design the function so that it displays an error message and terminates in the event that the user enters a value of score that is less than zero or greater than 100. 8.05. MRU Department of Engineering Page 2 .Note that the tank’s radius is R 5. Then. An amount of money P is invested in an account where interest is compounded at the end of the period.

n=roughness coefficient. Include headings on the table to label the columns.9. and H=depth (m). Enter these values into a matrix where each column represents a parameter and each row represents a channel. Manning’s equation can be used to compute the velocity of water in a rectangular open channel: Where U=velocity (m/s). S=channel slope. MRU Department of Engineering Page 3 . Have the M-file display the input data along with the computed velocity in tabular form where velocity is the fifth column. B=width (m). The following data are available for five channels: Write an M-file that computes the velocity for each of these channels.

- Alpha Test IndividualUploaded byxSubrilla
- fx9750g_ch15Uploaded bySantiago Cabrera
- week of november 3-7Uploaded byapi-246433429
- Lesson 8 2Uploaded byk8nowak
- Practice questionsUploaded byusama tariq
- mth462 unit lesson 7Uploaded byapi-437363879
- MATH Equations ProblemsUploaded byIslam Unity
- NDA & NAUploaded byAmit Sutar
- A Theory of Probabilistic Functional TestingUploaded byArash Mazandarani
- oleson instructions project matlab2Uploaded byapi-273162418
- Chapter 8 GraphingUploaded byaihr78
- Quiz Functions I.docUploaded byمحمد أحمد عبدالوهاب محمد
- day 1 intro to transformations lesson planUploaded byapi-301240874
- Namma Kalvi 11 Model Practical Question Computer Science2018 19sxqUploaded byRaja Thekshinamurthy
- zoo-readUploaded by최광윤
- Some weighted arithmetic operators and geometric operators with SVNSs and their application to multi-criteria decision making problemsUploaded byMia Amalia
- Kinematics in one dimension -1Uploaded byViresh Singh
- Green 2007Uploaded byAnonymous txyvmbY
- mathproject1Uploaded byapi-241702175
- tcu11_01adUploaded byJagathisswary Satthi
- notes#1.pdfUploaded byi1958239
- 35Uploaded byAshish Sharma
- Cycle Sheet It JavaUploaded byPranjal Tomar
- Pages From Chapter 17-20Uploaded byta
- Math 151 Homework 05.pdfUploaded byNafiur Rahman
- Lecture 3 VBAUploaded byJonahJunior
- PADT-Webinar-ConstraintEquations-2012_04_27Uploaded byalfonxxl
- definition of functionUploaded byapi-247658686
- (Alpha, Beta, Gama)-Equalities of single valued neutrosophic setsUploaded byMia Amalia
- 200210804.pdfUploaded byrakesh

- fgtUploaded byNdawula Isaac
- tyuUploaded byNdawula Isaac
- moduler.docxUploaded byNdawula Isaac
- AatUploaded byNdawula Isaac
- modules.docxUploaded byNdawula Isaac
- modules.docxUploaded byNdawula Isaac
- AatUploaded byNdawula Isaac
- fgtUploaded byNdawula Isaac
- YouUploaded byNdawula Isaac
- GHUploaded byNdawula Isaac
- fgtUploaded byNdawula Isaac
- fgtUploaded byNdawula Isaac
- tyu.docxUploaded byNdawula Isaac
- tyu.docxUploaded byNdawula Isaac
- ModUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- RoleUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- fgtUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac
- fgtUploaded byNdawula Isaac
- ProjectUploaded byNdawula Isaac
- DofUploaded byNdawula Isaac

- Machine Vibration ( a Beginners Guide)Uploaded bymavric444
- Coastline News Letter 2017 Edition 1Uploaded byChad A. Bowman
- DymolaUploaded byjoelmarinho
- Takahashi 2015 - rational Practical Calculation Volumetric MethodUploaded bycudus79
- RooFit Users Manual 2.91-33Uploaded byGica Joe
- 524612Uploaded byTimothy Fields
- MR366 Megane 0 - General InformationUploaded bysimon_rafferty_2
- Cell ReselectionUploaded bySyed Nowf Al Haque
- Sas StatisticsUploaded byprasadsrinu
- Computational MorphogenesisUploaded byDeinan11
- Win Berry AlgorithmUploaded byJoab Dan Valdivia Coria
- Distributive Analysis Stata Package V2.3Uploaded byvicenteadri
- postanewUploaded bymuratogluinsaat1701
- 2008 Boyd McKayUploaded byWelkin Sky
- BAPI Programming GuideUploaded byClara Cardenas Calderon
- Study of the Mining Production Systems ScurtUploaded byAndras Iosif
- fatigue lifeUploaded bypushparajpingulkar
- abb tzidc positionerUploaded byMARI SHANKAR
- RTA_2_2010_edUploaded byAlbert Ccari Supo
- ETSI EG 202 057-1Uploaded byDusan Jokanovic
- Intersection UnionUploaded bychrisadin
- Rf GuideUploaded byFrank C
- Introduction to HFSSUploaded bySambit Kumar Ghosh
- GHandover ControlUploaded byJonan Kansiime
- 1121-1129 Kelevisius Amsiejus Et AlUploaded byRatulKumarMajumdar
- Analysis of a Novel Hash Function Based upon Chaotic Nonlinear Map with Variable ParameterUploaded byijcsis
- Chap 2Uploaded bymadhatter614
- PracticalUploaded byHassan Khalid
- November 2011TCRMinutesUploaded byTHYAGU L
- Man Xcali 97696 Sieve 22 User Manxcali97696 a EnUploaded bySeet Toh