photo

Hong


Last seen: 5 månader ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Error when getting function to test testprime
Hi i was doing the function but i kept getting this i wonder what did I do wrong

5 månader ago | 1 answer | 0

1

answer

Question


Function to check prime number
Write a Matlab function, called testprime, that takes one input argument and uses a for-loop and rem function to check whether i...

5 månader ago | 0 answers | 0

0

answers

Question


MATLAB for loop and nested if commands
A vector is given by: v=[6, 3, -9, 10, 5, 0, -8, 11, -5]. Write a MATLAB program that uses a for loop and nested if statements t...

5 månader ago | 1 answer | 0

1

answer

Question


I can't comput the following commands
if total>=90 && total<=100 A1=sum(total>=90 && total<=100); frpintf('The number of A+ students is : %d\n',A1) elseif ...

5 månader ago | 2 answers | 0

2

answers

Question


How to compute the following questions
StudentID Test 1 Test 2 Final Total 1201 66 75 70 70.5 1210 69 60 77 69.9 1215 82 85 68 76.6 1220 92 89 95 92.5 1235 ...

5 månader ago | 1 answer | 0

1

answer

Question


I have struggle with create a prompts for this can someone please help.
The maximum horizontal distance, d, traveled by a projectile fired is calculated using the following formula 𝑑 = 𝑣 ^2 /2𝑔 *( 1 ...

6 månader ago | 1 answer | 0

1

answer