blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f007246eec2a2ce8a9677188db268ddf2fb1d86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH8/EX8.6/EX8_6.sce | a250a99c3a268caf365307186ec17b2619bf40bd | [] | 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,073 | sce | EX8_6.sce | //Chapter 8, Example 8.6
clc
//Initialisation
f1=1000 //frequency in hertz
f2=10 //frequency in hertz
f3=100 //frequency in hertz
f4=20 //frequency in hertz
f5=10**6 //frequency in hertz
f6=50 ... |
a9e4959a7e103af2555f20c8400c8bc87c4a0c8a | 6fd3f19d2ced950a97cae01eba7080554840efd4 | /src/F2D.sci | 3daa4a4326c781c7692556065615038f3d5ca864 | [] | no_license | marcosamaris/FrFTScilab | 6563d281792332354330ea2eb5d18334338e0bfd | 8a5cb67873b881714a051336d472271c184a2083 | refs/heads/master | 2020-12-14T07:32:10.208263 | 2017-02-02T13:48:43 | 2017-02-02T13:48:43 | 68,461,393 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sci | F2D.sci | function F2D=fracF2D(f2D,ac,ar)
[M,N] = size(f2D);
F2D = zeros(M,N);
if ac == 0
F2D = f2D;
else
for k = 1:N
F2D(:,k) = fracF(f2D(:,k),ac);
end;
end;
F2D = conj(F2D');
if ar ~= 0
for k = 1:M
F2D(:,k) = fracF(F2D(:,k),ar);
end;
end;
F2D = conj(F2D');
endfunction
|
8635f512c96acbd64ca75d1b4eb04014760de213 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH4/EX4.2/example4_2.sce | 09f91ece3bca0fb8068575d78732d39272a37cfc | [] | 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 | 167 | sce | example4_2.sce | //Chapter 4
//Example 4_2
//Page 74
clear;clc;
p=200000;
s=10000;
n=20;
r=0.08;
q=(p-s)*r/((1+r)^n-1);
printf("Annual payment for sinking fund = Rs. %.0f \n\n", q); |
4d47b12e09194ab8c3cfd8304708df530bff41f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH4/EX4.13/Ex4_13.sce | 5aec0bce325f5b7e7d6d24cab69f775e3bca05e1 | [] | 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 | 420 | sce | Ex4_13.sce | //==================================================================================
// chapter 4 example 13
clc;
clear;
//input data
Er = 1.000074; //dielectric constant for a gas at 0°C
//calculation
sighe = Er-1;
//result
mprintf('dielectric susceptibility=%3.6f\n',... |
bcab5c843153bcb57740e8078a0b8d42f6363109 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH4/EX4.1/Ch04Ex01.sce | a6bd4c90e2adf8949a478e46ff2c95203ba72d6d | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 722 | sce | Ch04Ex01.sce | // Scilab code Ex4.1: Pg.150 (2008)
clc; clear;
R_H = 1.096776e+07; // Rydberg constant for Hydrogen, per metre
// For Lymann series
m = 1; // Integer value
n = 2; // Integer value
lamda = 1/(R_H*(1/m^2 - 1/n^2)); // Wavelength of Lymann series, m
printf("\nThe wavelength of first line of Lymann ser... |
7c796485830af9165997e2e8c412fbef41620555 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH11/EX11.9/CH11Exa9.sce | fe9bd515980a4dbf3532115e399d600e6079a836 | [] | 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 | 931 | sce | CH11Exa9.sce | // Scilab code Exa11.9 : : Page-538 (2011)
clc; clear;
q = 1.6023e-19; // Charge of an electron, C
B_0 = 1.5; // Magnetic field at the centre, tesla
m_d = 2.014102*1.66e-27; // Mass of the deutron, Kg
f_max = B_0*q/(2*%pi*m_d*10^6); // Maximum frequency of the dee voltage, mega cycles pe... |
833b683fb15a0178668589015a2aae9058f04777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH15/EX15.1/CH15Exa1.sce | 0a58da35143ec6fdcc9d2d48809eceb5649ee8e5 | [] | 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,014 | sce | CH15Exa1.sce | // Scilab code Exa15.1 : : Page-652 (2011)
clc; clear;
N_0_235 = 1; // Number of uranium atom
N_0_c = 10^5; // Number of graphite atoms per uranium atom
sigma_a_235 = 698; // Absorption cross section for uranium, barns
sigma_a_c = 0.003; // Absorption cross section for graphite, barns
f = N_0_23... |
b1e49ba90c62008be60d470b0cbe8fe92b118b54 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/dutycycle/dutycycle16.sce | 203f9e98fbe77a8e77a176455e34c1b03e882afc | [] | 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 | 266 | sce | dutycycle16.sce | //check o/p when i/p is a char vector
x=['a'];
[d]=dutycycle(x);
//output
//!--error 10000
//Input arguments must be double.
//at line 56 of function dutycycle called by :
//[d]=dutycycle(x);
//at line 3 of exec file called by :
//cycle16.sce', -1
|
96d750623f4cc7db667f87696d727d3191b25e21 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_hrz_col/~BivLCM-SR-bfi_c_hrz_col-PLin-VLin.tst | 2a97029c5b818e738051df03849fcd8216634bc3 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_c_hrz_col-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.302521D+00
... |
8467d0852566f6052fd8fcab8f8b1600a5d27700 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.30/ex_1_30.sce | 30f8ad16b4b6bba240653afd41f71cabf0943437 | [] | 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 | 325 | sce | ex_1_30.sce | //Example 1.30 // velocity of light in medium
clc;
clear;
//given data :
d1=.3;// diameter of ring in cm
d2=.25;//diameter of ring(in cm) after placing in medium
c=3D8;//speed of light in m/s
u=(d2/d1)^2;// refractive index of medium
v=u*c;// velocity of light in fluid
disp(v,"velocity of light in liquid in m/... |
428f07ba671131ba8cc81198513ee05fd245dc34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH18/EX18.10/EX18_10.sce | 9cf783063235ab5e771df35d8f0829a09b6566cf | [] | 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 | 401 | sce | EX18_10.sce | //Finding of Vane Angle ,Head ,Velocity ,Efficiency
//Given
u=12;
D=0.8;
D1=1;
Vw1=0;
Hout=1;
Vw=12;
Vf=3;
g=9.81;
//To Find
a=atand(Vf/Vw);
V=sqrt(Vw^2+Vf^2);
u1=(D1/D)*u;
V1=u1*tan(%pi/9);
H=((V1^2/(2*g))+1)+((Vw*u)/g);
E=((Vw*u)/(g*H))*100;
disp("Absolute Velocity ="+string(V)+" m/sec");
disp("Vane... |
803f22e65a930e9b9c06c32d4270353cae6306b1 | 5368ca7c8260088162c8f20f486cbe81889bd23d | /playground/fir_sofa_ipynb/filters/test/RLS_Algorithm/af_Recursive_least_squares.sci | 7b79b78790f38bebc38af68f544721f71570bbb9 | [
"MIT"
] | permissive | tetsuzawa/graduation-research | 1b71f8d66e3bb0b10b7a16e9662ac7d496ea7fda | e76f820b92b58b35825a8cbb28452b7d351c0a67 | refs/heads/master | 2020-08-17T11:10:33.716140 | 2020-02-11T03:38:48 | 2020-02-11T03:38:48 | 215,657,014 | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 1,601 | sci | af_Recursive_least_squares.sci | ///////////////////////////////////////
// 適応フィルタ(再帰最小二乗法)
// Adaptive Filter
// Recursive least squares
//
// M.Tsutsui
///////////////////////////////////////
clear;
funcprot(0);
function[y_opt_buf]=RLS(arufa,lambda,update);//arufa:α ,lambda:忘却係数 ,update:更新回数
... |
fe672092a6ef7e6523b2a26c2c8cecadb0bd3dd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH22/EX22.7/Ex22_7.sce | 0d90eb9bda0162edf1c21d2fee7426e7283c748c | [] | 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 | 411 | sce | Ex22_7.sce | //chapter22
//example22.7
//page496
I_DSS=5d-3 // A
V_DD=20 // V
V_DS=10 // V
V_P=-2 // V
V_G=0 // V
I_D=1.5d-3 // A
V_GS=V_P*(1-((I_D/I_DSS)^0.5)) // I_D=I_DSS*(1-V_GS/V_P)^2
V_S=V_G-V_GS
R_S=V_S/I_D
// by Kirchoff's law we get V_DD=I_D*R_D+V_DS+I_D*R_S so making R_D as subject we get
R_D=(V_DD-V_DS... |
7950d46a281f116be6754c7e454b6447c8f13635 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.9/example5_9.sce | 97c9166cbe9bd914cc551e558cf84c8e4c21465e | [] | 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 | example5_9.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.9
// Page 220
printf("Example 5.9, Page 220 \n \n");
// solution
// (a)
T = 305.15 //K
Pv1 = 10^(4.0026-(1171.530/(305.15-48.784))) // bar
// (b)
T = 395.15
Pv2 = 10^(3.559-(643.748/(395.15-198.043))) // bar
printf(" ... |
14e1467455947e55f2a377e408cb4326e9f3f11e | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH16/EX16.2/Example_16_2.sci | 4f0f1ba41f38dd4badbf904fc1f8118ee511d057 | [] | 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 | 919 | sci | Example_16_2.sci | clear;
clc;
printf("\n Example 16.2");
E = [1 0.64 0.49 0.38 0.295 0.22 0.14];
J = [0 0.1 0.2 0.3 0.5 0.6 0.7];
plot(J,E,rect=[0,1,0,1]);
xtitle("Plot for drying data","J = kt/L^2","E");
//For the 10 mm strips
mi = (0.28 - 0.07); //Initial free moisture content in kg/kg
mf = (0.13-0.07); //Fi... |
6b434e68d4caf66c1607d40d61ffcf552c210abe | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter7/Ch_7_Eg_7.5.sce | 14b1f7ffaeca1373aa162952c4fdeeec940acc53 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,039 | sce | Ch_7_Eg_7.5.sce | // A program to find the form of an interpolating polynomial using the Newton’s forward interpolation.
// Input
// x and y = A set of data points
// Output
// yp = A polynomial of the form a0+a1 x+a2 x^2+ ...+an x^n
function [yp]=ak_Newton_Fwd_Int_poly(x, y)
n=length(x);
// Prepare forwa... |
8da971cc5a8100d2a5071c55e3556f0ab2cab4ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.16/Ex3_16.sce | 7286b30852ba600e3d93e46ee9a7f914b7aba73b | [] | 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,422 | sce | Ex3_16.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.16
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
S = 20 * 10 ^ 3; // Rating of the Step-down Transformer i... |
144b1898819d7ce9b8614c853bcae30990467d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3513/CH2/EX2.2/ch2_2.sce | 32efc509830e945ca5f6049d77cf0887ee83fad6 | [] | 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 | 501 | sce | ch2_2.sce | // To determine percentage of specimens
//page no 22
clear
clc;
m=118.5;// volts mean
sd=1.2;// volts psi
p1=0.0188;//The probability from tables
p1=p1*100;
x=116;
z=x-(m/sd);
p2=0.8944;//The probability from tables
p2=p2*100;
p=p2-p1;
mprintf("Therefore the percentage of specimen falling between 116 and 1... |
def5fcf16297fce4ef53366afa94dd146c9a0bee | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH4/EX4.3/ex3.sce | 2eb0f9547fc70837de68f6569cc3c910abe46dd5 | [] | 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 | 353 | sce | ex3.sce | // Example 4.3: Design of given circuit to obtain I_D=80uA
// FET is operating in saturation region
I_D=80*10^-6; // (A)
V_t=0.6; // (V)
uC_n=200*10^-6; // (A/V^2)
L=0.8*10^-6; // (m)
W=4*10^-6; // (m)
V_DD=3; // (V)
V_OV=sqrt(2*I_D/(uC_n*(W/L)));
V_GS=V_t+V_OV;
V_DS=V_GS;
V_D=V_DS;
disp(V_D,"V_D (V)")
R=(... |
7da70dfaab049b06bfbd4be86108743c87f52e8c | d8cab241a02c8d06f859a4adbf2748d68c08d385 | /Eliminação de Gauss.sce | 7a1c64ea54d8608c332a1ac7eb8b543aa6c3fa4c | [] | no_license | eluire/CN | 6327b9619a6e00d2870912830393def2ca82b856 | e2027e0d20c549bb1a79ce830c6affcf4cbe1149 | refs/heads/master | 2021-09-16T07:13:23.367948 | 2018-06-18T10:51:21 | 2018-06-18T10:51:21 | 126,038,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Eliminação de Gauss.sce | clc
#defina a matriz
A = [4 3 8 1; 12 10 30 8; 24 25 93 49; 20 19 85 90]
[nl,nc]=size(A)
for i= 1:nl
pivo=A(i,i)
for j= i+1:nc
A(j,:)=A(j,:)-(A(j,i)/pivo).*A(i,:)
end
end
|
028c16d3a644e640e1ceee6d2428bd55b175292b | 1b7b49fefad8e705213aa8666caa68793a3e6859 | /scilab_kernel/_make_figures.sci | 2cac78efac32cbdc3eb04b637d4b85ea60cfed2a | [
"MIT"
] | permissive | poznaandras/scilab_kernel | c3f72b6549efe4268dc13c39b3c2bc53ef925495 | b2e90699a1bed3c32497fed9fc4a670a23e50b45 | refs/heads/master | 2022-01-06T07:12:48.076096 | 2019-06-02T09:48:59 | 2019-06-02T09:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sci | _make_figures.sci | function _make_figures(plot_dir, plot_format)
ids_array=winsid();
for i=1:length(ids_array)
id=ids_array(i);
outfile = sprintf('%s/__ipy_sci_fig_%03d', plot_dir, i);
if plot_format == 'jpg' then
xs2jpg(id, outfile + '.jpg');
elseif plot_format == 'jpeg' then
xs2jp... |
142d3414420c521287a292a82c9dd9c4b5d15b3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH10/EX10.2/ex_10_2.sce | e260230702b555ea2777d5d12630a11e5cbd9ebb | [] | 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 | 214 | sce | ex_10_2.sce | ////Ex 10.2
clc;
clear;
close;
format('v',9);
Vsat=7;//V
R1=68;//kohm
R2=82;//kohm
VUTP=R2*Vsat/(R1+R2);//V
VLTP=R2*-Vsat/(R1+R2);//V
disp(VUTP,"Upper trip point(V)");
disp(VLTP,"Lower trip point(V)");
|
1be9874079297de0c78667f0be6a8a5634390ccd | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH3/EX3.7/example3_7.sce | 47e62da78190676572022fc7382e8cec066dbf39 | [] | 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,194 | sce | example3_7.sce |
clear;
clc;
printf("\t Example 3.7\n");
D=.1;
l=3; // l is length of bubble in cm
a=3.14*D*l; // area in cm^2
Ca_o=0.0001; //pure conc. of gas in g*mol/cc*atm
Ca=0;
NA=.482*10^-5; // molar rate of absorption in g*moles/s
//Pa_o and Ca_o indicates pure pressure and conc.
kl=NA/(... |
cf6f490f499195bd02c35c070379b3669763e308 | 93640402789b9a9d07c82958f433765f1e2a8397 | /part 2/Mux8.tst | 0fe886a5681b830774e6adc16bf365ec783d66f2 | [] | no_license | Slayingripper/Z80-CPU | 7a6b71f9e59850c3d4492a7f1867f4e81be278ba | 451873966cf071f8088407300629994a8d33f13c | refs/heads/master | 2020-05-04T02:42:27.419333 | 2019-04-01T19:27:22 | 2019-04-01T19:27:22 | 178,932,396 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | tst | Mux8.tst | // This file is adapted from part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
load Mux8.hdl,
output-file Mux8.out,
compare-to Mux8.cmp,
output-list a%B1.8.1 b%B1.8.1 sel%D2.1.2 out%B1.8.1;
set a 0,
set b 0,
set sel 0,
eval,
output;
set sel 1,
eval,
... |
e962853411c10db6ca9c625dfd454de072dfa117 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/imc_controller/imc_virtual.sci | 0adb11bea7244e0244b2fbc3301e0b36b0c0b3cc | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 524 | sci | imc_virtual.sci | mode(0)
function [stop] = imc_virtual(setpoint,fan,alpha)
global temp heat C0 u_old u_new e_old e_new fdfh fdt fncr fncw m err_count stop q heatdisp fandisp tempdisp setpointdisp limits m x sampling_time e_old_old
e_new = setpoint - temp;
b=((1-alpha)/0.01163);
u_new = u_old + b*(e_new - (0.9723*e_old));... |
850a8b10cafe6c60ab05d2ea69933958da17f5f3 | fa8b52b9b1d92d2574eb471bb12758f13885b2b1 | /old.tst | ed473e528b98961c00fb822208eab2c756cd2880 | [
"MIT"
] | permissive | Spontifixus/spontifixus.github.io | c56d5d66272589fd634199503abe414b4db4d1f1 | 3bef06e08b881d15c13b938e1b53f9105b7c52c2 | refs/heads/master | 2021-01-01T19:22:46.229038 | 2018-05-18T20:44:13 | 2018-05-18T20:44:13 | 98,575,960 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,697 | tst | old.tst | ### Datenschutzerklärung für die Nutzung von Disqus
Die Kommentarfunktion dieser Website wird von [Disqus, Inc., Law Enforcement Requests, 301 Howard St., Suite 300, San Francisco, CA 94105, USA][3] realisiert. Beachten Sie daher auch die [Disqus Privacy Policy][4].
### Datenschutzerklärung für die Nutzung von Google... |
974f8cd27b8257e89ab1c06ece641eabbafbaf66 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/85.tst | f253fb9f758570fbd66e803ad80319a3a08ec4ea | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | tst | 85.tst | void main(void)
{
int x, y;
x=x;
x=x+1;
x++;
--y;
return 0;
}
|
95d0c60be70043df7ce3cab2778c2b417751c00d | e223a3388730b3a8ab63f7565156d5bf7a65e44b | /scilab/ftdi/loader.sce | b268273a6491dc192f3efb9eab46381781aae075 | [] | no_license | YSBF/flight_control | 1cfef21947c9497659eea3cf631b4de207a0a851 | fc74021c2bd62819ea4f637b45936ab2edf9e7af | refs/heads/master | 2020-04-15T21:47:09.796455 | 2018-06-07T21:28:29 | 2018-06-07T21:28:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
if ~win64() then
warning(_("This module requires a Windows x64 platform."));
return
end
//
libmex_p... |
367f11c920f478e58b03d48163bfeea51ccfea3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.13/13.sce | 1036fb9f271f8572be88ec72d8aef26b1027b1d8 | [] | 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 | 514 | sce | 13.sce | clc
clear
//INPUT DATA
AW=63.5//atomic weight of copper in u
M=63.5*1.66*10^-27//mass of one copper atom in Kg
d=8.94*10^3//density of sodium in Kg/m^3
m=9.11*10^-31//mass of electon in Kg
h=6.625*10^-34//plank's constant in m^2 Kg/sec
e=1.6*10^-19//charge of electro in C
//CALCULATION
nc=(d)/M//number of e... |
eb644cca4bedb45099810ee7520c07058c75cac1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH2/EX2.05.01/2_05_01.sci | a03a7ae4daa6b745e60c5b310bc67bf7f362cff0 | [] | 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 | 87 | sci | 2_05_01.sci | //laplace//
syms t s;
y= laplace('%e^(-t)+5*t+6*%e^(-3*t)',t,s);
disp(y,"ans=")
|
1853677720b84108153555ca686318923fee591d | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 3/Listing3325.sce | 6ffd951d19e2d417fb2e42f8249dd7551bee2b78 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | Listing3325.sce | clc
clear
k=0;
while 1,
k=k+1;
if k > 100 then
break //interrupt loop
end;
end
disp(k)
|
a2befc61482c90fc3061fcd407de3aa2582f60f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.51/ex_51.sce | 23ad49d68c990a119edcd761e55938ac03a10c58 | [] | 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 | ex_51.sce | R1=0.2;
R2=0.3;
R3=0.1;
V1=120;
V2=110;
A=[5,-2;1,-4]; //Applying KCL at the two nodes
B=[358.2;-324];
V=inv(A)*B;
I1=(120-V(1,1))/R1;
I2=(V(1,1)-V(2,1))/R2;
I3=(110-V(2,1))/R3;
disp("Amperes",I1,"Current I1")
disp("Amperes",I2,"Current I2")
disp("Amperes",I3,"Current I3") |
c68606a146a01bbdffc194d130eb6a923708b2c8 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab/ga/steepest.sci | 3bafa17d84614b67244e795cd58bc3bb8338254e | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,867 | sci | steepest.sci | //
//
// steepest descent method with backtracking line search applied to the rastrigin function
//
//
function y=rastrigin(x) // the function to optimize
n=max(size(x));
y=n+sum(x.^2-cos(2*%pi*x));
endfunction
//-----------------------------------------------------
function y=rastr... |
2e5a2491eb8f50f93262b7234faaef1f0e198cbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH1/EX1.4/1_4.sce | f358ba5d187dc7751767467ad4b036e3c77bbbc5 | [] | 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 | 407 | sce | 1_4.sce | a=1*10^-8;
pi=3.14;
disp("∆E*∆t=h*∆v*∆t >= h/(4*pi)");
b=1/(4*pi*a);
printf('\n So, ∆v >= %f Hz',b);
disp("E=p^2/(2*m0)+(-e^2/(4*pi*Є0*r))");
printf('\n');
disp("The minimum value of E occurs at r=5.3*10^-11 m");
m0=9.31;
e=1.6;
h=1.054;
d=8.85; //say d=Є0
c=((-m0)*(e^4)*4*((pi)^2))/(2*(h^2)*(4*pi*d)^2);
... |
d4ab929244cfc3829a4183ae54d644fafb7bc414 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH11/EX11.5/Ex11_5.sce | aaebc314e3b2b6bb15ba994f001b88669ca501ea | [] | 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 | 521 | sce | Ex11_5.sce | //pagenumber 517 example 5
clear
induct=500*10^-6;//henry
induc1=5000*10^-6;//henry
mutuin=300*10^-6;//henry
c1=150*10^-12;//farad
//(a) frequency
indcto=induct+induc1+2*mutuin;
freque=1/((2)*3.14*sqrt(indcto*c1));
//(b) condition
r=10*10^3;//ohm
conduc=8*10^-3;//ampere per volt
r1=50*10^3;//ohm
r`=r*r1/(r... |
b4850059a097c44ac39f957dc4ceae6abdab1456 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH3/EX3.5/Ex3_5.sce | 29e748ca8680d037996c881122f33f5a0c6adc6d | [] | 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 | 763 | sce | Ex3_5.sce | clc();
clear;
//(a)
//Given:
lambda = 5890;// Wavelength in A
l = 5.89; //thickness of the film in mu m
mu = 1.35; //refractive index
delta = mu*l;// optical path in the medium in m
//(b) (i)Number of waves in the medium
//1 angstrom = 1.0*10^-10 m and 1 mu m = 1*10^-6 m
N= (l*10^-6)/(lambda*10^-10/mu);
/... |
2671aaf4791ba7e0115185fc2f024807c090cf04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH12/EX12.2/12_2.sce | ba474275c97889817241cec799374490cbf2fa91 | [] | 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 | 381 | sce | 12_2.sce | clc
//initialisation of variables
clear
psif= 10.2 //lbf/in^2
usit= 3.8*10^-7 //lbf sec/ft^2
usif= 3.52*10^-7 //lbf sec/ft^2
Tsit= 530 //R
Tsif= 480 //R
wf= 15000 //rev/min
//CALCULATIONS
Psit= psif*usit*sqrt(Tsit/Tsif)/usif
wt= wf*sqrt(Tsit/Tsif)
//RESULTS
printf ('Pressure in the test cell = %.1f lbf/in^... |
f94973b978ccdae453ec4ade9e78ff625a86b6e3 | 463377b6374a24bbe111707a34e24949f3bd2543 | /estpoly.sci | f1ea48deca0c98ed7e33401ec01dd3488a866e9e | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,508 | sci | estpoly.sci | // Estimates Discrete time estpoly model
// y(t) = [B(q)/F(q)]u(t) + [C(q)/D(q)]e(t)
// Current version uses random initial guess
// Need to get appropriate guess from OE and noise models
// Authors: Ashutosh,Harpreet,Inderpreet
// Updated(12-6-16)
//function [theta_estpoly,opt_err,resid] = estpoly(varargin)
functio... |
02dfc1b9f8eed359e6819bfc59de2e46dc6256c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH3/EX3.9/example3_9.sce | 83338a6a9e1cd064a549e4b4fcf61cea82e43871 | [] | 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,140 | sce | example3_9.sce | clear;
clc;
// Stoichiometry
// Chapter 3
// Material Balances Without Chemical Reaction
// Example 3.9
// Page 65
printf("Example 3.9, Page 65 \n \n");
// solution
l = 1 //[litre] water (basis)
Cl = 475.6 //[mg]
m1 = (58.5/35.5)*Cl //[mg] NaCl present in water
SO4 = 102.9 //[mg] // SO4
m3 = (142... |
f9db8ef066c98c9474ba0d36e329d098d261e124 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH4/EX4.1/Exa4_1.sce | 0c28338cf286610529362c69baa43769264c004c | [] | 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 | 313 | sce | Exa4_1.sce | //Exa 4.1
clc;
clear;
close;
//Given Data :
format('v',9);
r=1.213/2;//in cm
f=60;//in Hz
ds=0.77888*r;//in cm
spacing=1.25;//in meter
L=4*10^-7*log(spacing*100/ds);//in H/m
disp(L*1000,"Inductance(in H/km) :");
XL=2*%pi*f*L;//in ohm/m
disp(XL*1000*60,"Inductive reactance for 60 km line(in ohm) :"); |
bf0901566daedccbbf0c9a82ac60957a0acc8e1a | e086c1a264e49af80443d44ae3a705cb43b7a21f | /AppTests/testSave.tst | c7c1f6b42021e320e4af5a4e3b6d487397195170 | [] | no_license | step-batch-7/juice-mildshower | 60cfbf427cb8bb6d3b7fda894b6e71904b78ac92 | 730148258036da3382cd23579ce7a8cdfa7af722 | refs/heads/master | 2023-01-03T06:41:42.322261 | 2019-12-02T19:42:26 | 2019-12-02T19:42:26 | 223,359,891 | 0 | 1 | null | 2022-12-30T19:13:03 | 2019-11-22T08:38:28 | JavaScript | UTF-8 | Scilab | false | false | 283 | tst | testSave.tst | (export JS_STORE_PATH="./AppTests/testStore.json"; export JS_DATE="2019-12-01T14:33:49.427Z"; node beverage.js --save --empId 1234 --beverage Orange --qty 2; rm ./AppTests/testStore.json)
Transaction Recorded:
Employee ID,Beverage,Quantity,Date
1234,Orange,2,2019-12-01T14:33:49.427Z |
ffe55af0fbffe8999128576ca9ea46f6253c9b04 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_color_ojos.tst | 64fb0eb8c7ef3d9bb0d722297e2b48f611b1442f | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 234 | tst | consulta_por_color_ojos.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_color_ojos(pcolor_ojos => :pcolor_ojos,
p_recordset => :p_recordset);
end;
2
pcolor_ojos
1
Verde
5
p_recordset
1
<Cursor>
116
0
|
d0e94bceb1ca6faa4e6b61528d7aaeb985ca8053 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH8/EX8.3/Ex8_3.sce | a5b40ea895d03e52b0deeb85aa80f486ecde1e63 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 555 | sce | Ex8_3.sce | clc
// Intialization of variables
d = 1.23 //Kg/m3
V = 50 // m/s
D = 0.004 //m
U = 1.79*(10^-5) // N.s/M^2
f1 = 0.00467
l = 0.1 //m
f2 = 0.028
// Calculations
Re = d*V*D/U
Dp = f1*l*d*(V^2)/(D*2)
Dp1 = 32*U*l*V/(D^2)
Dp2 = f2*l*d*(V^2)/(D*2)
// results
printf("the pressure drop at 0.1 section of the tub... |
f68c85234367f7ade9e424cf4e2a7979d6e0a439 | 75e45ac87e34faec83ba178b220061833ca314dc | /TP Note/CandassamyAnandou/exo3/script3.sce | 71ecac5dbbf9008d4c866670fe743eb5a0910b35 | [] | no_license | GrinninReaper/ET4-TP-MethodeNumerique | 3d465828afce25b4bfc7a10098e9bc398f7176b1 | 8b7373fcf228fed9fc2cb0f8241c802608414abf | refs/heads/master | 2020-08-02T00:46:59.035354 | 2019-09-26T21:08:35 | 2019-09-26T21:08:35 | 211,181,502 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | script3.sce | //19/12/18
//TP note de méthode numérique, exo3
//Anandou Candassamy
A = [-6, -2, 2,; 0, -2, -4; 3, 1, -1];
t1 = 0.1; t2 = 3.0;
rslt1 = matexp2(A, t1);
rslt2 = matexp2(A, t2);
disp(rslt1, "Résultat de la fonction pour t = 0.1");
disp(expm(A*t1), "Résultat donnée par scilab pour t=0.1");
disp(rslt2, "Ré... |
ee1ba77de5bf83001050ed190defa9dd29625d5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.27/ex_2_27.sce | e24e5da0195616edb05c7c1770af35577c84fe7a | [] | 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 | 248 | sce | ex_2_27.sce | //Example 2.27 // distributed capacitance
clc;
clear;
close;
//given data :
C1=410; // in pico-farad
C2=50; // inpico-farad
f1=2; // in MHz
f2=5; // in MHz
F=f2/f1;
Cd=(C1-F^2*C2)/5.25;
disp(Cd,"the self capacitance,Cd(pico-farad) = ")
|
78e595edab535ba63d843f7fde75b44144ba9a35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH30/EX30.10/ex30_10.sce | 92596ca66dd3feef9240a3608ac3f8096a0f7a18 | [] | 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 | 389 | sce | ex30_10.sce | clc;
A=107.87; //atomic mass in gm
F=96500; //in Coloumb
v=1; //valency
z=A/(F*v); //calculating ECE using Faraday's Law
disp(z,"(a)Electrochemical Eqvivalent = "); //displaying result
A1=16; //atomic mass in gm
v1=2; //valency
z1=A1/(F*v1); //Faraday's L... |
bbf3db151766925e845838e8f2686a629a18c210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH13/EX13.3/Ex13_3.sce | 446df843b4a9d315bec81ca8d1b6b90589c69d29 | [] | 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 | 233 | sce | Ex13_3.sce | //page 385
clc
primary_alpha=((0.77-.5)/(0.77-0.0218))*100
pearlite=((0.5-0.0218)/(0.77-0.0218))*100
disp(primary_alpha,"primary alpha in percentage =")
disp(pearlite,"pearlite in percentage =")
//Answer difference is due to roundoff |
24c1ca95737ab76750372007c9463ee07bb998bb | 9a4f02797ab8eecfe1394e2d276ac86379bb9824 | /symphony-master/Examples/example5.sce | 29382318f7d089bdf8152f1e7203f8413fea091f | [] | no_license | RVidyadhar/Scilab_FOSSEE_Project | b686bfa6127df08ef47bfa430580be7779d9e2c5 | 7656e5089f307d46eacf77be8991d82125643365 | refs/heads/master | 2021-01-20T16:34:39.597133 | 2015-12-23T04:34:27 | 2015-12-23T04:34:27 | 48,269,308 | 0 | 0 | null | 2015-12-19T05:10:17 | 2015-12-19T05:10:17 | null | UTF-8 | Scilab | false | false | 297 | sce | example5.sce | function y=_f(x)
y=0
for i =1:6
y=y+sin(x(i));
end
endfunction
x1 = [-2, -2, -2, -2, -2, -2];
x2 = [2, 2, 2, 2, 2, 2];
//exec builder.sce
//exec loader.sce
options=list("MaxIter",[1500],"CpuTime", [100],"TolX",[1e-6])
[xopt,fopt,exitflag,output,zl,zu] = fminbnd(_f,x1,x2,options)
|
5bd3b1cd45324a8cf483b14bb5e6c29395185d21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH22/EX22.3/3.sce | 1aebd681b611de42376ec2743600837196f4f6d0 | [] | 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 | 3.sce | clc; funcprot(0); //Example 22.3.
//Initializing the variables
Ma = 0.6;
Cl = 0.6;
tByC = 0.035; // Thickness to chord ratio
cByC = 0.015; // Camber to chord ratio
x = 3; // Angle of incidence
//Calculations
lamda = 1/sqrt(1-Ma^2);
Cl# = lamda*Cl;
tByC1 = tByC*lamda;
cByC1 = cByC*lamda;
Cl1 = Cl*lamda^... |
77e6410ad084ba245388b3936cb3765c540344f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.22/Ex2_22.sce | 278728cc4425aa9cc2a0dc3f112a7b339c60ce98 | [] | 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 | 493 | sce | Ex2_22.sce | //problem 22 pagenumber 2.105
//given
rc1=1;format(3);clf();
vi=5;//volt
c=1e-6;//farad
r=1e6;//ohm
x0=0;x1=1:1:5;
//determine output voltage
v0=integrate('5','t',x0,x1);
disp('Output voltage = -'+string(v0(5))+" V");
subplot(1,2,1);
x=linspace(1,5,5);
y=5* ones(length(x),1);
plot(x,y);
xtitle('input waveform problem E... |
b7f82ca3310c286f028a1340559305ded874ca4e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/util/Gload.sce | adeeb999da8120c2992a6806051642ab1f01be39 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 458 | sce | Gload.sce | // for the GLoad feature
// Copyright INRIA
if strindex(gl_name,'.')<>[] then
select part(gl_name,k($)+1:length(gl_name));
case "sci" then getf(gl_name),
case "sce" then exec(gl_name),
case "scg" then xload(gl_name),
case "bin" then load(gl_name),
case "cos" then scicos(gl_name)
case "cosf" then scico... |
3423ddbe862d9ec41bf75c78089ac68dbb9096f1 | e770dc26235168913bdcd5b2332f3a38a95a8bc7 | /Toolbox Test/poly2ac/poly2ac1.sce | 20bb488fb75624a60658473ccd549a4bff7adc14 | [] | no_license | deecube/majorTom | f00eca4e2effff2c5eba746878f2c0842fe14680 | 84365fc032fc0ca44abac8330ec4ac6d85a85b3f | refs/heads/master | 2021-01-21T14:04:23.323717 | 2016-05-23T06:05:31 | 2016-05-23T06:05:31 | 51,731,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | poly2ac1.sce | //poly2ac
a = [1.0000 0.4288 0.76 0.0404 -0.02];
efinal = 0.2; // Step prediction error
r = poly2ac(a,efinal); // Autocorrelation sequence
disp(r);
//Output
// !--error 10000
//Input polynomial has to be a 1-dimensional array
//at line 35 of function poly2ac called by :
//r = poly2ac(a,efin... |
89fdbabe47193784ba021f5b1683bf48c842af02 | 8ec32fef269217bba00d07764a356c37f359dbfc | /demos/simple.sce | a0730c197c724bf2daa40f0b97f3e837f653526d | [] | no_license | manasdas17/ternary_plots | 17b754f8b75565d40edc51a1b8b0507a7d1b53c3 | 5f605ec202612e7bc80037dcad9cc44794054f3b | refs/heads/master | 2021-01-15T09:56:41.775143 | 2009-05-13T21:56:21 | 2009-05-13T21:56:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | simple.sce | clf();
a=gca();a.isoview='on';
drawTriangle();
drawAxis(1,0.2:0.2:0.9,"%4.2f",fontSty=2,fontSiz=4.0);
drawAxis(2,0.2:0.2:0.9,"%4.2f",fontSty=2,fontSiz=4.0);
drawAxis(3,0.2:0.2:0.9,"%4.2f",fontSty=2,fontSiz=4.0);
vertexLabel(1,"A",fontSty=8,fontSiz=4.0);
vertexLabel(2,"B",fontSty=8,fontSiz=4.0);
vertexLabel(3,"C",fon... |
5eabb15a9a64664c0ec70e0341e6679fbdbfd223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH5/EX5.6/HFAAGC_Ex_5_6.sce | 44a5140e9109d675a965054a65d0636241763b54 | [] | 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 | 542 | sce | HFAAGC_Ex_5_6.sce | clc
//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
//example 5.5 page no 159
//given
s=poly(0,"s")
Vo=-(0.4-s*4*10^-12)*(966*10^3)
Vth=s^2*(79.6*10^-18)+s*(190.2*10^-9)+1
disp(Vo/Vth,'the transfer function is ')
wz=10^11//transfer function zero
w1=-5.5*10^6//pole due to input circuit
w2=-2.4... |
abb21dbf90430d2622d976ca3352da1d094d909f | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH11/EX11.3.1/11_3_1.sce | 953214fedeabf7bd674bc0a58408b2990f4f6d54 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 354 | sce | 11_3_1.sce | //CAPTION:Characteristic_Impedance_of_a_Coplanar_Stripline
//chapter_no.-11, page_no.-507
//Example_no.11-3-1
clc;
Pavg=250*(10^-3);//average_power_flowing_in_the_positive_z_direction
Io=100*(10^-3);//total_peak_current
Z0=(2*Pavg)/(Io^2);
disp(Z0,'the_characteristic_impedance_of_the_coplanar_strip_line(in ... |
e49bbe18ba6fc80c63343cc57472093b60eab2b7 | eed1c6205cce4d1e6f4d2aff6ee526581b6d55fb | /Le-rencana-TA.tst | b5f8a0fb134e508e8fde88c8c004e518262375e9 | [] | no_license | Azizyeea/Le-resolusi | a3ca2faf4d56d1cecf4e69876bbfb17f77ace501 | 74b461e5e2752867c83e07eb472beb4d7c8be40d | refs/heads/master | 2021-01-26T02:47:53.191092 | 2020-02-26T15:42:25 | 2020-02-26T15:42:25 | 243,279,382 | 0 | 0 | null | 2020-02-26T15:42:27 | 2020-02-26T14:14:23 | Scilab | UTF-8 | Scilab | false | false | 104 | tst | Le-rencana-TA.tst | Rencana TA
-Algoritma
*SPK
*Pencarian
^PDF
-IOT
-Studi Kasus
^Disdukcapil
^Mitsubishi
-Big Data
|
53d99b084355e7fea63074180a1df65da27d5474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH14/EX14.8/Ex14_8.sce | fe3fcd8ab3b84ca93cf4aa39b6c959ffea8b3a69 | [] | 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,095 | sce | Ex14_8.sce | //Variable declaration:
T1 = 138.0 //Temperature of oil entering the cooler (°F)
T2 = 103.0 //Temperature of oil leaving the cooler (°F)
t1 = 88.0 //Temperature of coolant entering the cooler (°F)
t2 = 98.0 //Temperature of coolant leaving the cooler... |
ce8d71543afa41a9fe0997c7b6e2d6328df52dc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH4/EX4.8/4_8.sce | 5d9bac9747989b0e5356d76c233cfb67522836fe | [] | 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 | 696 | sce | 4_8.sce | //chapter 4
//example 4.8
//page 113
clear all;
clc ;
//given
hfe1=50;//minimum value
hfe2=150;//maximum value
Vbe=0.7;
Vcc=15;//supply voltage V
R1=18.6;R2=11.4;//kohm
VT=(Vcc*R2)/(R1+R2);
RT=(R1*R2)/(R1+R2);
Rc=1;//kohm
Re=1.0;
//for hfe=50
Ic1=(VT-Vbe)/(RT/hfe1+Re*(1/hfe1+1));Ic1=4.31;
Vce1=Vcc-... |
07ac7f16ee3fe1e9f5f14eb0ff380b7045a84ffe | a1e081ceabd043cf1506b917c7f2fb243be290d8 | /P2/loadFunctions.sci | 480352125723968885d418f499866fde10075c5f | [] | no_license | pablospe/ssc | 2cd8e21e1843f246e2d7f565557f4f73368aa4b8 | 353fc62f18202e73b84bea4f2d83f64cdeb15723 | refs/heads/master | 2021-01-10T21:35:46.798450 | 2014-04-24T05:11:51 | 2014-04-24T05:11:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sci | loadFunctions.sci | exec ex1.sci
exec ex3.sci
exec ltisol.sci
exec step_feuler.sci
exec feuler.sci
exec jacobiant.sci
exec step_beuler.sci
exec beuler.sci
exec mixed_euler.sci
exec cicled_euler.sci
exec alpha_mixed_euler.sci
exec global_error.sci
|
98fe0688607a132ce161417d59a61a9e46394a40 | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /Simpson.sce | 1a5100ac2acf8f893651b66fa68c4c25ed7477d9 | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | Simpson.sce | exec('C:/home/juan/Escritorio/Scilab/Simpson.sci',-1);
deff('[y]= f(x)', 'y= (3*(x^3)+(%e^x))');
x=[0:0.1:0.8];
[s] = Simpson(x,f);
disp(s);
|
28e835638368b92177f6427d1078e7f33964f4a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.12/Chapter5_Example12.sce | 44c6411b34db58b4c21c6afcf134da9778f412dd | [] | 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 | 355 | sce | Chapter5_Example12.sce | clc
clear
//Input data
T=300;//The given temperature in K
R=8.3*10^7;//The Universal gas constant in ergs/g mol-K
//Calculations
E=((3/2)*(R*T))/10^7;//The total random kinetic energy per gram -molecule of oxygen in joules
//Output
printf('The total random kinetic energy of one gm-molecule of oxygen a... |
7bfe23cb71f7c713e5d1e96100064531bbc092d4 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testvarlocale.sce | 916f6148c85b933ac2742d0cbbd2f1853cf83753 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | testvarlocale.sce | clear y //to delete
function y=foo(x)
disp('dans ''foo'' x='+string(x))
y=1+x^2
disp('dans ''foo'' y='+string(y))
endfunction
x=2
z=foo(1) // inside "foo" x is 1
x // x is still equal to 2
y // y doesn't exist here
|
4de47115f3cc1b68ddc63c482593eebadee17edc | 9eee9f16f22ece682f8592130aa351a0d050f197 | /compiler.tst | db52388e5cb19f97ceeafabdf406983b9c2217c5 | [] | no_license | ansjob/wacc | e388482b79af937a092f24011dd7c96a271101ce | aae607757954ad77614ba300ac3615dcb443ca4d | refs/heads/master | 2021-01-23T18:49:28.013827 | 2014-01-10T16:15:57 | 2014-01-10T16:15:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,346 | tst | compiler.tst | compile(skip:1 ; skip:2, C)
:: C = [noop:1, noop:2].
phrase(stmt(S), [var(x), =, 5, +, 7]), add_control_points(S, Sp), compile(Sp, C)
:: C = [push(7), push(5), add, store(x):_, eop:_].
phrase(stmt(S), [var(x), =, 5, *, 3, -, 2]), add_control_points(S, Sp), compile(Sp, C)
:: C = [push(2), push(3), push(5), mult, su... |
f870e78c0ad382056046feba2ec32a66f53d2ac6 | b3c9357cd1290921e67444ae057761959fdf24f1 | /Curso de programação com Scilab/códigos/ex012610.sce | b065524537c521a419d1ce748512dae9de725633 | [] | no_license | joaolrneto/Scilab | 91742520422426dc8a772997ef4a5d6376008b6e | f383f87e4585955cf19d0dae1b5c29f93c3f70b4 | refs/heads/master | 2023-02-05T20:13:03.677069 | 2020-12-30T14:53:09 | 2020-12-30T14:53:09 | 264,671,730 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | ex012610.sce | //Desenvolver um programa em Matlab que leia 20
//valores correspondentes as notas de
//PCI. As notas variam de 0 a 10, somente valores
//inteiros. Calcular e escrever a
//Frequência Absoluta e a Frequência Relativa
//das notas lidas.
//Obs:
//a)Frequência Absoluta é a quantidade de vezes que uma nota ocorreu no ... |
69d629b3bcf94f7a32a978aeb8a73021ac955d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH5/EX5.6/Ex5_6.sce | b0f058a7e030429acf720515679abc76f64081b2 | [] | 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 | 304 | sce | Ex5_6.sce | //output power of cable
//given
clc
alpha=0.28//db/m//attenuation
alpha_50m=0.28*50//db//attenutaion of 50 m cable
pi=0.4//watt//input power//ERROR
po=pi/(10^((alpha_50m)/10))//watt//output power
disp(po*1000,'the output power of 50m in mW ')//mW
//ERROR in calculation of the book as pi=0.04
|
93a84bef8a541bc15c4952c2e98f367145a307d4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/pwd.man.tst | 73a15658ca47eb1e4246390f31975a8131b7e7c0 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 20 | tst | pwd.man.tst | clear;lines(0);
pwd
|
7a2827e856828e2e7bff06e493c52f0f0a79c449 | 717ddeb7e700373742c617a95e25a2376565112c | /284/CH6/EX6.5/ex_5.sce | 474bb22d1dc8f6753592aed6be500c544db0800b | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 433 | sce | ex_5.sce | // Chapter 6_The pn junction
//Caption_Junction capacitance
//Ex_5//page 230
Na=10^16 //acceptor ion concentration
T=300 //temperature in kelvin
Nd=10^15
ni=1.5*(10^10) //intrinsic ion concentration
Vr=5 //Reverse applied voltage
Vbi=0.635
V=Vr+Vbi
C=(e*eps*Na*Nd/(2*(V)*(Na+Nd)))^0.5
A=10^-4 //Are... |
5edc2b77dd6c5fdc841ea151844e1f234cc16677 | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial04-ODE/Scilab_code/Tutorial4_ode_simple_plot.sce | f2df913ff8e2dc3492db17992b7b10512abe64d1 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Tutorial4_ode_simple_plot.sce | //This script demonstrates the use of ODE solver and computing the
//solution at different times. The output is in the form of a plot
//of time versus computed solution
clear
clc
//Definition the function.
function ydot = func(t,y)
ydot = t^2*exp(-2*t) + y
endfunction
//Initial condition
y0 = -1;
//Start time
t... |
e379c387452529bd77fdcf8dbd2adc071e1f2fb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH5/EX5.3/Ex5_3.sce | 284963ee91dc46f992580ccc5379562a35ea309f | [] | 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 | 735 | sce | Ex5_3.sce | clear
//
W=500.0 //weight of block
F1=200.0 //force up the inclined plane when block is moving down
F2=300.0 //force up the inclined plane when block is at rest
//When block starts moving down the plane
//sum of all forces perpendicular to the plane = 0
//N =Wcoso
//sum of all forces parallel to the plane = ... |
8dbe86eda8fba00f7830bbf6d62aaeb7f46e03d3 | 5f838df28ada5a3bbd5be4c69902b9df4dbffacb | /fir_lpf_impulse_response.sci | afa10e69ca2387d6d3d3ee201e0682ea434bf276 | [] | no_license | Sai-Sumedh/filter_design_180070024 | dca29c7b95cb43421e1577af3673f29df3a83251 | c8348c85b515e9d987404c335f52150933512405 | refs/heads/main | 2023-01-14T05:11:25.601573 | 2020-11-12T18:44:36 | 2020-11-12T18:44:36 | 312,361,627 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,219 | sci | fir_lpf_impulse_response.sci | // this file gives the impulse response of an ideal LPF
function [h_n]=impulse_response_ideal_lpf(w_p, n_max) // passpand till w_p
n = -n_max:n_max;
h_n = (w_p/%pi)*sinc(w_p*n);
endfunction
//n_max = 500;
//wp2 = 1.767;
//wp1 = 1.386;
//h1 = impulse_response_ideal_lpf(wp2,n_max);
//n_axis = -n_... |
a69667e9d58014b7fd4ac660bca902caf01ba00c | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /2d Program to solve algebraic and transcendental equation by Newton Raphson.sce | a5563af70fe565e70786d8c4b12ba632f4036f2b | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | 2d Program to solve algebraic and transcendental equation by Newton Raphson.sce | deff('y=f(x)','y=sin(x)-x/2');
deff('y1=f1(x)','y1=cos(x)-1/2');
x0=2,
d=0.0001;
c=0;n=1;
printf('successive iterations \tx0 \tf(x0) \tf1(x0) \n');
while n==1
x2=x0;
x1=x0-(f(x0)/f1(x0));
x0=x1;
printf('\t%f \t%f \t%f \n',x2,f(x1),f(x1));
c=c+1;
if abs (f(x0))<d
break;
end
end
pr... |
ff7869a836baadc9fb936cb87fb9c91b44c22a97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH20/EX20.2/example2_sce.sce | cac6041d41a9d209eb397c89504e2121fc1e9703 | [] | 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 | 463 | sce | example2_sce.sce | //chapter 20
//example 20.2
//page 905
printf("\n")
printf("given")
Vs=30;Vd1=.7;Vg=.8;Ig=200*10^-6;
Vspk=1.414*Vs
disp(" at 5 degree")
es=Vspk*.087// sin5=.087
disp(" at 90 degree")
es=Vspk
Vt=Vd1+Vg
disp(" to trigger at es=3.7V the R2 moving contact is at the top")
es=3.7;
Vr1=es-Vt
I1=1*10^-3;
R1=Vr... |
7c8185858bc819afe3b50d77abdde4783c471899 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH13/EX13.5/Ex13_5.sce | 7aee332ddce95c6189860369d1ad0076df2f4b3a | [] | 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,125 | sce | Ex13_5.sce |
// Given:-
// When expressed on a per mole of fuel basis, the balanced chemical equation obtained in the solution to Example 13.2 takes the form
// CH4 + 2.265O2 + 8.515N2 ----- .951CO2 + .049CO + .289O2 + 8.515N2 + 2H2O
cpbar = 38.00 // specific hea... |
96a1a475953571c3bf9383d0b0efc5410bda3fa9 | 54f91b13c34106536031bc17626e1546404154b2 | /data/odml_nix_data/numbers.sce | 20c152ce6d5f7d0eac5f0fd4535c0064b71fa78e | [] | no_license | JiriVanek/guess_the_number_py | d19150258c990a3306265ef1ee595bc0fb9ece88 | 713899ff66ff4369658956325bc1e7a0e62a1014 | refs/heads/master | 2021-04-06T08:16:18.286522 | 2018-09-23T08:06:59 | 2018-09-23T08:06:59 | 124,891,307 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,178 | sce | numbers.sce | randomize_trials=true;
write_codes = true;
pulse_width = 100;
begin;
text { caption="0"; font_color = 255,255,255; font_size = 400; } tx0;
text { caption="1"; font_color = 255,255,255; font_size = 400; } tx1;
text { caption="2"; font_color = 255,255,255; font_size = 400; } tx2;
text { caption="3"; font_color = 255,... |
2cd474e9fdae51c4166a4f96e0f5e6940cf5c795 | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/pyrMeanShiftFiltering.sci | ae90a8f8d1510f73638fdb1ac5b347929265536d | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 2,782 | sci | pyrMeanShiftFiltering.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_... |
f81a6d34de14060476faa383a865b763d769e8c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH25/EX25.7/ex25_7.sce | 72e35ec9ccf5b8c98143bf33228e66f9aa3c82c3 | [] | 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 | 400 | sce | ex25_7.sce | clc;clear;
//Example 25.7
//calculation of product of two binary numbers
//given values
X='10101';//first binary number with last two digits in fractional part
Y='101';//second binary number with last two digits in fractional part
//calculation
x=bin2dec(X);//decimal equivalent
y=bin2dec(Y);//decimal equiva... |
fbc36c1dc73557708020b514f1289c8c8e7e5470 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_LRA.tst | bdbb3c09a2a8806beb264e46425c10e4694021a7 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 1,447 | tst | ok_LRA.tst | ; checks that all symbols in LRA are defined and that various
; expressions in the language are permitted
(set-logic LRA)
(declare-fun a () Real)
(declare-fun b () Real)
(assert (= a (+ a b)))
(assert (= a (+ b 1)))
(assert (= a (+ b 1.0)))
(assert (= a (+ 1 b)))
(assert (= a (+ 1.0 b)))
(assert (= a (- a b)))
(assert... |
ea1b3397738c0e879034a4fa91a88b65ed6f26e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.35/Ex15_35.sce | ee2dd5bc5ac935a57a5df23d74493e593fd7676b | [] | 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 | 496 | sce | Ex15_35.sce | //Finding efficiency
//Example 15.35(pg. 416)
clc
clear
m=2//quantity of aluminium to be melted in kg
t1=15,t2=660//temp in degreeC
S=0.212//specific heat of aluminium
L=78.8//latent heat of aluminium in kcal/kg
H=(m*S*(t2-t1))+(m*L)//total heat required to melt Al in kcal
i=5//input to furnace in kW
E=i*(100... |
fee1ee768a0b8ac628841e438b90ec2825e85665 | c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94 | /Examples/Chapter_7/Example_7_10.sce | 97ab0adb46cb7b0c5b013488aef7a9f31e42abab | [] | no_license | Echeban/icmd3e | 6c766ffafab0137a64de46448879d8a9eed2903c | 6ca0273e322fa390fcabc66669f3f56c9af5a563 | refs/heads/master | 2020-03-27T09:08:47.798549 | 2018-08-27T15:45:44 | 2018-08-27T15:45:44 | 146,316,991 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 847 | sce | Example_7_10.sce | // Example 7.10: [45/0/90/-45]_S, truncated max. strain
mode(0); funcprot(0); clc; clear;
exec('C:\Users\EJB\OneDrive\Scilab\CLT.sci');// see Appendix CLT.sci
E1 = 126E3; E2 = 11E3; G12 = 6.6E3; //MPa, AS4/3501-6
v12 = 0.28; tt = 0.8; tk = 0.125; //mm
F1t = 1950; F1c = 1480; F2t = 48; F2c = 200; F6 = 79;//MPa
or... |
7f565a5d8c6e64795c03b8fad32605f74b2ffa0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.12/Ex11_12.sce | 5df566ad197db4451d0a1526c61d480dc31dff2a | [] | 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 | 608 | sce | Ex11_12.sce | //example 11.12
clc; funcprot(0);
z1=21/2;
Lg=9;
Bg=6;
Qg=500*1000;
Cc1=0.3;
Cc2=0.2;
Cc3=0.25;
H2=12;
H3=6;
H1=21;
e1=0.82;
e2=0.7;
e3=0.75;
s1=Qg/(Lg+z1)/(Bg+z1); //sigma1
s2=500*1000/(9+27)/(6+27);//sigma2
s3=500*1000/(9+36)/(6+36);//sigma3
ss1=6*105+(27+21/2)*(115-62.4);//sigmadash1
ss2=6*105+(27... |
f9cbef8b3d1554fbd17c5c166255263d4e99d7e3 | 04ebc1029c20752e734a1d83b49a31329d5283fd | /trust_game_2/frame5.sce | bd9b3c750c3c427f9cf482a84c43f739234c02d7 | [] | no_license | jangwoopark/presentation-trust | a1293e481da417c914534a30b1969f092f08e115 | 31621ef8b534bca19d4b9d4a5d57792ff8bb058d | refs/heads/master | 2020-06-27T14:50:42.294466 | 2017-09-12T01:51:08 | 2017-09-12T01:51:08 | 97,063,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,008 | sce | frame5.sce | scenario = "frame";
scenario_type = fMRI_emulation;
#scenario_type = fMRI;
scan_period = 3000;
response_matching = simple_matching;
no_logfile = false;
sequence_interrupt=false; #default
active_buttons = 2;
button_codes=0,1;
default_font="arial";
default_font_size=30;
default_text_color=255,255,255;
default_background_... |
2f32577636b647b9cee37d44d6370b25341f42db | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/FSK_rkb.sce | fa8a7e303db9eb9691bc4aa43c58ac4b8889afa8 | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | FSK_rkb.sce | m=[0 1 0 1 0 0 1 0 0]
e1=1
e2=3
fsk=[]
n=0:0.001:1
for i=1:length(m)
if m(i)==0 then
fsk=[fsk 1*sin(2*%pi*e1*n)]
else
fsk=[fsk 1*sin(2*%pi*e2*n)]
end
end
plot(fsk);
xgrid(4) |
6207415da4cbe2e37f440222e7ead6d9eabe8a41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.11/Ex11_11.sce | 27f2ba4cabe3366470039cceb4d79348c1a258b8 | [] | 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 | 373 | sce | Ex11_11.sce | //example 11.11
clc; funcprot(0);
Lg=9.92;
Bg=7;
n1=3;
Nc=8.75;
n2=4/1000;
Ap=14^2/12^2;
cup=1775;
a1=0.4;//alpha1
p=4*14/12;
cu1=1050;
L1=15;
a2=0.54;//alpha2
cu2=1775;
L2=45;
FS=4;
Qu=n1*n2*(9*Ap*cup+a1*p*cu1*L1+a2*p*cu2*L2);
Qu2=Lg*Bg*cup*Nc+2*(Lg+Bg)*(cu1*L1+cu2*L2);
disp(Qu2/1000,"load in kip")
... |
bc49d7df43e290915419a480185e305c0ce4e4c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.25/18_25.sce | 9c74e2157d048b984ee8d2ce4b4077c566fd2908 | [] | 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 | 360 | sce | 18_25.sce | //ques-18.25
//Calculating pressure at which water must be heated to produce superheated steam
clc
Hv=540;//latent heat of vapourization (in cal/g)
T1=273+100; T2=273+150;//temperature (in K)
P1=1;//in atm
R=1.987;//cal/mol/K
//On solving, log(P2/P1) = (Hv*(T2-T1))/(2.303*R*T1*T2)
P2=P1*4.709
printf("The requi... |
eec52c30e98e228b35188d52e29e8d42f56f7dc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH1/EX1.17/EX1_17.sce | 806bf7ff61bca0917e05beb65dd4825c7b17e287 | [] | 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,006 | sce | EX1_17.sce | //Example 1.17<i>
//Determine the power and the rms value of the signal
clc;
t=0:0.001:10;
y=5*cos(50*t+%pi/3);
P=(integrate('5^2*(cos(50*t))^2','t',0,2*%pi))/(2*%pi);
rmsvalue=sqrt(P);
disp(P,'The power of the given signal is:');
disp(rmsvalue,'the rms value is:');
//Example 1.17<ii>
//Determine the power am... |
cbf2f6e44bacc0869c556a3cbe493275e753af06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH15/EX15.1/Example_15_1.sce | d0704423f76a5cf83bcf61fd68a9a823446ae00a | [] | 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 | 754 | sce | Example_15_1.sce | //Chemical Engineering Thermodynamics
//Chapter 15
//Fuel Cells
//Example 15.1
clear;
clc;
//Given
del_F = -56.29;//Standard free energy change in Kcal/Kgmole
del_H = -68.317;//Standard heat of reaction in Kcal/kgmole
F = 23.06;//Electro-chemical equivalent in Kcal/volt
J = 2;//Valance for H2
//To Calc... |
6e2291fdf8d5e3cfcf7be3ce2ddbbb4a4d6e2fe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.9/9.sce | b4dac5b031c905095def0843f07f98247dc3c7a9 | [] | 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 | 169 | sce | 9.sce | //problem 1.9
s1=1.6
s2=0.8
s3=13.6
p1=98100
p2=176580
w=9810
h1=p1/w
h2=p2/w
h=(h2-h1+1.6*s2-4.1*s1)/(s3-s2)
disp(h.*100 ,"difference in mercury level(cm)")
|
473926e72cf62aa914d703a9cd5c5d31038b3671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH4/EX4.12/Example4_12.sce | 54a02bd3141c0b28672ca2e9bc68f101d7cea0a8 | [] | 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 | 154 | sce | Example4_12.sce | //chapter-4,Example4_12,pg 491
printf("normal count would be 2^3=8, while 5-modulo counter would limit it to 5, so that illegitimate states are 8-5=3") |
f960c7354d2c5c162f0cca6c2bc03f8cace40281 | b2675f983fedb79e5e6f1940962373bda0570ec4 | /testing/Tests/testing1.tst | 67195c6bbe30225d3f9dd9489403f9913cbcaf49 | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,917 | tst | testing1.tst | <?xml version="1.0" ?>
<TestCase name="testing1" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="03/22/2018" host="inbasdpc10722" />
<lastEdited version="10.0.0" buildNumber="10.0.0.431" author="admin" date="03/22/2018" host="inbasdpc10722" />
</meta>
<id>A7E1B70E2C0B... |
96f71da39b85b070961877895613fe56fb389f75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH3/EX3.14/3_14.sce | abc816f29ed171682fd3d1c870a35a061ab6a8bc | [] | 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 | 310 | sce | 3_14.sce | //example 3.14
//lagrange's interpolation formula
//page 105
clc;clear;close;
y=[4 12 19];
x=[1 3 4];
y_x=7;
Y_X=0;
poly(0,'y');
for i=1:3
p=x(i);
for j=1:3
if i~=j then
p=p*((y_x-y(j) )/( y(i)-y(j)))
end
end
Y_X=Y_X+p;
end
disp(Y_X,'Y_X=');
|
414f12844395a694d84bd213c60cf59b8b31c209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH9/EX9.10/Ex9_10.sce | ae1cc57c04ae1f2240c938dae8955547439c8f78 | [] | 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,495 | sce | Ex9_10.sce | clc
// initialization of variables
// The reaction equation for theoritical air is
//C3H8 + 5(O2 + 3.76N2) ---> 3CO2 + 4H2O + 18.8N2
// for 250% theoritical air reaction becomes
//C3H8 + 12.5(O2 + 3.76N2) ---> 3CO2 + 4H2O + 47N2 + 7.5O2
// All the enthalpy of formation values are taken from Table B.5 with ... |
8873dc343a8382168ca6d988ba37f63194c63112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH8/EX8.7/Ex8_7.sce | 755ee06095c70897821948c4edbef8187ca270ee | [] | 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 | 837 | sce | Ex8_7.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex8_7.sce.
clc;
clear;
P=300e3;
V=500;
a=8;
p=4;
Z=786;
theta=5;
I=P/V;
armature_AT=(1/2)*(I/a)*(Z/(2*p)); //Total AT per pole
demagnetizing_AT... |
dc3dbd78183c61dd209a83e350c0b7e109045a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH2/EX2.5/Ex2_5t.txt | 7b15877e5ae6580e51e84ddd8a8ef1a9fede7f38 | [] | 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 | 308 | txt | Ex2_5t.txt | //caption:Find magnitude of limiting error fot R1 and R2
//Ex2.5
clc
clear
close
R1=36//resistance(in ohm)
R2=75//resistance(in ohm)
er=0.005//limiting error(in ohm)
dR1=R1*er
disp(dR1,'magnitude of limiting error for R1(in ohm)=')
dR2=R2*er
disp(dR2,'magnitude of limiting error for R2(in ohm)=') |
0bad52df1100bc4031cdc27d80900c46b4bf80b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH16/EX16.2/eg16_2.sce | 6002dcc048d4e4b9c15a78d294fadd26cd7e759a | [] | 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,306 | sce | eg16_2.sce | clear;
//clc();
x2d=(%i)*0.3;
xl1=(%i)*0.08;
xline=(%i)*0.55;
xl2=(%i)*0.08;
ig=0.75;
z2t=x2d +xl1 +xline + xl2;
er=1;
eint=er+ig*z2t;
e2int=sqrt(real(eint)^2 + imag(eint)^2);
x2gf=imag(x2d + xl1);
i2d=e2int/x2gf;
x2bf=imag(xl1 +xline);
i2df=er/x2bf;
tot_i2d=i2d +i2df;
printf("The total subtransie... |
eb5349b59938cb84c81cf35a278eb829d4397a8e | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 21/Exercise 21.sce | 19663331434c00ef6c325a8e75744c8c9bf335fc | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,799 | sce | Exercise 21.sce | //===========================================
// Exercise 21: Eddy formation in a Strait
//===========================================
// Animation of Eulerian concentration & surface flow fields
// Author: Jochen Kaempf, March 2015 (update)
f = gcf(); f.color_map = jetcolormap(64); f.figure_size = [1000,500]; s... |
805a2c90381ee75d9bcef854e20dff7d2fcbb434 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rcosdesign/rcosdesign11.sce | 07ec422b8f83be592e65e936d5a7a6ec582af8eb | [] | 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 | 321 | sce | rcosdesign11.sce | //check o/p when i/p arg sps is of type char
beta=0.3;
span=3;
sps='a';
h=rcosdesign(beta,span,sps);
//output
// !--error 10000
//input variable should be of type double
//at line 10 of function checkIpValidity called by :
//at line 34 of function rcosdesign called by :
//h=rcosdesign(beta,span,sps);
//... |
44913326e961e5aaddb7fd5d6cfd888bd4cac833 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.23/ex23.sce | b51bc59fd51fdc73e9db7e6cb1aba041af0b3612 | [] | 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 | 168 | sce | ex23.sce | clear
clc
disp('probability of problem not getting solved=1/2*2/3*3/4=')
1/2*2/3*3/4
disp('probability of problem getting solved=1-(1/2*2/3*3/4)=')
1-(1/2*2/3*3/4) |
5d356d19c438b4164c1f7ce2e63a05d6b90f6d3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH2/EX2.6/C2P6.sce | 7b71a8241704cb0001cd1fd0e492f25c9b18c2b5 | [] | 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,717 | sce | C2P6.sce |
clear
clc
//to find average velocity for interval AD and DF
//to find slope of position curve at the points B and F and compare it with the value in velocity curve
//to find average acceleration in the interval AD and AF
//to find slope of velocity curve at the points D and compare it with the value in accelera... |
e41245af3be0e64370a49d7c32bbe1c8ab85ce78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH9/EX9.2/Ex9_2.sce | dac26bcfac1c7ce485ca62aa386c5fcb5086c202 | [] | 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 | 919 | sce | Ex9_2.sce | // Initilization of variables
W1=2000 //N (or 2 kN)// load at joint D of the truss
W2=4000 //N (or 4 kN)// load at joint E of the truss
Lac=6 //m // length of the tie
Lab=3 //m
Lbc=3 //m
theta=60 //degree // interior angles of the truss
// Calculations
// Here A is simply supported & B is roller support. Now t... |
fbaed66d771ea58d51f90e2bfe61c114991b3a57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH4/EX4.10/Example_4_10.sce | 978b688a164e4fcb774242e0d5c416ccd3eee8da | [] | 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 | 469 | sce | Example_4_10.sce | //Example 4.10
clear;
clc;
//Given
R=8.314;// gas constant in J K^-1 mol^-1
Cp=2.5*R; //specific heat capacity at constant pressure of the gas in J K^-1 mol^-1
V1=10;//volume of gas in m^3
T1=300; //initial temperature in K
T2=400;//final temperature in K
P=101000;//pressure in N m^-2
//to calculate the e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.