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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ea7f2785664efdd44d2acb8c429ec3c65ec3378e | ccd668354774dcc20ed466510e78952e1205ad54 | /Magnitude-Phase-Response.sce | 450a7d9d9e670adaacb3d9e01673f5ff4d156637 | [
"MIT"
] | permissive | nikhita/filter-theory | 6d9d9bb7375acd1c1f545fd9b7ee7b6dc90a56b5 | 031c8dd652bbe50e0130f83b9884d6a11b2c7339 | refs/heads/master | 2023-08-16T13:23:28.993482 | 2017-04-09T16:23:46 | 2017-04-09T16:23:46 | 87,696,376 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,887 | sce | Magnitude-Phase-Response.sce | clear;
clc;
clf;
// define a polynomial variable z
z = poly(0,'z');
// take the numerator and denominator as input
n1 = input("enter numerator = ")
n_len = length(n1);
n = poly(n1,'z','c');
d1 = input("enter denominator = ")
d_len = length(d1);
d = poly(d1,'z','c');
// form transfer function and plot pole-zero diag... |
6b4b044d7cd5db1540ac944ee3726d3e3c5eb83b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/arma/acf.sci | 494bf5f4cda9c6dec2a27173c24fceb3bdcc99ed | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 520 | sci | acf.sci | function [ac,mean]=acf(x,n,minim,maxim)
//function acp(x,n,[minim,maxim])
// Autocorrelation for one-deimensional process
[lhs,rhs]=argn(0)
if rhs <= 1 ; n=prod(size(x))/4;end
if rhs <= 2 ; minim=-1.0;end
if rhs <= 3 ; maxim= 1.0;end
[cov,mean]=corr(x,n+1);
ac=cov'/cov(1);
plot2d3("onn",(0:n)',ac,[1],"011"," ",[0,minim... |
57a9a64d99171d1ac6f5fb9621e72a6247d572a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH15/EX15.10/example15_10.sce | 64240c19377c3df75b164c656281f22c6ad0dfc9 | [] | 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 | 525 | sce | example15_10.sce | clc
// Given that
v = 3e7 // speed of electron in m/sec
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of electron in kg
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
// Sample Problem 10 on page no. 15.28
printf("\n # PROBLEM 10 # \n")
printf("Standard formula used \n")
p... |
7651d75b987e4907e5bd40c2870e61d24f319837 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH7/EX7.3.2/Example_7_3_2.sce | e33eeea10be0091208d9261f4c0073b70927b131 | [] | 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 | 792 | sce | Example_7_3_2.sce | function xd=linear732(t,x)
xd(1)=-x(1)+2*x(2)+(x(1)^2)*x(2);
xd(2)=(4)-2*x(2)-(x(1)^2)*x(2);
endfunction
bound=[-4,-4,4,4]; //Bounds of x-axis and y-axis as [xmin ymin xmax ymax], change them according to your needs.
nrect=22; //increase it to get more number of curves, i.e. more informati... |
e5293bfa8a59689ff87597efdf9ed821ea26b7f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/DEPENDENCIES/parallel_impedence.sce | 63ea2d9fa8e3ab4e3cf2e2235b81927d9e18a0c4 | [] | 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 | 111 | sce | parallel_impedence.sce | //function example:-5.4,page no.-221.
function[Z]=parallel_impedence(Z1,Z2)
Z=(Z1*Z2)/(Z1+Z2);
endfunction |
ab1dfb5311d4d0fbe79f4c153e0760c458897623 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/CDO_Pricer/scilab/computation.sci | 12f1af6052fbdffeb9ba65e51a96ad3cc49acc36 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,514 | sci | computation.sci | select Method,
case 1 then
if (~(isdef('product'))|(product == [])) then x_message('Product does not exist !'); abort; end;
if (~(isdef('model2'))|(model2 == [])) then x_message('Model does not exist !'); abort; end;
methods = ['Number of defaults - Hull & White';'Number of defaults - Laurent & Gregory';'Recurrence (... |
d7f65107c208b6a220aba08795872eeafe1c15e7 | aff46b76a63ef72594e71ad416ae8874689839ba | /C_square_wave.sce | ec4eae445cc406d1f56d0cc14e16ad8430eda287 | [] | no_license | bitz1119/scilab_code | 1ad6d800661d50975219325083f1dad6232ce51b | fa8501bc0f9527e776510fc2ecf04b351f4c067f | refs/heads/master | 2021-05-09T19:15:18.261766 | 2018-04-13T19:03:00 | 2018-04-13T19:03:00 | 118,636,227 | 0 | 1 | null | 2020-09-30T19:32:49 | 2018-01-23T16:21:04 | Scilab | UTF-8 | Scilab | false | false | 366 | sce | C_square_wave.sce | clc;
disp('enter the multiple of pi');
n = input('');
function y = u(t)
for i = 1:n
y(find(t>=0 + ((i-1)*2*3.14) & (t<3.14 + (i-1)*2*3.14)) = 1;
y(find(t>=3.14 + ((i-1)*2*3.14)) & (t<2*3.14 + ((i-1)*2*3.14))) = 1;
end
endfunction
t = (0:0.01:n*2*3.14);
y = u(t);
plot(t,y,'g.');
xtitl... |
ce79c761bed90e2be4622204df50d43c81142883 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD4/Scripts/sans_memoire.sce | 92144775dc171ccf43b2e11440061c516ddf719a | [] | 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 | 6,060 | sce | sans_memoire.sce | clc;
load('C:\Users\tangu\OneDrive\Documents\GitHub\Modelisation\TD4\NetworkData.sod')
//SERVER1
extremesS1 = [min(t_s1), max(t_s1)] // calcul du min et du max
moyenneS1 = mean(t_s1) // calcul de la moyenne
medianeS1 = perctl(t_s1,50) // calcul de la mediane
// calcul de la variance et de l'écart-type
vS1 = variance... |
8d4fca35383a522b958fec21fb7464b189553e26 | 1ccfcf39e5941044f7809d7bd29f3a001877ffac | /experimento_03/ecg_filt.sce | a2144443499ceacd19a9866a2a327ab2eafb8df7 | [] | no_license | victoribeir0/experimentos_pds | 9ebe7aa4f678fa7e39942398543217bc2d6807a7 | 283fcfd16b743ae8cc864e0f5abcac955c8552d0 | refs/heads/main | 2023-04-30T01:48:48.984254 | 2021-05-01T09:25:13 | 2021-05-01T09:25:13 | 351,879,262 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | ecg_filt.sce | /*
Série de filtros para processamento de sinal ECG.
x = Sinal ECG de entrada.
fs = Frequência de amostragem do sinal.
*/
function [y] = ecg_filt(x,fs)
// Retira o nível DC do sinal.
x = x-mean(x);
// Filtro passa-baixas FIR, ordem = 100, fc = 11 Hz.
x = pb_pt(x,11,fs,100);
/... |
ba0dfce560d32f0332dd3d61eec2cbea1dd0dbee | 6eb42df0d9f452fee0d084e0b0058e4e4ac242ef | /Updated_Exercises_March_2015/Exercise 9/Refraction.sce | 45c9d8d1b989eefdceb426ef7938dece854118d2 | [] | no_license | huangqingze/ocean_modelling_for_beginners | b21c1b398efe91e4a3aa1fa5a1d732e2eb4ec16e | 3e73a511480c73f4e38b41c17b2defebb53133ed | refs/heads/main | 2023-07-03T12:00:01.326399 | 2021-08-14T21:16:12 | 2021-08-14T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,218 | sce | Refraction.sce | //*******************************************
// This is the Scilab script for Exercise 9.
//
// Use the help facility for more information
// on individual functions used.
//
// Author: J. Kaempf, 2015 (updated)
//********************************************
clf; scf(0); a=gcf(); a.figure_size= [1500,500];
... |
4b50d9ce5ff201f2ef6225d0b797780522e3b455 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.33/Ex2_33.sce | 4baa8d7d1f48141a1ea768ab332943656dd66fc6 | [] | 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,329 | sce | Ex2_33.sce | clear
//
//
//Initilization of Variables
D=25 //mm //Diameter of Brass
De=50 //mm //External Diameter of steel tube
Di=25 //mm //Internal Diameter of steel tube
L=1.5 //m //Length of both bars
t1=30 //degree celsius //Initial Temperature
t2=100 //degree celsius //final Temperature
E_s=2*10**5 //N/mm**2 //Modulus of E... |
545a2398ac5b04c1816aaea12ca79631d5941afb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH9/EX9.13/Ex9_13.sce | 56c25b88df27980385be0f921b83bf1fc4c02311 | [] | 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 | 620 | sce | Ex9_13.sce | //Ex 9.13
clc;
clear;
close;
format('v',5);
fL=20;//Hz(Cutoff frequency)
//For Butterworth filter of 2nd order
alfa=1.414;klp=1;//constant
Ap=3-alfa;// band pass gain
RfBYRi=Ap-1;//ratio
disp("Various design parameters are :-");
C=0.22;//micro F//Chosen for the design choosing between 0.01 & 1 micro F
disp(... |
c75965271d3fad5e5fbfce6c5abe2bb470fe0ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH5/EX5.5.1/Example5_5_1.sce | 505064db82c0bf1ffa1f89958681f008a7ea5bbe | [] | 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 | 731 | sce | Example5_5_1.sce | //Example 5.5.1 page 5.18
clc;
clear;
del_t_1 = 10*100*10^-9;
Bt_nrz_1 = 0.7/(del_t_1*1000000);
Bt_rz_1 = 0.35/(del_t_1*1000000);
printf("First case. \n");
printf("Bit rate for nrz is:%.1f Mb/sec",Bt_nrz_1);
printf("\nBit rate for rz is:%.2f Mb/sec",Bt_rz_1);
del_t_2 = 20*1000*10^-9;
Bt_nrz_2 = 0.7/(del_t_2... |
faa8b5d4d5d901dd25f4bfd65c3bddf197d57e56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH14/EX14.6/Ex14_6.sce | bc21c1c1cb93cb9d7ff5d95b1dcbf1728ec6eecc | [] | 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 | 740 | sce | Ex14_6.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex14_6.sce.
clc;
clear;
average_demand=450;
load_factor=0.65;
power_factor=0.8;
tariff1=75; //in ruees per month per kVA
tariff2=1.30; //in rupees... |
e25a9a31bc5084cf817c311eff352cc61f123335 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH12/EX12.1/Ex12_1.sce | 7f5cc48d14e3b12cbe7729b38b307b7e5381c393 | [] | 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 | 228 | sce | Ex12_1.sce | clear
//
//
//
//Variable declaration
sigma0=8.55
K=2.45
sigma=10**-3 //steel size(mm)
//Calculation
sigma=sigma0+(K/sqrt(sigma)) //yield strength
//Result
printf("\n yield strength is %0.3f kg/mm**2",sigma)
|
93a223d2409b7a599a510b2063d1b0f1764c5443 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.15/Example_9_15.sce | 224724116ca94b8a172694c195113bfbcfcc07ce | [] | 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 | 417 | sce | Example_9_15.sce | clc;
clear;
printf("\n Example 9.15\n");
A1=2; //Area of rectangle(Surface 1)
A2=%pi*1^2/4; //Area of disc (Surface 2)
T1=1500; //Temperature of Surface 1
T2=750; //Temperature of Surface 2
F12=0.25; //View factor
sigma=5.67e-8;
//From equation 9. 1 26:
F21=A1*F12/A2;
printf("\n View factor, F12 = %.3f",... |
0c584f79434483d5001ffe5ec31a1e600a763665 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH6/EX6.3.1/6_3_1.sce | 172fbf773607126149b038ad1fcbcbb8ca72f2c8 | [] | 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 | 303 | sce | 6_3_1.sce | clc
pathname=get_absolute_file_path('6_3_1.sce')
filename=pathname+filesep()+'631.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
y=Pstar/P
printf(" \n Molar composition of Water is %f and Air is %f",y,1-y) |
a40c5f3084ea20877d582ae7a7a96ab1c8c49b29 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/firpmord/firpmord3.sce | 15ab06784e87a028eb1bd5a8fca47adcd4d3b376 | [] | 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 | 458 | sce | firpmord3.sce | //sampling frequency is not passed as an input arg
f = [0 0.5];
a = [1 0];
dev = [0.01 0.1];
fs = 8000;
[n,fo,ao,w] = firpmord(f,a,dev);
disp(n);
disp(fo);
disp(ao);
disp(w);
//output
// ... |
439eb5b5a26ed894d7aaa11b3658c7c45b6b6a77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH7/EX7.5/Ex7_5.sce | 610444e22255eae628869a9b9db9443a04f53c85 | [] | 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 | 889 | sce | Ex7_5.sce | //Example 7.5, Page Number 324
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
//Depletion wavelength
clc;
n3=1//Energy Level
n2=2//Energy Level
Lz=10*(10**-9) //Width of the well in metres
m=9.1*(10**-31) //Mass of an electron in kilogram
me=0.068*m//effectiv... |
439417862e5551e21d0cf6ca00d874a2340a9f99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH9/EX9.7/Ex9_7.sce | d3719c47d31264441dc15c4335116be9d318aa8d | [] | 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,225 | sce | Ex9_7.sce | // Example 9.7
clear all;
clc;
// Given data
phi = 2.4*10^5; // Flux in x-rays/cm^2-sec
// From Figure 9.9
// To receive an exposure rate of 1 mR/hr at 50 keV, the flux is 8*10^3 x-rays/cm^2-sec
phi_eq = 8*10^3; // Equivalent flux in x-rays/cm^2-sec
X... |
bb4559cba8c8f32930fdaa872c90e2dcb2969161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.27/Ex7_27.sce | 8c3c51a9aa657256a52e4eb39b29f9bcf3de9c95 | [] | 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,197 | sce | Ex7_27.sce | //Example 7.27
// SRL estimator design for a simple pendulum
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
F=[0 1; -1 0];
G=[0 1]';
H=[1 0];
J=0;
//Transfer function
sys=syslin('c',F,G,H,J)
sysGG... |
5f487eaab63c0f004a0772c0cb1e8bee86a49977 | 734830c483d7180158343b9b5599994878b8b197 | /make-tests/autograder_make07.tst | 6cfc031ee052837ab5dd6659f34931689fdabeda | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | tst | autograder_make07.tst | java -ea make.Main -f make-tests/autograder_make07.mk -D make-tests/autograder_file07 T1
|
2f0e74c9c3e9ddf3965d6b75651021faa406f090 | be79bec46a532a2d059c03f59f67a1f501c2e371 | /test/testcases/directed/sincosf.tst | 61f1e68e80ed2ce55febb4cd3914842cb7b99d32 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sycomix/optimized-routines | 5987a6a4cab10c469cc147d1d8e667fd4d8ae94a | e875f40f0b2ad71c5381a431e6d71829770c7ab7 | refs/heads/master | 2020-03-30T22:15:08.212539 | 2018-09-18T09:36:04 | 2018-09-18T09:36:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,120 | tst | sincosf.tst | ; Directed test cases for SP sincos
;
; Copyright (c) 2007-2018, Arm Limited.
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.o... |
ddf124ab761977fe471368cf17adfbe7109b15ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH20/EX20.17/example20_17.sce | 167a07d38319866fcd9d91d97008e46e675de3df | [] | 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 | 487 | sce | example20_17.sce | clc
// Given that
Z = 29 // atomic no. of Cu
R = 1.097e7 // Rydberg constant in m^-1
c = 3e8 // speed of light in m/sec
h = 6.62e-34 // Planck constant in J sec
// Sample Problem 17 on page no. 20.12
printf("\n # PROBLEM 17 # \n")
printf("Standard formula used \n ")
printf(" nu = a*(Z-b)^2 ........Moseley law \n")
f =... |
4fe66768cae6418c913f05f0b5292d833517ec6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH31/EX30.4/EX30_4.sce | 4d9983bbd281df1fbd5152dafedbc8bce50390fd | [] | 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 | 747 | sce | EX30_4.sce | // Grob's Basic Electronics 11e
// Chapter No. 30
// Example No. 30_4
clear; clc;
// Calculate Vg, Vs, Id, Vd.
// Given Data
R1 = 390*10^3; // Resistor 1=390k Ohms
R2 = 100*10^3; // Resistor 2=100k Ohms
Rd = 1*10^3; // Drain Resistor=1k Ohms
Vdd = 15; // Supply Voltage(Drain)=15 ... |
5ffe0c043023f9ce8505f27ee340ceddd7bd9301 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH3/EX3.6/Ex3_6.sce | e645ccf761027f54cf001ffaef70bca68fe5406d | [] | 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,070 | sce | Ex3_6.sce | // Example 3.6
// To calculate the band-gap energy.
// Page no.123
clc;
clear;
// Given data
m=9.109*10^(-31); // The electron rest mass in kg
meff1=0.07*m; // The effective mass of an electron in the conduction band
meff2=0.5*m; ... |
0216c052e66c655e3505c89bbae5f0bc485c9eba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH8/EX8.14/8_14.sce | 394997551fb672033cd897d5e79ed28d94ad6a50 | [] | 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 | 803 | sce | 8_14.sce | //Example 8.14
//Trapezoidal Rule
//Page no. 284
clc;close;clear;
ax=1;bx=2;ay=1;by=2;h=0.25
n=(bx-ax)/h+1
n=5;
for i=1:n
x(i)=ax+(i-1)*h
y(i)=ay+(i-1)*h
end
printf(' y/x\t|')
for i=1:n
printf('\t%g\t',x(i))
end
printf('\n--------|------------------------------------------------------------... |
4230c1726bb843a8b3e38e92ca1dda515e19e96a | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.4.b/Example_7_4_b.sce | a82a0d5e472fdf23c00ab2f480dd999082ec3760 | [] | 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,565 | sce | Example_7_4_b.sce | // Chapter7
// Page.No-260
// Example_7_4_b
// Frequency response of second order highpass filter
// Given
clear;clc;
Af=1.586; // Passband gain of the filter
fh=1000; // Cut-off frequency
f1=10; // Input freq in Hz
av1=Af/sqrt(1+(f1/fh)^4);
printf("\n Gain magnitude av1 at f1 is = %.2f \n",av1) // Result
f2... |
b786e9f34f7a6be1d34fcaaa6d471f29793f6a07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH42/EX42.8/Example42_8.sce | f2f4f675b82ada283694d01f29a61e3205007bb5 | [] | 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,058 | sce | Example42_8.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 4: ILLUMINATION
// EXAMPLE : 4.8 :
// Page number 758
clear ; clc ; close ; // Clear the work space and console
// Given d... |
76c76d2f0f44e513b617aded9f602df946fafb95 | 27be2dd7284eb8d71ea19e6b077993d7ff6afd16 | /gauss_seidel.sci | 0b90ce2ddc626c4a078b6ec65c616fc02fdcc015 | [] | no_license | mtxslv/numericalcomputation | 3b0ec7d1183c03c91c145de0fb1db9fff0a75e61 | 15ce639e5e370fb21fb1ce9878004270ee814e73 | refs/heads/master | 2020-03-26T06:10:14.116677 | 2019-11-14T11:41:38 | 2019-11-14T11:41:38 | 144,592,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,044 | sci | gauss_seidel.sci | // Gauss Seidel method for a system Ax = b.
// Input: The A matrix and b vector, the initial solution x0,
// max error T and max iterations number N.
// Outputs: x vector with max error T and the max number of iterations.
// code based on Numerical Computation class notes.
// Huge thanks to Professors Raissa Tavar... |
7e75a7e595cb6e02394899f22a296c47d33b7f11 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Bounce Bots.sce | c9c7ea6e197476c3dbfac2a02493a401174ca284 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92,546 | sce | Bounce Bots.sce | Name=Bounce Bots
PlayerCharacters=BB Player
BotCharacters=BB Bot Rotation.rot
IsChallenge=true
Timelimit=45.0
PlayerProfile=BB Player
AddedBots=BB Bot Rotation.rot;BB Bot Rotation.rot;BB Bot Rotation.rot;BB Bot Rotation.rot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=bounce_field.map
MapS... |
c58c01d4d4700ffd757d35aff2e59b5518e2c073 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH25/EX25.2/25_2.sce | cc9aec3fbeefca4be9b56c8744913b7a123e81db | [] | 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 | 232 | sce | 25_2.sce | clc;
// page no 921
// prob no 25_2
L=45;//in km
dt=100;//in ns
//The maximum permissible value for the pulse-spreading constant is
D=dt/L;
disp('ns/km',D,'The maximum permissible value for the pulse-spreading constant is'); |
226ce50a48bea1530ec9706729af6c8906dddd8f | 1988df91caa448a35bbf274a6d2698fe434571b1 | /axiom/tprolb.tst | f2a5903bf310b6d6fa3bf3bf0c85653c62003652 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 1,330 | tst | tprolb.tst | COMMENT | ************************************************************* |
COMMENT | * AUTHOR: R.W. Weyhrauch DATE: around 1978 |
COMMENT | * |
COMMENT | * SUBJECT: S- expressions |
COMMENT | * |
COMMENT | * NOTES: See Prolegomena paper in AI Journal 1980 (ap... |
56f91e27bd54b5942e83dfa33766fddc342e7661 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH24/EX24.08/24_08.sce | ae16b15bdd11641821ca74ff0a54445202633aac | [] | 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,076 | sce | 24_08.sce | //Problem 24.08: A circuit comprises a resistance of 90 ohm in series with an inductor of inductive reactance 150 ohm. If the supply current is(1.35/_0°)A, determine (a) the supply voltage, (b) the voltage across the 90 ohm resistance, (c) the voltage across the inductance, and (d) the circuit phase angle. Draw the ... |
73142030412a9199ed67a7614fde90a6bd17d4f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.31/EX8_31.sce | 02b262880309882cf29314a61a59d023797bc08f | [] | 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 | 230 | sce | EX8_31.sce | //EXAMPLE 8-31 PG NO-550
N=100;
Ro=450;
R1=Ro*[(N-1)/(N+1)];
R2=Ro*[2*N/{N^2-1}];
disp('ii) Resistance (R1) is = '+string (R1) +' ohm ');
disp('ii) Resistance(r2) is = '+string (R2) +' ohm ');
|
28399095b51e519dffa0e72d7dca1a9ded77756c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH6/EX6.16/Ch06Ex16.sce | c30b3be026115a217ca35d9b0f649bc6a7b94c77 | [] | 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,588 | sce | Ch06Ex16.sce | // Scilab code Ex6.16: Pg 228 (2008)
clc; clear;
tb1 = 0.1e-03; // Timebase of channel 1, s/cm
tb2 = 10e-06; // Timebase of channel 2, s/cm
Y_amp1 = 5; // Y-amp setting for channel 1, V/cm
Y_amp2 = 0.5; // Y-amp setting for channel 2, V/cm
// Channel 1
V_pp = 3*Y_amp1; // Peak-to-peak value of waveform in channe... |
f32874bfb628ce2e6545a2ce387c249d2391ff99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.13/exa_1_13.sce | f0f67a6ad42087c879397909cac64e23c45cfe2e | [] | 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 | 192 | sce | exa_1_13.sce | // Exa 1.13
clc;
clear;
close;
format('v',13);
// Given data
Xm= 9.48*10^-9;
miu_r= 1+Xm;//
disp(miu_r,"Relative permeability si : ")
disp("That is µr is slightly greater than 1");
|
145450f565ceafe5cdbdeeb728ecdf4a4ce99e99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH9/EX9.2/Ex9_2.sce | 080621bf4ce817a280fa461ee29e3f54556f8025 | [] | 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 | 947 | sce | Ex9_2.sce | // chapter 9
// example 9.2
// Find the temperature at which number of electrons becomes 10 times
// page 272
clear;
clc;
//given
Eg=0.67; // in eV (Energy band gap)
k=1.38E-23; // in J/K (Boltzmann’s constant)
T1=298; // in K (room temperature)
e=1.6E-19; // in C (charge of electron)
K=10; // ratio of numbe... |
5dd7293da098dadf5a6404196dd30af9cf420587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.17/17.sce | 320bcdb4c675a7aa289247c97b213ddcad2d1eb9 | [] | 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 | 630 | sce | 17.sce | clc
m=2.5; //kg
p1=6*10^5; //Pa
r=2; //r=V2/V1
cv=0.718; //kJ/kg K
R=0.287; //kJ/kg K
T1=363; //K
p2=1*10^5; //Pa
T2=278; //K
V1=m*R*T1/p1;
V2=2*V1;
T0=278; //K
p0=1*10^5; //Pa
Q=0; //adiabatic process
disp("(i)The maximum work")
dS=m*cv*log(T2/T1) + m*R*log(V2/V1);
Wmax=m*[cv*(T1-T2)] + T0*(cv*log(T2... |
81300c1b0c1b5e227bc279895d23ede9ec95dd2e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/unshiftdata/unshiftdata7.sce | 60bc58d456cfe530386b39db466d17d18e0430ad | [] | 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 | 214 | sce | unshiftdata7.sce | //check o/p when i/p arg x contains imaginary values
perm =[2 1];
nshifts =[];
x=[-5 -4- -3 -4 5 5*%i];
y = unshiftdata(x,perm,nshifts);
disp(y);
//output
// 5.
// - 1.
// - 4.
// 5.
// 5.i
|
f489dca9d5a71938024dc8889c895d2d0c62189e | aa2ea56adac7d55902e03912833928383b6e484c | /P2_FSK.sce | 0f1bc609cc0e4e7b71aff660111c3c2f49ede5df | [
"MIT"
] | permissive | Yash-Yadav/DC_MatLab | dbe2e02d2f15b469c30e21dd318a12dddb3c3376 | 351529f652c905191fc0b56972651665d47aa25f | refs/heads/master | 2020-04-02T19:49:11.097720 | 2018-10-30T08:29:55 | 2018-10-30T08:29:55 | 154,747,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | P2_FSK.sce | clc
clear all
fc1=input('Enter the Freq of the 1st Sine Wave Carrier: ');
fc2=input('Enter the Freq of the 2nd Sine Wave Carrier: ');
fp=input('Enter the Freq of Periodic Binary Pulse Message: ');
amp=input('Enter the Amplitude (For both Carrier and Binary Pulse Message: ');
t=0:0.001:1;
c1=amp.*sin(2*%pi*fc1*... |
b4c32a4286a040ccba2c831447abbd3b16a4572a | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.21/21.sce | 5f7e6bcd945a7b508df7a181b2a563ddf0df8c44 | [] | 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 | 21.sce | clc
T0=273; //K
T1=673; //K
T2=298; //K
m_w=10; //kg
T3=323; //K
c_pw=4186; //kJ/kg.K
disp("Let C=mi*cpi")
C=m_w*c_pw*(T3-T2)/(T1-T3);
S_iT1=C*log(T1/T0); // Entropy of iron at 673 K
S_wT2=m_w*c_pw*log(T2/T0); //Entropy of water at 298 K
S_iT3=C*log(T3/T0); //Entropy of iron at 323 K
S_wT3=m_w*c_pw*log(T3... |
d7fd22ed3d91dda513575c2e76f5e4179cc401d3 | d3a8c313f3460c20c00de62c57119c9b24ac033e | /projects/realtime-system/nl_lib/nl_lib_com/tcd/tmp/nl_ringbuffers.c.tst | be19dc1111c1deb5bd35a11ca9ce011b1ec3c129 | [] | no_license | hhoegelo/C15 | cb49b3236959b13e48928b7d9e0677146377e027 | cc12e6e896e70240ac908f5b0c4b79ad90115cef | refs/heads/master | 2022-12-25T23:20:16.099933 | 2020-04-30T17:01:19 | 2020-04-30T17:01:19 | 260,872,595 | 0 | 0 | null | 2020-05-03T09:48:22 | 2020-05-03T09:48:21 | null | UTF-8 | Scilab | false | false | 1,737 | tst | nl_ringbuffers.c.tst | /******************************************************************************/
/** @file ln_ringbuffers.c
@date 2020-02-15
@version 0
@author KSTR
@brief a set of ringbuffers
@ingroup nl_tcd_modules
*******************************************************************************/
#include "ln... |
87df4b0ba0034f9780296d5fe02276b45663fca5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH5/EX5.8/ex8.sce | 8dd183758f6618b2848a585bf24b0d93ac1f20ad | [] | 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 | 429 | sce | ex8.sce | // Example 5.8 : Analyse the circuit to find node voltages and branch currents
V_CC= 10; // (V)
R_C=2000; // (ohm)
V_BB=5; // (V)
V_BE=0.7;
R_B=100*10^3; // (ohm)
B=100; // beta value
I_B=(V_BB-V_BE)/R_B;
disp(I_B,"Base current (A)")
I_C=B*I_B;
disp(I_C,"Collector current (A)")
V_C=V_CC-I_C*R_C;
disp(V_C,"Collector vol... |
2b60afd0406e8d88f51fce7bb54539e9e0047db4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH1/EX1.26.b/ex_1_26_b.sce | 7da056248a562ef8392b59bb4bad1c29d406c2e5 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | ex_1_26_b.sce | errcatch(-1,"stop");mode(2);//Example 1.26.b // the lag
;
;
//given data :
Iin=25; // may be +ve or -ve
t1=20; // in seconds
t2=4; // in minutes
f=1/(t2*60); // cycles/sec
w=2*%pi*f; // rad/sec
pi=atan(w*t1); // in rad
L=(1/w)*pi
disp(L,"the lag,L(seconds)= ")
exit();
|
def4e53722efa5c3c4b98304475f8c0822289fac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH5/EX5.5/5_5.sce | ec084f87f8323ad681695d7a083d22a549a0c3da | [] | 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 | 976 | sce | 5_5.sce |
clc;
clear;
//Example 5.5
Cpc=4187 //Specific heat of water in [J/(kg.K)]
Cph=2000 //Sp heat of oil in [J/(kg.K)]
mc_dot=1300/3600 //[kg/s]
mh_dot=550/3600 //[kg/s]
w=mc_dot*Cpc //[W/K]
o=mh_dot*Cph //[W/K]
//Heat capacity of rate of hot fluid is sma... |
1eb8577de4face0f8a2939b0aca3dc85fc4fbcca | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH4/EX4.4.41/Ch4_4_41.sce | 6032f4100ee554dee4ad8ad5cb9c4afb4d931582 | [] | 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 | 394 | sce | Ch4_4_41.sce | clc
disp("Example 4.41")
printf("\n")
disp("Design the SCR crowbar circuit to protect the load from voltage levels greater than 7.5V")
printf("Given\n")
//gate trigger voltage
Vgt=0.7
//load voltage maximum
VLmax=7.5
//Zener voltage is
Vz=VLmax-Vgt
//assume zener current(mini) as
Izmin=10^-3
R=Vgt/Izmin
p... |
a7162f5b4e1d4d83e93fa245ae894de4b8f5b1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH13/EX13.9/Ex13_9.sce | 672e7253f4142036e8196862bceb3c01934b432b | [] | 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 | Ex13_9.sce | clc
clear
//Initialization of variables
py=20 //psia
px=3.55 //psia
R=1.986/29
//calculations
pr=py/px
disp("from table B-19")
Mx=2
My=0.577
pr2=0.721
ds=R*log(1/pr2)
//results
printf("Change in entropy = %.4f Btu/lbm R",ds)
|
789ac871fc5f93cf1b287e277ad57fb08cbbf9c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH4/EX4.9/4_9.sce | dbfe442ab581cf3bfacd7dabedbc4081e8f4a0cd | [] | 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 | 436 | sce | 4_9.sce | //clear//
clc
clear
exec("4.9data.sci");
V = 0:1:100;
function w=f(V,fa)
w=zeros(1,1);
ft =2*(fa0-fa(1))
Ca = Ct0*fa(1)/ft;
fb = 2*(fa0-fa(1));
Cb = Ct0*fb/ft;
w(1)= -ka*(Ca-(Cb^2)/kc)
endfunction
x=ode([9.99],V0,V,f);
for i= 1:101
fb(1,i) = 2*(fa0-x(1,i));
end
l1=x';
l2=fb';
pl... |
20232e60467fffd051cd46f26815d43cd6fb7e36 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/laba16.sce | 0595be1b7fbaedf489ad5a755d951194dfaea6ad | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | laba16.sce | //Лаба 16
//Транспортная задача 1
//min(120x1+160x2+80x3+100x4)
//x1+x2=10 x3+x4=7 x1+x3=9 x2+x4=8
//x1>=0,x2>=0,x3>=0,x4>=0
clc
p=[120; 160;80; 100]
A=[1 1 0 0
0 0 1 1
1 0 1 0
0 1 0 1]
b=[10; 7; 9; 8]
ci=[0; 0; 0; 0]
cs=[10; 10; 7; 7]
me=4
x0='v'
[x,lagr,f]=linpro(p,A,b,ci,cs,me,x0)
format('v',5)
disp(x(1),... |
7be4af9b85c034593c0362d43704c5e4de26e3c4 | e806e966b06a53388fb300d89534354b222c2cad | /macros/fftshift.sci | 48b242a6674d6af99d5a89f203294d0b5f26cc80 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sci | fftshift.sci | function [out]=fftshift(image)
image1=mattolist(image);
a=opencv_fftshift(image1);
dimension=size(a)
for i = 1:dimension
out(:,:,i)=a(i);
end
endfunction;
|
28968181e7be1609832bac0e289cf98214dc200e | 5b14d330ace788383138f839d8d4a7ab563dc101 | /scilab/zad_01_intro/filmy.sce | 99df79bf2345976aeb34cc1869319e6eea9a8b61 | [] | no_license | cereberus/chartula | 3b8c4aebf761186e01ec751b29abf99ade685243 | 3f261e37f98ffa435e55fa68295e4a233f83aff2 | refs/heads/master | 2020-05-29T22:54:24.022137 | 2017-06-20T14:23:14 | 2017-06-20T14:23:14 | 28,778,262 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | filmy.sce | licznik = 0;
czas=0;
[wier kol]=size(dane);
for i=1:1:wier
if dane(i,1) == 1996
licznik=licznik+1;
czas=czas+dane(i,4);
end
end
disp(czas/licznik)
|
8fd49205fd66ed2fe3c4abd568e38cf78a2d61be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1616/CH2/EX2.7/ex2_7.sce | e4861ae2f4195e4d25962499166e8e5743f679b0 | [] | 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 | 719 | sce | ex2_7.sce | //ex2.7 from the previous problem find instantaneous voltage and current at x=50cm and t=1nsec & peak voltage and current at x=1m
f=2e9;
w=2*%pi*f;
x=0.5;
t=1e-9;
// at x=0 t=0 v(t)=2V
Vpositive=2;
// at 0=60,x=0,t=0
Vnegative=1;
o=%pi/3;
k=sqrt((0.1+%i*w*0.01e-6)*(0.01+%i*w*1e-10));
a=real(k);
b=imag(k);
v=Vpositiv... |
3a38a58a1ce8ea277d92a865be69b07545e758b0 | 6c7a728e11a427c93b15669517131a79a0703108 | /api/pdb_root/install/scripts/build_file_name_convert.tst | 412dd038888b75b3398598195f50a09cd73ee402 | [] | no_license | ZVlad1980/adm_scripts | 0b9fe4ff166213dc649d555c81e8d65b858074e4 | 9978a098c8140f5722b51e799969b76e2d68b42e | refs/heads/master | 2020-03-31T08:45:49.405822 | 2019-04-30T05:04:03 | 2019-04-30T05:04:03 | 152,071,490 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | tst | build_file_name_convert.tst | PL/SQL Developer Test script 3.0
25
-- Created on 12.05.2018 by V.ZHURAVOV
declare
-- Local variables here
function get_file_name_convert(
p_pdb_source varchar2,
p_pdb_target varchar2,
p_db_create_file_dest varchar2
) return varchar2 is
l_result varchar2(32767);
--
curs... |
35a7fd705b1da4dac62b40c0546df0af17f1cac9 | c4ab1127be3f68a97a5191d086968a1c6d50c6c3 | /DeliverableNI/SciLab/test_robot.sce | 9a6067fdcdf2da96bcfc32003907b7e008cb30a8 | [] | no_license | etumanov/AppliedRoboticsUNITN | 4b062afef3ae44d77f88ad7c411ae9929e2d85c1 | 241363c8c8fdb8b8fca50e160a9fa7d0c833dc49 | refs/heads/master | 2016-08-11T06:57:47.674470 | 2016-01-20T08:16:25 | 2016-01-20T08:16:25 | 49,948,867 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,915 | sce | test_robot.sce | clc;clear;
myfilter = iir(3,'lp','cheb2',[0.04 0],[0 0.01]);
//k_est = 8.7755267;
xi_est = 0.8209478;
o_n_est = 16.5151;
k_est = 0.1531618;
//xi_est = 0.8209478;
//o_n_est = 0.0165151;
alpha = 3;
s = poly(0, 's');
// Dati 1
A1 = 40;
fileName = strcat(['C:\Users\Paolo\Desktop\universita\LAR\DATA\p_', string(A1), '... |
4ef47321f5bb6110624b56c934c929342f13f9c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.26/ex4_26.sce | bd7e878dbe0de99b87465af78f22ac82a5037394 | [] | 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 | 930 | sce | ex4_26.sce | //Example 4.26
close;
clc;
E=3; //in volts
Rm=2000; //Meter resitence
Rz=28000; //Multiplier resistence
//Given R x 1 range
R=10; //in ohms
Rx=20; //in ohms
V=E*R/(R+Rx); //Voltage across parallel combination
Im=V/(Rm+Rz); //Current through meter
printf('\nC... |
729a698277a3b13b74e23a552563dc2def04367c | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm_easa/resources/method_grobj.sce | 0ab68eb321812a92ec94a432c1146594a928b3e8 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,496 | sce | method_grobj.sce | function [alp,cux,cuy,cuz,uxx,uxy,uxz,uyy,uyz,uzz,qxx,qxy,qxz,qyy,qyz,qzz,dxuxx,dxuxy,dxuxz,dxuyy,dxuyz,dxuzz,...
dyuxx,dyuxy,dyuxz,dyuyy,dyuyz,dyuzz,...
dzuxx,dzuxy,dzuxz,dzuyy,dzuyz,dzuzz]=method_grobj(...
nx,ny,nz,...
dt,dx,dy,dz,...
x,y,z,r,psi,...
... |
7ef9144a2a0fd16c32ceca4220ee3eae10472790 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH2/EX2.26/example_26.sce | f763adc9cf0ecf91d14a76b53bdd5c4674cc487a | [] | 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 | 243 | sce | example_26.sce | clc
clear
printf("example 2.26 page number 80\n\n")
//to find hardness of water
m_MgSO4=90 //in ppm
MgSO4_parts=120;
CaCO3_parts=100;
hardness=(CaCO3_parts/MgSO4_parts)*m_MgSO4;
printf("hardness of water = %f mg/l",hardness)
|
53eea63160b120436482d6ec26f4263585e991e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.40/Exa_1_40.sce | 1ba1ba6d9d0c27601c1e441fcedc6f378f56e0a2 | [] | 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 | 551 | sce | Exa_1_40.sce | //Exa 1.40
clc;
clear;
close;
format('v',7);
//Given Data :
mCO=0.45;//Kg
mAir=1;//Kg
V=0.4;//m^3
T=15+273;//K
MCO=28;//Kg/Kgmo
MO2=32;//Kg/Kgmol
MN2=28;//Kg/Kgmol
mO2=23.3/100*mAir;//Kg
mN2=76.7/100*mAir;//Kg
Rdash=8314.3;//J/Kgk
//p*V=m*Z*R*T
pCO=mCO*Rdash/MCO*T/V/10^5;//bar
pO2=mO2*Rdash/MO2*T/V/... |
b4b82f250c74329c8b6f57542750f009a6b0ecec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH7/EX7.9/Ex7_9.sce | 161f705fda6241000b03b817254b4cc88fa0df6d | [] | 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 | 673 | sce | Ex7_9.sce |
//calculating capacitance
Xc=4//capacitive reactance
f=50
omega=2*%pi*f
C=1/(omega*Xc)
mprintf("Capacitance C=%f microF\n",C*1D+6)
//calculating impedance
R=5//resistance of circuit
Z=sqrt(R^2+Xc^2)
mprintf("Impedance of circuit=%f ohm\n",Z)
//calculating current taken by circuit
V=200
I=V/Z
mprintf("Cur... |
ed73618fe874339e4f9912951750656359892588 | 8458ae69238b4e9e89cec1f6bdb30f6d009e3053 | /scripts/ApplyHPF.sce | a0c7e8675719a66a2882f32be516dd0f1a83e2b9 | [] | no_license | keigorori/signal_processing | aa5f18bcb2be385ce3a4fef208d29b05a036faf9 | a30e41e3fd2c3287af43e0d4bd554020a5055ff3 | refs/heads/master | 2020-04-05T10:45:01.018660 | 2019-02-08T02:08:59 | 2019-02-08T02:08:59 | 156,809,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,334 | sce | ApplyHPF.sce | ///////////////////////////////////////////////////////////
// wavファイルにハイパスフィルタを掛けた結果をファイル出力
///////////////////////////////////////////////////////////
clear();
cd(get_absolute_file_path('ApplyHPF.sce'));// ディレクトリ変更
exec( '../filters/Highpass.sci');
exec( '../plots/PlotFrequency.sci');
exec( '../plots/PlotFrequencyRes... |
ba28f5e1ef82dfe837353de07e653e8594c2165a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH5/EX5.10/ex5_10.sce | 9bc4ebeb1352493479f83570edeb4d5fe22b70c2 | [] | 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 | 241 | sce | ex5_10.sce | // Example 5.10, page no-192
clear
clc
fd=75 //Maximum allowed frequency deviation in kHz
fm=15 //Highest modulating frequency in kHz
D=fd/fm
bw=2*(D+1)*fm
printf("Deviation Ratio, D = %.0f\n Bandwidth = %.0f kHz",D,bw)
|
5e88cdbd60f141cdb46c813a3e3dc014a9758369 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH19/EX19.2/19_2.sce | ee57d9ca1a6d43d563d317e178140336375e91df | [] | 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 | 305 | sce | 19_2.sce | clc
//initialisation of variables
clear
E= -0.344 //volt
E1= -0.401 //volt
R= 0.05914 //volt
n= 4
T= 25 //C
H= -7300 //cal
//CALCULATIONS
po2= 10^(-n*(E-E1)/R)
dH= -0.5*n*H+0.5*n*(273+T)
//RESULTS
printf ('Pressure of Oxygen = %.1e atm',po2)
printf ('\n Change in Enthalpy = %.f cal',dH+4)
|
ac855cf8eb2e44fb0b62d35019bb79dcfb692bb2 | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/RESULTADO/RESULTADO_SINAL.sce | 0a89cede18930a94761420f41f3fa81797be7d6a | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,473 | sce | RESULTADO_SINAL.sce | clear;
path_resultado = get_absolute_file_path('RESULTADO_SINAL.sce');
exec( path_resultado+"\_dados_entrada.sce" );
exec( path_resultado+"\..\RNA_ANALISE_TECNICA.sce" );
printf( 'Iniciando calculos dos resultados Sinal...\n' );
codigoAtivo = 'BBAS3';
dados_entrada = getDadosEntrada( codigoAtivo, MAXIMO_LINHA_ARQUIVO... |
4087b77b9bc84c7cc546b099b23429ac971ea964 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fsolve/Redlich-Kwong.sce | c2fc32667233ea80e6d2470d42ae181152605ab6 | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,702 | sce | Redlich-Kwong.sce | //Ref:Steven C. Chapra. 2006. Applied Numerical Methods with MATLAB for Engineers and Scientists. McGraw-Hill Science/Engineering/Math,Chapter 6
//Example:
//The Redlich-Kwong equation of state is given by
//p = ((R*T)/(v-b) - a/(v*(v+b)*sqrt(T)))
//where R = the universal gas constant [= 0.518 kJ/(kg K)], T = absolute... |
ff0315051d59244c78929a9a5439655dfc4385cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH1/EX1.6/Ex1_6.sce | 2f8ee7f2659b4a3562c12a5e3522247148cd6676 | [] | 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 | 406 | sce | Ex1_6.sce | // Example 1.6
clc;
clear;
close;
// Given data
format('v',6);
VEE= 5;// supply voltage in V
RC= 2*10^3;// collector resistance in Ω
RE= 4.3;// emitter resistance in kΩ
VBE= 0.7;// in V
VT= 26;// in mV
IE= (VEE-VBE)/(2*RE);//emitter current in mA
re_desh= VT/IE;//dynamic emitter resistance in Ω
Ad= RC/(2*r... |
eb1aea239deb16facd67cba368feabaf6d3a1140 | b9117a375dfd4994834bffe24f28414f4599c02e | /test/trans_case_norm.tst | 9c2fcc0e83dac3f38352372f02265c733004658a | [] | no_license | mdolgun/NLPParser | 2a7e1ab5f820c902ecb7ecd05a90a9caca7fb4bf | 54d8494a8799efb94ff0dfa21c8c46292dd9cb22 | refs/heads/master | 2021-07-16T08:32:55.973580 | 2020-10-17T20:28:51 | 2020-10-17T20:28:51 | 218,727,320 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | tst | trans_case_norm.tst | ###grammar
S -> Subj VP Obj : Obj VP Subj
Subj -> i : -m
Subj -> you : -n
Subj -> it | she | he
Subj -> NP : NP
VP -> saw : gördü [case=i]
VP -> looked at : baktı [case=e]
VP -> insisted on : ısrar etti [case=de]
VP -> hated : nefret etti [case=den]
Obj -> NP : NP Case... |
e2915e91ca61d8e0f7fa6b6cce3da68f769eed65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH7/EX7.1/example1.sce | a262d9d1ecf336dc4e225f9548c07a493019736a | [] | 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 | 453 | sce | example1.sce | //Chapter-7 example 1
//=============================================================================
clc;
clear;
//input data
BW = 0.5*10^9;//bandwidth of pulsed radar in hz
Tfa = 10;//false alarm time in minutes
//Calculations
Tfa1 = Tfa*60;//false alarm time in seconds
Pfa = 1/(BW*Tfa1)
//Output
... |
be78b6ca66f9c135ffdaf41d25fe5278b7783c48 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/examples/link-examples/ext5f.sce | c4bb1b14e6f454bd0a4e4e7d2dc7f6c38878c42c | [
"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 | 172 | sce | ext5f.sce | host('make /tmp/ext5f.o');
link('/tmp/ext5f.o','ext5f')
// reading vector a in scilab internal stack
a=[1,2,3];b=[2,3,4];
c=fort('ext5f',b,1,'d','out',[1,3],2,'d')
c=a+2*b
|
2932517bf6120595fa0ca8893b2de5c32e52177e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH13/EX13.2.i/I13_2.sce | d76b42e73d5d990df773863e9664c99b8916208a | [] | 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 | 262 | sce | I13_2.sce | clc
//Initialization of variables
dv=1 //pm^3
a0=52.9 //pm
//calculations
Probability=dv/(%pi*a0^3)
//results
printf("probability of finding electron = %.1e",Probability)
printf("\n Chance that electron would be found is one in %d times",1/Probability)
|
6709eb5e6994d3ba2e1a2b77ccf85b1c4e527bd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH14/EX14.4/Ex14_4.sce | e327efecd019bad60aec31644e4186d1ef98ef52 | [] | 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 | 238 | sce | Ex14_4.sce | //Chapter 14 Determination of Hydroniumion Concentrations
clc;
clear;
//Initialisation of Variables
E= 0.527 //v
T= 25 //C
R= 0.0592
e= -0.246 //v
//CALCULATIONS
pH= -(-E-e)/R
//RESULTS
mprintf("pH of the unknown solution= %.2f",pH);
|
6117702b81afb65295bc4813f4aeb38fbb5178c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH19/EX19.5/Example19_5.sce | 3843ec0753031b65228c332b6a6c6ddef279837f | [] | 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 | 543 | sce | Example19_5.sce | //computation of standard free energy change for a reaction
clear;
clc;
printf("\t Example 19.5\n");
n=6;
F=96500;//faraday constant, J/V mol
E0cathode=-2.87;//standard electrode potential of cathode(Ca2+/Ca), V
E0anode=1.5;//standard electrode potential of anode(Au3+/Au), V
E0cell=E0cathode-E0anode;/... |
68dd49b8c8a240e36c1271e13c8a716826968f6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH2/EX2.27/ex27.sce | ead53be4b86983ff0b6243d6f77d47d8dc1f84f9 | [] | 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 | 767 | sce | ex27.sce | clc
clear
//Input data
m=0.6;//Mass flow rate of air in kg/s
W=40;//Power required to run the compressor in kW
p1=100;//Initial pressure at the inlet of the compressor in kPa
t1=30;//Initial temperature at the inlet of the compressor in degree centigrade
z=0;//Change in potential energy is neglected
c=0;//Chang... |
26cdcf4065e45c8fc8d9d94002476570fcd01880 | cbe8756c4068574f2f1cf8f0ce6f11632622eccb | /compilers/pic16/cc/gram.tst | a2749423c5646e87b4a5ec3674e2d514deaf0a6b | [
"GPL-2.0-only",
"Apache-2.0"
] | permissive | sergev/vak-opensource | 78b063c6e139c6c8b57735780120c042a759ffdc | a7e0fc4289cafc1a344d8a1bcbc5e26c8b03c6ff | refs/heads/master | 2023-08-14T07:50:30.069410 | 2023-08-12T08:24:27 | 2023-08-12T08:24:27 | 72,305,253 | 44 | 24 | Apache-2.0 | 2022-06-06T18:26:23 | 2016-10-29T19:32:29 | C | UTF-8 | Scilab | false | false | 1,296 | tst | gram.tst | asm ("clrwdt");
asm ("
xta fsr
a+c 2
atx fsr
");
char c @ 0x10, far *cp, far *cf ();
short *s, *sf ();
long l [10], lf ();
void *vp;
long f (short a) @ 0x20
{
char b;
asm ("clrwdt");
again:
goto again;
return;
return 1;
if (c)
return;
if (! c)
goto again;
else
return a;
while (b)
con... |
741bbc0b3b0c95422ce443d6cf138f471bffb239 | beca18778f40d44e713160c5b0e8136d8a92cad8 | /scilab/great-circle-small.sce | 55d0a82a32d1aeb8dd0610bd051d68701841e86b | [] | no_license | thomasantony/enjomitch-orbiter | 9542df3dfc83ce0a6cf06ec78dca91b4c1a0babf | 83967b7bf8f8c49d1e90f7b904846e66d1ad6e37 | refs/heads/master | 2022-12-02T07:47:03.976695 | 2020-03-22T13:54:57 | 2020-03-22T13:54:57 | 286,159,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,959 | sce | great-circle-small.sce | clear
r = 5;
offset = 0;
//offset = %pi/2;
// geographic coordinates
// 1 - starting point
// 2 - ending point
// latitude should be in range (-%pi/2, %pi/2)
// if displaying a satellite, lat1 is inclination
// divide the path into 2 steps - from 1 to 2 and from 2 to 3
// Increases precision greatly
lat1... |
77a8694d3f0f65f22ba318f4a70943bc79bc4f71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH4/EX4.10.a/4_10_data.sci | b5e50531ee3443d8ed957c9d124f3a3f52b60609 | [] | 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 | 531 | sci | 4_10_data.sci | // Aim:Refer Example 4-10 for Problem Description
// Given:
// Pump hydraulic power:
HHP=3.73; //kW
// Pump flow:
Q=0.00190; //m^3/s
// Inside Diameter of pipe:
D=0.0254; //m
// specific gravity of oil:
SG_oil=0.9;
// Kinematic viscosity of oil:
nu=100; //cS
// elevation between station 1 and 2:
Z=-6.10; //m ,-ve sign ... |
7fcd690f1b03335f99b75f8fbbde086d26b04e40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/7_1data.sci | e18b04467241388e747816db3947c0e42caa5da7 | [] | 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 | 89 | sci | 7_1data.sci | t=2;//in mm
E=70000;//in N/mm^2
v=0.3;
a=100;//in mm
b=100;//in mm
q0=10;//in N/mm^2 |
5f7bcef62d37dfa2e78f268d3cf0cbc6135ac22e | 1ebbdce5d3f3daa6d9e8b439410e447941bc49f5 | /résolution numérique/livrable/schéma explicite sans matrice/[EXPLICITE] fonctions.sci | 249f7affdade96182929d80855a1354f12723047 | [] | no_license | sebastienbaur/legionella_proliferation_modeling | 2aff0e2499584e99c07116a700e43218976b9b12 | ae9b5d4dde1912a98584c6319eae41980355ef03 | refs/heads/master | 2020-03-07T15:25:49.881820 | 2018-03-31T17:27:52 | 2018-03-31T17:27:52 | 127,554,634 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,391 | sci | [EXPLICITE] fonctions.sci | function y = monodL (N,l,a) // N pour nutriment, l légionnelle, et a amibes
// terme de croissance qui apparaît dans l'équation des légionnelles
y = (k_1 * N ./ (k_2*ones(size(N,1),1) + N)) + (k_3*a ./ (k_4*ones(size(N,1),1) + rho_A * a));
endfunction
function y = monodA (N,l,a)
// terme de croissance qui ... |
4f2fee7701324ed68c472abda721aad77c7bde4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH11/EX11.3/Ex11_3.sce | a1fb3406013d4adf5fcea88e0cca8c0a568a47df | [] | 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 | 285 | sce | Ex11_3.sce | // Example 11_3
clc;funcprot(0);
// Given data
p=1.00;// MPa
// Solution
// From Table C.2b at p = 1.00 MPa, we find that,
h_fg=2015.3;// kJ/kg
T_sat=179.90;// °C
s_fg=h_fg/(T_sat+273.15);// kJ/kg .K
printf("\nThe phase change entropy for water,s_fg=%1.4f kJ/kg.K",s_fg);
|
717381651763e1be7d47b65676753445e7f6693d | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 1/myMainScript.sce | 29ebb539ee732ea3da19b21b3c799bf3d3abd723 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,227 | sce | myMainScript.sce | clear; clc;
// -------------------------------------------
// Question 1 //
s = poly(0, 's');
G1 = 10 / (s^2 + 2*s + 10);
G2 = 5 / (s + 5);
S1 = syslin('c', G1);
S2 = syslin('c', G2);
// -------------------------------------------
// Part a
TA = S1 * S2;
disp("Transfer Function for part a");
disp(TA);
// --------------... |
2405804123caac2c5975aea814f2b7120e15d3ce | d1ef62f183cfed612d1834fb3036701674df4ac0 | /sce/humanoid.sce | 33d6a35f48c400f9353198ada003243f8f30ec85 | [] | no_license | vverovvero/cs490sp | 7f0b34c01c3b262e221ea7c58d20dfc34bc13c0c | a4d7a718d04b67fe96caab862893a7e3c25f1098 | refs/heads/master | 2021-01-22T05:43:26.044250 | 2017-05-02T19:21:43 | 2017-05-02T19:21:43 | 81,696,744 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,395 | sce | humanoid.sce | TRIANGLE P1(1.416586, 11.0, 2.48) P2(1.416588, 6.01, 2.48) P3(1.416588, 6.01, -2.48)
TRIANGLE P1(1.416586, 11.0, 2.48) P2(1.416588, 6.01, -2.48) P3(1.416588, 11.0, -2.48)
TRIANGLE P1(-1.060412, 11.0, 2.48) P2(-1.060412, 6.01, 2.48) P3(1.416588, 6.01, 2.48)
TRIANGLE P1(-1.060412, 11.0, 2.48) P2(1.416588, 6.01, 2.48) P3(... |
e88da0c7caebe957a5ff6247c36ee34c6c1cb3be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH12/EX12.19/Ex12_19.sce | 22bf02a97c79fb23ff4fb22f0d83a9c0c4701098 | [] | 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 | 342 | sce | Ex12_19.sce | Bc=1.25*10^6
Rb=9.6*10^3
Gp=Bc/Rb
GpdB=10*log10(Gp)
EbINodB=6
EbINo=10^(EbINodB/10)
p=0.5//interference factor
a=.85//power control accuracy factor
v=.6//voice activity factor
Y=2.55//improvement from sectorisation
M=(Gp/(EbINo))*(1/(1+p))*a*(1/v)*Y//no. of mobile users per cell
Ns=3
Nmps=M/Ns
disp(Nmps,'no. of mobi... |
2dd723171c8abb1f835327ef67543a772d9e51d1 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnPe/enpe.5.tst | ef3fa35a03913420df426fd83bb0f567a8e2dffd | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 45,681 | tst | enpe.5.tst | a b a d ﺍ ﺏ ﺍ ﺩ
a b b o t ﺍ ﺏ ﻭ ﺕ
a b d u l ﻉ ﺏ ﺩ ﻝ
a b d u l ﻉ ﺏ ﺩ ﻭ ﻝ
a b e l l a ﺍ ﺏ ﻝ ﺍ
a b s t r a c t ﺍ ﺏ ﺱ ﺕ ﺭ ک ﺕ
a b y a n ﺍ ﺏ ی ﺍ ﻥ
a c e ﺍ ی ﺱ
a c e v e d o ﺍ ک ﻭ ﺩ ﻭ
a d a b ﺍ ﺩ ﺍ ﺏ
a d a b ﺍ ﺩ ﺏ
a d i n a ﺍ ﺩ ی ﻥ ﺍ
a d l e r ﺍ ﺩ ﻝ ﺭ
a d r i ﺍ ﺩ ﺭ ی
a d r i e n e ﺍ ﺩ ﺭ ی ﻥ ی
a e r n o u d t ﺍ ی ﺭ ﻥ ﻭ ﺕ
a e ... |
234067bd4a19897b0f6ec0cef1adcc1edde4ac84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH3/EX3.4.1/Example_3_4_1.sce | c33a7b32357b0e1b1a6c2d37d56c84d510048457 | [] | 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,129 | sce | Example_3_4_1.sce | //Example 3.4.1 Page 57
//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
//Steven H. Strogatz
clear;
clc;
close;
set(gca(),"auto_clear","on") //hold off
for (B=0.5:0.5:2) //Capital "B" is denoting Beta.
x=-3:0.1:3;
y=x; //To plot x=y line.
figure;
se... |
c6faae6117ebccebe3998354d97f3b9e585863d1 | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 9/Q2.sce | f239812ae379858d521745b2f791daf44ce6d56f | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | Q2.sce | clc; clear;
s = poly(0, 's');
g = ((s^2+100*%pi*%pi*100)/(s^2 + 2*1*s + (100*%pi)^2));
G = syslin('c', g);
scf();
bode(G, 1, 100);
title(["Notch filter that rejects 50Hz", "$\frac{s^2 + (100\pi)^2}{s^2 + 2s + (100\pi)^2}$"], 'fontsize', 3);
K = 1:20:100;
tfs = [];
labels = [];
for i=1:size(K, 2)
k = K(i);
g = (... |
f437ef5ea44cf5789fc3c507cece495d495f13b5 | c36e1bfd38146c66289228951b38aed97a50e7ce | /Projet sur les réseaux de distribution d’eau/Scilab/OraclePH.sci | 7de2d241c8f8b45c395a854a4eefffca87f01e42 | [
"MIT"
] | permissive | AmineKheldouni/Optimization-Control | 73e4c50c2edbac1863d231036125c405eea1807c | 417336ff19b174668be002c4a5d24bd78c88c39e | refs/heads/master | 2020-04-14T22:30:01.903485 | 2019-01-04T23:35:20 | 2019-01-04T23:35:20 | 164,165,063 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sci | OraclePH.sci | function [F,G,H] = OraclePH(qc,ind)
q = q0 + B * qc;
if ind == 2 | ind == 4 | ind == 7 then
F = (1/3) * q' * (r .* q .* abs(q)) + pr' * (Ar * q);
end
if ind == 3 | ind == 4 | ind == 6 | ind == 7 then
G = B' * (r .* q .* abs(q) + Ar' * pr)
end
if ind == 5 | ind == 6 | ind == 7 the... |
597b0677a3ef55ac9c005a3662f9d0aa3b83f33f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH10/EX10.1.2/Ex10_1_2.sce | ed17adb6e5f14a7386206bd191aef430bde98959 | [] | 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 | 609 | sce | Ex10_1_2.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 10.1.2
//windows 7
//Scilab version-6.0.0
clc;
clear ;
//given
T=300;//temperature in K
kB=1.38E-23;//Boltzman constant in J/K
E=kB*T;
e=1.6E-19;//Electrons value in Coulomb
Vd=0.7;;//depletion voltage in V
Y=e*V... |
7f6421fb97e82801b95a33d8ce2be5a85a21e3bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.11/Example7_11.sce | 5840303c281b016496f412a1e64f23305f85a172 | [] | 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,364 | sce | Example7_11.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.11 :
// Page number 76
clear ; clc ; close ; // Clear the work space and ... |
12b1d7ffd5fd837cd88785120826b604751b7b76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH21/EX21.13/EX21_13.sce | f0dd7cc427d69d088c551af7874655e78bb10b6a | [] | 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,260 | sce | EX21_13.sce | clc;funcprot(0);//EXAMPLE 21.13
// Initialisation of Variables
t1=288;.............//Temperature of intake air in K
rp=4;.............//Pressure ratio
etac=0.82;.........//Compressor efficiency
etahe=0.78;...........//Efficiency of heat exchanger
etat=0.7;...........//Turbine efficiency
t3=873;............//Temp... |
6f099fb739befbe02c69fd9426b002d06285e6ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.1/1.sce | e46175302dd2185058ea819bf4f1474f2859cf5d | [] | 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,325 | sce | 1.sce | clc
p1=60; //bar; Inlet to turbine
p2=0.1; //bar; Exit from turbine
p3=0.09; //bar; Exit from condenser
p4=70; //bar ; Exit from pump
p5=65; //bar; Exit from boiler
t1=380; //0C
t5=400; //0C
x2=0.9; //Quality at exit from turbine
C=200; //m/s; Velocity at the exit from turbine
disp("(i) Power output... |
1dd2bdfc4bf51918a8812f6ff803789d39a18e48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH3/EX3.3/Ex3_3.sce | 36190d5a4936669fd160903d27ce2a25e099796a | [] | 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 | 329 | sce | Ex3_3.sce | clear;
clc;
l = 10;//feet
d = 5/4;//inches
p = 8;//tons/in^2
E = 13000;//tons/in^2
A = 0.25*%pi*d^2;//in^2
e = p/E;
del_l = e*l*12;//inches
W = 0.5*p^2*A*l*12/E;// inch-ton
h = W*10-del_l;//inches
printf('Instantaneous elongation is del_l = %.3f inches',del_l);
printf('\n Height of the drop is h = %.2f inch... |
6e6a1f8aa611739db0fb054c5d428d950c6162e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.7/ex1_7.sce | 47d93a675a276da7b2503108c8d817bf3041e073 | [] | 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 | 297 | sce | ex1_7.sce | // Exa 1.7
clc;
clear;
close;
// Given data
V_i = 12;// in V
V_D1 = 0.7;// in V
V_D2 = 0.3;// in V
R = 5.6*10^3;// in ohm
V_o = V_i - V_D1 - V_D2;// in V
disp(V_o,"The value of Vo voltage in V is");
I_D = V_o/R;// in A
I_D = I_D*10^3;// in mA
disp(I_D,"The value of I_D in mA is");
|
dccd200536fb26862c8778c6d4cae9b17093853c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH1/EX1.9/ex_1_9.sce | 844ee3fb4e623526c50284928f6ad3f558dcc332 | [] | 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 | 489 | sce | ex_1_9.sce | //Ex 1.9
clc;
clear;
close;
format('v',5);
Beta=100;//unitless
VBE=0.715;//V
R=5.6;//kohm
RC=1;//kohm
VCC=10;//V
VCB1=0;//V(Q1 will act as diode)
IREF=(VCC-VBE)/R;//mA
//KCL at node x : IREF=IC1+2*IB;
//KCL at node y : I1=IC2+IB3;//as Beta>>1
IREF=(VCC-VBE)/R;//mA
//as IREF=2*IC1/Beta+IC1
IC1=IREF/(1+2/... |
99316d297f3a79f3002d52bd82e7dfaf57938721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.28/example2_28.sce | dc4724f58e130a29671a8f208521f6d20740f35f | [] | 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 | 582 | sce | example2_28.sce | // Maximum forward current,forward resistance
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-28 in page 104
clear; clc; close;
// Given data
P_max=2.5; // Maximum power in watt
V_f=0.9; // Forward voltage in V
I_max=2.2; // Maximum current ... |
5003c7c5508cb5abca7a7a9c5132a0370fade9c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH13/EX13.2/Ch13Ex2.sci | 16929120ef168fe31558121506b83bdf5892bb1e | [] | 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 | 789 | sci | Ch13Ex2.sci | // Scilab Code Ex13.2: Parallel plate capacitor: Page-287 (2010)
epsilon_0 = 8.854e-012; // Absolute electrical permittivity of free space, farad per metre
A = 100e-004; // Area of a plate of parallel plate capacitor, metre square
d = 1e-002; // Distance between the plates of the capacitor, m
V = 100; /... |
b112be6e6f89eaf0a2582f7f192cb2d0dea8366c | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/Calibration_Equity/src/Calib_Mc/loader.sce | 4186e243f772ebcee34de5e9f9c9fc9e10fbbb11 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | loader.sce | // generated by builder.sce: Please do not edit this file
// ------------------------------------------------------
libcalib_path=get_file_path('loader.sce');
functions=[ 'calib';
];
addinter(libcalib_path+'/libcalib.so','libcalib',functions);
|
a097f794577cb07e1a26fc1a3756baac28d68c82 | c7c0836420b1440812466e25f2fb15dc41ae6e3c | /macros/SOCKET_write.sci | 285e43a4da6bc6895bae8eedbf25a618e826e7a6 | [] | no_license | sengupta/scilab-socket | b13ba613a88e334ec1e2a35fed320d8908de1399 | 3da2794dc38caa2593928cac0a734ad3ea9f3b19 | refs/heads/master | 2016-09-03T06:54:50.197439 | 2012-04-03T11:25:22 | 2012-04-03T11:25:22 | 3,917,275 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sci | SOCKET_write.sci | // path=SCI+"/contrib/SOCKET/help/";
// txt = help_skeleton("SOCKET_write",path)
function SOCKET_write(id,commande)
TCL_EvalStr([ "puts $tclsocket"+string(id)+" """+commande+ascii(10)+"""";
"flush $tclsocket"+string(id)]);
endfunction |
9f7e84d1298db1bf6623e543a75bf3935c429b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH4/EX4.12/12.sce | 2822b4134d8129b639c08022bd636ad287b8bd92 | [] | 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 | 486 | sce | 12.sce |
//Variable declaration
n=1;
e=1.6*10**-19;
m=9.11*10**-31; //mass(kg)
h=6.63*10**-34; //planck's constant
L=1*10**-10; //width(m)
//Calculation
E1=n**2*h**2/(8*m*e*L**2); //energy value in g state(eV)
E3=3**2*E1; //energy value in 2nd quantum state(eV)
E=E3-E1; //energy requir... |
0fce9d4c0f97b9825c29931af6f7c6806a0795e3 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/man-ethanol.tst | b14a77a24f90756162498311b1e5aa2ab5cd3d57 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,050 | tst | man-ethanol.tst | #ethanol distillation
$thermo = VirtualMaterials.PSRK
/ -> $thermo
thermo + Ethanol Water
units SI
Feed = Stream.Stream_Material()
Feed.In.MoleFlow = 34.43
Feed.In.Fraction = 0.3 0.7
Feed.In.VapFrac = 0.0
Feed.In.P = 101.325
Feed.In
Steam = Stream.Stream_Material()
Steam.In.P = 24.7 psia
Steam.In.Fraction = 0 1
Stea... |
df34d23364f8d9e643428989ba65ecad3cb2e355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH3/EX3.4/ex_3_4.sce | c66ba9c3bbafc6efff38490d6f39460422f5d81f | [] | 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 | ex_3_4.sce | //Ex 3.4
clc;
clear;
close;
format('v',5);
SR=0.5;//V/micro second
Vm=10;//V
f=100;//kHz
fm=(SR/10^-6)/(2*%pi*Vm);//Hz
disp(fm/1000,"Maximum frequency, fm is(kHz)");
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.