Question

This is to be answered on MATLAB . do not change subject take a stress tensor...

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

Homework Answers

Answer #1

`Hey,

Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.

clc

clear all

close all

format long

S=input('Enter stress tensor as matrix 2d: ');

disp('Shear max is');

MaxS=(S(1,1)+S(2,2))/2+sqrt((S(1,1)-S(2,2))^2/4+S(2,1)^2)

Kindly revert for any queries

Thanks.

Know the answer?
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
Similar Questions
MATLAB , dont change the subject Give me a MATLAB code for obtaining principal stress from...
MATLAB , dont change the subject Give me a MATLAB code for obtaining principal stress from a given tensor of stress which is input by the user. Take input from user Use tensor method to obtain stress Give only correct code and if ans is wrong slightly it will be downvoted badly
MATLAB only. Dont change subject, if you dont know leave it Give me a matlab code...
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...
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
MATLAB question and do not change subject. if you dont know skip I need a working...
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 question dont change subject Give the matlab code for the following, i need to find...
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
Instructions Write a Java code Your goal is to take N integer inputs from the user...
Instructions Write a Java code Your goal is to take N integer inputs from the user -- N's value will be given by the user as well. You can assume the user provides a valid value for N, i.e., >0. Store the input integers in an array of size N in the order they are provided. These tasks should be done in the main() method. Create a new method called checkArray() that will take the previously created array as input...
Please write a java program Instructions Your goal is to take N integer inputs from the...
Please write a java program Instructions Your goal is to take N integer inputs from the user -- N's value will be given by the user as well. You can assume the user provides a valid value for N, i.e., >0. Store the input integers in an array of size N in the order they are provided. These tasks should be done in the main() method. Create a new method called checkArray() that will take the previously created array as...
Please do it in Python Write the simplest program that will demonstrate iteration vs recursion using...
Please do it in Python Write the simplest program that will demonstrate iteration vs recursion using the following guidelines - Write two primary helper functions - one iterative (IsArrayPrimeIter) and one recursive (IsArrayPrimeRecur) - each of which Take the array and its size as input params and return a bool. Print out a message "Entering <function_name>" as the first statement of each function. Perform the code to test whether every element of the array is a Prime number. Print out...
Functions displayGrades and addGrades must be rewritten so that the only parameters they take in are...
Functions displayGrades and addGrades must be rewritten so that the only parameters they take in are pointers or constant pointers. Directions: Using the following parallel array and array of vectors: // may be declared outside the main function const int NUM_STUDENTS = 3; // may only be declared within the main function string students[NUM_STUDENTS] = {"Tom","Jane","Jo"}; vector <int> grades[NUM_STUDENTS] {{78,98,88,99,77},{62,99,94,85,93}, {73,82,88,85,78}}; Be sure to compile using g++ -std=c++11 helpWithGradesPtr.cpp Write a C++ program to run a menu-driven program with the...
Assignment #4 – Student Ranking : In this assignment you are going to write a program...
Assignment #4 – Student Ranking : In this assignment you are going to write a program that ask user number of students in a class and their names. Number of students are limited to 100 maximum. Then, it will ask for 3 test scores of each student. The program will calculate the average of test scores for each student and display with their names. Then, it will sort the averages in descending order and display the sorted list with students’...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT