Question

MATLAB question dont change subject

Give the matlab code for the following, i need to find the critical damping coefficient of a system

User will enter mass and stiffness and the code will print the critical damping coefficient

Give working code

or else i will badly downvote

Answer #1

m=input('Enter the mass: '); %%user enters the mass

k=input('\nEnter the stiffness'); %%user enters stiffness

criticaldamping=2*sqrt(k*m) %%%computes the critical damping

MATLAB question and do not change subject. if you dont know
skip
I need a working MATLAB code which will tell me the type of
damping which is present in the system. there are 3 types of
damping . use if else and give the result. take mass stiffness
damping coefficient as input.
Dont post wrong answer of i will badly dislike

MATLAB only. Dont change subject, if you dont know leave it
Give me a matlab code which takes input mass , stiffness and
damping from user
the code will calculate natural frequency and the damping
ratio
use matlab dont give wrong or i will dislike badly

MATLAB only. Computer science, do not change subject
This is matlab question. Give me a working code for cramers
rule
the function must accept and AUGMENTED matrix and then solve
if the function you give will not accept augmented matrix i will
badly dislike it
Answer only correctly.
take test cases to find output and match

This is to be answered on MATLAB . do not change subject
take a stress tensor as input from the user (2D). Write the
matlab code which will give me the maximum shear stress
arising.
Give a working code only

i need this code to print a number of stars depending on how
much the user wants and after * it prints no stars. if the user
enters a negative number it should print "error invalid number"
this is my code so far:
def stars(n,i):
stars(n, 1)
if n <= 0:
return "No stars"
if i <= n:
print("* ", end="")
stars(n, i + 1)
else:
print("no stars")
stars(n - 1, 1)
n = int(input("enter an integer"))
def main():
stars()...

The following code must be written in Matlab
I want to print the following in Matlab (x1,x2, x3, ....xn) =
(0.33333, 0.33333, 0.33333,....) That is for n variables . The
whole thing should be on the same line.
I need to use fprintf and write out the coordinates with 5
decimal places of variable xn = (0.33333, 0.33333,
0.33333,....)
Thanks!

I need to change the MATLAB code below to something
else, but I need the solutions to match each other. (Also try not
to copy answer posted on chegg already)
%
% Problem 1.8
%
clc; clear all; close all; % reset matlab w
orthregdata; % load data
n = length(a);
w = ones(n,1);
ma = w'*a/n;
mb = w'*b/n;
% ma = mean(a);
% mb = mean(b);
sa = norm(a-ma)/sqrt(n);
sb = norm(b-mb)/sqrt(n);
% sa = std(a,1); % Pass...

I need the code in C++ not C. please dont forget to create the
menu!!!!
Create a phone book program that allows users to enter
names
and phone numbers of friends and acquaintances. Create a
structure to hold contact information and use
to
calloc()
reserve the first memory segment. The user should be able to
add or modify phone book entries through a menu. Use the
function to add contiguous memory segments to the
realloc()
original memory block when a...

I need MATLAB code no handwritten solution
required.
Write a MATLAB script to solve the following equations using the
Cramer’s rule, and compare your results with MATLAB’s root finding
method ( 25 pts. ).
8x1 − 2x2 − 1x3 = 5
− 2x1 + 9x2 − 4x3 − x4 = 2
− x1 − 3x2 + 7x3 − x4 − 2x5 = 1
− 4x2 − 2x3 + 12x4 − 5x5 = 1
− 7x3 − 3x4 − 15x5 =...

In answering the following question, what step do i need to
take?
here is The information i have so far:
slope coefficient : -0.970
sample size : n = 9
x bar = 14.277
Conduct a test on the slope coefficient to see if a negative
relation exists between the two variables. Use a 5% level of
significance. Display working of the six steps hypothesis test. The
t test-statistic has been calculated. It equals -4.40.
linear regression model : y...

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 13 minutes ago

asked 19 minutes ago

asked 19 minutes ago

asked 20 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 3 hours ago

asked 3 hours ago

asked 3 hours ago