

Please write in the Julia Language. Consider a steel rod. Write a program which will calculate th...
write a program which will calculate the temperature...
Consider a steel rod. Write a program which will calculate the temperature profile in the rod using a finite difference scheme. The user should enter the length of the rod (L), the value for k 65 W/mK), and a value for q in W/m*3. The user should also enter the number of intervals N ,(so you can calculate Ax L/N). The user should also enter the end temperatures. Your program should create...
PLEASE USE MATLAB.
THANK YOU!
Consider the following polynomial equation: ax3 bx2 cx d 0 Write a program that allows the user to enter the coefficients a,b,c and d and the search range needed for the Bisection method. The program should stop when the maximum error is less than 0.01. The program should display the root and also have a condition to stop when no roots are found in the range.
Consider the following polynomial equation: ax3 bx2 cx d...
Write a complete MIPS assembly language program that implements the following pseudocode. program h2 define global integer variables w, x, y, z -- in the .data section function main() SysPrintStr("Enter an integer >= 0 for w? ") w ← SysReadInt() SysPrintStr("Enter an integer >= 0 for x? ") x ← SysReadInt() SysPrintStr("Enter an integer < 0 for y? ") y ← SysReadInt() z ← 16(w + x) - (3 × -y mod 7) SysPrintStr("z = ") SysPrintInt(z) SysExit() end function...
In python language
Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follows: 1. When the program begins, a random number in the range of 1 and 3 is generated. 1 = Computer has chosen Rock 2 = Computer has chosen Paper 3 = Computer has chosen Scissors (Dont display the computer's choice yet) 2. The user enters his or her choice of “Rock”, “Paper", “Scissors" at...
Today you are to write a Java program that will prompt for and
read 2 words of equal length entered by the user, and create a new
word which contains the last letter of the 1st word, the last
letter of the 2nd word, followed by the second to last character of
the 1st word, followed by the second to last character of the 2nd
word and so on. Be sure to use the same format and wording as in...
-----------Python
program-------------------
Instructions: For this assignment, you will
write complete a program that allows a customer to plan for
retirement.
Part 2: Generate a Retirement Planning
Table:
It's hard to decide how much you need to save for retirement. To
help your customer visualize how long her nest egg will last, write
a program that allows the user to generate a retirement
planning table showing the number of months the savings
will last for various combinations of starting account balance...
Introduction: In this lab, you will write a MIPS program to read in (up to) 50 integer values from the user, store them in an array, print out the amay, one number per line, reverse the elements in the array and finally print out the elements in the just-reversed) array. Feel free to do this lab and all assembly programming labs) in Windows. You must use MARS Getting started: l. In MARS, create a new assembly file with the name...
Write a C++ program to solve:
The completed program should include the following:
—Program input and output
—Allow the user to input the starting, stopping and increment
values for the insulation thickness and the air temperature. Also,
at the end of the program, provide an opportunity for the user to
use the program again without having to re-execute the program (ie.
Ask them if they want to use the program again).
—your program must find and output the value of...
Write a program (python) to calculate and plot the position and
the velocity of a linear piston connected to a crank through a
connecting rod as a function of crank angle. The crank shaft is
rotating at a constant angular velocity. The equation for the
piston position and velocity is respectively given by ? = ? ???? +
√? 2 − ? 2???2? ? = −? ? ???? − ? 2 ? ???? ???? √? 2 − ? 2???2?
where...
Just do program 6 using c++ which are printf and scanf. Please
don’t use cout and cin.
Program 4: A slot machine has three windows. A random fruit is picked for each window from cherry apple, lemon, and orange. If all three windows match, the user wins 8 times the bet amount. If the first two windows only are cherries, the user wins 3 times the bet amount. If the first window is a cherry and the second window is...