blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
51efbcb10858d7cb0fc122f5528d75f7258a2cd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/DEPENDENCIES/ackermann.sci | 93055020b5e6a0f99dc7500712ec601b89ef7ccd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sci | ackermann.sci | // Compute the feedback gain matrix using ackermanns formula
function [K ,phiA] = ackermann(A,B,P)
// construct charecteristic equation
phi = poly(P,'x');
c = coeff(phi);
phiA = eye(A)*c(1);
powA = eye(A);
for i=2:length(c)
powA = powA * A;
phiA = phiA + powA * c(i);
end
K = [zeros(1,le... |
898b209bd795669112214ec9ba50f62b8be06f76 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /triangle_wave.sci | 21a5f100ac5e56eb64bd9b0e27e7c25eacea08bf | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sci | triangle_wave.sci | function [wave]=triangle_wave(n)
summ = 0
t=linspace(0,(4*%pi),1001)
for (k = 0:n)
summ = summ + ((((-1)^k) * sin((2*k+1)*t)) / ((2*k+1)^2))
end
wave = [summ]'
plot(t,wave,".r")
endfunction
|
019cf29213905242194094b534640c9d768ab0ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH7/EX7.5/Ex7_5.sce | 30988fc9d38ee983878a03917dd02154784b591d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex7_5.sce | // Example 7.5
clear all;
clc;
// Using the result of Example 7.3
reactivity = 0.001;
// As the reactor is fueled with Uranium-235
bet = 0.0065; // Total delayed neutron fraction of all groups denoted by 'beta'
printf(" \n A dollar is worth 0.0065 in reactivity for Uranium-235 reactor. \n");
... |
1668b63db5c6a92db48ebf0349df1e1907bcec33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH6/EX6.6/6.sce | 7d6de3bff2b2c410de304a46273225278834584e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | 6.sce | clc
clear
//input
p1=1.01*10^5//initial pressure
t2=135+273//final temperature
t1=273//initial temperature
d=2.8 //density
//calculation
p2=p1*t2/t1//pressure law
p=(3*p2/2.8)^0.5//kinetic theory
//output
printf("rms speed of gas molecule is %3.0f m/s",p)
|
a58f442adc9dceef8bf9a14a655edf530700e8bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.1/Ex3_1.sce | 6474f7047e68ac4dd4edc10a416c9ab4dd5aee3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | Ex3_1.sce | // Chapter 3 example 1
clc;
clear;
// Variable declaration
r = 0.53*10^-10; // orbit radius m
n = 6.6*10^15; // frequency of revolution of electronHz
e = 1.6*10^-19 // charge of electron in coulombs
h = 6.63*10^-34; // plancks constant in J.s
m = 9.1*10^-31; ... |
aca60eb18b358e6afc465a790a919fdaff985761 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/extractHOGFeatures.sci | be7e532f0cb1ac946ec969dd00b339a87cf30c3b | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 3,005 | sci | extractHOGFeatures.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
af27a81070a7344d6dcd636b22151ac8538dd0c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH6/EX6.5/Ex6_5.sce | 4e9f4a413124c967e8b393621f1cea999d4ef779 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,175 | sce | Ex6_5.sce |
// Theory and Problems of Thermodynamics
// Chapter 6
// Thermodynamic Potentials and Availability
// Example 5
clear ;clc;
//Given data
VA = 1 // volume of tank A in m^3
NA = 5 // number of moles of A in kmol
TA = 600 // temperature of Tank A in K
NB = 3 // number of mo... |
e3b58128676df8af2827cfb5a2de6529ece6f702 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.10.a/10_a.sce | 9d35a24483c67939abf451e5a3b292000f872489 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | 10_a.sce | //hex to decimal conversion//
//example 10.a//
clc
//clears the command window//
clear
//clears//
//hex to decimal conversion//
x='7C9'
a=hex2dec(x)
disp('the number in decimal form is:')
disp(a)
|
8a1b30c1ef0db26c909f992e50af3071f5c0d953 | 420d4bcc40d948804a4370652e50a00cbe639cfe | /Graphs API/make-tests/make07.tst | 2f72c07fe7269d3a0de704f075364961111e4e6e | [] | no_license | itsbriantruong/projects | 8cce3eba78a98e598e249f0adffcd9c3b9e3d5ab | 252ad31d3c74ef77e1cee43244e8f51ca47f9b63 | refs/heads/master | 2021-05-29T19:08:04.548321 | 2015-09-09T09:03:16 | 2015-09-09T09:03:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | tst | make07.tst | java -ea make.Main -f make-tests/make07.mk -D make-tests/file07 T1
|
ca299a039fc2d0a49dbf586be7d98fb38d21f4fe | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/intfilt/intfilt9.sce | 54a4144d15afc934854fcd8cd7eb5b27650bd086 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | intfilt9.sce | //no i/p args are passsed to the function
f=intfilt();
disp(f);
////output
//!--error 4
//Undefined variable: L
//at line 26 of function intfilt called by :
//f=intfilt();
|
ec5c0f7ad96e2384ce81f867555bf559d208acdf | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peig/peig5.sce | 9259a6e3397a0b7b304edb41995b3a1ab2e296a0 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | peig5.sce |
x=[1 2 3 4 5 6 2 3 7];
p=3;
fs=4e6;
nfft=6;
[S,f] = peig(x,p,nfft,fs)
disp(S);
disp(f);
//output
// 9.7899816
// 0.8200464
// 0.5423142
// 0.8341532
//
// 0.
// 666666.67
// 1333333.3
// 2000000.
|
bb17f80acdf13989ac0d72098d99ac4658c955a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2378/CH1/EX1.14/Exa_1_14.sce | 18e2807db5480f769c78a94338c9375d0771f606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | Exa_1_14.sce | //Exa_1_14
//Graphical representation of fourier series
clc;
clear;
A = 1;
w = %pi;
tau = 2;
for i = 1: 101
t(i) = tau * (i-1)/100;
x(i) = A * t(i) / tau;
end
subplot(231);
plot(t,x);
ylabel('x(t)');
xlabel('t');
title('x(t) = A*t/tau');
for i = 1: 101
x1(i) = A / 2;
end
subplot(232);
plot(t,x1);
xlabel('t'... |
1ff9e770959e8231f97d7b01498fbe58dea04773 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.16/Ex19_16.sce | e5afc1db8449ed81043b1ddc763dfa361e5719b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex19_16.sce | //Ex19_16 Pg-963
clc
oct='357' //octal input
dec=oct2dec(oct) //decimal output
bin=dec2bin(dec) //binary output
disp("The binary equivalent of octal 34 is")
disp(bin)
|
f98e6df38a582ce22f605ee1d2929345bf149654 | 931090e82489a96a263c3a3f0747d2cf703d4672 | /tests/cmd-abs.tst | 9312c49ad0246b34df654a67d2f65e54b8cd4bd1 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause",
"Zlib",
"BSD-3-Clause"
] | permissive | darindf/hyperion | 2b70924f94fc5fa62eed330c3736f1adf9ff7c44 | 05652fb9d7993d942138196c4e9bad6b1c7a63e1 | refs/heads/master | 2020-12-03T10:29:01.460015 | 2016-07-30T09:37:00 | 2016-07-30T09:37:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | tst | cmd-abs.tst | *
#--------------
defsym cmd abs
#--------------
*
defsym arch S/370
script $(testpath)/cmd-abs-2K.subtst
*
defsym arch S/390
script $(testpath)/cmd-abs-4K.subtst
*
defsym arch z/Arch
script $(testpath)/cmd-abs-4K.subtst
|
f633b0e08554e477f73dab3542ef4bb1e046e638 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-4/result8s0.tst | db243b8061af46ca491deec5264f8d72c0b79fce | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result8s0.tst | @relation yeast-4
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
4dc90438066f34a332b466c1f08842148df19274 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH16/EX16.14/Ex16_14.sce | 69adc41ae5843cdacb2b1ae226fefe3c7be10fe1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,015 | sce | Ex16_14.sce | // Example 16_14
clc;funcprot(0);
// Given data
p_inlet=456.2;// kN/m^2
T_inlet=283.7;// K
p_exit=370.4;// kN/m^2
T_exit=260.1;// K
V_exit=474.8;// m/s
k=1.67;// The specific heat ratio for helium
R=2077.0;// m^2/(s^2.K)
g_c=1;// The gravitational constant
// Calculation
// (a)
c_osi=sqrt(k*g_c*R*T_inlet... |
e07e713d642c1f1045c0f8eff9c439b79916943c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH9/EX9.16/9_16.sce | 71c94eac58917a2057e35406636eb890055f23bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | 9_16.sce | //9.16
clc;
p =1;
q =1;
z =0;
b =0;
w =0;
f =0;
bin =11001.001011; // binary input
d = modulo (bin ,1) ;
d= d *10^10;
a = floor ( bin ) ;
while (a >0)
r = modulo (a ,10) ;
b(1,q) = r ;
a=a /10;
a= floor ( a ) ;
q = q +1;
end
for m =1: q -1
c=m -1;
f=f+b(1,m) *(2^ c);
end
while (... |
8950968e0297e86ca848ae3798f32c2b62ae0afa | 17d775a544e47ac1d2faf88f26b86d08afdcdf7c | /Rubik's Cube/rubixSolver/layouts/messup.tst | fafca9aa986c6f163a7655f51ebe63852215579d | [] | no_license | PlenipotentSS/Python-Testing | fbe20bf9574b445da11b1abe844a402c7e51e2a0 | 3dcb029e08b751d38b799881bdff1135e236cb43 | refs/heads/master | 2021-01-23T03:53:24.574975 | 2014-03-16T20:30:15 | 2014-03-16T20:30:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,284 | tst | messup.tst | ###TStar Version 05 Tree Description File
###USER=Unknown
###TIME=Sun Dec 13 03:50:22 2009
n=0;h=0;d=2;
v:op=17;n=1;h=0;d=2;
v:op=2;n=2;h=0;d=2;
v:op=14;n=3;h=0;d=2;
v:op=5;n=4;h=0;d=2;
v:op=17;n=5;h=0;d=2;
v:op=2;n=6;h=0;d=2;
v:op=14;n=7;h=0;d=2;
v:op=14;n=8;h=0;d=2;
v:op=5;n=9;h=0;d=2;
v:op=17;n=10;h=0;d=2;
v:op=5;n=... |
3341b56a458e401da5352454074895d625118f15 | af8ca26065263a1cf95761f3e74596deb544072a | /xyrc.tst | fc5d98ddb70190c5bbfc9e336db8f9e36fe5c377 | [] | no_license | drrcool/shwfs | c4d6299c8e639277462838cda9e0883385145f13 | 4101ae0d5ff8562e7d07f3037729e63f186d95a6 | refs/heads/master | 2022-04-27T02:12:47.425256 | 2016-01-22T09:48:55 | 2016-01-22T09:48:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,495 | tst | xyrc.tst | 242.3130035 76.1999969 1.0000000 1.0000000
264.9580078 76.0680008 2.0000000 1.0000000
287.5230103 76.0380020 3.0000000 1.0000000
287.7950134 99.3089981 3.0000000 2.0000000
310.4750061 99.1230011 4.0000000 2.0000... |
2f2b9b8d9bb08acbe3171a0300c06b4d53dfeadb | 2e768d577a9279039672816cbc408828923ec86d | /macros/roiPoly.sci | 6b4b9b06798f3d5424acd68f0b7aba7b7996a757 | [] | no_license | rg77/FOSSEE-Image-Processing-Toolbox | 3eebdad59f6bef3ee1d01f42d19ccbe798a05f8e | 6e18569e0bdeba9e75387b404fd9aeb3caf1a30d | refs/heads/master | 2020-12-02T16:16:35.016043 | 2017-07-07T12:39:05 | 2017-07-07T12:45:50 | 96,527,784 | 0 | 0 | null | 2017-07-07T10:25:25 | 2017-07-07T10:25:24 | null | UTF-8 | Scilab | false | false | 2,624 | sci | roiPoly.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
7a4cc5807afa87c69531d90ff60e2c2f037b8df3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.4.1/Example1_9.sce | 5832574dd79e66127b5c818147ff6c933783f68c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | Example1_9.sce | //Chapter-1,Example1_4_1,pg 1-32
//let the diameter of nth dark ring be double the diameter of that of 40th ring
//as Dn^2 = 4*R*n*wavelength
n_1=40 //40 th dark ring
n=4*n_1 //as diameter is double
... |
dec8edbd4ffa35d18d8606110fbc5a1b182c3bd7 | 7f053b29173fd886cfb3520199a442fe76b4f8bb | /Sala 18.sce | 6c0d42f70b619d174b80015b4c12a80965cc7af5 | [] | no_license | erickcampos50/HVAC | 26052b9720b79400c15afb9ea5fdf1c17c00da78 | c9544ebb4911461e3c996bbfd6278c47946991dc | refs/heads/master | 2019-01-02T01:46:06.365422 | 2015-02-02T19:30:33 | 2015-02-02T19:30:33 | 29,926,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,204 | sce | Sala 18.sce | clear
//Carregando arquivos contendo funcoes e tabelas
exec('tabelas.sce',-1) //O parametro -1 suprime informacoes na tela
exec('iluminacao.sce',-1)
exec('paredes.sce',-1)
exec('radiacaof.sce',-1)
exec('ocupacao.sce',-1)
exec('janelas.sce',-1)
//Lista Valores de entrada
entradas = [23.0 0.4 7 18 1 52 7 18 13 6.5 0 1... |
8357a38fd33d99a3bed07f1678ee234d170d4894 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH4/EX4.1/ex_1.sce | 2a0d286df98ed648b1c28de2909721427d7e63af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 97 | sce | ex_1.sce |
//Example (pg no.130)
A=[3 0 2;1 2 0;0 1 1]
B=[2 1;0 1;1 0]
A*B |
5185ec2316572734a07d46cb59871f31a4834010 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/JQ49GPY/ATWM1_Working_Memory_MRI_JQ49GPY/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | cc09c6268f57b931c92f82310474ce39cb232dc5 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,492 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds =... |
057d2fc9591ad2f7a097dbefdad76ac69ae5ac61 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Experimentation/8 Automated_testing/tests/linear_regression1.sce | 49eb7a62f3cf0e5f46ffd2269429efd05a3a96ee | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | linear_regression1.sce | // Demo script for linear regression
getd('../')
M = csvRead('Salary_Data.csv');
M(or(isnan(M),'c'),:) = [];
X = M(:, 1)
y = M(:, 2)
// machineLearn('linear_regression', M, 'fit_intercept=False');
machinePredict('attributes.p', X) |
996f7721c878e0dd0a782fb821e0390f56592621 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.24/Ex11_24.sce | 4553db0b0ec459e1f1d54af8c454aff027be21ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,112 | sce | Ex11_24.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.24\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.24 (page no. 601)
// Solution
//A COUNTERFLOW HEAT EXCHANGER
//Hot oil enters at 215 F and leaves at 125 F
//Water enters the unit at 60 F and leaves at 90 F
//Therefore,From figure 11.34,
... |
e1b2d66f27cf220a1aa0834675493b9a4750c2ed | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/erode.sci | d65cb3e5332f48fc9ed7befd0e9ac5b0b8989b4c | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 1,390 | sci | erode.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
aa24ee360fc7671aceec421a3e8631b267616ebf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH19/EX19.3/19Ex3.sce | 500d3241d40061665ed2fc0bf7fb592283ee1155 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | 19Ex3.sce | //chapter 19 Ex 3
clc;
clear;
close;
rUp=9; rDown=27;
rStream=(rDown-rUp)/2;
printf("The rate of stream is %d km/hr",rStream);
|
5c03d542c46fba26403708cc4f3209c524790096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH7/EX7.7/7_7.sce | 6acc329b0216917f38afa6d701551c7cdc315c80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sce | 7_7.sce | //To find linear and angular velocity
clc
//Given:
NBO1=40 //rpm
O1O2=800/1000,O1B=300/1000,O2D=1300/1000,DR=400/1000 //m
//Solution:
//Refer Fig. 7.18
//Calculating the angular speed of the crank BO
omegaBO1=2*%pi*NBO1/60 //rad/s
//Calculating the velocity of B with respect to O1
vBO1=omegaBO1*O1B //m/s
vB=... |
59e80e96d74c995bc7b8aad3180bc291b5309d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.6/Ex2_6.sce | f47c7d20f299e7981fd2d1d340b5adf5bfc9c176 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Ex2_6.sce | //Determine Resultant Force
//From given data
T=1200 //N
F=100 //N
N=500 //N
W=1000 //N
theta=60 //degree
//Taking co-ordinate system parallel and perpendicular to plane as x and y axis and resolving the forces
Fx=T-F-W*sind(theta) //N
Fy=N-W*cosd(theta) //N
R=sqrt(Fx^2+Fy^2)
printf("The resultant has... |
c5244810a0534a099b16b1f76052961f7b03e155 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH4/EX4.5/ex4_5.sce | dde4257e5ca99e9e1b479f0a5ab6845f8be0eea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | ex4_5.sce | clc;
warning("off");
printf("\n\n example4.5 - pg105");
// given
syms r;
ro=0.5; //[inch] - outside radius
ro=0.0127; //[m] - outside radius in m
Tg=2*10^7; //[J/m^3*sec] - heat generated by electric current
Tw=30; //[degC] - outside surface temperature
km=17.3; //[W/m*K] - mean conductivity
// using the... |
8076fa8d9c85ffefb9f8ef3e19aa8ab6f8922ee1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH11/EX11.3d/3d.sce | ef2dd0d130f3e308844be11a85dbbca78f640a29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 3d.sce | // Caption: Finding internal mechanical power
clear;
close;
clc;
I_f=11.26;
R_f=16.46;
//power delivered to forwaed field
P_gf=2*I_f^2*R_f;
I_b=4;
R_b=0.451;
//power delivered to the backward field
P_gb=2*I_b^2*R_b;
P=.95*(P_gf-P_gb);
disp(P,'internal mechanical power=') |
93728f727b48e05ae4632f238bcaef0b956b63c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH1/EX1.16/Ex1_16.sce | 724a69dc7cd9895eb1d4d5bdab3c260eead6ba4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sce | Ex1_16.sce |
//Variable declaration
Rf=5 //forward resistance(ohms)
Vo=20 //output voltage(V)
Rs=10 //secondary resistance of transformer(ohm)
//Calculations
//Part a
Idc=0.1 //dc current(A)
Vm=Vo*(sqrt(2)) //mean voltage(V)
Vdc=(2*Vm/(%p... |
c9c5d3cc8638069b6e57562f87133ba3282a5ada | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/algebre/aff2ab.sci | 96b29370cb9933aae771117012025922a0f8afa1 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | sci | aff2ab.sci | function [A,b]=aff2ab(lme,dimX,D,flag)
//Y,X,D are lists of matrices.
//Y=lme(X,D)= affine fct of Xi's;
//[A,b]=matrix representation of lme in canonical basis.
// if flag=='sp' A matrix is return in sparse storage.
[LHS,RHS]=argn(0)
if RHS==3 then flag='f';end
nvars=0;
for k=dimX'
nvars=nvars+prod(k);
end
if par... |
822ec9037e7f100ccb8e63ff4728a6d09f40ca7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH8/EX8.14/Ex8_14.sce | 0dd06e2cfe9b5759829dafeebff633b3a30d9852 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | Ex8_14.sce | //Example 8.14, Page Number 404
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
//Fiber Couple Losses
clc;
d1=200*(10**-6) //Core Diameter in meters
d2=250*(10**-6) //Core + Cladding Diameter in meters
d3=3*d2//Mixing rod diameter in meters
//Power Levels P... |
b779ef2ad251f6046585ca65cd911661a0d74925 | db895754c678b27fc438fdda4a650da0d815aeb0 | /ForcedOscillations_fig_6_7.sce | d609910e5a4a0e0ff1f6698fdc8194ba79e4050a | [] | no_license | dennymmg/mechanics | 1e07b1c63d5c6818385f032773a7f759058fd25c | ca16598961ee47f7a9e34a4102876ffce41eb56f | refs/heads/master | 2020-07-15T06:58:01.091322 | 2019-09-10T06:13:28 | 2019-09-10T06:13:28 | 205,506,852 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | sce | ForcedOscillations_fig_6_7.sce | // Forced oscillations - variation of Amplitude A with frequency omega
// scilab code to replicate plot in figure 6.7 in p.175 of ref[1]
// theta --> amplitude of displacement
// omega --> frequency of sinusoidal driving force
// Author: Denny
// Date: Sept 2019
// ref[1]: R G Takwale & P S Puranik, Introduction to ... |
379a18011660db1869f392c3ca35c9c1d24cc065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH11/EX11.3/Ex11_3.sce | 77c19215a1981a66469aa17e9197f61c2638aba5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ex11_3.sce | //Book Name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 11
//example 11.3
//edition 1
//publishing place:Thomson Learning
clc;
clear;
Ra=2;//armature resistance in ohm
Tst1=2;//limited starting time in sec
Kphi=3;//field constant in V sec
Jm=1;//motor moment of inertia in Nm
Jl=5;... |
62f4c2b8d408b4719b86aceddb0e0efcf2f10e15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH4/EX4.7/Ex4_7.sce | 977a62537ab55c74b515bc1447c18246bae3cdfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex4_7.sce | ////Given
T=27 //temperature in degree c
K=1.38*10**-23 //boltzmann constant in J/K
h=6.63*10**-34 //Js
m=1.67*10**-27
//Calculation
//
T1=T+273
v=h/(sqrt(2*m*K*T1))
//Result
printf("\n de broglie wavelength is %0.2f A",v*10**10)
|
596f5aeb895d5c6a648660f50a6f21bed5486a87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH1/EX1.3/Chapter1_Example3.sce | 895eebc2bb2835456fa3e6e4d4a3bd3cdff8aa18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Chapter1_Example3.sce | clc
clear
//INPUT DATA
pmb=15;//brake ean pressure in bar
L=200;//Stroke in cm
d=0.8;//bore daimeter in cm
N=100;//speed in rpm
nc=6;//number of cylinders
bsfc=0.4;//brake specific fuel consumption
cv=42000;//calorific value in kJ/kg
//CALCULATIONS
BP=(pmb*L*(3.14*0.8^2/4)*N*nc)/(60);//Brake power in kW
m... |
ebe04dcb1d3d6ac925ab0fa109ca8b09217bc3d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH3/EX3.20/q20.sce | af8520ccb43975033630af4f7e4f661b9a670f0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | q20.sce | s=%s;
syms k;
num=k*(s+1);
den=(s^2+4*s+13);
t=syslin('c',num,den);
clf;
evans(t)
|
e6a2da88c2bdbd642bd523794e61418776d8361b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.23/Ex2_23.sce | e3bb15dd96c1cfdc4f0c810caf71f56d06df6d5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Ex2_23.sce | //Force P required to hold the system
//Refer to fig. 2.28 (a),(b)&(c)
//Applying Lami's Theorem at A we get
C=4000*sind(180-60)/sind(60+90-15) //N
//Applying equilibrium conditions B
P=(-2000*cosd(45)+C*cosd(60))/cosd(15) //N
printf("P=%.1f N is required to hold the system in given position.",P)
... |
d4f63d94b1dbf7f05a85a5883c1575370df2d89c | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.17/P6_17.sce | bae17ef6e9789e8e7d3223ede57ee4d60e71988b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | P6_17.sce | //EXAMPLE 6.16
//Coefficients of Rational form
clc;
clear;
z=%z;
num = 18*z^3;
den = 18*z^3 + 3*z^2 - 4*z - 1;
disp(coeff(num)/18,'the Numerator polynomial coefficients are:');
disp(coeff(den)/18,'the denominator polynomial coefficients are:'); |
3675ee104c0bde58d8ea758251557f72529e180e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/corrmtx/corrmtx3.sce | ee1fba6d262e9f43a033b3407ae644cef46a3664 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | corrmtx3.sce | //i/p arg x is a matrix
x=[1 2 3 4; 5 7 4 62];
m=3;
X = corrmtx(x,m);
disp(X);
//output
// !--error 10000
//Input x must be a length n vector
//at line 81 of function corrmtx called by :
//X = corrmtx(x,m);
|
a521ffb1d464dcfc3d604778bc642894836aa986 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH23/EX23.7/ex_23_7.sce | c48c2697d3aa5a568ebd54c0a3c9ad5bbe27640a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | sce | ex_23_7.sce | //find
clc
//solution
//given
W1=400//N
W2=250//N
Di=25//mm
l1=40//mm
l2=50//mm
t=400//N/mm^2
//D=25+d
//T=W1*D/2=400*(25+d)/2=(5000+200*d)N-mm
//T=(%pi/16)*t*d^3
//78.55*d^3=5000+200*d
//by hit and trial,d=4.2//mm
d=4.47//mm(standard value od diameter from table 23.2)
D=25+d
C=D/d
K=(4*C-1)/(4*C-4)+(... |
3f92961ada2c7a5185a109cab08c398b6475b5fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.2/Ex1_2.sce | f0d94a250328a8672422dfdd46399c67ee5c29ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,068 | sce | Ex1_2.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 2
clc;
disp("CHAPTER 1");
disp("EXAMPLE 2");
//VARIABLE INITIALIZATION
//star values ra, rc and rd
ra=2; //in Ohms
rc=4; //in Ohms
rd=3; //in Ohms
r1=5; //... |
99d8512f07db29a802efc66c1a30610fa6cb7532 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/ada/acats/tests/cd/cd2c11a.tst | d4f326b99567be9cc85397e2fb43134019d5c1de | [
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | Scilab | false | false | 4,827 | tst | cd2c11a.tst | --CD2C11A.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimite... |
c5951baffd8fb0ad39b70a56d02ededb8dd9edbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH6/EX6.6/ex6.sce | e30ac419f5fac5e18435f04b1f56f7b214df42d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | ex6.sce | clc
clear
//Input data
x=0.3;//Thickness of the wall in degree centigrade
t1=24;//Inside surface temperature of the wall in degree centigrade
t2=-6;//Outside temperature of wall in degree centigrade
h=2.75;//Height of the wall in m
L=6.1;//Length of the wall in m
K=2.6;//Coefficient of conductivity of brick in ... |
391ea7f3084818607e3ed41314b3d8410fbf3fa0 | 0a4a624c2aa1241962ca0adf212284d4fbf653ec | /1st/2-1.sce | afa2d2d21db4890f0abf781bc2f64270daba5afb | [] | no_license | zy414563492/Advanced-Course-in-Computational-Algorithms | 719a469c4b4f0aede9d89378408672d9ac712df5 | d6f5a089883b415ecd93b18bee81aac9bec69577 | refs/heads/master | 2020-08-29T07:13:39.251114 | 2019-12-17T16:11:40 | 2019-12-17T16:11:40 | 217,963,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 2-1.sce | figure(1);
clf;
//2 6
a = 5;
b = 1.5;
t = linspace(0, 12*%pi, 300);
//x = (a - b) * cos(t) + b * cos((a - b) / b * t);
//y = (a - b) * sin(t) - b * sin((a - b) / b * t);
x = (a - b) * cos(3 * t) + b * cos((a - b) / b * 3 * t);
y = (a - b) * sin(2 * t) - b * sin((a - b) / b * 2 * t);
plot(x, y);
|
ec5ed45de877948af31ff40ec2b5e30533d5ff35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH10/EX10.3/Ex10_3.sce | 468908422d4cf4ebe0252531b1fafd536f65b525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Ex10_3.sce | //Chapter 10, Example 10.3, Page 282
clc
clear
// Find the probability
P = exp(-6.85*10**-4*368)
Pnl = 1/(1+(578*6.85*10**-4))
printf("Fast-neutron nonleakage probability = %f \n",P)
printf(" Thermal-neutron nonleakage probability = %f \n",Pnl)
// Answer may vary due to round off error
|
92ff27f6f671467590f4a1ce72d42069dc6ffe3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.26/5_26.sci | bba82f6cbf55e4ad7e69f0a4d4672ef7fea11434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sci | 5_26.sci | // Calculating the temperature
clc;
ET=27.07+0.8;
disp(ET,'Required e.m.f.(mV)')
disp('temperature corresponding to 27.87 mV is 620 degree C') |
ca564951f58e47637aa1dc3f77dafe0da451bc9a | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/newobject2_runme.sci | da1d50cbdf74e3a9a1ace8c0fee2bedb0bb5073b | [
"Apache-2.0",
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 456 | sci | newobject2_runme.sci | exec("swigtest.start", -1);
try
x = makeFoo();
catch
swigtesterror();
end
if fooCount() <> 1 then swigtesterror(); end
try
y = makeFoo();
catch
swigtesterror();
end
if fooCount() <> 2 then swigtesterror(); end
try
delete_Foo(x);
catch
swigtesterror();
end
if fooCount() <> 1 then swigtesterror... |
08d1205ccb9991bf37ca5c4ed20a9f272de76284 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH8/EX8.5/EXAMPLE8_5.SCE | e1f357077cb1688c0c221325d6794989745c3fd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | EXAMPLE8_5.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//WAVEFORM CODING TECHNIQUES
clear all;
clc;
printf("EXAMPLE 8.5(PAGENO 389)");
//given
f_m = 3.4*10^3//maximum frequency in the signal
N =24//number of voice signals
r = 1.5*10^6//signaling rate
v = 8//bits of encoder
//calculations... |
bb5f8260e82f7c413eaef9ae470d3112f493b456 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH9/EX9.10/Example9_10.sce | 6a5e01bd5733366030120d8fd9dff637bcae4644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,363 | sce | Example9_10.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 9: POLYPHASE INDUCTION (ASYNCHRONOUS) DYNAMOS
// Example 9-10
clear; clc; close; // Clear the work space and console.
// Given data
P = 4 ; // Number of poles in WRIM
f = 60 ; // Frequency in Hz
... |
797b1f630b3267dd87d2c6915cbeb66b03a14595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH2/EX2.10/Ex2_10.sce | f525cac3adc2f400d92310cc665223facd59b0f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Ex2_10.sce | clc
//Chapter2
//Ex_2.10
//Given
M_Au=197
w=0.1
M_Cu=63.55
p_exp=108 //n*ohm*m
X=M_Au*w/((1-w)*M_Cu+(w*M_Au))
C=450//n*ohm*m
p_Au=22.8 // resistivity in n*ohm*m
p=p_Au+C*X*(1-X) //Nordheim rule
x=((p-p_exp)/p)*100
disp(p,"resistivity of the alloy in n*ohm*m is")
disp(x,"The difference in the value from ex... |
d9f8b198510c54d1ae7543352adbca834fd50a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH7/EX7.13/Ex7_13.sce | ed42f5d4cbdc58bed667e9f6875e6695f4c6bc93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,447 | sce | Ex7_13.sce | clc
clear
//DATA GIVEN
D=0.075; //bore in m
L=0.09; //stroke length in m
n=4; //no. of cylinders
erar=39/8; //engine to rear axle ratio =39:8
Dw=0.65; //wheel diameter with tyre fully inflated in m
Fc=0.2... |
381e789abce2ae99fb24bd67bea9c32354ed0cbf | 4414368c9183ef6f8e0a0f5615dc5e6f29ddd2e6 | /Scilab/DiscreteLQRcontrolParams.sce | 6fa2db322b721f9a68ae87f01a6a56420238b726 | [] | no_license | qoopen0815/InvertedPendulumController | 6a57b0c2f7cb719dc9eb5ec0c7dac41c01f021da | 0f687997ec2b062df89b8329970fbf57e041f854 | refs/heads/main | 2023-04-25T23:21:05.850503 | 2021-05-23T07:08:09 | 2021-05-23T07:08:09 | 359,804,032 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | DiscreteLQRcontrolParams.sce | sys_ss = syslin('c',A,B,C); //The plant (continuous-time)
sys_d = dscr(sys_ss, dt);
Q = diag([100, 1, 10, 1]);
R = 1.0E1; //Usual notations x'Qx + u'Ru
Big=blockdiag(Q,R); //Now we calculate C1 and D12
[w,wp]=fullrf(Big);C1=wp(:,1:4);D12=wp(:,5:$); //[C1,D12]'*[C1,D12]=Big
P=syslin('d',sys_d.a,sys_d.b,C1,... |
6eff194dfc033b92d861cb4418e39c282fb28c49 | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-env-variables-new/C/H5D/testfiles/110/h5ex_d_transform.tst | 3d4669bb339ce816a3b40a0b4029287ca36892aa | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 507 | tst | h5ex_d_transform.tst | Original Data:
[ 0 -1 -2 -3 -4 -5 -6]
[ 0 0 0 0 0 0 0]
[ 0 1 2 3 4 5 6]
[ 0 2 4 6 8 10 12]
Data as written with transform "x+1":
[ 1 0 -1 -2 -3 -4 -5]
[ 1 1 1 1 1 1 1]
[ 1 2 3 4 5 6 7]
[ 1 3 5 7 9 11 13]
Data as w... |
00e35042ffb79b112a3411ef6eef10706a55fc06 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqAIScanRead.sci | b6f43de8993d8be9e9f1bd162f3b8873b6cce572 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 2,188 | sci | mdaqAIScanRead.sci | function [data, result] = mdaqAIScanRead(arg1, arg2, arg3)
link_id = -1;
data = [];
result = [];
if argn(2) > 3 | argn(2) < 2 then
mprintf("Description:\n");
mprintf("\tReads acquired data\n");
mprintf("Usage:\n");
mprintf("\t[data, result] = mdaqAIScanRead(linkID, ... |
81d25c825909f1d53f38c22fb46ad062ef7b7266 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoSourceGauss.sci | b35db8157efcbe70907a9b891506d5d61acaddbe | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,901 | sci | SSSoSourceGauss.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoSourceGauss(Ppeak_mW,FWHM_ps,f0_GHz,Order)
// Gaussian Pulse Train
//
// Calling Sequence
// Out=SSSoSourceGauss(Ppeak_mW,FWHM_ps,f0_GHz,Order)
//
// Parameters
// Ppeak_mW : Pe... |
9bd31eaf1e85b5f07696884b4d57feeb26aecf8f | f988bf09b360159439560b4d77ab931f4fc44fa3 | /lab5/task1.sce | 6b945aa70ba3cee67ac5ed46f839e1d9c562a618 | [
"MIT"
] | permissive | kamilkoduo/s20-dsp | 04799f65d66cf3d2861821cf579d6a77aa26b71a | 680eae6102417468e88591faa2b89049e5ff4bf1 | refs/heads/master | 2021-01-16T03:35:09.121398 | 2020-04-30T22:43:42 | 2020-04-30T22:43:42 | 242,963,732 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,872 | sce | task1.sce | clf()
/*= Task 1 =*/
function X = my_dft(x)
N = length(x)
X = zeros(0:N-1)
for k = 1:N
for n = 1:N
X(k) = X(k) + x(n) * exp(-2 * %i * %pi * (k-1) * (n-1) / N)
end
end
endfunction
function X = my_fft(x)
N = length(x)
if (N <= 1) then
X = x
elseif (modulo(N,2)>0... |
ea08ecc470a54bc2e2201098fb34f9ee1d797245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH17/EX17.5/Chapter17_example5.sce | b5655dd6c4b896a35687eedaad612b527675001e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Chapter17_example5.sce | clc
clear
//Input data
w=3//Wavelength of the light in Angstrom
v=(3*10^8)//Velocity of light in m/s
h=6.626*10^-34//Plancks constant in Js
q=40//Scattering angle in degrees
m=(9.11*10^-31)//Mass of electron in kg
c=(1.6*10^-19)//Charge of the electron in coloumbs
//Calculations
dl=(h/(m*v))*(1-cosd(q))/10^... |
a4ee2eceea712742bb0117a633b7a6759702a757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH10/EX10.1/Ex10_1.sce | db51c9a8a546169610384155d696d237dd6fd0e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Ex10_1.sce | //chapter 10
//Vout and lower frequency
//page no. 354
//Example10_1
//Figure 10.7
//Given
clc;
clear;
t=0;
Ri=10000; //in Ohm
C=10^-8; //in farad
Rf=100000; //in Ohm
//Vout(t)=-1/(Ri*C)*int(Vi(t))dt
Flow=1/(2*%pi*Rf*C);
printf("\n Flow is %.0f Hz",Flow);
|
b280d4c770d66ef694ea76b9e86f2e9efbda6f16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH14/EX14.11/Ex14_11.sce | be77695e21823c98285c866cb35994e7ec97afd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Ex14_11.sce | // Scilab Code Ex14.11: Page-550(2014)
clc; clear;
m_p = 0.938; // Rest mass energy of the proton, GeV
E_cm = 14000; // Centre of mass energy of colliding proton beams at LHC, GeV
// As E_cm = sqrt(2*m_p^2+2*m_p*K), solving for K
K = E_cm^2*1e+009/(2*m_p); // Approx. kinetic energy of the protons needed f... |
f0f4bf0f6be7978bf120e6bcc399d1b633150133 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH4/EX4.4/Ex4_4.sce | 2904b4516812048eedc02d8e81d645eded978a96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,412 | sce | Ex4_4.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 4.4
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
P=20; //Load in kW
pf1=0.8; ... |
ea3ad181ee98293aea4341cee265ce55008a7ec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH7/EX7.13/Example_7_13.sce | 6b26e36d3b27a3cb194f996cc60482fb94d27156 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | Example_7_13.sce | //Caption: Confidence Interval for Proportion
//Example7.13
//Page217
clc;
p = 0.40;// 40% of retailers enhance weekly sales
q = 1-p;
n = 64;// number of samples
//pbar: proportion of success
pbar = 32/n;//32 out of 64 are having enhanced sales after displaying advertisement
Var = (p*q)/n; //variance
Std ... |
1d13d0c5f0a7605dc908b3c34e197795388bcef9 | 8bd525c791439c0bc9fc2403398da0abf8fdf796 | /NewCase/edsonjPap.sce | 7d0963c3f02e2e0bb117af9f581978eabc2bf394 | [] | no_license | jfloreshu/Laboratorio3Linealizacion | 42c06ed50ba8e1fe3c9e7e3399c3e8d4ef868263 | ded2b0996adc3f0afe98d9600de9c4ba816a0e9d | refs/heads/master | 2022-11-15T17:28:08.226830 | 2020-07-12T04:03:25 | 2020-07-12T04:03:25 | 278,912,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,112 | sce | edsonjPap.sce | function xdot=edsonjPap(u1,u2,u3,u4,u5)
// This is nonlinear Pendulum Model
// Load the parameters
exec('edsonjParametersPap.sce', -1);
// state variables
x=u1;
v=u2;
theta=u3;
vartheta=u4;
// control variables
F=u5; // fuerza
// Modelo MoDiCA-X
//Estado 1-posicion
e1dot= v;
//Estado 2-Velocidad lineal respecto ... |
2ce34c2a11b12c88dfe1c8fe3d3e06aa3aeba6db | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /BCPST TIPE SPE/scripts/Test programme final/choixvideo.sci | 36507bbddf6e639ba7b398f3e2f8dc39538685a4 | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sci | choixvideo.sci |
function [Path]=choixvideo()
Path=uigetfile([""],'C:\Users\thibault\Desktop\TIPE\video')
endfunction
function [T,samare2,samare1]=pointer(path)
[samare1,samare2]=pointage(string(path))
tableau=0;
compt=1;
for i=1:max(size(samare1)) do
if samare1(i,3)<>0 & samare2(i,3)<>0 then
tableau(compt,1)... |
9eea920a9b3b66d3b7669ad4a4ddcdfd9fec0d4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.14/ex13_14.sce | 981d44538f7e42c01685eadc45a2111a847b78fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | ex13_14.sce | //Chapter-13, Example 13.14, Page 391
//=============================================================================
clc
clear
//INPUT DATA
deltaIe=1*10^-3;//change in emitter current in A
deltaIc=0.99*10^-3;//change in collector current in A
//CALCULATIONS
a=(deltaIc/deltaIe);//current gain of the transistor
... |
4ffad01ca83815237d34714b40a7c232b19c8f65 | f8551f1c22ee634be672d893e6755b100f0d1994 | /Homographies/vgg_warp_H.sci | d72f2553eb83bf473b21a94990400a9d61702372 | [] | no_license | yanisdxw/computer-vision | ed605061a632ae0c7536007de6f83e2ff5ee1d51 | e9bd0961194f2e4290211296dbe6268ecad8f1c1 | refs/heads/master | 2021-08-23T05:30:24.864657 | 2017-12-03T17:05:35 | 2017-12-03T17:05:35 | 111,726,798 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,126 | sci | vgg_warp_H.sci | function nim = vgg_warp_H(im, H, interp_mode, bbox_mode)
// function nim = vgg_warp_H(im, H, interp_mode, bbox_mode);
//
// Image warping under plane homography.
//
// NEWIMAGE = VGG_WARP_H(IMAGE,HOMOGRAPHY) returns an interpolated warp of
// IMAGE under HOMOGRAPHY. RGB or intensity images are... |
e6fd5c071de9ac68f96fd83b83040fc0fa1396a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH1/EX1.8/Chapter1_Example8.sce | c870273c4167ab8086ad00a15e59f29050e01399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,246 | sce | Chapter1_Example8.sce | clc
clear
//INPUT DATA
no=0.5;//Air standard efficiency in percenatge
nr=0.7;//relative efficiency in percenatge
nm=80;//mechanical efficiency in percenatge
cv=45000;//calorific value in kJ/kg
BP=75;//Brake power in kW
Ra=0.287;//Gas constant
Ta=300;//suction temperature in K
pa=1*100;//pressure in kN/m^2
V... |
ae8a068d95ea5ebf08f93bd909b4177c2309bcf8 | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/ifftshift1.sci | 6c5ae8e7ce8c2c62de7d4de87f142f3df2cb3261 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sci | ifftshift1.sci | function y= ifftshift1(X,DIM)
rhs= argn(2);
if(rhs <1 | rhs >2)
error('Wrong number of Input arguments');
end
select(rhs)
case 1 then
y=callOctave("ifftshift",X);
case 2 then
y=callOctave("ifftshift",X,DIM);
end
endfunction |
1efc7cbd055c4acf73231311703994c5329ce050 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH14/EX14.17/17.sce | f6951083268e3979c65286026e4586a69ce51938 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | 17.sce | clc
disp("(ii) Mass of refrigerant circulated per minute")
h2=352; //kJ/kg
h3=374; //kJ/kg
h4=221; //kJ/kg
h1=h4;
v2=0.08; //m^3/kg
rpm=500;
D=0.2;
L=0.15;
n_vol=0.85;
RE=h2-h1;
V=%pi/4*D^2*L*rpm*2*n_vol;
m=V/v2;
disp("Mass of refrigerant circulated per minute = ")
disp(m)
disp("kg/min")
disp("(iii) Cooling capacity... |
54ead7ba6ef0f40a58efb4b39b363ccb7a4d7879 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH22/EX22.2/C22P2.sce | 4ce10db22daa63ddd2f2c6cd3a00db3a4ca5156d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,268 | sce | C22P2.sce | clear
clc
//to find number of moles of oxygen
//to find number of molecules of oxygen
//to find approximate rate at which oxygen molecule strike one face of the box
//Given:
//refer to figure 22-2 from page no. 499
//length of edge of cubical box
L = 10//in cm
//pressure of oxygen
p = 1.0//in atm
//temper... |
c4c75fea608b3e25074a4f4fe185a84742b394e6 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD3/TD3 - 2/Log.sci | 9a9f1e48d9cc3e4a19f0a38baf4a2a548efe4ec6 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sci | Log.sci | clear
clf
// variables du modèles
r = 1 ; A = 0.5 ; K = 2.5 ; B=0.5 ; C=0.3 ;
x = linspace(0, 2.5, 301);
function f = predation(x) // fonction qui calcule la vitesse d'accroissement
f =r * x .* (1 - x / K) - B * (x.^2 ./ (x.^2 + C^2)) // opération vectorielle
endfunction
plot2d(x, predation(x), style = 2); // Tr... |
b9a2a7ddd2cb510ee5599a9b6c10d2523ab9b267 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH23/EX23.3/C23P3.sce | 4589be932a9fda065f0a7e80212d24ffef29f94a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,234 | sce | C23P3.sce | clear
clc
//to find final equilibrium temperature of the system
//Given:
//mass of copper cube
mc = 75//in gram
//temperature of oven
T0 = 312//in degree celsius
//mass of water
mw = 220//in gram
//heat capacity of beaker
Cb = 190//in J/K
//intial temperature of water and beaker
Ti = 12.0//in degree cels... |
2576e259c6b96429ac81c56535060ed0803bb3d9 | ca10ed224d8cd7295e60f1c02ea92a812038e28e | /QRhausholder3.sci | e13a8a2212697c046d6ef97a1955d1473e82c16f | [] | no_license | Winchester12/matlab | f0a77c5eeaabe17b2f699468e8b4229ee71789c4 | 662098338d7b0f1a7a9ed9908202ef36c9d7bcbe | refs/heads/master | 2021-05-15T13:51:23.852649 | 2017-10-17T07:44:47 | 2017-10-17T07:44:47 | 107,234,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sci | QRhausholder3.sci | function b = QRhausholder3(n, M, M2, b)//b
for i = 1:n
b(n) = b(n)/M2(n)
end
sumMB=0;
for j = i+1:n
sumMB = M(i,j)*b(j);
end
for i = n-1:-1:1
if M2(i) == 0 then
M2(i) = 0.000001;
end
b(i)=(b(i) - sumMB)/M2(i);
end
return b;
endfunction
|
181679f05512fcd416ae5aa754b86e9edd947928 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/ResolveFrame.sci | ede4d5cfaaabafd15aaccb0524e229e1d09f7248 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 6,256 | sci | ResolveFrame.sci | // ResolveFrame.sci Find missing frame information in a closed loop kinematic
// chain
// www.controlsystemslab.com August 2012
// kc1 is the frame to be solved
// kc2 must be a completed frame, or just a homogeneous matrix describing
// the end frame of kc1 w.r.t base
// return resolved kc1 as well as T_rel a... |
5e5093335013ce9c7ca979362f75c405a00a01d2 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/GF38CPK/ATWM1_Working_Memory_MEG_GF38CPK_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | 4ff2cdbfc29a86541f79baca91b099ced9de96e1 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
00d468b7d9a169f14bd09a360d6f199c166710ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.22/example8_22.sce | 7c6f65367ff500da072804c0ca71df3f7eb71b3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | example8_22.sce | //Chapter 8
//Example 8_22
//Page 192;
clear;clc;
l=150;
area=2;
us=5000;
sf=5;
sg=8.9;
ww=1.5;
mc=7;
w=area*sg*100/1000;
t=us*area/sf;
wt=sqrt(w^2+ww^2);
s=wt*l^2/8/t;
vsag=s*w/wt;
printf("Wt of conductor = %.2f kg \n\n", w);
printf("Working tension = %.0f kg \n\n", t);
printf("Total weight = %.2f kg \n\n", wt);
p... |
913780a9b58bca4106d60ddb96ded276a1a9455f | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/Adaptive_receptor.sce | 6e8ff6ed20b781b82604082805852d4aea60e3f6 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 806 | sce | Adaptive_receptor.sce | //**************************** Adaptive_receptor **********************************
if (blk_name.entries(bl) == "Adaptive_receptor") then
addvmm = %t;
mputl("#Adaptive_receptor",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
l1_str= ".subckt Adaptive_receptor in[0]=net"+string(blk(blk_objs(bl),2))+"_"+str... |
c20a60ba6b89ccdf808cfafa540b924efcff0f85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH7/EX7.3/3.sce | 3a444134d6b0a73702eb098721d2c9de99901fec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | sce | 3.sce | clc
clear
//input data
a=3 //exit area to throat area ratio
T0=2973 //combustion chamber temperature in K
P0=20*10^5 //combustion chamber pressure in Pa
k=1.3 //adiabatic constant
R=248 //gas constant in J/kg-K
Pamb=1*10^5 //ambient pressure in Pa
Me=2.52 //mach number for k=1.3 and a=3 using gas tables
g... |
da88394042b1899b9edaa0fa0981975896afa944 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH1/EX1.4/Ex1_4.sce | 6ae65d27c4a9687e8dc3a964c1839f7c7a7f65d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Ex1_4.sce | clear;
clc;
disp('Example 1.4');
// Given values
P1 = 100; // initial pressure, [kN/m^2]
V1 = .056; // initial volume, [m^3]
V2 = .007; // final volume, [m^3]
// To know P2
// since process is hyperbolic so, PV=constant
// hence
P2 = P1*V1/V2; // final pressure, [kN/m^2]
mprintf('\n The final pres... |
814b9dc4a867085f85efd19e9a7f18dcaeaecf0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH13/EX13.12/exa13_12.sce | 61bbd7d430f7798afcf1d99a173897c510bcd4c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | exa13_12.sce | // Example 13.12
// Calculating a Zero-Input Response
L=2;
R=20;
C=1/200;
s=%s;
// for t<0
i_L_bef=6;
v_C_bef=20*i_L_bef;
// for t>0 ,figure 13.13(b)
//Applying Mesh equation for I_L_s
I_L_s=(12+120/s)/(2*s+20+100/s);
// I_L_s has the form (Bs+C)/(s^2+2*alpha*s+omega_0^2) comparing these equations
// we ... |
2607a11270c701298f88fd736e219191dfba6955 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.18/ex4_18.sce | 4aee6c2a4c90f19cf2532a76eaf976d1161c632b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | ex4_18.sce | //Page Number: 236
//Example 4.18
clc;
//Given
C=10; //dB
D=30; //dB
//Parameters
bet=10^(-C/20);
x=bet/(10^(D/20));
a=sqrt(1-(bet*bet));
//Scattering matrix
//Assuming symmetery
s=[0 a x (bet*%i);a 0 (bet*%i) x;x (bet*%i) 0 a;(bet*%i) x a 0];
disp(s,'Scattering matrix:');
|
6bcf99b7fe493e12da07b1e194972473bc4c5f4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/10_16.sci | 11f28ee338c75a5d82cefb19c8cda41a2a545710 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sci | 10_16.sci | //Diameter of windmill(in m):
D=26;
//Operating speed(in rpm):
N=20;
//Wind speed(in km/hr):
V=36;
//Power Output(in W):
Po=41000;
//Maximum efficiency occurs in following conditions:
//Efficiency:
Eff=0.593;
//Inteference Factor:
a=1/3;
//Density of air(in kg/m^3):
p=1.23; |
59540c3c478c70333b78544745a20e7421eb243b | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH26/EX26.3/26_03.sce | 43dba58538955681a6faa002a08b270a3b1bd99c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | 26_03.sce | clear
clc
F=1000;//gm/min
W=10000;//gm
t_avg=W/F;
F_50=300;F_100=400;F_200=300;//gm/min
t_50=5;t_100=10;t_200=20;//min
unconverted=((((1/4)*(t_50/t_avg))-((1/20)*(t_50/t_avg)^2)+((1/120)*(t_50/t_avg)^3))*(F_50/F))+((((1/4)*(t_100/t_avg))-((1/20)*(t_100/t_avg)^2)+((1/120)*(t_50/t_avg)^3))*(F_100/F))+((((1/4)*(t_2... |
0411259297732d3386eda25dc7d5a37711fab929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH6/EX6.21/ex_6_21.sce | 32b9e0d95372563ab6c7252d76c7e240e48eb20c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | ex_6_21.sce | // example no. 6.21,
// caption: solving the IVP by implicit RK2 method
// u'=f(t,u)
// u'=-2tu^2
//u(0)=1,h=0.2;
t0=0;h=0.2;tn=.4;u0=1;
deff('[z]=f(t,u)','z=-2*t*u^2');
umaxAllowed = 1e+100;
t = [t0:h:tn]; u = zeros(t); n = length(u); u(1) = u0;
for j = 1:n-1
// k1=h*f(t(j)+h/2,u(j)+k1/2);
// co... |
117ea70a6ac4141a3ed5ccb0eefd9d0258f754c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH16/EX16.6/Ex16_6.sce | c19757428de2c251787c1941fbf26b38c94e2edd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | Ex16_6.sce | //Example 16.6
clc
c1=3*10^-6
c2=6*10^-6
c3=12*10^-6
c4=24*10^-6
delta_v=18
disp("solution a")
c_eq=1/((1/c1)+(1/c2)+(1/c3)+(1/c4))
disp(c_eq,"capacitance in farad=")
q=delta_v*c_eq
disp("solution b")
disp(q,"voltage between battery in c=") |
17abb297d3be3e66703d5c9fc119359dce22805f | 047d952507eb3b9d71fac69ec3332225f17f53ef | /main/testfiles/test12.tst | 3e1ce72e42a6e3b42a83866d9b912bacf1a39af9 | [] | no_license | patrick-nanys/project-laboratories-hw | 89ab8f366219f491e6feba5558bf41ef8205dda1 | ba57a9d5e4ca33a3cc1be3cdb4fe679fe0149f93 | refs/heads/master | 2022-08-09T14:14:31.220503 | 2020-05-18T11:20:03 | 2020-05-18T11:20:03 | 250,313,203 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | tst | test12.tst | 1;e;0
5;-
p1;-;-;-;2;1;-
usePlayerAbility 1
status |
ee0c53d612194f486ec2aea994b755c460db49e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH5/EX5.6/ex5_6.sce | 3128f3a1f221da962fe84df47ecd7a6ddd54be54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sce | ex5_6.sce | //Ex 5.6
clc;
ws=1000*%pi;
w=ws/2;
disp(w,'Cont. time Frequency w ( rad/seconed )'); |
2a573c8fd32b9464532ad73fcbd94b84de89128c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH19/EX19.7/exm19_7.sce | 4aa2ce3ec072aff92a363506d43e35bbe2685c70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 865 | sce | exm19_7.sce | // page no 628
// example no A.7
// SUBTRACTION OF UNSIGNED NUMBERS
clc;
printf('Part a \n \n')
printf('Subtrahend= 62H \n');
printf('Minuend= FAH \n \n');
// finding 2's complement of subtrahend (62H);
m=hex2dec(['FA']);
x=hex2dec(['62']);
y=bitcmp(x,8); // 1's compliment of 62H
z=y+1; // 2's compliment of ... |
00cd05644b9b61875533f26d853ee8ede19e356d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH16/EX16.1/Ex16_01.sce | e9fa32166d7aa18aea3e2094807294fca55aed76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex16_01.sce | // Scilab Code Ex16.1: Page-581(2014)
clc; clear;
H0 = 22; // Value of Hubble constant, km/s per million ly
parsec = 3.26; // The value of 1 parsec, light years
printf("\nThe value of Hubble constant = %d km/s per Mpc", ceil(H0*parsec));
// Result
// The value of Hubble constant = 72 km/s per Mpc |
3849087c1c46e58a14cd151377c9216869449730 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_B1.sce | 95aca3734f0889caeb69f2fdc7f0915a5004fea8 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 851 | sce | Mission_B1.sce | //Mission B1
//On récupère l'image.
pathname = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_B\Gliese 667Cc_surface.pbm";
img_in = readpbm(pathname);
//Histogramme de l'image.
histogramme = histogrammeFct(img_in);
// Normalisation
minHisto = debutHistogramme(histogramme);
max... |
d08d5704f05e633f066bc99dfacd658d87646ff6 | 449f0d9106e35fc361bdb53d55d9563796f0d2c3 | /week6/scilab.sce | c1b5b7bf7b1e32d74002d62f671baf18d149b929 | [] | no_license | aleksey-sinos/OpenEdu | 72eefffcc4ddbb45345a9bee61e534f9bf540390 | 6c3b4943a669b9398ad75e0fae44937cc6b04dc0 | refs/heads/master | 2020-06-30T13:29:27.839046 | 2019-12-04T07:47:12 | 2019-12-04T07:47:12 | 74,368,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,236 | sce | scilab.sce | /////////////////////////////////////////////////////////
//// Неделя 6.
//// Использование байесовского подхода при
//// различных значениях априорной неопределенности
/////////////////////////////////////////////////////////
clear; deff('[numd] = roundd(num,n)','numd = round(num *10^n) / 10^n');
rand("seed",getdate("... |
05495f94f7dff6d0dfe69fcbec416411d3cba96e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH1/EX1.4/Ex1_4.sce | f23f858f56a4cccc152902f4040c0647464954bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 988 | sce | Ex1_4.sce | //Calculations on four stroke petrol engine
clc,clear
//Given:
bp=35 //Brake power in kW
eta_m=80 //Mechanical efficiency in percent
bsfc=0.4 //Brake specific fuel consumption in kg/kWh
A_F=14/1 //Air-fuel ratio
CV=43000 //Calorific value in kJ/kg
//Solution:
//(a)
ip=bp*100/eta_m //Indicated power in kW
//(... |
1d82ca4c6cb2d7010cb8166e0ada8880b0c8a1aa | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /pushbtn_demo1.sci | b8e427c70e04219b0d621dac1a252457b806709b | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sci | pushbtn_demo1.sci | function pushbtn_demo1()
for i = 1:10000
p = cmd_digital_in(1,12);
if p==0
cmd_digital_out(1,9,0);
else
cmd_digital_out(1,9,1);
end
end
endfunction
|
d1d3fef694c1fa7bc41879225dede7d718f40dee | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /ch24.org/2011/Pre-round, 2011.02.12/R/text10.tst | 7d268e16da102af9bc8e9c666dfcf491e911d039 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142,209 | tst | text10.tst | 13296
-0.00406531
-0.00323929
0.0131134
-0.00539212
0.00132616
0.0107516
0.00481586
0.0026904
0.00751912
0.0101064
-0.00206268
-0.00788005
0.0373658
-0.00363943
0.0138479
0.00341629
0.00979532
0.0166058
0.00514973
0.00937139
0.0233013
0.0320526
0.0364987
0.0316301
0.0481864
0.0641767
0.0699707
0.088685
0.063594
0.08500... |
d081cbb9c68491c64ed4b126179f7a0925076529 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH6/EX6.3/Ex6_3.sce | a869136131bbb3812d6b3f8a59feb81da7139faf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | Ex6_3.sce | clc
//
//
//
//Variable declaration
T=31.4 //Time Period
A=0.06 //Amplitude
//Calculations
W=((2*3.14)/T)
Vmax=W*A
//Result
printf("\n The Maximum Velocity is %0.3f m/sec",Vmax)
|
a93b6410351abbc6c906fcf75ef362b8e399070c | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.6/exampe10_6.sce | 6a0cc0b3dda09429cde9e87907ee41adfd12660d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | exampe10_6.sce | //Chapter 10
//Example 10_6
//Page 237
clear;clc;
r=6;
xl=8;
pfr=0.9;
vr=110*1000/sqrt(3);
vs=120*1000/sqrt(3);
i=(vs-vr)/(r*pfr+xl*sin(acos(pfr)));
op=3*vr*i*pfr/1000;
pfs=(vr*pfr+i*r)/vs;
printf("Recieving end voltage = %.0f V \n\n", vr);
printf("Sending end voltage = %.0f V \n\n", vs);
printf("Load current = %.2... |
1b39f5895a1a07192b2ac2609a12258b25292b5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.2/Ex2_2.sce | 63610b88a2c826a0cc1bf18745cf8b9ad9ffe647 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 966 | sce | Ex2_2.sce | //Calculations on the Carnot cycle
clc,clear
//Given:
T3=800+273,T1=15+273 //Temperature of a hot and cold reservoir in K
P3=210,P1=1 //Maximum and minimum pressure in bar
//Solution:
//Refer fig 2.21
eta_carnot=1-(T1/T3) //Efficiency of Carnot cycle
T4=T3 //Isothermal process 3-4
g=1.4 //Specific heat ratio(g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.