Computers and Technology

Use matlab “fminsearch” to design a helical compression spring for a coil-over shock absorber in a small unmanned ground vehicle (ugv) based on the following specifications. you must attach hard copy of your code and matlab output.
minimum weight
must fit over 0.57 inch dia shock body
minimum working force fw = 15 lbf at working length lw = 1.5 inch
minimum factor of safety nfs of 1.0 to prevent static yield at shut length ls (fully compressed)
free length lf = 3.0 inch, total number of coils nt = 14
round steel music wire or round zinc-plated steel music wire
squared (closed) ends or squared-and-ground ends
current design – nt = 14, lf = 3.0 in, od = 0.80 in, d = 0.081 in, w = 0.046 lbf, nfs = 1.30
2) select a spring that most closely matches your optimal design from mcmaster-carr.
optimal design mcmaster-carr
wire diameter d [in]
coil od [in]
total number of coils nt 14
free length lf [in] 3.0
weight [lbf]
coil id [in]
spring rate k [lbf/in]
force at lw [lbf]
shut length ls [in]
factor of safety nfs at ls
mcmaster-carr part number
cost each
3) will your optimal spring buckle at lw? yes no show your work!
extra credit – explore the sensitivity of your design to number of coils and free length.
% t_fminsearch. m - test fminsearch
% hjsiii, 14.10.29
% initial guess
x_start = [ 1 1 ]';
% call
options = optimset( 'display', 'iter' );
[ x_solution, min_val ] = fminsearch( 'biquad', x_start, options )
% bottom of t_fminsearch

function z = biquad( x )
% biquadratic test function for fminsearch
% hjsiii, 14.10.29
% minimum = 3 at x(1)=2 and x(2)=5
z = ( x(1)^2 - 4*x(1) + 4 ) + ( x(2)^2 - 10*x(2) + 25 ) + 3;
% penalty function to provide inequality constraint
% constrained minimum = 3.8 at x(1)=2.4 and x(2)=4.2
%t = 0.5 * x(1) + 3;
%if x(2) > t,
% z = z + 100;
%end
% bottom of biquad

» t_fminsearch
x_solution =
2.
5.
min_val =
3.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:50, rosyposy43
Write a car class having two private member variables called tank and speed. write public methods called pumpgas and gofast. the method pumpgas gets an integer for gas that must be pumped. that value needs to be added to tank (no more than 20 gallons). it must return the amount of gas that is purchased ($4 per gallon). the method gofast should increase the speed by 5 each time it is called. write a constructor for the above class that initialized both variables to zero. write a tostring to display both the tank and speed when the car is printed. modify the car class to implement the interface comparable and an interface called carinter having the public methods in carinter. write the main program to create an array of size 5 of type car. create 5 car objects having each location of the array to refer to one of the cars. test the pumpgas, gofast, equals method on the array items. write an enhanced loop to print all the car values (using a tostring written last time).write a generic method to find the minimum of four items. pass int, double, char, string and car objects to test this method.
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, amy20021
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies. pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
image
Computers and Technology, 23.06.2019 01:50, akornegay2
Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perform one or more of the following operations: a. double the number. b. reverse the digits of the number. c. raise the number to the power of 2, 3, or 4. d. sum the digits of the number. e. if the number is a two-digit number, then raise the first digit to the power of the second digit. f. if the number is a three-digit number and the last digit is less than or equal to 4, then raise the first two digits to the power of the last digit. after performing an operation if the number is less than 10, add 10 to the number. also, after each operation determine if the number is prime. each successive operation should be performed on the number generated by the last operation. your program should not contain any global variables and each of these operations must be implemented by a separate function. also, your program should be menu driven. 7. (fraction calculator) write a program that
Answers: 1
image
Computers and Technology, 23.06.2019 23:00, minosmora01
How do you know if the website is secure if you make a purchase
Answers: 2
Do you know the correct answer?
Use matlab “fminsearch” to design a helical compression spring for a coil-over shock absorber in a s...

Questions in other subjects:

Konu
Mathematics, 10.12.2021 18:30
Konu
Mathematics, 10.12.2021 18:30
Konu
Mathematics, 10.12.2021 18:30