Community Profile

Marina Christakos

Last seen: 7 månader ago Active since 2019

Content Feed

View by

Question

taylor series expansion help
syms x valuex=input('What is the value of x? ') subs(taylor(exp(x),x, 'OrderMode','Relative','Order',valuex), valuex) I need ...

nästan 3 år ago | 0 answers | 0

0

Question

switch statements and trig function
val = str2double(input('enter number','s')); chr = input('enter letter','s'); switch chr case 's' disp(sin(va...

nästan 3 år ago | 2 answers | 0

2

Question

using while loops and random number generators
var = 'y'; while (var=='y') u=input('how many?', 's'); if (u > 0) r = rand(1,u,'single'); randnum = ...

nästan 3 år ago | 1 answer | 0

1

Question

question using while loop
variable = input('Continue?', 's'); while variable == 'y' disp(rand) variable = input('Continue?', 's'); if (v...

nästan 3 år ago | 1 answer | 0

1

Question

Help with using a switch statement
I was supposed to write a code that asks for a letter and a number. If the variables 'c', 't', or 's' were entered, it should f...

nästan 3 år ago | 1 answer | 0