photo

Sofie Önnemar


Last seen: 26 dagar ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Find the positive entries in a matrix
Write a function positivecounter.m that takes as an input matrix A and gives as an output the number of positive entries in matr...

ungefär 2 år ago | 0 answers | 0

0

answers

Question


How to write an quadratic.m function
I have the equation: ax2 + bx + c = 0. - Equation does not have real roots if d= b2 −4ac < 0. - Equation has two real roots x1...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to write an if-else statement for a function
The function is: f(n) = sqrt(1 + f(n-1)) if n>1 and f=2 if n=1 but I don't know how to start even.

ungefär 2 år ago | 2 answers | 0

2

answers