DOC PREVIEW
GVSU EGR 345 - Lab 3 - Numerical Methods

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

5.0.1 Lab 3 - Numerical Methods5.0.1.1 - Purpose5.0.1.2 - Background/Theory5.0.1.3 - Prelab5.0.1.4 - Equipment5.0.1.5 - Experimentalegr345 lab guide - 5.15.0.1 Lab 3 - Numerical Methods5.0.1.1 - PurposeTo be able to use Scilab and C programs to model systems5.0.1.2 - Background/TheoryIn order to analyze dynamic systems on computers we will need to use programs to perform the calculations. In this case we will use Scilab and C as our preferred tools.Programs written in C can be very efficient and fast. Moreover, when we develop a complete system, we can incorporate C programs into a finished product.Scilab is a clone of the Matlab software package. Both are designed to do matrix oriented mathematics with simple commands.5.0.1.3 - Prelab1. Write a C Program to integrate the area beneath the function below. The pro-gram should ask the user for the start and end points, as well as the number of steps. (you can download compilers from http://claymore.engineer.gvsu.edu/~blaucha/c2d2/c2d2.html) 2. Review the Scilab tutorial (see the course home page for a link). If off campus you may want to download and install the Scilab software (www.scilab.org).3. Write a Scilab program that does the same numerical integration used in step 1 (there is a similar example in the numerical methods chapter of the textbook).4. Write differential equations for the following system. Convert the equations to state form and write C and Scilab programs to solve the state equations.ft() 5t9t 5–()sint--------------------------+=egr345 lab guide - 5.25.0.1.4 - EquipmentComputer with internet access.5.0.1.5 - Experimental1. (If necessary, download and install a C compiler.) Enter the C program written for numerical integration and verify the operation.2. Enter and test the numerical integration Scilab program written for the prelab.3. Enter the C and Scilab programs for the mechanical system and verify their operation.4. Follow the tutorial for creating web pages.5. Post all of the programs written during the lab to your web


View Full Document

GVSU EGR 345 - Lab 3 - Numerical Methods

Documents in this Course
Y Axis

Y Axis

2 pages

Load more
Download Lab 3 - Numerical Methods
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab 3 - Numerical Methods and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab 3 - Numerical Methods 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?