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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2d74d85750a1bea25f8bbd1b3d55f1dfa6872be8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH8/EX8.12/Example8_12.sce | 6efcd28af3fee926bd45ce20aa2ea934dc2e708b | [] | 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,531 | sce | Example8_12.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 8: AC DYNAMO TORQUE RELATIONS - SYNCHRONOUS MOTORS
// Example 8-12
clear; clc; close; // Clear the work space and console.
// Given data
S_conjugate = 1000 ; // Apparent complex power in kVA
cos_... |
b063d1393f23ff8045656a45484dc5f300b52c26 | 6412ba72364e265462a61bc21fc1f4de94925f95 | /Newton.sci | 9d43e0708cf78938f6ef6c165f34c8053a45d7b2 | [] | no_license | shresthak98/Hydrozoan_Algorithm | 71d66d3a2b8b245eec0eddb3b396b842d4d98197 | dd250e38168c7ff928c9295ceb375c84b039ed61 | refs/heads/master | 2021-08-23T02:44:19.714683 | 2017-12-02T16:50:21 | 2017-12-02T16:50:21 | 112,859,225 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sci | Newton.sci | function f=func(x)
f=100*(x(2)-x(1)^2)^2+(1-x(1))^2
endfunction
function g=grad(x)
g=[-400*x(1)*(x(2)-x(1)^2)-2*(1-x(1));200*(x(2)-x(1)^2)]
endfunction
function h=hes(x)
h=[-400*(x(2)-3*x(1)^2)+2,-400*x(1);-400*x(1),200]
endfunction
function n=newf(x, aplha)
x=x-alpha*(inv(hes(x))*grad(x))'
n=fun... |
bec1fa1e6c79da070a4da0bbac6fb5b2bcb27404 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH11/EX11.4/Ex11_4.sce | f594688cac621aea5f03915dbafc8d3f6859d45c | [] | 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 | 694 | sce | Ex11_4.sce | //===========================================================================
//chapter 11 example 4
clc;
clear all;
//variable declaration
R1 = 0.1; //standard resistance in Ω
V2 = 0.613; //voltage drop across standard resistance in V
a = 100;
r = 0.781; //volt ration b... |
08ffcaf51ffe078bef0f59941207fcf54f72a7b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH7/EX7.6/ex_7_6.sce | 86cc902cd919d590f67019ee5bb803a506863c79 | [] | 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 | 497 | sce | ex_7_6.sce | //Example 7.6: The reduction and Differential quantum efficiency
clc;
clear;
close;
//given data :
format('v',5)
disp("part (a)")
alfa_eff=1.5;// in mm^-1
gama=0.8;
L=0.5;// in mm
R1=0.35;
R2=R1;
R2a=1.0;
g_th1=(1/gama)*(alfa_eff+(1/(2*L))*log(1/(R1*R2)));
g_th2=(1/gama)*(alfa_eff+(1/(2*L))*log(1/(R1*R2a)));
del_gth=g_... |
ded2e7571255da9bb49a513203aa19b7e894c8f6 | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial02-Plots/Scilab_code/Tutorial2_plot_save_func.sce | c6a2883605864afdaecadeddb5a705c6df27a9ed | [] | 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 | 678 | sce | Tutorial2_plot_save_func.sce | //This script demonstrate exporting plots to svg/pdf files
clear
clc
exec change_plot_attribs.sci;
//Import data from file
Data = csvRead('../Data/Tut2_data1.csv');
//Segregate the data into variables
t = Data(:,1);
x = Data(:,2)
//Ploting the figure. Name of the figure is fig1;
//Use the field Linewidth to specif... |
e9dd219fc891a9d9821aab61a9bf5fde2e697082 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.5/ex5_5.sce | bda65c8001dcfe5aa6f9eb012a9a834c7b0bf71c | [] | 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 | ex5_5.sce | // Exa 5.5
clc;
clear;
close;
format('v',6)
// Given data
V_L = 400;// in V
f = 50;// in Hz
I_L = 17.32;// in A
pf = 0.8;//in lag
I_Ph = I_L/sqrt(3);// in A
disp(I_Ph,"The phase current in A is");
V_Ph = V_L;// in V
Z_Ph = V_Ph/I_Ph;// in ohm
phi = acosd(pf)// in lag
R_Ph = Z_Ph*cosd(phi);// in ohm
disp... |
8cd16d78837ea416f232da79f756f1d6609f4794 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH20/EX20.12/Ex20_12.sce | c811e2494cd2a02c329a610142f8541dfca2bbeb | [] | 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 | 916 | sce | Ex20_12.sce | clc
// Given that
p1 = 0.95 // Pressure in bar
t1 = 25 // Temperature in degree centigrade
p2 = 2 // Delivery pressure in bar
r = 18 // Air fuel ratio
t3 = 600 // Temperature of gasses leaving the engine in degree centigrade
p3 = 1.8 // Pressure of gasses leaving the engine in bar
p4 = 1.04 // Pressure at the i... |
c48dd3f2a7a10e3c796459ce8bbba929cd8e4240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH4/EX4.6/4_6.sce | 0510aabd94181a1dfd4529fd5e17b80f3ba9e4fc | [] | 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 | 193 | sce | 4_6.sce | //To evaluate the fermi function
//Fermi function F(E) = 1/(1+exp((E-Ef)/(kT)))
//given E-Ef = kT. therefore F(E) = 1/(1+exp(1))
F_E = 1/(1+exp(1));
printf("fermi function is %5.3f",F_E);
|
5a494de9f4e71c8819a8736ffe0b5d7297403c68 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/xdess/drawmbar.sci | 1d61dc6488aa1e1a59fedd34398023300838a26b | [
"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 | 3,332 | sci | drawmbar.sci | function datas=drawmbar(menus,flag,shift)
// drawmbar - dessine une barre de menu dans une fenetre graphique
//%Syntaxe
// datas=drawmbar(menus [,flag])
//%Parametres
// menus : vecteur contenant le texte associe a chacun des boutons
// flag : definit le positionnement de la barre de menus:
// 'h' : horizon... |
faab45eb0f4bce0d3d80ad373a287bc110bfd226 | 717ddeb7e700373742c617a95e25a2376565112c | /1379/CH5/EX5.1.10/example5_10.sce | 020a780f5f39c4bfcc0caf53a4af5baf344decfa | [] | 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 | 493 | sce | example5_10.sce |
//exapple 5.10
clc; funcprot(0);
// Initialization of Variable
pi=3.14;
n=0.022;
B=5.75;
s=0.15*pi/180;
Q=16.8;
function[y]=normal(x)
y=Q-B*x/n*(B*x/(B+2*x))^(2/3)*s^0.5;
endfunction
x=fsolve(1.33,normal);
disp(x,"Normal depth in (m):");
Dc=(Q^2/g/B^2)^(1/3);
disp(Dc,"Critical depth in (m):");
d... |
7e39bd277232aefa33b6e409b284dc040015d90f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH4/EX4.3/ex4_3.sce | d2ae52ca059995d3a030827f09fb7a57b558eaed | [] | 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 | ex4_3.sce | clc;clear;
//Example 4.3
//given data
d=2.163;//density in gm/cm^3
M=58.45;
Na=6.02*10^23;//Avgraodo no. in 1/gm mole
//calcualtions
n=Na/M;//no. of molecules/gram
n=n*d;//no. of molecules/cm^3
n=2*n;//no. of atom/cm^3;
n=n^(1/3);//no. of atoms in a row 1cm long
d1=1/n;
disp((d1*10^8),'Spacing in angst... |
be7c7a334b0fc7dbf4301e9147f6d3ce17de18c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH12/EX12.11/Chapter12_Example11.sce | 8ecdff01b84ec85ef6313a7d099cd721f91de41a | [] | 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,918 | sce | Chapter12_Example11.sce | //Chapter-12, Example 12.11, Page 518
//=============================================================================
clc
clear
//INPUT DATA
mc=4;//Mass flow rate of cold water in kg/s
Tci=38;//Inlet Temperature of cold water in degree C
Tco=55;//Outlet Temperature of cold water in degree C
D=0.02;//Diameter ... |
a33ff6fdfac92507907103c5fb3061ed052274ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH4/EX4.3/Ex4_3.sce | 7a75d8ab12f1cc3df07509b2015eead07a53c5a0 | [] | 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 | 702 | sce | Ex4_3.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex4_3
clc;
clear;
P=10000;
V=240;// voltage in V
N=1000;//Speed in rpm
Eff1=0.87;//Efficiency in %
Vs=250;// voltage in V
f=50;//frequency in Hz
Alpha=0.5;//angle
R=0.40;// Resistance in ohm
Fdf... |
c2d8d75a2594c5fe985aacbeb494deb21f11aa50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH11/EX11.7/11_7.sce | 9892f1e1c0558ae640ae4253bf5136c3f52c1c63 | [] | 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 | 274 | sce | 11_7.sce | clc
//initialisation of variables
h= 85 //W/m^2 C
s= 0.15 //m
K= 225 //W/m C
t= 510 //C
t1= 1200 //C
t0= 16 //C
a= 0.34
//CALCULATIONS
Bi= h*s/K
T= K*s*log((t0-t1)/(t-t1))/(h*a)
//RESULTS
printf ('Time needed for the casting to be heated to 510 C= %.2f hr',T)
|
5673232d043a72549b39bff28b90b32fa606e28c | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /flick moving bots.sce | 8b8897261c8d8a94381f20359438d849101ef3ad | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44,927 | sce | flick moving bots.sce | Name=flick moving bots
PlayerCharacters=4 player
BotCharacters=4 bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=4 player
AddedBots=4 bot.bot;4 bot.bot;4 bot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=0;0;0
MapName=csbotz_trainer_ver2.map
MapScale=3.8125
BlockProjectilePredictors=false
BlockChea... |
dbf212966d6618f8e72076d1d3deb8e9a656c82f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH1/EX1.1/Exa1_1.sce | c3a86ca3aa38628d066098b6f0caecf6aebc4260 | [] | 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 | Exa1_1.sce | //Exa 1.1
clc;
clear;
close;
//Given data :
//epsilon=2*epsilon_o;
//mu=2*mu_o;
disp("v=1/sqrt(mu*epsilon)");
disp("Putting value of mu and epsilon");
disp("v=1/sqrt(2*mu_o*2*epsilon_o)");
disp("v=1/(2*sqrt(mu_o*epsilon_o))");
disp("v=c/2");
c=3*10^8;//speed of light in m/s
v=c/2;//in m/s
disp(v,"Velocit... |
0aa2b4253f59dc3dc3ee82bd42207d5697056873 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH9/EX9.12/Ex9_12.sce | 7c22ca353d1f99c42340c3f169e354efd5492f4c | [] | 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,549 | sce | Ex9_12.sce | // Given:-
Ta = 240.00 // in kelvin
pa = 0.8 // in bar
Va = 278.00 // in m/s
PR = 8.00 ... |
9f4cac4646dd2acb13c5a8bb5d876890a61ce61f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH3/EX3.3/Ex3_3.sce | 068b1a030974ea3d346b217305b157bda6907c96 | [] | 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 | Ex3_3.sce | // Exa 3.3
clc;
clear;
// Given data
// A non-inverting amplifier
G=100;// Gain of amplifier at 25 degree celsius
T1 = 25; // degree celsius
T2 = 50; // degree celsius
VoT=0.15; // Offset voltage drift in mV/degreecelsius
// Solution
printf(' Input offset voltage due to temperature rise = ');
Vos=V... |
469525781be33b0058154c4602bc567718952aed | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH2/EX2.1.6/U2_C1_6.sce | c7034715cf73f7101c66ffc5ad192d09d15963fc | [] | 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,190 | sce | U2_C1_6.sce | //variable initialization
lembda1=4000 //wavelength of light (Å)
V1=2 //stopping potential (volt)
lembda2=6000 ... |
d0e91f1d55acaa8a811c30b16595ed7ed7ec428f | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH14/EX14.8/example14_8.sce | 68347dda7cfe1245ef7f95c0677d24fb76bc4da9 | [] | 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 | 93 | sce | example14_8.sce | f=60;
p=30/2;
vel=f*60/p;
disp("the speed (in r.p.m.) of the rotor should be"); disp(vel); |
bc607a78af6916b1c80bfce6be51e23d13c1b690 | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/execution/test_builtins.tst | 87a02a53333526a2bd5c6eb38e4885b27f94c24b | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | tst | test_builtins.tst |
class MaClasse
public MaClasse() {}
public void main()
{
VAR string s1, ret;
VAR integer n, f;
prints("Entrez une chaine :\n");
s1 := getchar();
prints("Entrez une position de depart :\n");
f := getint();
prints("Entrez une longueur :\n");
n := getint();
ret := substring(s1, f, n);
prints(... |
bd9bd7dbe415e65678fe5c677a7ee91917145e3e | 1485852dd59aafc286600126cf832a32e10f117f | /tests/stylization/test_default_values1.sce~ | 4b922ba9cf9204221e9a2507be9eedbfdcd3f582 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 127 | test_default_values1.sce~ | src = imread("../images/cow2.jpg");
output = stylization(src); //using default values for optional parameters
imshow(output);
| |
617b8dd939ceb93a1df02c107b72e9a59847304a | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/inherit_missing_runme.sci | d68ab7e1fbe8fc0fad060c390d89986bbd646802 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 305 | sci | inherit_missing_runme.sci | exec("swigtest.start", -1);
a = new_Foo();
b = new_Bar();
c = new_Spam();
checkequal(do_blah(a), "Foo::blah", "do_blah(a)");
checkequal(do_blah(b), "Bar::blah", "do_blah(b)");
checkequal(do_blah(c), "Spam::blah", "do_blah(c)");
delete_Foo(a);
delete_Bar(b);
delete_Spam(c);
exec("swigtest.quit", -1);
|
b877e70d325c641557b584b8c197d267f1a61ad1 | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/animateplot.sci | 9516b8ecaf84f9e758bd7909f95d6681d8e70349 | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sci | animateplot.sci | function []=animateplot(t,x,y,plotstring)
// needed to size window
largest_y=max(y);
smallest_y=min(y);
largest_x=max(x);
smallest_x=min(x);
xselect(); // create graph window
f=get("current_figure");
f.pixmap="on"; // buffer for animation
plot2d(0,0,rect=[smallest_x,smallest_y,lar... |
f26708e930135a01f4dca9419e927eb7b8af0964 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.11/16_11.sce | 9bb45b7a470492f9b5d1d7c3b512f7935dfffcf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | 16_11.sce | //pathname=get_absolute_file_path('16.11.sce')
//filename=pathname+filesep()+'16.11-data.sci'
//exec(filename)
//Bore(in m):
D=0.10
//Stroke(in m):
L=0.08
//Speed(in rpm):
N=500
//Acceleration due to gravity(in m/s^2):
g=9.81
//Atmospheric temperature(in K):
T=27+273
//Radius of arm of spring balance(in m)... |
9def3bfa887e5900278130fb17fe28f94a443e66 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/dbaccess/qa/unoapi/dbaccess.sce | 8ad123ad7938ed1b3af39760be654f1fd42480bf | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | Scilab | false | false | 1,464 | sce | dbaccess.sce | # *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... |
9cbae8869910e7b912c148e1cf0ccae0b1667295 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH10/EX10.2/102.sce | aae10da1c3f2b7b406f35de4482dadf82452cb6e | [] | 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 | 339 | sce | 102.sce | //problem 10.2
Hs=2
Hd=20
Hfs=1
Hfd=5
Q=1/60
N=1450/60
ds=0.1
dd=ds
n=0.75
g=9.81
w=9810
a=3.142*ds*ds/4
Vs=Q/a
Vd=Vs
Ht=Hs+Hd+Hfs+Hfd+(Vs*Vs/(2*g))+(Vd*Vd/(2*g))
Pi=(w*Q*Ht)/(n*1000)
Ns=((N*(Q^0.5))/(Ht^0.75))*60
disp(Ns,Pi,Ht,"total head developed by the pump,power input to the pump,specific speed o... |
f91aebb6a1de487b43f6a524f58867e2c3456bff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH10/EX10.11/Ex10_11.sce | ff9e8f05284afd8527dbaa4694ac889fa19c75e0 | [] | 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,133 | sce | Ex10_11.sce |
// Theory and Problems of Thermodynamics
// Chapter 10
// Chemical Thermodynamics
// Example 11
clear ;clc;
//Given data
// CO2(g) + H2O(g) => CO2(g) + H2(g)
T = 298 // intial temperature in K
T2 = 1000 // final temperature in K
del_H_1 = -110.53 // heat of formation of... |
90cdd948969678eed50fbfdb09133d27a18f2438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH1/EX1.3/13.sci | 10f89d78b1b009ee619bc5c03a3d6c48f14c9475 | [] | 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 | 516 | sci | 13.sci | //Chapter 1 Example3//
clc;
clear;
//refractive index of W step index fibre=n1,refractive index difference between core and cladding=d,numerical aperture=NA//
d=0.02;
n1=1.46;
n2=n1-(n1*d);
v=n1+n2;
b=n1-n2;
NA=sqrt(v*b);
printf("\n a) numerical aperture=%f,n\",NA);
//solid acceptance angle in air=as,critica... |
26cb021c218e531dba804c3614cfbbf45b72b93f | a8447bb190e75c3452a418bcdffbb356b7f3ec43 | /LTP RAP 3.0napls/r2hvA.sce | 13a364b6ba9c20bcaee945f3b4af283a2bd5cc85 | [] | no_license | br-bieegl/napls3-erpTasks | d7014b2716bced6d1b70af760b8f0508f02724be | 5d3297776af95b2ba8981fe5ebbb8672831061a0 | refs/heads/master | 2021-01-22T09:58:19.920934 | 2015-02-18T21:10:10 | 2015-02-18T21:10:10 | 25,929,348 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,851 | sce | r2hvA.sce | #######################################################################
########### SCENARIO HEADER ###########
#######################################################################
#*The scenario header defines all the parameters needed for the scenario
#and resets any of the default ... |
27c090e5cb645c6c5dff1578f9a880413ba4579e | 5d079b5e33f7565df988283b8566430d84135c9d | /euler.sce | ac60367baa958241042fbf5d2bf8d75bfdd625ca | [] | no_license | Torradera/MEC1804 | ee158d5c1afa0bb8f9156ea650beb16bbbad8b87 | e5e0d93f27ddb1b38bf182af0af6649fdab3a860 | refs/heads/master | 2021-03-09T18:10:47.009137 | 2020-03-11T22:47:41 | 2020-03-11T22:47:41 | 246,365,858 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | euler.sce | function u = f(t)
y = exp(-t)
endfunction
function y_ponto = g(t,y)
y_ponto = -exp(t)
endfunction
function [t,y] = euler(a,b,h,y0)
t = a:h:b
n = length(t);
y(1) = y0
for i = 1:n-1
y(i+1) = y(i) + g(t(i),y(i))*h;
end
endfunction
[t,ye] = euler[0,2.5,0.5,1]
plot(t', ye, 'o')
a = -... |
99e1ea8ad6f774aa638c8049db3f4a5015ac2cf9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ppol.man.tst | a485573976da025ea1b9ad4b07172c977df5a6ce | [
"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 | 77 | tst | ppol.man.tst | clear;lines(0);
A=rand(3,3);B=rand(3,2);
F=ppol(A,B,[-1,-2,-3]);
spec(A-B*F)
|
dcde3712b5d22ef09fbd4053a6519a0342320310 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.9/Ex12_9.sce | 1bf734121e1809a478284f59c93f0edeecdf7098 | [] | 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 | Ex12_9.sce | //Variable Declaration
FSL=206 //Free space loss(dB)
APL=1 //Antenna Pointing loss(dB)
AAL=2 //Atmospheric Absorption loss(dB)
RFL=1 //Receiver feeder loss(dB)
EIRP=48 //Equivalent isotropically radiated power(dBW)
f=12 //Frequency(GHz)
GTR=19.5 //G/T ratio(dB/K)
k=-228.60 //Value of k(dB... |
166327a0dd05b2003a1bf40e4116e5faa2e4a00d | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH23/EX23.5/ex23_5.sce | 4f2dbe6dacc49a87b5caaf56a54be4b77e8a8e24 | [] | 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 | 239 | sce | ex23_5.sce | clc;clear;
//Example 23.5
//calculation of ionic polarizability
//given values
n=1.5;//refractive index
er=6.75;//relative permittivity
//calculation
Pi=(er-n^2)*100/(er-1);
disp(Pi,'percentage ionic polarizability (in %)) is') |
e969ea0697478710223f9d48f3a8fc2e4cddd7a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH10/EX10.30/Example10_30.sce | fccdbc9604efcccc4a1d0384c1ff468ecef895be | [] | 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 | 437 | sce | Example10_30.sce | //Chapter-10,Example10_30,pg10_70
Tsh=162.84
P=6
f=50
Tlost=20.36
fr=1.5
s=fr/f
Ns=120*f/P
N=Ns*(1-s)
Po=Tsh*(2*%pi*N)/60
Fl=Tlost*(2*%pi*N)/60
Pm=Po+Fl
Pc=Pm*s/(1-s)
P2=Pc/s
Sl=830
Pi=P2+Sl
n=Po*100/Pi
printf("motor output\n")
printf("Po=%.4f W\n",Po)
printf("copper loss in rotor\n")
printf("Pc=%.3... |
534ee3a6eb73d2ff993ecab569cc6a1c84a86687 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH17/EX17.4/Ex17_4.sce | 8d807f0d84294b78b7c2df5132ef965a4f428669 | [] | 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 | 797 | sce | Ex17_4.sce | // Ex17_4 Page:327 (2014)
clc;clear;
m_n = 1.008665; // Mass of a neutron, amu
m_p = 1.007825; // Mass of a proton, amu
A = 12; // Mass number of carbon, amu
Z = 6; // Atomic number of carbon, amu
N = A - Z; // Neutron number of carbon, amu
M_C12 = 12.0; // Mass of C-12 atom, amu
M = Z*m_p + N... |
6df24742684818f8ea003f6920857e51c541b0e8 | 7d7b037ebe8eb590599a15a0fa24555a4b92ab31 | /ChoixPivot.sci | 33549575cadfbf53d129a316d3c6cb7c2671410f | [] | no_license | RoiArthurB/L3-MathsAvancees-Scilab_linsolve | 8a98a6e72a272e22cb653df135bbfe703e1cd2ef | 8bbee6eb152690a98e7d75da1d68a404c921b53c | refs/heads/master | 2021-06-04T07:14:51.212459 | 2016-10-08T18:11:10 | 2016-10-08T18:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sci | ChoixPivot.sci | function result = ChoixPivot(A, col)
//Boolean pour savoir si un résultat a été trouvé ou non
fini = %f;
for i=col:size(A, "r")
if (A(i,col) <> 0) then
//Retourne le premier résultat trouvé non nul
result = A(i,col);
fini = %t;
break; //Fin de la fonc... |
89363f43cdd745a169cd37ad499676b719fff3b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH8/EX8.1/Ex8_1.sce | 05b7ce0fcdf827cdbdb942880ec88a34b90a0e9b | [] | 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,089 | sce | Ex8_1.sce | clc;
//page 436
//problem 8.1
//Given frequency range fc= 1MHz to fc = 1.0005Mhz
//Single side message bandwidth is fM
fM= (1.0005 - 1)*10^6;
disp('Message bandwidth is '+string(fM)+' Hz');
//The textbook contains a calculation error here. The calculated fM in the textbook is 500kHz instead of 5kHz, following ... |
0119a96033c49728f39021cdf7fd7b54cfde3a4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH7/EX7.22.1/Ex7_22.sce | 1c8cca1104a72295d161411c49ba2e9abf981bfa | [] | 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 | 506 | sce | Ex7_22.sce | clc
clear
T=640;
D=0.21;
N=350;
L=0.28;
Pm=5.6;
Mf=8.16;
CV=42705;
BP=[2*(22/7)*N*T]/60000;
printf('Brake Power= %3.2f kW',BP/1000);
printf('\n');
A=(22/7)*(1/4)*D*D;
IP=(Pm*100*A*L*N)/60;
Em=BP/IP;
printf('Em= %3.2f Percent',Em*100);
printf('\n');
Eith=(IP*3600)/(Mf*CV);
printf('Eith= %3.2f... |
ad2fda524032d77b096ca8f3429b5d578de1b166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH8/EX8.1/8_1.sce | fabe90c7ad95effa006ee822753c270d91a373bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | 8_1.sce | //To Determine the Capacitor Size to improve the power factor to a 700kVA Load
//Page 390
clc;
clear;
SL=700; //Load in kVA
pf1=65/100; //Power Factor
PL=SL*pf1; //Real Power
//From the Table of Power Factor Correction
CR=0.74; //Co-relation factor
CS=PL*CR; //Capacitor Size
CSr=360; //Next Higher Standar... |
2521c0ffda9862be1a3f71c9828f0df0120d13b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH20/EX20.9/20_9.sce | 3c066f7fbc8e251d491fee13fd001bb99c7c2eaa | [] | 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 | 726 | sce | 20_9.sce | clear;
clc;
Oat1=0.1;
Oacb=0.15;
Oafd=1.2;
Oat2=0.3;
Obt1=0.1;
Obcb=0.15;
Obfd=5.2;
Obt2=0.3;
Oct1=0.5;
Occb=0.4;
Ocfd=2;
Oct2=0.6;
Rat1=6;
Racb=4;
Rafd=5;
Rat2=5;
Rct1=8;
Rccb=5;
Rcfd=3;
Rct2=4;
N=120;
S=3;
Of=((N/(N+S))*Oafd)+((S/(N+S))*Obfd);
Oafe=Oat1+Oacb+Of+Oat2;
Ocfe=Oct1+... |
54174180606f34101b66c92c76ccea4fa4beb27c | 6114e39b1c4fd47fb447e37329db2aaf6e1c29b0 | /Data_collection/Feature_content_of_SDTM.tst | 683b0d18c410a21de7fdb907bccc522130ee7ee3 | [] | no_license | 2019work/Supplementary_material | 6f6ae8c3f10aa7a3ba33b314729fff7e6a8366b3 | 65f0918517cd4d913fe8830e44938ab4650c79a1 | refs/heads/master | 2020-06-11T21:16:46.118097 | 2019-08-08T07:22:05 | 2019-08-08T07:22:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | Feature_content_of_SDTM.tst | id = project id
star = star number of the project
watcher = watcher number of the project
committer = committer number of the project
community = all community member number of the project
result = whether the project is a public development project
have_language = whether the project contains language description in G... |
a7369b90c9cc93bbafe162c907fc91814c804146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH11/EX11.27/ex11_27.sce | d2269ae4f916a590c43a2ee17db07e7af51db884 | [] | 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 | 610 | sce | ex11_27.sce | //Two-Port Networks : example 11.27 :(pg11.58)
printf("\nApplying KCL to Node 1 \nI1 = 4V1 - 3V2- - -(i)");
printf("\nApplying KCL to Node 2 \nI2 = -3V1 + 1.5V2 - - - -(ii)");
//observing (i) & (ii)
printf("\nY-parameters:");
a=4;b=(-3);c=(-3);d=1.5;
disp([a b;c d]);
dY=((a*d)-(b*c));
Z11=(d/dY);
Z12=(-b/dY);
... |
410fa3da25f13930c60ef4eff8b15e0ce2b49475 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH12/EX12.11/12_11_Solar_Collector.sce | 645ac0b7b4d3de5ac7a0ebbec3c4fa6071b6199c | [] | 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,248 | sce | 12_11_Solar_Collector.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 12.11 Page 774 \n')// Example 12.11
// Useful heat removal rate per unit area
// Efficiency of the collector
Ts = 120+273; //[K] temperature of surface
Gs = 750; //[W/m^2] Solar i... |
c812da9e93ebbbc089d8b1b808ff056cdf7c47a4 | 297b29fb450286d0f7fa619e58c9f4a86949544a | /AGC.sci | c264f8b42705a15a7a67a3c4cc2e657d29671c1d | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,574 | sci | AGC.sci | function [y] = AGC(x,K,A,N,maxpow)
y=zeros(size(x,1),size(x,2));
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//AGC- Adaptively adjust gain for constant signal-level output
//[y] = AGC(x,K,A,N,maxpow) outputs the constant power level signal... |
ffe7b18114b8ed48bfe7f02ab904a3c7f9fb6b91 | e806e966b06a53388fb300d89534354b222c2cad | /macros/detectHarrisFeatures.sci | f4792f7586864ad94fa286ba836e514da9f998bf | [] | 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 | 2,221 | sci | detectHarrisFeatures.sci | function [cornerPoints]=detectHarrisFeatures(image,varargin)
// This function is used to find corner points in an image using Harris algorithm.
//
// Calling Sequence
// points = detectHarrisFeatures(I);
// points = detectHarrisFeatures(I, Name, Value, ...);
//
// Parameters
// points: Structure of corner points
// I: ... |
8a56ab34ba48dc9d2a9ea12ad2f078cb643f15bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH4/EX4.8/ex4_8.sce | f64e8261a74e37bcaa4b2e5aabb7cb9315694df4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | ex4_8.sce | clc;
D=10; //Bore in cm
L=12.5; //Stroke length in cm
a=9.68; // Area of indicator card in cm^2
l=5.33; // Card length in cm
Ks=21.7; // Indicator spring constant per meter of card length
A=(%pi*(D*10^-2)^2)/4; // Area of pisaton
Pm=(a/l)*10^-2*Ks*10^6; // Mean effective pressure
W=Pm*A*L*10^-2; // Work done by... |
34880d284bee358a46c324d23bb1569267106512 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH2/EX2.38/ex_2_38.sce | 2bc90e40c4e2c760d4ae2a661e3d2b028cd9e38b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | ex_2_38.sce | clear;
clc;
n=-5:5;
alpha=.6;
for i=1:length(n)
if(n(i)>=0)
h(i)=alpha^n(i);
else
h(i)=0;
end
end
causal=%t;
for i=1:length(n)
if n(i)<0 & h(i)~=0 then
causal=%f;
end
end
disp(causal,"the statement that the system is causal is");
n=0:100000;
for i=1:length... |
ff8c37cc56085613a82955ab782c9be5fd986f4f | d03450e9645c09cb7389514ec5d4d8d9c06bdf4d | /Face Identification/myfunc.sce | 4912e1cc1ac360fc5897b2cf9f26afb031d5515a | [] | no_license | amiedemmel/Optimization-Projects | 29f3d11950c19f89aa2295d316888e4c6fa36ab4 | bc574f4311d6fc1534e7c4892dbadb52f5e4213f | refs/heads/master | 2021-01-01T05:47:41.682448 | 2015-05-08T15:56:59 | 2015-05-08T15:56:59 | 35,288,132 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | myfunc.sce | function [f,g] = myfunc(w,x,y)
lambda=.01;
n=size(x);
n=n(2);
f=lambda/2*w'*w;
g=lambda*w;
for i=1:n
f=f+log(1+exp(-y(i)*w'*x(:,i)));
g=g+1/(1+exp(-y(i)*w'*x(:,i)))*(-y(i)*x(:,i))*exp(-y(i)*w'*x(:,i));
end
endfunction
|
2b5d3524e40157656389f12e77be15b866f214d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH6/EX6.34/EX6_34.sce | 5c85705616a1ceec3ac3d9b466274b25240f0eec | [] | 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 | 857 | sce | EX6_34.sce | // Example 8.34
// Calculation of signal to noise ratio.
// Page no 491
clc;
clear;
close;
//Given data
h=6.62*10^-34; // Planck constant
c=5*10^-12; // capacitor
lambda=1.55*10^-6; // Wavelength
B=50*10^6; // Speed ... |
1da2c251657fc65d820caa542122994ed5de421c | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/10_06.sci | 9d36e828b44c8d8e666c0a0c3d0bbdd4013638f2 | [] | 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 | 173 | sci | 10_06.sci | //Head in Us customary units:
Hus=21.9;
//Volume flow rate in US customary units:
Qus=300;
//Working seed in rpm:
N=1170;
//Aceleration due to graviy in m/s^2
g=9.81; |
0d9adc2b90cb6c4c6e8f9fa3b5d7a5fdfcd52577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH7/EX7.11/ex7_11.sce | 6d0db776a5a2bffea3ce00c3d77ebc8c6b077c23 | [] | 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 | 141 | sce | ex7_11.sce | //chapter 7
printf("\n");
D=1500;
h=250;
fmuf=37.95*10^6;
fcr=fmuf/sqrt(1+(D/(2*h))^2);
printf("the critical frequency is %eHz",fcr);
|
b3db95bf23d5cbd72bf24bbe7140d04d5aa39cd7 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH21/EX14.21.2/Ex14_21_2.sce | 0c4b8295062135eda6c7655e7d6d0f0b09a60208 | [] | 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 | 300 | sce | Ex14_21_2.sce | //Section-14,Example-2,Page no.-PC.8
//To calculate the number of gas molecules left.
clc;
//PV=nRT
P=(10^-5*(1/760))
V=(10^-3*(1/1000))
R=0.0821
T=298
n=((P*V)/(R*T))
N_a=6.023*10^23 //1 mole gas=6.023*10^23 molecules
N=n*N_a
disp(N,'No. of gas molecules left')
|
a105faeb19f4564644921cabd162158d84644982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH15/EX15.5/Ch015Ex5.sce | 1b09e99a5b2b1b21c27a00818f09f1dab132d960 | [] | 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,700 | sce | Ch015Ex5.sce | // Scilab code Ex15.5 :Pg:772(2011)
clc;clear;
function hex = binary_hex(n) // Function to convert decimal to hexadecimal
hex = emptystr();
while (n <>0)
rem = n-fix(n./10000).*10000; // Division Algorithm
if rem == 0 then
hex = hex+'0';
elseif rem == 1 then
... |
76eb009f214a731a32c5eb3dced3baf4af43f999 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH19/EX19.3/Chapter19_example3.sce | 11229237848d66bd8039da98238e0f7bb19cf583 | [] | 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 | 720 | sce | Chapter19_example3.sce | clc
clear
//Input data
d=11.25//Bore in cm
l=15//Stroke in cm
r=7//Compression ratio
N=1800//Speed in r.p.m
a=4.5//Air supply in kg/min
Ta=72+273//Temperature of air in K
af=14.3//Air fuel ratio
ep=1//Exhaust pressure in kg/cm^2
R=29.27//Characteristic gas constant in kg.m/kg.degree C
//Calculations
Vc=(... |
5948d0c17232a7dd2b6f4b0e28d27de1f64e4a28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH20/EX20.6/Example20_6.sce | eb425a338e03518b5a7db535cfab2d8c63877315 | [] | 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,293 | sce | Example20_6.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 13: WAVE PROPAGATION ON TRANSMISSION LINES
// EXAMPLE : 13.6 :
// Page number 367
clear ; clc ; close ; // Clear the wor... |
a78457a49d82300028960a22dccd39277eaf8bc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.29/10Ex29.sce | 5d7b8856487aed28f8dcb9aa048f7977a96d8d2b | [] | 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 | 145 | sce | 10Ex29.sce | //chapter 10 Ex 29
clc;
clear;
close;
AlessB=20/100;
BmoreA=(AlessB/(1-AlessB))*100;
mprintf("B earns %d percent more than A",BmoreA);
|
d98ea0fc9dcdae362abeb098ed245e56d443fd50 | fa027c6ce45d4a33061e6ec403d01800dd77388e | /GEDCOMParser/readFileTest.tst | 63c74889e2c6ffb272895179625d488fe40548be | [] | no_license | rajarajanr/randomshear | 8011b3736184cdff662e8bfa3dd217086cfb2612 | 9c632cc8a5693f3fecf8129fdda9bd4912d851b9 | HEAD | 2016-09-08T02:39:32.950226 | 2013-08-20T15:35:21 | 2013-08-20T15:35:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37 | tst | readFileTest.tst | 1 tag-or-id [data]
2 tag-or-id [data] |
28a154f2d6fa5016c0a71e80659e6966188a139c | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0035.tst | 3c4d3c551c15f3ceeccdd2ec224413351da73acf | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 582 | tst | 0035.tst | SpLITtER EOX {}
FiLter WujrXWl { 134.230.254.230/81 >= 3.e780 or NoT S > 21.197.250.255/6 Or noT 147.118.144.75 noT in BITaNd ( ::d:e:Cd:B2:7:FDea:c/76, ) Or 1.252.237.12/80 iN 215.117.252.47 OR bITOr (f, T, g, ) Or NOt IDQ ( C:Cf:FE::eFB, ) OR 9E:F:FEb1:1deB:A:Cb:141.252.253.230/892 << oR VssO ( 4.150.3.239, ) n... |
8cfbe14abd39b4dc1d792a9d734752a39207682b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH21/EX21.3/Ex21_3.sce | 3c51cfdccc6526a3c68f3ddeb0847dd59e8abd8a | [] | 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,179 | sce | Ex21_3.sce | //Exa 21.3
//To find-
// a) The bandwidth of a subchannel,
// b) modulation efficiency,
// c) user symbol rate,
// d) user data rate if the information bits are encoded with a rate of 3/4,
// e) time utilization efficiency of the system.
clc;
clear all;
InfoSc=48;//Information subcarriers
SyncSc=4;//synchro... |
f72a416d361840fdc773d5f367030065b3fbeb5b | 4483ff664b4d01c53114a7fc535625c197c8f989 | /model for routing/mukhil13.sce | 9ac182a2593d316da2df2f4d4c2e9bd674423998 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,397 | sce | mukhil13.sce | clc
clear
kk=24
pop=10
iter=100
st=[28.8 9.5 11.5 13.3 10.7 2.2 3.4 2.8 18.6 19.0 3.3 5.6 10.0 9.0 8.2 1.43 68 16.6 4.4 7.3 7.2 6.0 6.8 8
]
pet=[28.8 9.5 11.5 13.3 10.7 2.2 3.4 2.8 18.6 19.0 3.3 5.6 10.0 9.0 8.2 1.43 68 16.6 4.4 7.3 7.2 6.0 6.8 8
]
plt=pet*1.3
eet=pet*0.8
elt=plt*1.2
tim=[
0 5.9 6.2 5.6 27 17 20 29 19 ... |
8824c05bde1f2d436b46837d84fe36ece91b4d92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH1/EX1.2/Ex1_2.sce | 0de595936d5c85863115121bb061529edcbad683 | [] | 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 | 632 | sce | Ex1_2.sce | clear all; clc;
//This numerical is Ex 1_1S,page 10.
E=0.83//efficiency
Ps=15300
Q=87.4
Qs=87.4/3600//flow rate in meter cube per sec
rho=998
g=9.81
sg=0.72
dp=E*Ps/Qs
printf('\n The change in pressure (dp)is %g',dp)
dpr=523000//rounded value of dp
disp("The rounded off value of dp is 523kPa.")
dHw=dpr/(rh... |
2d7487347f27b33d5c8e02871f31c1ddea19c6bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH3/EX3.7/Ex3_7.sce | e564522577f1468960d5f8a850ed305ce5c459fe | [] | 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 | 300 | sce | Ex3_7.sce | //Example 3.7//
a=98.5;// Unit cell volume
b=0.117;//nm //nanometer //atomic radius of Silicon
V=a*b^3
mprintf("V = %f nm^3",V)
a1=8;//atoms
c=28.09;//gram //atomic mass of silicon
d=0.6023*10^24;//atoms //Avogardo's number
e=10^7;//nm/cm
P=(a1/V)*(c/d)*(e^3)
mprintf("\nP = %f g/cm^3",P)
|
e65b59a07b588e78247c77217a991cb3117db0c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.20/ex4_20.sce | c96991c37cb26d277e580813a2d6b96b13a3a2c0 | [] | 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 | 599 | sce | ex4_20.sce | // Exa 4.20
clc;
clear;
close;
format('v',6)
// Given data
V=250;// in V
Z1= 70.7+70.7*%i;// in ohm
Z2= 120+160*%i;// in ohm
Z3= 120+90*%i;// in ohm
Y1= 1/Z1;// in S
Y2= 1/Z2;// in S
Y3= 1/Z3;// in S
Y_T= Y1+Y2+Y3;// in S
phi= atand(imag(Y_T),real(Y_T));// in °
disp("Total admittance of the circuit : ")
... |
4e71748db12cb4a89a57c41e49af690458c71fe9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH8/EX8.4/ex8_4.sce | 3424dc513305350e9178442c6cf6dc5dd596b8dc | [] | 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 | 568 | sce | ex8_4.sce | // Example 8.4
format('v',5)
clc;
clear;
close;
// given data
V_EE= 10;// in V
V_BE= 0.7;// in V
R_E= 6.8*10^3;// in Ω
Rs= 100;// in Ω
R1= 3.3*10^3;// in Ω
R2= 1.5*10^3;// in Ω
V= 25*10^-3;// in V
Vs= 1*10^-3;// in V
I_E= (V_EE-V_BE)/R_E;// in A
r_desh_e= V/I_E;// in Ω
Zin= r_desh_e;// in Ω
// The inpu... |
727b7f12d93da1989c11d25a6e43028de52577ca | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_vrt_ind_d/~BivLCM-SR-bfi_c_vrt_ind_d-PLin-VLin.tst | b290db5ad010b5b8599c6d0f4b4818ebe9a3cd6e | [] | 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_vrt_ind_d-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.301485D+00
... |
9c8f07d0e19d9a53b4cd00d800f8647e8fc4c4fe | d2b4190265ddc2ddd6f63bacfdafae9504390fd0 | /FitStraightLine.sce | 33752a8fc5660644562c56dfac8e7b38df34aa86 | [] | no_license | santushtisharma10/AppliedMathematics_with_Scilab | 8dd80f3a36298d844a42a37619e309b53022204d | 28b4de4244768c0bb0eba1daea86d69021d89400 | refs/heads/main | 2023-05-29T04:40:42.507269 | 2021-06-04T13:25:58 | 2021-06-04T13:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | FitStraightLine.sce | clc;
n = input('Enter the no. of pairs of values (x,y):')
disp('Enter the values of x:')
for i=1:n
x(i)=input('..')
end
disp('Enter the corresponding values of y:')
for i=1:n
y(i)=input('..')
end
sumx=0; sumx2=0; sumy=0; sumxy=0
for i=1:n
sumx = sumx+x(i);
sumx2 = sumx2+x(i)*x(i);
... |
02f67fa12793bd428add700a00b4897b342c8c21 | 463377b6374a24bbe111707a34e24949f3bd2543 | /spa.sci | 4b91cc9d3399d37d6ecd52fd50d5c51b69adb583 | [] | 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 | 2,339 | sci | spa.sci | function varargout = spa(varargin)
[lhs , rhs] = argn();
if ( rhs < 1 || rhs > 3 ) then
errmsg = msprintf(gettext("%s: Wrong number of input arguments" ),"spa");
error(errmsg)
elseif typeof(varargin(1)) <> "iddata" then
error(msprintf(gettext("%s:Plant data must be ""iddata"" type.\n... |
ae13d77a79c7c6b985b41fe1a0f597129f73218e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH7/EX7.10/Ex7_10.sce | 0962ef68f622a08c9abab39bd508b9a79a90dcab | [] | 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,021 | sce | Ex7_10.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex7_10.sce.
clc;
clear;
Ip=1000; //primary current in A
Is=5; //secodary current in A
Tp=1; ... |
71925fb28d6210f682bb8f52e3ad47c491d2b11a | a59ac573e61243624264a740d09ef3ba7a37e705 | /6°semestre/Trabalho final/teste_toque.sce | c059aabb5a879f4bfc32f41ac076d785fb08e813 | [] | no_license | Eng-Telecom-IFCE/Trabalho-Eng.Telecom | d61b3648e1a624db08d80c31f5267cbb612ac6c8 | 395aa5ed50833721d47b8d4dfacaec3f8d4f1431 | refs/heads/master | 2022-02-26T04:07:51.127192 | 2019-10-05T19:14:36 | 2019-10-05T19:14:36 | 213,050,264 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | teste_toque.sce |
//An[álise do audio 'toque'
[y, fa]=wavread('C:\Users\Alunos\Desktop\trabalho final\toque.wav');
y= fft(y);
n= length(y);
y = y/(n/2)
f = [0:fa/(n-1):fa];
plot(f(1:n/2),abs(y(1:n/2)));
wc = 2*1800/fa;
[num,hm,fr] = wfir("lp",30,wc,"hm",[0 0]);
[H, W] = freq(num("num"),[1,512,fa]);
//rep=freq(sys("num"),sys("de... |
14b6799ac00d855f69635b2308e86582802c9e2e | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/dan.tst | b5c5a678a2828140791f6cedd4918918a994534a | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 168,703 | tst | dan.tst | istap istappen N;NOM;DEF;SG
sodavand sodavands N;GEN;INDF;SG
frænke frænkens N;NOM;DEF;SG
parkeringsgarage parkeringsgarage N;NOM;INDF;SG
nederdel nederdele N;NOM;INDF;PL
returnere returnere V;NFIN;ACT
foto fotoers N;GEN;INDF;PL
bogstav bogstavers N;GEN;INDF;PL
deviere devierende V.PTCP;PRS;ACT
cigaretsælger cigaretsæl... |
a111a65da09fe7748e7668d7c664754f13ebfcd1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/tdcs/recur.sci | 22c4a760ce2c96e8a78fe57a0be93107464556a4 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 552 | sci | recur.sci | //[y]=recur(x0,var,k,n)
//[y]=recur(x0,var,k,n)
// equation recurrente bilineaire
// x(i+1)=-x(i)*(k + sqrt(var)*br(i))
// partant de x0 et
// pilotee par un bruit gaussien de variance var.
//
// le programme dessine la trajectoire et
// retourne l'exposant de Liapunov empirique y
// ( x(i) est peu different de exp(y*i... |
463441611564c5d70b4055edc40ac715c4df294a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH5/EX5.3/ex5_3.sce | 4d35f55cce45a99d2c8c504319b4c550b2cf5732 | [] | 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 | 478 | sce | ex5_3.sce | //Page Number: 289
//Example 5.3
clc;
//Given
r0=45D+3; //W
j0=25D-3; //A
V=1500; //V
f=5D+9; //hz
d=1; //mm
d1=d/1000; //m
l=3.5; //cm
l1=l/100; //m
rsh=32D+3; //ohms
j1x=0.582;
x=1.841;
//(i) Input gap voltage
w=2*%pi*f;
v0=(5.93D+5*sqrt(V));
thetag=(w*d1)/v0;
bet=sin(thetag/2)/(thetag/2);
thet... |
61c700ea17a243ba50231595691f1885140bc000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.7/Ex5_7.sce | d9dc328852f5b6175da926bd3cec49fffe14b0fd | [] | 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 | sce | Ex5_7.sce | clear
//Given
a=6.023*10**23
m=63.5*10**-3
d=9*10**3
A=10**-7 //m**2
e=1.6*10**-19 //C
I=1.5 //a
K=1.38*10**-23 //J/K
T=300 //K
Vd=1.1*10**-3
C=3*10**8
//Calculation
//
n=a*d/m
Vd=I/(n*A*e)
V=sqrt((3*K*T*a)/m)
V1=Vd... |
67da16f284a125ff45f8b1edd45b207b4985f46f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.12/Ex5_12.sce | 31ce39ea39951152969046e6a0b9c048f7049e28 | [] | 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 | 102 | sce | Ex5_12.sce | clc;
VS=5;
R=510;
VF=0.7;
VR=VS-0.7;
disp('V',VR*1,"VR=");
I=VR/R;
disp('mA',I*10**3,"I=");
|
8b0b5314d632bf3405152b1187f263955f5fe252 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH3/EX3.1/ex3_1.sce | 45e55262eebe21427c2e7fe675e5d9d6feb0ea79 | [] | 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 | 337 | sce | ex3_1.sce | // Exa 3.1
clc;
clear;
close;
format('v',6)
// Given data
I1 = 30;// in mA
I2 = 20;// in mA
delI_Z = I1-I2;// in mA
delI_Z = delI_Z * 10^-3;// in A
V1 = 5.75;// in V
V2 = 5.6;// in V
delV_Z = V1-V2;// in V
// The resistance of the device
r_Z = delV_Z/delI_Z;// in ohm
disp(r_Z,"The resistance of the devi... |
ca9b04e724c2d31fd6f49ffaa371c074c213c755 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.65/ex2_65.sce | 7c8d3fca3c93a765debbe52147aca43e00173b69 | [] | 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 | 338 | sce | ex2_65.sce | clc
R=30; //Assigning values to parameters
I=5;
V=110;
f=50;
I1=V/R;
I2=sqrt(I^2-I1^2);
Xc=V/I2;
C=1/(2*%pi*f*Xc);
disp("Farads",C,"Unknown capacitance when total current drawn is 5 A");
Inew=4;
I2new=sqrt(Inew^2-I1^2);
Xc=V/I2new;
f=1/(2*%pi*C*Xc);
disp("hertz",f,"Frequency when total curre... |
2460ea3c1c31ab1c10e33b62b5e8fc4a79c58cbb | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp14.sce | 3f80ff0cc69bd0262816e4aa4198fe85fcc7236d | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,473 | sce | bsp14.sce | // Prints out a lookup-table for two different integration methods (trapez rule and simpson rule)
// for three different amount of nodes each
clear
function y = f(x)
// Returns the value y = sin(x)
// Input: x = number or vector
// Output: y = number or vector
y = sin(x)
endfunction
function I = trapez(f,a,b,N)
... |
2e670d23d9e8e0f65c98dc15fd548563bad7f89b | e806e966b06a53388fb300d89534354b222c2cad | /macros/medianblur.sci | 128edcd3c510f603a482b8761e1e869dfd0c23a1 | [] | 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 | 221 | sci | medianblur.sci | function outputImg= medianblur(inputImage,ksize)
inputList=mattolist(inputImage);
outputList=opencv_medianblur(inputList,ksize)
for i=1:size(outputList)
outputImg(:,:,i)=outputList(i)
end
endfunction
|
af8d9d3a0178246609989171c2064aff87660dd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.2/ex_2_2.sce | b45eadd92986c3f38c286ada3bfa9dcdee66c7cd | [] | 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 | 336 | sce | ex_2_2.sce | //Example 2.2. // error
clc;
clear;
close;
//given data :
m=150;
T=3;
Kf_sin=1.11;//Form factor of sine wave
//e=50*t
Erms=sqrt(1/T*integrate('(50*t)^2','t',0,T));
Eav=(1/T*integrate('(50*t)','t',0,T));
kf=Erms/Eav;
R=Kf_sin/kf; // ratio of the two form factors
Pe=(R-1/1)*100;
disp(Pe,"the percentage erro... |
0a184da7c4bbaf144a0459a6c5e1494a1d2debc2 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/deconvlucy.sci | 547a27c024dbe4249d66de482dd4e29ccd6e7856 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 1,749 | sci | deconvlucy.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_... |
8acbfe4f3db541b927e021a66e5cf5c8ad64c320 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH17/EX17.3/Ex17_3.sce | 9bfcf6ee647e4a23b4a5cab04609f7053ff0fb73 | [] | 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 | 648 | sce | Ex17_3.sce | //Example 17.3
//Rolling Load
//Page No. 599
clc;clear;close;
h0=1.5; //in inches
mu=0.3; //no unit
D=36; //in inches
s_en=20; //in ksi
s_ex=30; //in ksi
C=3.34*10^-4; //in inches^2/ton
P_=1357;... |
7f9d4f644793b64e716b046621db932ed3c4bc5d | a0bbf9631a1425e31175358d03a5bd109e13f477 | /sem1/src/lab3/code/plots.sce | 76fb5736c64f969090f19c5908f32cce39345bf6 | [] | no_license | AlexKaravaev/courses | 0f5aa8da155706a23adb831ac52e44c160029e33 | 93273510e34985e02b8d348515ebcabe7f4c105f | refs/heads/master | 2020-03-21T17:48:17.352827 | 2018-07-31T14:17:52 | 2018-07-31T14:17:52 | 138,854,938 | 3 | 3 | null | 2018-07-24T13:42:45 | 2018-06-27T08:49:58 | TeX | UTF-8 | Scilab | false | false | 136 | sce | plots.sce | results=read("/home/rami/Desktop/angle.txt",-1,2)
qlines=size(results,1)
dist=results(:,2)
time=results(:,1)/1000
plot2d(time, dist, 1)
|
9f708732906bcb927cc35ffe854c35638296ec9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH9/EX9.11/Ex9_11.sce | c1a7a8927b704adf528638565426575088e5a470 | [] | 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 | 293 | sce | Ex9_11.sce | //Initilization of variables
F=180 //N
m=100 //kg
g=9.81 //m/s^2
mu=0.25 //coeffiecient of friction
//Calculations
//Assuming F2 is maximum
N2=F*2/(1+mu) //N
F2=mu*N2 //N
N1=m*g-F2 //N
F1=F-F2 //N
//Result
clc
printf('The vaules are N2=%fN,F2=%fN,N1=%fN and F1=%fN',N2,F2,N1,F1)
|
37ce20243e9b36dbb6d2d28fa89f53562fcce85b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH6/EX6.9/Ex6_9.sce | 1451dc7078ecf36717340433e08b8c30900ae3fd | [] | 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,651 | sce | Ex6_9.sce | clear; clc;
m = 100;
disp("The inlet specific volume is calculated from the ideal gas equation")
R=53.3
T1=580
p1=65
nu1=(R*T1)/(144*p1)
printf(" nu1=%0.3f ft^3/lbm=",nu1)
disp("Q1=m*v1=4594 cfm")
R=53.3
T1=580
//let y=(n/(n-1))
y=2.625
p2=250
p1=65
H_oa=R*T1*(y)*[(p2/p1)^(1/y)-1]
printf(" The overall adiabetic head... |
3acfb43988d53eaee32cbd7ca78b50e6b8b2216e | eec3a6e2cd91307fd7a55b7fc83bb86b35f86a6c | /stlfiles/macros/%stldata_p.sci | ad2b163f7d652de1e2199f97b2e3a1cc7ff93914 | [] | no_license | Matthieu-71/PowerSubsystemSimulation | d1a5171ff763ca42db9d701f893d3ab257a1b882 | cdcff61d4a11509f5d9023fb295af6b8092a3c66 | refs/heads/master | 2020-03-16T23:33:28.836945 | 2018-05-24T00:10:57 | 2018-05-24T00:10:57 | 133,082,402 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sci | %stldata_p.sci | function []=%stldata_p(l)
mprintf(" Summary\n Header: %s\n", l(2))
mprintf(" #faces: %d triangles\n", size(l(3), "c"))
mprintf(" #vertices: %d (non unique)\n\n", size(l(3), "c")*3)
n = 5
mprintf(" Vertices coordinates [x y z] (first %d only)\n", n)
mprintf(" %.5f %.5f %.5f\n", [l.x... |
6f3f4ea258ad1c1a4cb69af610adc143b39dfd20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.12/Ex1_12.sce | 73c148afbcdebcfa6e1ca5410bb8fc8de6e2886c | [] | 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 | 357 | sce | Ex1_12.sce | //Chapter1,Example1.12,Pg1.17
clc;
disp("When a wire is bent in the form of a circle,its resistance gets divided between any two points on its diameter as the resistance is directly proportional to its length. The two parts can be considered as two resistors of 6ohms in parallel")
R=6*6/(6+6)
printf("\n Hence equiv... |
1abcdd3b866c1daf7a050a66a025ba49f92a7b7f | 3a031f437fdd7426aec9731b31871506b540c723 | /Histogram of Gray Scale Image.sce | 084a229a446fc0cdc31d16d18876cf9eb9f99b25 | [] | no_license | mohammedkesury/Digital-Image-Processing | 006294df3c05100912ade8f75dcadc59f518cbba | 6589dcf0f400a803862fcd2194ff4b008ceb795e | refs/heads/master | 2020-04-20T05:20:20.161398 | 2019-04-09T16:04:04 | 2019-04-09T16:04:04 | 168,653,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | Histogram of Gray Scale Image.sce | a=imread('C:\Users\Mohammed Kesury\Desktop\Sem 6\DIP\cameraman.tif')
[counts,cells]=imhist(a)
[m n]=size(cells)
imhist(a,m,'black')
|
133cd366500951b11f15e7ac8fa28ee6d4ba4cb9 | e208f5ba61d660fa360b30a22b8cf307f5fc17bb | /utilities.sci | 68b0fbe11f87d89d558ef08272574baa4ccf6605 | [] | no_license | f-frhs/PUMA | 2b234603fec1ab108cbe8e8fc37f873599c80e8c | e33dbebe89dcce5c2fdaeee7385aaaa483a3ac16 | refs/heads/master | 2021-01-17T08:15:32.214080 | 2016-07-01T13:57:17 | 2016-07-01T13:57:17 | 62,227,864 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,748 | sci | utilities.sci | function output=Trans(x,y,z)
output = [...
1, 0, 0, x;
0, 1, 0, y;
0, 0, 1, z;
0, 0, 0, 1]
endfunction
function output=Rotx(alpha_deg)
alpha = alpha_deg * %pi / 180
output = [...
1, 0, 0, 0;
0, cos(alpha), -sin(alpha), 0;
... |
55e3f6e0e42f76323552bfa0aa4e9b2ebd7788a8 | 7f053b29173fd886cfb3520199a442fe76b4f8bb | /iluminacao.sce | bfed387cf81f6e1ed7b262ae17bcc9078916fea2 | [] | no_license | erickcampos50/HVAC | 26052b9720b79400c15afb9ea5fdf1c17c00da78 | c9544ebb4911461e3c996bbfd6278c47946991dc | refs/heads/master | 2019-01-02T01:46:06.365422 | 2015-02-02T19:30:33 | 2015-02-02T19:30:33 | 29,926,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,921 | sce | iluminacao.sce | function [q_ilum_total,q_ilum_pico]=ilum(hor_fun_i,hor_fun_f,q_ilum_pot,rts_ilum_sel)
//Cap 18
//=========================================================================//
//Perfil de iluminacao
q_ilum_uso = zeros(1,24)
for i=hor_fun_i:hor_fun_f
q_ilum_uso(i)=1 //Equivalente a 100%, se ocorrer algum erro mudar ... |
3a51ca13de29d8430c0b153e7e838eb332caaa16 | 69d47013b4427741d37de7faeb3e94fc141393b4 | /Lab_4_Interpolacao_e_Integracao/scilab/lab_4.sce | 1424ad0cf969e09babf9c95f21d4994a20f325a3 | [] | no_license | samuel-cavalcanti/Computacao-Numerica | 30f5042076b5db29482798ca7a6c63590a00a697 | 029c49f5d303f8f978c1f7b12b91778f06fb0665 | refs/heads/master | 2020-03-29T14:14:51.735781 | 2019-02-05T18:14:12 | 2019-02-05T18:14:12 | 150,007,038 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,331 | sce | lab_4.sce | clear
exec("interpolacao_integracao.sce")
function s= trapPontos(x,y)
h = abs(x(2) - x(1))
s = y(1)
for i =2:length(y)-1
s = 2*y(i) +s
end
s = (y($) +s)*h/2
endfunction
function s= primeiraRegraDeSimpsomPontos(x,y)
h = abs(x(2) - x(1))
s = y(1)
for i=2:length(y)-1 //... |
3a5e9922d0277bb3a34c3651ddaecd986f10b4d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/10_1data.sci | 2d73648870f392fa0161a41b2913b961c5f9c4a0 | [] | 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 | 60 | sci | 10_1data.sci | m=1;//in Kg
EI=70000*2000;//given in N.mm^2
l=2000;//in mm |
86460df60c08f07658e0ee83ac482ad7c190df3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH9/EX9.4/9_4.sce | dc482dccc0aede75d4c71e278fbd496786ec8ecf | [] | 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,279 | sce | 9_4.sce | //To specify the best settings for regulation
//Page 474
clc;
clear;
s1=1.75; //As Found in Example 2
VRRpu=1.035; //As R and X are zero, the Settings turn out to produce this
//Parameters of Distribution
K=3.88*(10^-6);
S=3300;
l=10; //length of the line
VDpu=K*S*(l-s1)/2; //Per unit voltage drop
VP... |
2069459e78abcbede711c5f3b3ff03d53d9b8a00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH3/EX3.8.1/EX3_8_1.sce | 018f196daab0ba0de45a7a9e6461e8f1dfe633de | [] | 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 | 552 | sce | EX3_8_1.sce | //Example No. 3.8.1
clc;
clear;
close;
format('v',6);
theta1=0;theta2=%pi/2;//radian(Angles)
fi1=0;fi2=2*%pi;//radian(Angles)
//Prad=integrate('integrate('U','thheta',theta1,theta2)','fi',fi1,fi2);
Prad_BY_Um=%pi*(1/2)*(cos(2*theta1)-cos(2*theta2));//(Power radiated/Max intensity)
Do=4*%pi/Prad_BY_Um;//Exact D... |
436f1feef49aaef7165eb0163b3b5883894bcfa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH2/EX2.2/Example2_2.sce | f0c14b2e026d7d0480cfb59e2814ec02b30daee9 | [] | 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 | 437 | sce | Example2_2.sce | //Example 2.2
clear;
clc;
sen=0.1*10^9;//sensitivity in V/A
R=1*10^6;//Assumption
//sen=k*R ->k=sen/R
k=sen/R;
R1=1*10^3;//Assumption
//k=1+(R2/R1)+(R2/R) ->R2=(k-1)/((1/R1)+(1/R))
R2num=k-1;
R2den=((1/R1)+(1/R));
R2=R2num/R2den;
printf("Designed High Sensitivity I-V Converter :");
... |
272d1fa93520740aa44b141345a2e562087529ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH5/EX5.4/Ex5_4.sce | 6624e8ed52061944d28d75bb0540c42faf597497 | [] | 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 | 749 | sce | Ex5_4.sce | //Initilization of variables
W=100 //N
theta=60 //degree //angle made by the ladder with the horizontal
alpha=30 //degree //angle made by the ladder with the vertical wall
Lob=4 //m // length from the horizontal to the top of the ladder touching the wall(vertical)
Lcd=2 //m // length from the horizontal to the cen... |
449c8ce93600603d00beee0c67102686087e84fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH7/EX7.10/Ex7_10.sce | 671b58aec667fac88b6f8fa5eb87d4a9b8ed8e0f | [] | 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 | sce | Ex7_10.sce | //CHAPTER 7 ILLUSRTATION 10 PAGE NO 206
//TITLE:GOVERNORS
//FIGURE 7.10
clc
clear
//===========================================================================================
//INPUT DATA
PI=3.147
AE=.25// LENGTH OF UPPER ARM IN m
CE=.25// LENGTH OF LOWER ARM IN m
EH=.1// ... |
0019ca564bde53ddb463a02f36fc41395913804f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH7/EX7.8/7_8.sce | 3ff14e71ac5c639557a7290c06694b798b498876 | [] | 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 | 558 | sce | 7_8.sce | //Example 7.8
//Consider an enclosure consisting of a hemisphere
//of diameter d and a flat surface
//of the same diameter.
//Find the relevant view factor
//Variables declaration
F11=0 //view factor
d=1 //let it be
printf("view factor F11 = %f" ,F11)
//Calculation
F12=1-F11 //view fac... |
2d2c856dee8d46209dc7a56edaeec8aa530265b7 | bf4e2a0de1744afe79b8b6068612ca50b31154a7 | /08/Call/Call.tst | ffee4160b6b8df7d0e07be97dd6a9c51e7df2cb2 | [] | no_license | curiousTauseef/Nand-to-Tetris-Build-a-Modern-Computer-from-First-Principles | 4ae849202fbc6860c8519b335c5dae21cdee55be | cca5ef509d1ebfd5c17d922554c6464499485563 | refs/heads/master | 2022-01-08T12:52:33.910860 | 2019-06-04T15:25:16 | 2019-06-04T15:25:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | tst | Call.tst | // Test file for Call test.
//
// This test assumes NO BOOTSTRAP CODE is present.
load Call.asm,
output-file Call.out,
compare-to Call.cmp,
output-list RAM[0]%D1.6.1
RAM[1]%D1.6.1
RAM[2]%D1.6.1
RAM[3]%D1.6.1
RAM[4]%D1.6.1;
set RAM[0] 256,
set RAM[1] 300,
set RAM[2] 400,
set RAM[3] 3000,
... |
bf58cbb6cb3e445c61380e1079d0447967c08ef0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH3/EX3.1/Ex3_1.sce | 8b3ba478ac83bb210562c809776f304870f53a11 | [] | 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 | 185 | sce | Ex3_1.sce | //Part A Chapter 3 Example 1
clc;
clear;
close;
format('v',6);
T_F=98.6;//degree F
T_C=(T_F-32)/1.8;//degree C
disp("Temperature in degree celsius = "+string(T_C)+" degree C");
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.